/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: rgb(17, 24, 39);
    background: #ffffff;
}

/* Top Bar */
.top-bar {
    background: rgb(209, 170, 106);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.secure-checkout {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.secure-checkout i {
    font-size: 12px;
}

.need-help {
    color: white;
    font-size: 14px;
}

.need-help a {
    color: white;
    text-decoration: underline;
    margin-left: 4px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Checkout Layout */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 80px;
}

/* Form Column */
.form-column {
    background: white;
}

.form-wrapper {
    padding: 20px;
    background: rgb(249, 250, 251);
    border-radius: 12px;
    border: 1px solid rgb(229, 231, 235);
}

/* Main Title */
.main-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    color: rgb(17, 24, 39);
    text-align: center;
    margin-bottom: 30px;
}

/* Payment Toggle */
.payment-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    display: none;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(209, 213, 219);
    transition: 0.4s;
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: rgb(75, 161, 85);
}

input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

.payment-text {
    font-size: 14px;
    color: rgb(75, 85, 99);
}

.save-text {
    color: rgb(75, 161, 85);
    font-weight: 600;
}

/* Price Display */
.price-display {
    background: white;
    border: 2px solid rgb(75, 161, 85);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
}

.cart-icon {
    font-size: 24px;
}

.price-amount {
    font-size: 32px;
    font-weight: 700;
    color: rgb(17, 24, 39);
}

.price-period {
    font-size: 14px;
    color: rgb(107, 114, 128);
}

.bonus-tag {
    position: absolute;
    top: -10px;
    right: 20px;
    background: rgb(209, 170, 106);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Form Sections */
.form-section {
    margin-bottom: 30px;
}

.section-header {
    font-size: 18px;
    font-weight: 600;
    color: rgb(17, 24, 39);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgb(229, 231, 235);
}

/* Form Fields */
.form-field {
    margin-bottom: 15px;
}

.form-field input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgb(209, 213, 219);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-field input:focus {
    outline: none;
    border-color: rgb(75, 161, 85);
    box-shadow: 0 0 0 3px rgba(75, 161, 85, 0.1);
}

.form-field input::placeholder {
    color: rgb(156, 156, 156);
}

/* Order Summary Box */
.order-summary-box {
    background: white;
    border: 1px solid rgb(229, 231, 235);
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.order-summary-box h3 {
    font-size: 16px;
    font-weight: 600;
    color: rgb(17, 24, 39);
    margin-bottom: 10px;
}

/* Terms Agreement */
.terms-agreement {
    text-align: center;
    margin: 20px 0;
    font-size: 13px;
    color: rgb(107, 114, 128);
}

.terms-agreement a {
    color: rgb(21, 113, 168);
    text-decoration: underline;
}

/* Security Badges */
.security-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 25px 0;
    padding: 20px 0;
    border-top: 1px solid rgb(229, 231, 235);
    border-bottom: 1px solid rgb(229, 231, 235);
}

.security-badges img {
    height: 40px;
    opacity: 0.8;
}

/* Privacy Notice */
.privacy-notice {
    background: rgb(249, 250, 251);
    border: 1px solid rgb(229, 231, 235);
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    font-size: 12px;
    color: rgb(107, 114, 128);
    line-height: 1.5;
}

.privacy-notice i {
    color: rgb(107, 114, 128);
    margin-right: 8px;
}

/* Benefits Column */
.benefits-column {
    padding-top: 20px;
}

/* Product Showcase */
.product-showcase {
    position: relative;
    margin-bottom: 30px;
}

.main-product-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.badge {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Rating Section */
.rating-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.stars {
    color: rgb(250, 204, 21);
    display: flex;
    gap: 2px;
}

.rating-text {
    font-weight: 600;
    color: rgb(17, 24, 39);
}

.reviews-count {
    color: rgb(107, 114, 128);
    font-size: 14px;
}

/* Benefits Section */
.benefits-section {
    margin-bottom: 40px;
}

.benefits-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: rgb(17, 24, 39);
    margin-bottom: 25px;
}

.benefit-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: rgb(249, 250, 251);
    border-radius: 10px;
    border-left: 4px solid rgb(75, 161, 85);
}

.benefit-icon {
    font-size: 24px;
    color: rgb(75, 161, 85);
    flex-shrink: 0;
}

.benefit-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: rgb(17, 24, 39);
    margin-bottom: 8px;
}

.benefit-content p {
    font-size: 14px;
    color: rgb(107, 114, 128);
    line-height: 1.6;
}

/* Bonus Section */
.bonus-section {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    border: 2px solid rgb(75, 161, 85);
}

.bonus-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: rgb(17, 24, 39);
    margin-bottom: 20px;
    text-align: center;
}

.bonus-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bonus-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: white;
    border-radius: 6px;
}

.bonus-check {
    color: rgb(75, 161, 85);
    font-size: 18px;
}

.bonus-text {
    font-size: 15px;
    color: rgb(17, 24, 39);
}

.bonus-text strong {
    font-weight: 600;
}

/* Guarantee Section */
.guarantee-section {
    background: white;
    border: 3px solid rgb(209, 170, 106);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
}

.guarantee-image {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.guarantee-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: rgb(17, 24, 39);
    margin-bottom: 12px;
}

.guarantee-content p {
    font-size: 14px;
    color: rgb(107, 114, 128);
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
    margin-top: 80px;
    padding: 60px 0;
    background: rgb(249, 250, 251);
}

.testimonials-header {
    text-align: center;
    margin-bottom: 50px;
}

.testimonials-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: rgb(107, 114, 128);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.testimonials-title {
    font-size: 36px;
    font-weight: 800;
    color: rgb(17, 24, 39);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.testimonial-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: rgb(17, 24, 39);
    padding: 20px 20px 10px;
}

.testimonial-card p {
    padding: 0 20px;
    font-size: 14px;
    color: rgb(107, 114, 128);
    line-height: 1.6;
}

.testimonial-author {
    padding: 20px;
    border-top: 1px solid rgb(229, 231, 235);
    margin-top: 15px;
}

.testimonial-author strong {
    display: block;
    font-size: 14px;
    color: rgb(17, 24, 39);
    margin-bottom: 2px;
}

.testimonial-rating {
    color: rgb(250, 204, 21);
    font-size: 14px;
    margin-top: 8px;
}

/* CTA Button */
.testimonials-cta,
.faq-cta {
    text-align: center;
    margin-top: 40px;
}

.cta-button {
    background: linear-gradient(135deg, rgb(75, 161, 85) 0%, rgb(44, 110, 73) 100%);
    color: white;
    font-size: 20px;
    font-weight: 600;
    padding: 20px 60px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(75, 161, 85, 0.3);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(75, 161, 85, 0.4);
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
}

.faq-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    color: rgb(17, 24, 39);
    margin-bottom: 40px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 20px 24px;
    font-size: 18px;
    font-weight: 600;
    color: rgb(17, 24, 39);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgb(249, 250, 251);
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    font-weight: 400;
    color: rgb(209, 170, 106);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 16px;
    line-height: 1.6;
    color: rgb(107, 114, 128);
    margin: 0;
}

/* Footer */
.footer {
    background: rgb(17, 24, 39);
    color: white;
    text-align: center;
    padding: 40px 20px;
    margin-top: 80px;
}

.copyright {
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-links {
    font-size: 14px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 24px;
    }

    .price-amount {
        font-size: 24px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .guarantee-section {
        flex-direction: column;
        text-align: center;
    }

    .cta-button {
        font-size: 18px;
        padding: 16px 40px;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    /* Form adjustments */
    .form-wrapper {
        padding: 15px;
    }
    
    .form-group {
        margin-bottom: 16px;
    }
    
    .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Payment method cards */
    .payment-methods {
        flex-direction: column;
    }
    
    .payment-option {
        width: 100%;
    }
    
    /* Features list */
    .pro-features {
        padding: 20px;
    }
    
    .feature-item {
        font-size: 15px;
    }
    
    /* Testimonials */
    .testimonial-card {
        padding: 20px;
    }
    
    /* FAQ */
    .faq-question {
        font-size: 16px;
        padding: 16px 50px 16px 20px;
    }
    
    .faq-answer p {
        font-size: 14px;
        padding: 0 20px 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px 15px;
    }

    .top-bar-content {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }
    
    .secure-checkout,
    .need-help {
        font-size: 12px;
    }

    .benefits-section h2 {
        font-size: 22px;
    }

    .testimonials-title {
        font-size: 24px;
    }
    
    .main-title {
        font-size: 20px;
    }
    
    .price-amount {
        font-size: 20px;
    }
    
    .payment-text {
        font-size: 14px;
    }
    
    /* Benefits cards */
    .benefit-card {
        padding: 15px;
    }
    
    .benefit-icon {
        font-size: 24px;
        width: 40px;
        height: 40px;
    }
    
    .benefit-title {
        font-size: 16px;
    }
    
    .benefit-desc {
        font-size: 13px;
    }
    
    /* Testimonials */
    .testimonial-card {
        padding: 15px;
    }
    
    .testimonial-content {
        font-size: 14px;
    }
    
    .testimonial-author {
        font-size: 14px;
    }
    
    /* FAQ section */
    .faq-title {
        font-size: 22px;
    }
    
    /* Footer */
    .footer {
        padding: 30px 15px;
    }
    
    .footer-links a {
        display: block;
        margin: 8px 0;
    }
}