* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.hero h2.heading {
    font-size: 48px;
    font-weight: bold;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
}

nav a {
    text-decoration: none;
    color: #333;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #3498db;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image: url('images/Seventeen_Background.webp');
    background-size: cover;
    background-position: center 15%;
    background-repeat: no-repeat;
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero .book-cover {
    width: 400px;
    max-width: 80%;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-description {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0.95;
}

/* Bulk Orders Section */
.bulk-orders {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.bulk-orders h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.bulk-orders > .container > p {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #666;
}

.order-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e1e8ed;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.total-section {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 5px;
    margin: 2rem 0;
    text-align: center;
}

#total-display {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.checkout-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.checkout-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.checkout-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
    background-color: white;
}

.testimonials h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-style: italic;
}

.testimonial-author {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.testimonial cite {
    font-weight: 600;
    color: #2c3e50;
    font-style: normal;
}

/* Author Section */
.author {
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.author h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.author p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

footer a {
    color: #3498db;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .bulk-orders h2,
    .testimonials h2,
    .author h2 {
        font-size: 2rem;
    }
    
    nav a {
        margin-left: 1rem;
    }
    
    .order-form {
        margin: 0 1rem;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

/* Pricing Info Section */
.pricing-info {
    padding: 2rem 0;
    background-color: #f8f9fa;
}

.pricing-tables {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.pricing-table {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.pricing-table h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    text-align: center;
}

.pricing-table table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.pricing-table th:nth-child(2),
.pricing-table td:nth-child(2) {
    text-align: right;
}

.pricing-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #495057;
}

.pricing-table tbody tr:hover {
    background-color: #f8f9fa;
}

/* Slider Styles */
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #495057;
}

input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #ddd;
    outline: none;
    -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6c757d;
}

#quantity-display {
    font-weight: bold;
    color: #007bff;
}

/* Pricing Display */
.pricing-display {
    background: #e3f2fd;
    border: 1px solid #90caf9;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.price-breakdown p {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.total-line {
    border-top: 2px solid #007bff;
    padding-top: 0.5rem;
    margin-top: 1rem;
    font-weight: bold;
    font-size: 1.1rem;
}

.total-line span {
    color: #007bff;
    font-size: 1.2rem;
}

/* Payment Result Styles */
.payment-success,
.payment-result {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 70vh;
}

.success-card,
.result-card {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    text-align: center;
}

.success-icon,
.result-icon {
    margin: 0 auto 2rem;
    animation: successPulse 1.5s ease-out;
}

@keyframes successPulse {
    0% { transform: scale(0.5); opacity: 0; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

.success-card h2 {
    color: #28a745;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.cancel-card h2 {
    color: #ffc107;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.error-card h2 {
    color: #dc3545;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.success-subtitle,
.result-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.order-summary-card,
.next-steps-card,
.info-card,
.message-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: left;
}

.order-summary-card h3,
.next-steps-card h3,
.message-card h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
}



.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row .label {
    color: #6c757d;
    font-weight: 500;
}

.detail-row .value {
    color: #2c3e50;
    font-weight: 600;
}

.total-row {
    background: #e3f2fd;
    margin: 1rem -1rem -1rem;
    padding: 1rem;
    border-radius: 0 0 8px 8px;
    border-bottom: none;
}

.total-row .label,
.total-row .value {
    color: #007bff;
    font-weight: 700;
    font-size: 1.1rem;
}

.steps-list {
    margin: 1.5rem 0;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.step-number {
    background: #007bff;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.step-content strong {
    display: block;
    color: #2c3e50;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.step-content p {
    color: #6c757d;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-info {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
    margin-top: 1.5rem;
}

.contact-info p {
    color: #6c757d;
    margin: 0;
}

.contact-info a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.2s ease;
    min-width: 140px;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.btn-secondary {
    background: white;
    color: #6c757d;
    border: 2px solid #e9ecef;
}

.btn-secondary:hover {
    background: #f8f9fa;
    border-color: #007bff;
    color: #007bff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pricing-tables {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .pricing-table {
        padding: 1rem;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
    
    .payment-success {
        padding: 2rem 0;
    }
    
    .success-card,
    .result-card {
        margin: 0 1rem;
        padding: 2rem 1.5rem;
    }
    
    .success-card h2,
    .result-card h2 {
        font-size: 2rem;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .step {
        padding: 0.75rem;
    }
    
    .step-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
}