/* ============================================ */
/* NEW SECTIONS CSS - Video Testimonials, Social Proof, Animations */
/* ============================================ */

/* ============================================ */
/* 1. SOCIAL PROOF SECTION */
/* ============================================ */

.social-proof-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0E2E1D 0%, #1A4D2E 100%);
    position: relative;
    overflow: hidden;
}

.social-proof-section .section-title {
    color: white;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out;
}

.social-proof-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.social-proof-header {
    text-align: center;
    margin-bottom: 50px;
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(82, 166, 25, 0.3);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    animation: slideInUp 0.6s ease-out;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(82, 166, 25, 0.6);
    transform: translateY(-5px);
}

.stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #52A619, #7FBD3D);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.stat-icon svg {
    width: 40px;
    height: 40px;
    stroke-width: 1.5;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: #52A619;
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    display: block;
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding-top: 40px;
    border-top: 1px solid rgba(82, 166, 25, 0.2);
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.badge-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #52A619, #7FBD3D);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
}

.badge p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

/* ============================================ */
/* 3. ANIMATIONS */
/* ============================================ */

/* ============================================ */
/* DIDACTIC VISUAL SECTIONS */
/* ============================================ */

.how-it-works-section, .week-example-section, .included-section { padding: 88px 0; }
.how-it-works-section { background: #F8FAF8; }
.week-example-section { background: #FFFFFF; }
.included-section { background: #F1F5F3; }
.visual-section-heading { max-width: 720px; margin: 0 auto 42px; text-align: center; }
.visual-section-heading .section-title { margin: 10px 0 12px; }
.visual-section-heading p { color: #64748B; font-size: 1rem; }
.visual-section-heading-split { display: flex; align-items: end; justify-content: space-between; gap: 40px; max-width: none; text-align: left; }
.visual-section-heading-split > div { max-width: 570px; }
.visual-section-heading-split p { max-width: 340px; margin-bottom: 7px; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.process-card { position: relative; overflow: hidden; padding: 0 0 26px; border: 1px solid #DDE8DF; border-radius: 14px; background: #FFFFFF; box-shadow: 0 12px 28px rgba(14, 46, 29, 0.06); }
.process-card img { width: 100%; height: 190px; object-fit: cover; }
.process-card h3, .process-card p { padding: 0 24px; }
.process-card h3 { margin-top: 22px; color: #173B28; font-size: 1.1rem; }
.process-card p { margin-top: 8px; color: #64748B; font-size: 0.9rem; line-height: 1.6; }
.process-number { position: absolute; top: 16px; left: 16px; z-index: 1; padding: 6px 9px; border-radius: 6px; background: #173B28; color: #D9F99D; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; }
.week-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 28px; }
.week-tab { min-width: 62px; padding: 10px 14px; border: 1px solid #DCE5DE; border-radius: 8px; background: #FFFFFF; color: #64748B; font: inherit; font-size: 0.86rem; font-weight: 800; cursor: pointer; }
.week-tab:hover, .week-tab:focus-visible, .week-tab.active { border-color: #52A619; background: #E9F8D5; color: #24520D; outline: none; }
.meal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.meal-card { overflow: hidden; border: 1px solid #E2E8F0; border-radius: 12px; background: #FFFFFF; box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05); }
.meal-gallery-item { position: relative; display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.meal-gallery-item img { width: 100%; height: 152px; object-fit: cover; transition: transform 0.35s ease; }
.meal-gallery-item:hover img { transform: scale(1.04); }
.image-zoom-label { position: absolute; right: 10px; bottom: 10px; padding: 5px 8px; border-radius: 5px; background: rgba(14, 46, 29, 0.84); color: #FFFFFF; font-size: 0.68rem; font-weight: 800; }
.meal-copy { padding: 18px; }
.meal-copy > span { color: #52A619; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; }
.meal-copy h3 { margin: 7px 0 5px; color: #173B28; font-size: 0.98rem; }
.meal-copy p { color: #64748B; font-size: 0.82rem; line-height: 1.5; }
.preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.preview-card { overflow: hidden; border: 1px solid #E2E8F0; border-radius: 14px; background: #FFFFFF; box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05); }
.preview-card > div:last-child { padding: 22px; }
.preview-image { position: relative; height: 190px; overflow: hidden; }
.preview-image img { width: 100%; height: 100%; object-fit: cover; }
.preview-lock { position: absolute; right: 12px; bottom: 12px; padding: 6px 9px; border-radius: 5px; background: rgba(14, 46, 29, 0.88); color: #D9F99D; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.08em; }
.preview-step { color: #52A619; font-size: 0.67rem; font-weight: 800; letter-spacing: 0.08em; }
.preview-card h3 { margin: 9px 0 7px; color: #173B28; font-size: 1rem; }
.preview-card p { color: #64748B; font-size: 0.84rem; line-height: 1.55; }
.preview-cta { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 32px; }
.preview-cta p { color: #64748B; font-size: 0.9rem; }
.included-layout { display: grid; grid-template-columns: minmax(280px, 0.9fr) 1.1fr; align-items: center; gap: 84px; }
.included-visual { position: relative; max-width: 520px; }
.included-visual img { width: 100%; border-radius: 24px; box-shadow: 0 18px 35px rgba(14, 46, 29, 0.12); }
.included-sticker { position: absolute; right: -22px; bottom: 22px; padding: 14px 16px; border-radius: 10px; background: #FACC15; color: #173B28; font-size: 0.72rem; font-weight: 900; line-height: 1.25; transform: rotate(4deg); }
.included-copy .section-title { margin: 10px 0 26px; max-width: 520px; text-align: left; }
.included-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; margin-bottom: 30px; }
.included-list div { display: grid; gap: 5px; padding-left: 15px; border-left: 3px solid #A3E635; }
.included-list strong { color: #173B28; font-size: 0.94rem; }
.included-list span { color: #64748B; font-size: 0.82rem; line-height: 1.45; }
.plan-audience { min-height: 38px; margin-top: 8px; color: #64748B; font-size: 0.76rem; line-height: 1.45; }
.plan-preview { width: 100%; height: 82px; margin: 14px 0 4px; border-radius: 10px; object-fit: cover; }
.testimonial-avatar { overflow: hidden; padding: 0; }
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.image-lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px; background: rgba(11, 23, 32, 0.86); opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
.image-lightbox.open { opacity: 1; pointer-events: auto; }
.image-lightbox img { max-width: min(720px, 92vw); max-height: 80vh; border-radius: 18px; background: #FFFFFF; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); }
.lightbox-close { position: absolute; top: 24px; right: 28px; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 50%; background: transparent; color: #FFFFFF; font-size: 1.7rem; cursor: pointer; }
@media (max-width: 900px) { .process-grid, .preview-grid { grid-template-columns: 1fr 1fr; } .meal-grid { grid-template-columns: 1fr 1fr; } .included-layout { gap: 42px; } }
@media (max-width: 600px) { .how-it-works-section, .week-example-section, .included-section { padding: 64px 0; } .visual-section-heading-split { display: block; } .visual-section-heading-split p { margin-top: 16px; } .process-grid, .preview-grid, .meal-grid, .included-list { grid-template-columns: 1fr; } .week-tabs { justify-content: start; overflow-x: auto; padding-bottom: 5px; } .week-tab { flex: 0 0 auto; } .included-layout { grid-template-columns: 1fr; gap: 32px; } .included-sticker { right: 8px; bottom: 12px; } .preview-cta { align-items: stretch; flex-direction: column; gap: 12px; text-align: center; } }

/* ============================================ */
/* 2. TESTIMONIALS CAROUSEL */
/* ============================================ */

.testimonials-section { padding: 92px 0 86px; background: #101322; color: #F8FAFC; overflow: hidden; }
.testimonials-header { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 38px; }
.testimonials-section .section-title { color: #F8FAFC; margin-top: 10px; text-align: left; }
.section-kicker { color: #A3E635; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; }
.testimonials-controls { display: flex; gap: 10px; }
.testimonial-control { width: 44px; height: 44px; border: 1px solid #30364B; border-radius: 50%; background: transparent; color: #F8FAFC; font-size: 1.25rem; cursor: pointer; transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
.testimonial-control:hover, .testimonial-control:focus-visible { background: #52A619; border-color: #52A619; transform: translateY(-2px); outline: none; }
.testimonials-viewport { overflow: hidden; }
.testimonials-track { display: flex; gap: 20px; transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1); will-change: transform; }
.testimonial-card { flex: 0 0 calc((100% - 40px) / 3); min-height: 310px; padding: 30px; border: 1px solid #252B40; border-radius: 14px; background: #151829; box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16); }
.testimonial-card-top, .testimonial-person, .testimonials-footer { display: flex; align-items: center; }
.testimonial-card-top { justify-content: space-between; gap: 14px; }
.testimonial-person { gap: 12px; }
.testimonial-avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #D9F99D; color: #24520D; font-size: 0.76rem; font-weight: 800; }
.testimonial-person h3 { font-size: 0.98rem; }
.testimonial-person p, .testimonial-card time { color: #8991A8; font-size: 0.76rem; }
.testimonial-card time { white-space: nowrap; }
.testimonial-rating { margin: 24px 0 10px; color: #FACC15; font-size: 1.35rem; letter-spacing: 0.08em; }
.testimonial-card h4 { margin-bottom: 10px; font-size: 1.08rem; }
.testimonial-card > p { color: #AEB5C8; font-size: 0.91rem; line-height: 1.65; }
.testimonial-result { display: inline-block; margin-top: 22px; padding: 5px 10px; border-radius: 5px; background: rgba(163, 230, 53, 0.12); color: #BEF264; font-size: 0.74rem; font-weight: 800; }
.testimonials-footer { justify-content: space-between; margin-top: 28px; gap: 20px; }
.testimonials-footer p { color: #737B91; font-size: 0.72rem; }
.testimonial-dots { display: flex; gap: 7px; }
.testimonial-dot { width: 7px; height: 7px; border: 0; border-radius: 50%; background: #3B4258; cursor: pointer; padding: 0; }
.testimonial-dot.active { width: 22px; border-radius: 5px; background: #A3E635; }
@media (max-width: 900px) { .testimonial-card { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 600px) { .testimonials-section { padding: 68px 0; } .testimonials-header { align-items: start; flex-direction: column; } .testimonial-card { flex-basis: 100%; min-height: 300px; padding: 24px; } .testimonials-footer { align-items: start; flex-direction: column; } }

@media (prefers-reduced-motion: reduce) {
    .testimonials-track, .meal-gallery-item img, .image-lightbox { transition: none; }
    .stat-card, .social-proof-section .section-title, .social-proof-section .section-subtitle { animation: none; }
}

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

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoom-in {
    from {
        transform: scale(0.95);
        opacity: 0.8;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

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

@keyframes countUp {
    from {
        counter-increment: none;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(82, 166, 25, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(82, 166, 25, 0.8);
    }
}

/* Scroll animations - applied by JavaScript Intersection Observer */
.fade-in-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Confetti animation for form submission */
@keyframes confetti-fall {
    0% {
        opacity: 1;
        transform: translateY(0) translateX(0) rotateZ(0deg);
    }
    100% {
        opacity: 0;
        transform: translateY(300px) translateX(var(--tx)) rotateZ(720deg);
    }
}

.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    pointer-events: none;
}

.confetti.active {
    animation: confetti-fall 3s ease-out forwards;
}

/* ============================================ */
/* 5. RESPONSIVE DESIGN */
/* ============================================ */

@media (max-width: 768px) {
    .social-proof-section {
        padding: 50px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-card {
        padding: 30px 20px;
    }

    .testimonial-images {
        height: 200px;
    }

    .testimonial-content {
        padding: 20px;
    }

    .stat-number {
        font-size: 36px;
    }

    .trust-badges {
        gap: 20px;
        flex-direction: column;
    }

    .stat-number {
        font-size: 28px;
    }
}

/* ============================================ */
/* 6. HOVER EFFECTS & TRANSITIONS */
/* ============================================ */

.stat-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:active {
    transform: translateY(-2px);
}

/* Ripple effect for buttons */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    animation: ripple 0.6s ease-out;
    pointer-events: none;
}
