/* =============================================
   styles.css - NON-CRITICAL CSS (loaded async)
   Critical CSS (header, hero, reset) is inline
   ============================================= */

/* Included Images */
.included-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.included-image {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background: #fff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.benefit-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 15px;
    background: #f8f9fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: #AA3DD1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefit-icon i {
    font-size: 32px;
    color: #fff;
}

.benefit-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #212529;
}

.benefit-item p {
    color: #6c757d;
    font-size: 16px;
}

/* Product Mockup */
.product-mockup {
    padding: 80px 0;
    background: linear-gradient(90deg, rgba(186, 81, 224, 1) 2%, rgba(170, 61, 209, 1) 50%, rgba(141, 2, 191, 1) 81%);
    color: #fff;
}

.mockup-content {
    display: flex;
    align-items: center;
    gap: 60px;
    text-align: center;
    flex-direction: column;
}

.product-video {
    width: 95%;
    max-width: 800px;
    height: 600px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 3px solid rgba(255,255,255,0.2);
}

.mockup-text h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    max-width: 600px;
}

/* Main Offer */
.main-offer {
    padding: 80px 10px;
    background: #fff;
    text-align: center;
}

.main-offer .container {
    padding: 0 10px;
}

.price-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 5px;
    flex-wrap: nowrap;
}

.original-price {
    font-size: 28px;
    color: #dc3545;
    text-decoration: line-through;
    opacity: 0.7;
}

.current-price {
    font-size: 48px;
    font-weight: 800;
    color: #212529;
}

.discount-badge {
    background: #dc3545;
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 18px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.payment-options {
    margin: 0;
    padding: 0;
}

.installments {
    font-size: 20px;
    font-weight: 600;
    color: #495057;
    margin: 0;
    padding: 0;
}

/* Countdown Timer */
.countdown-timer {
    text-align: center;
    margin: 0 0 20px 0;
    font-size: 0;
}

.timer-element {
    background: transparent;
    color: #dc3545;
    padding: 15px 8px;
    border-radius: 8px;
    text-align: center;
    display: inline-block;
    font-size: 16px;
    margin: 0;
}

.timer-element span {
    display: block;
    font-size: 42px !important;
    font-weight: 700;
    color: white !important;
}

.timer-element label {
    font-size: 14px;
    text-transform: uppercase;
    opacity: 0.8;
    color: white;
}

.limited-copies {
    font-size: 18px;
    font-weight: 600;
    color: #dc3545;
    margin-bottom: 40px;
}

/* CTA Buttons - hover & effects */
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.6);
}

.cta-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover:before {
    left: 100%;
}

.main-cta {
    font-size: 24px;
    padding: 25px 50px;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    color: #212529;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.testimonial-item {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-avatar {
    margin-bottom: 20px;
}

.testimonial-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #AA3DD1;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.testimonial-content p {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 20px;
    color: #495057;
}

.testimonial-author strong {
    color: #AA3DD1;
    font-weight: 600;
}

.testimonial-author span {
    display: block;
    color: #6c757d;
    font-size: 14px;
}

.cta-section {
    text-align: center;
}

/* Recipe Categories */
.recipe-categories {
    padding: 60px 0;
    background: #fff;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.category-item {
    text-align: center;
}

.category-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.category-item img:hover {
    transform: translateY(-5px);
}

.category-caption {
    margin-top: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #495057;
}

/* Product Preview */
.product-preview {
    padding: 60px 0 0 0;
    background: #fff;
}

.preview-content {
    text-align: center;
}

.product-mockup-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    max-height: 500px;
    object-fit: contain;
}

/* What's Included */
.whats-included {
    padding: 80px 0;
    background: #fff;
}

.included-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.included-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.included-item i {
    font-size: 24px;
    color: #28a745;
    min-width: 30px;
}

.included-item span {
    font-weight: 500;
    color: #495057;
}

/* FAQs */
.faqs {
    padding: 80px 0;
    background: #f8f9fa;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 40px;
}

.faq-item {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: #212529;
    margin: 0;
    flex: 1;
}

.faq-question i {
    color: #28a745;
    transition: transform 0.3s ease;
    font-size: 16px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px 25px;
    max-height: 200px;
}

.faq-answer p {
    color: #495057;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* Final CTA */
.final-cta {
    padding: 80px 0;
    background: linear-gradient(90deg, rgba(186, 81, 224, 1) 2%, rgba(170, 61, 209, 1) 50%, rgba(141, 2, 191, 1) 81%);
    color: #fff;
    text-align: center;
}

.final-cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.final-cta-content > p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-highlight {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    max-width: 600px;
    margin: 0 auto;
}

.price-reminder {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.strike-price {
    font-size: 24px;
    text-decoration: line-through;
    opacity: 0.7;
}

.current-price {
    font-size: 40px;
    font-weight: 800;
    color: #fff;
}

.discount {
    background: #dc3545;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 16px;
}

.final-cta-btn {
    margin-bottom: 20px;
    font-size: 22px;
    padding: 20px 40px;
}

.guarantee-text {
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
}

/* Terms Link */
.terms-link {
    color: #adb5bd;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.terms-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-header {
    padding: 30px 30px 20px 30px;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
    border-radius: 15px 15px 0 0;
}

.modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.close {
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s ease;
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 30px;
    line-height: 1.6;
    color: #495057;
}

.modal-body h3 {
    color: #28a745;
    font-size: 18px;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 15px;
}

.modal-body h4 {
    color: #495057;
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
}

.modal-body ul {
    margin: 15px 0;
    padding-left: 20px;
}

.modal-body li {
    margin-bottom: 8px;
}

.modal-body p {
    margin-bottom: 15px;
}

/* Footer */
.footer {
    background: #212529;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

/* =============================================
   RESPONSIVE - only non-critical sections
   ============================================= */
@media (max-width: 768px) {
    .mockup-content {
        flex-direction: column;
        gap: 40px;
    }

    .product-video {
        width: 95%;
        max-width: 600px;
        height: 450px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .included-grid {
        grid-template-columns: 1fr;
    }

    .countdown-timer {
        flex-wrap: wrap;
        gap: 15px;
    }

    .timer-element {
        min-width: 50px;
        padding: 10px;
    }

    .timer-element span {
        font-size: 18px;
    }

    .timer-element label {
        font-size: 12px;
    }

    .price-section {
        flex-direction: column;
        gap: 15px;
    }

    .current-price {
        font-size: 36px;
    }

    .cta-button {
        padding: 30px 25px;
        font-size: 20px;
        max-width: 95%;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        line-height: 1.3;
        word-wrap: break-word;
    }

    .main-cta {
        font-size: 22px;
        padding: 35px 30px;
        min-height: 90px;
    }
}

@media (max-width: 480px) {
    .hero, .benefits, .recipe-categories, .product-mockup, .main-offer, .testimonials, .whats-included, .faqs, .final-cta {
        padding: 60px 0;
    }

    .product-preview {
        padding: 60px 0 0 0;
    }

    .categories-grid {
        gap: 20px;
    }

    .category-item img {
        height: 150px;
    }

    .cta-highlight {
        padding: 30px 20px;
    }

    .final-cta-content h2 {
        font-size: 28px;
    }

    .current-price {
        font-size: 32px;
    }

    .cta-button {
        padding: 25px 15px;
        font-size: 18px;
        max-width: 98%;
        line-height: 1.4;
        min-height: 85px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        word-wrap: break-word;
        white-space: normal;
    }

    .main-cta {
        font-size: 20px;
        padding: 30px 20px;
        min-height: 95px;
    }

    .price-section {
        flex-wrap: nowrap;
        gap: 15px;
    }

    .original-price {
        font-size: 20px;
    }

    .current-price {
        font-size: 32px;
    }

    .discount-badge {
        font-size: 14px;
        padding: 8px 15px;
    }

    .included-images {
        flex-direction: column;
        gap: 15px;
        margin: 30px 0;
    }

    .included-image {
        max-width: 100%;
        height: auto;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.6s ease-out;
}