:root {
    --bg-color: #050505;
    --card-bg: #111111;
    --text-color: #ffffff;
    --text-muted: #cccccc;
    --primary-color: #00ff88;
    /* Neon Green */
    --secondary-color: #ffd700;
    /* Gold */
    --accent-color: #7000ff;
    /* Purple */
    --font-main: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;
    --border-color: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --banner-height: 40px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Emergency Date Banner */
.emergency-banner {
    background: #D32F2F;
    /* Emergency Red */
    color: #fff;
    text-align: center;
    padding: 15px 0;
    /* Increased for better visibility */
    font-size: 1.1rem;
    /* Bigger text */
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    width: 100%;
    z-index: 1000;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.emergency-banner .highlight-yellow {
    color: #FFD700;
    font-weight: 900;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .emergency-banner {
        font-size: 0.8rem;
        padding: 10px 0;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
    text-transform: uppercase;
}

.section-alt {
    background-color: #161616;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 30px 30px;
    color: var(--text-color);
}

.section-alt h2,
.section-alt h3,
.section-alt h4 {
    color: var(--primary-color);
}

.section-alt p,
.section-alt li {
    color: var(--text-muted);
}

@media (max-width: 768px) {

    /* Simplified background for mobile performance */
    .section-alt {
        background-color: #161616;
        background-image: none;
        /* Remove heavy grid pattern */
    }
}

.section-alt .feature-item,
.section-alt .module-card,
.section-alt .testimonial-card,
.section-alt .faq-item {
    background: #0a0a0a;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.section-alt .testimonial-card p {
    color: var(--text-color);
}

.section-alt .divider {
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

.headline {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: #fff !important;
    /* Force White to override H1 global */
}

.headline .highlight {
    color: var(--primary-color);
    text-shadow: 0 0 25px rgba(0, 255, 136, 0.6);
    /* Stronger glow */
    display: inline-block;
}

.subheadline {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Common */
section {
    padding: 80px 0;
    position: relative;
    /* overflow: hidden; REMOVED to fix mobile 'double scroll' issue */
}

@media (max-width: 768px) {
    section {
        padding: 50px 0;
        /* Reduced from 80px for mobile */
    }
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.divider {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 20px auto 0;
    border-radius: 2px;
    box-shadow: 0 0 10px var(--primary-color);
}

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--primary-color);
    color: #000;
    font-weight: 800;
    text-transform: uppercase;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.6);
    background: #fff;
}

.big-cta {
    font-size: 1.3rem;
    padding: 25px 60px;
    width: 100%;
    max-width: 500px;
}

/* Hero Section */
.hero {
    padding: 20px 0 100px;
    background: radial-gradient(circle at center, #1a1a1a 0%, #050505 70%);
    text-align: center;
}

.logo {
    max-width: 300px;
    margin: 0 auto 10px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    margin-bottom: 50px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Vertical Video + Custom Button */
.hero-video-vertical {
    position: relative;
    max-width: 400px;
    /* Keep it phone-sized on desktop */
    margin: 0 auto 50px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.custom-vimeo-play-button {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    /* transform: translate(-50%, -50%); REMOVED to avoid conflict with .pulse animation */
    width: 100px;
    height: 100px;
    background: rgba(0, 0, 0, 0.4);
    /* Transparent with slight dark tint for visibility */
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.4);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.custom-vimeo-play-button svg {
    color: var(--primary-color);
    width: 50%;
    height: 50%;
    filter: drop-shadow(0 0 5px rgba(0, 255, 136, 0.8));
    display: block;
    transform: translateX(3px);
    /* Optical centering: shifts triangle centroid to button center */
    margin-left: 0;
}

.custom-vimeo-play-button:hover {
    transform: scale(1.1);
    background: rgba(0, 255, 136, 0.1);
    box-shadow: 0 0 50px rgba(0, 255, 136, 0.8);
    border-color: #fff;
}

.custom-vimeo-play-button:hover svg {
    color: #fff;
}

.custom-vimeo-play-button.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
}

@media (max-width: 768px) {
    .hero-video-vertical {
        max-width: 100%;
        /* Full width on mobile */
        border-radius: 15px;
    }

    .custom-vimeo-play-button {
        width: 80px;
        height: 80px;
    }
}

/* Freedom (Effect) Section */
.freedom-section .container {
    max-width: 1400px;
}

.freedom-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.freedom-item {
    width: 100%;
    max-width: 380px;
}

.freedom-card {
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--secondary-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    position: relative;
}

.freedom-card .bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.freedom-card:hover .bg-image {
    transform: scale(1.05);
}

.freedom-description {
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
    padding: 0 15px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
}

.feature-item {
    background: var(--card-bg);
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.1);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: var(--transition);
    filter: drop-shadow(0 0 5px var(--primary-color));
}

.section-alt .feature-item i {
    background: none;
    width: auto;
    height: auto;
    line-height: normal;
    border-radius: 0;
    margin-bottom: 15px;
    box-shadow: none;
    display: block;
    color: var(--primary-color);
    filter: drop-shadow(0 0 5px var(--primary-color));
}

.feature-item:hover i {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px var(--primary-color);
}

.feature-item h4 {
    font-size: 0.95rem;
    color: #fff;
}

.section-alt .feature-item h4 {
    color: #fff;
}

.feature-item:hover i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Modules Section */
.modules-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.module-card {
    width: 100%;
    max-width: 350px;
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.module-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.1);
}

/* OPTIMIZATIONS */

/* 1. Video Facade */
.video-facade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    background: #000;
}

.video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.video-facade:hover .video-thumb {
    opacity: 0.6;
}

.play-button-large {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
    z-index: 2;
}

.play-button-large i {
    font-size: 2.5rem;
    color: #000;
    margin-left: 5px;
    /* Visual center adjustment */
}

/* 2. Sticky CTA */
/* 2. Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2147483647;
    /* Max Z-Index */
    padding: 15px 20px 20px;
    background: linear-gradient(to top, #000 80%, transparent);
    /* Fade background */
    display: flex;
    justify-content: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(100%);
    /* Default Hidden */
    opacity: 0;
    /* Default Hidden */
    pointer-events: none;
    /* Interact only when visible */
}

.sticky-cta.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.sticky-btn {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: #000;
    padding: 12px;
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.6);
    border: 2px solid #fff;
    text-align: center;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.sticky-btn span {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    text-transform: uppercase;
    line-height: 1;
}

.sticky-btn small {
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.8;
    color: #000;
    /* Ensure visibility */
}

/* 3. Reverted Glassmorphism (Performance Fix) */
/* Removed backdrop-filter to prevent mobile freeze.
   Using solid colors with gradients for "Fast Future" look instead. */
.module-card,
.bonus-card,
.feature-item {
    background: linear-gradient(145deg, rgba(20, 20, 20, 1), rgba(10, 10, 10, 1));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.module-card:hover,
.bonus-card:hover,
.feature-item:hover {
    border-color: var(--primary-color);
    /* No heavy effects on mobile default */
}

/* Only apply heavy transforms if device supports hover */
@media (hover: hover) {

    .module-card:hover,
    .bonus-card:hover,
    .feature-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0, 255, 136, 0.1);
    }
}

/* Extra hover effects were here but handled above */

.module-img {
    height: 200px;
    background: #222;
    position: relative;
}

.module-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.play-overlay i {
    color: #fff;
    margin-left: 3px;
}

.module-content {
    padding: 25px;
}

.module-content h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.module-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* For Who Section */
.for-who-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.for-who-item {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    width: 100%;
    max-width: 320px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.for-who-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.for-who-item h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.section-alt .for-who-item h3 {
    color: #fff;
}

.section-alt .for-who-item p {
    color: var(--text-muted);
}

.for-who-item:hover,
.module-card:hover,
.teacher-card:hover,
.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 255, 136, 0.15);
}

.for-who-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Media/Testimonials Carousel */
.media-section .section-header h2 {
    color: var(--primary-color);
}

.carousel-container {
    position: relative;
    height: 600px;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
}

.carousel-track-container {
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 2px solid #333;
}

.carousel-track {
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

/* Carousel Buttons */
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-button:hover {
    background: var(--primary-color);
    color: #000;
}

.carousel-button--left {
    left: -50px;
}

.carousel-button--right {
    right: -50px;
}

.is-hidden {
    display: none !important;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    gap: 10px;
}

.carousel-indicator {
    border: none;
    width: 10px;
    height: 10px;
    background: #333;
    border-radius: 50%;
    cursor: pointer;
}

.carousel-indicator.current-slide {
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

/* Bonuses */
.bonuses-section {
    background: #080808;
}

/* Bonus Cards - Standardized Layout */
.bonus-headline-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    line-height: 1;
}

.bonus-number {
    font-size: clamp(6rem, 15vw, 10rem);
    font-weight: 900;
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
    /* Reduced blur radius from 30px */
    font-family: var(--font-display);
    line-height: 0.8;
    line-height: 0.8;
}

.bonus-headline-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.bonus-super {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    font-family: var(--font-display);
}

.bonus-exclusive {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    font-family: var(--font-display);
}

.bonus-subheadline-custom {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

.bonus-subheadline-custom .highlight {
    color: var(--accent-color);
    /* Purple accent for the product name or maybe Green? User said page colors. */
    color: #ff00de;
    /* Let's try a hot pink/purple for contrast or stick to primary? */
    color: var(--primary-color);
    font-weight: 700;
}

.bonus-subheadline-custom .highlight {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.bonus-card {
    display: flex;
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    /* Gold border */
    align-items: stretch;
    /* Ensure equal height */
    min-height: 300px;
}

.bonus-img {
    flex: 0 0 40%;
    /* Fixed width 40% */
    background: #000;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.bonus-img img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    padding: 10px;
    /* transition: transform 0.3s ease; Removed transition on heavy filter if any */
    /* Optimized Shadow: Use box-shadow on container instead of filter on image if possible, 
       but here we want the glow on the item. Since these are squares mostly, box-shadow is better. */
    /* filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.2));  <-- EXPENSIVE */
    transition: transform 0.3s ease;
    will-change: transform;
}

.bonus-img {
    /* ... existing props ... */
    /* Apply glow to container instead for performance */
    box-shadow: inset 0 0 20px rgba(0, 255, 136, 0.05);
}

.bonus-card:hover .bonus-img img {
    transform: scale(1.05);
    /* filter: drop-shadow(...) removed to prevent repaint during animate */
}

.bonus-content {
    flex: 1;
    /* Take remaining space */
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

/* Mobile Responsiveness - FINAL POLISH */
@media (max-width: 768px) {

    /* Global Container Fix */
    .container {
        padding: 0 20px !important;
        width: 100%;
        overflow-x: hidden;
    }

    .hero {
        padding: 40px 0 60px;
        overflow: hidden;
        /* Prevent overflow */
    }

    /* Headings */
    .headline {
        font-size: 1.8rem !important;
        /* Force smaller size */
        line-height: 1.2;
        padding: 0 10px;
    }

    .subheadline {
        font-size: 1rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .section-header h2 {
        font-size: 1.6rem !important;
        padding: 0 10px;
    }

    .section-header p {
        font-size: 1rem;
        padding: 0 10px;
    }

    /* Buttons */
    .cta-button {
        width: 100%;
        max-width: 100%;
        padding: 15px 20px;
        /* Reduced vertical padding */
        font-size: 0.95rem;
        /* Smaller text to prevent overflow */
        white-space: normal;
        /* Allow text wrapping */
        text-align: center;
        margin: 0 auto;
        display: flex;
        justify-content: center;
    }

    .big-cta {
        padding: 20px;
        font-size: 1rem;
    }

    /* Grid Layouts - Vertical Stacking */
    .freedom-grid,
    .modules-grid,
    .teachers-grid,
    .for-who-grid,
    .features-grid,
    .testimonials-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .freedom-item,
    .module-card,
    .teacher-card,
    .for-who-item,
    .feature-item,
    .testimonial-card,
    .bonus-card {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        /* Reset specific margins */
    }

    /* Specific Card Heights */
    .freedom-card {
        height: auto;
        min-height: 250px;
        aspect-ratio: auto;
    }

    /* Bonus Cards - Mobile */
    .bonus-card {
        flex-direction: column;
        height: auto;
        min-height: auto;
    }

    .bonus-img {
        flex: none;
        width: 100%;
        height: 250px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 20px;
    }

    .bonus-img img {
        width: auto;
        height: 100%;
        max-width: 100%;
        object-fit: contain !important;
    }

    .bonus-content {
        flex: none;
        width: 100%;
        padding: 25px 15px;
        /* Tighter padding */
        align-items: center;
        text-align: center;
    }

    .bonus-content h3 {
        font-size: 1.2rem;
    }

    /* Offer Section */
    .offer-box {
        padding: 30px 15px;
        margin: 0 10px;
        width: auto;
        /* Allow auto width with margin */
    }

    /* Offer Section Mobile */
    .offer-price .amount {
        font-size: 2.5rem;
    }

    /* Offer Section Mobile */
    .offer-box {
        padding: 30px 20px;
        /* Reduced vertical and horizontal */
        width: auto;
    }

    .offer-logo {
        /* On mobile, negative margin to pull it wider than content? */
        /* margin-left: -10px; margin-right: -10px; width: calc(100% + 20px); */
        /* Let's just trust the reduced padding first */
        margin-bottom: 20px;
    }

    /* Carousel */
    .carousel-container {
        height: 50vh;
        max-height: 400px;
        width: 100%;
    }

    .carousel-button--left {
        left: 10px;
        background: rgba(0, 0, 0, 0.6);
    }

    .carousel-button--right {
        right: 10px;
        background: rgba(0, 0, 0, 0.6);
    }

    /* Footer */
    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}

.bonus-content h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* Price Tags in Bonus */
.price-tag-wrapper {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 15px;
    border-radius: 8px;
    width: fit-content;
}

.old-price {
    font-size: 1.2rem;
    color: #ff3333;
    /* Red color as requested */
    text-decoration: line-through;
    font-weight: 700;
}

.free-badge {
    background: rgba(0, 255, 136, 0.15);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid var(--primary-color);
    letter-spacing: 1px;
}

.total-value {
    text-align: center;
    font-size: 1.3rem;
    margin-top: 40px;
    color: #fff;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px dashed #333;
}

.old-price-total {
    color: #ff3333;
    text-decoration: line-through;
    font-weight: 700;
    margin: 0 5px;
    font-size: 1.5rem;
}

/* Offer Section */
.offer-section {
    padding: 80px 0;
    text-align: center;
}

.offer-box {
    background: #050505;
    /* Darker background for contrast */
    border: 2px solid var(--primary-color);
    /* Thicker border */
    padding: 40px;
    border-radius: 30px;
    /* More rounded */
    max-width: 550px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.15);
    /* Softer, larger glow */
}

.offer-logo {
    width: 100%;
    /* Full width of parent */
    max-width: 100%;
    /* No restrictions */
    height: auto;
    margin: 0 auto 30px;
    margin: 0 auto 30px;
    display: block;
    /* PERFORMANCE FIX: Removed drop-shadow, using box-shadow on container or nothing */
    filter: none;
    /* Optional: Use a static shadow if needed, but filter is too heavy for scroll */
    /* box-shadow: 0 0 20px rgba(0, 255, 136, 0.2); // Only works on box, not transparent img */
}

.offer-checklist {
    list-style: none;
    padding: 0;
    margin: 0 auto 30px;
    text-align: left;
    max-width: 100%;
    /* Take full width of container padding */
}

.offer-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    /* Tighter spacing */
    font-size: 1rem;
    color: #f0f0f0;
    line-height: 1.3;
    font-weight: 500;
    text-transform: uppercase;
    padding-left: 10px;
    /* Indent slightly */
}

.offer-checklist li i {
    color: var(--primary-color);
    font-size: 1.2rem;
    min-width: 25px;
    /* PERFORMANCE FIX: Use text-shadow instead of filter */
    text-shadow: 0 0 5px rgba(0, 255, 136, 0.5);
    filter: none;
}

.offer-price {
    margin-bottom: 20px;
}

.offer-logo {
    max-width: 120px;
    margin: 0 auto 20px;
    /* PERFORMANCE FIX: Simple brightness/invert is okay, but drop-shadow is heavy */
    filter: brightness(0) invert(1);
}

.offer-pre {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.offer-price .amount {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
    line-height: 1;
    margin-bottom: 5px;
}

.offer-price .total-value {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background: radial-gradient(circle at center, rgba(0, 255, 136, 0.05) 0%, transparent 70%);
    border-radius: 20px;
}

.total-value-image {
    max-width: 500px;
    /* Control desktop size */
    margin: 0 auto 20px;
}

.total-value-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(0, 255, 136, 0.3));
    /* Soft glow */
}

.bonus-note-highlight {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary-color);
    /* Gold */
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.total-value-text {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 20px;
}

.total-value-text .old-price-total {
    color: #ff3333;
    text-decoration: line-through;
    font-weight: 700;
    font-size: 1.6rem;
    margin-left: 10px;
}

@media (max-width: 480px) {
    .total-value-image {
        max-width: 90%;
        /* Responsive mobile */
    }

    .bonus-note-highlight {
        font-size: 1rem;
        /* readable on mobile */
        padding: 8px 15px;
    }
}

.offer-price .installments {
    display: block;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 30px;
}

.cash-price {
    font-size: 1rem;
    color: #888;
    margin-bottom: 30px;
}

.guarantee-badge {
    margin-top: 25px;
    color: var(--secondary-color);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Teachers */
/* Instructor Bio Layout */
.instructor-bio-wrapper {
    display: flex;
    align-items: center;
    /* Center vertically */
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(10, 10, 10, 0.5);
    /* subtle bg */
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.instructor-image {
    flex: 0 0 350px;
    /* Fixed width for desktop */
}

.instructor-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

.instructor-content {
    flex: 1;
    text-align: left;
    color: var(--text-muted);
}

.instructor-content h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 5px;
}

.instructor-content p {
    margin-bottom: 15px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.instructor-content strong {
    color: var(--text-color);
    font-weight: 700;
}

.bio-intro {
    font-size: 1.1rem;
    color: #fff;
}

.bio-outro {
    font-style: italic;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 20px;
    font-size: 1.2rem;
}

/* Mobile Bio */
@media (max-width: 768px) {
    .instructor-bio-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 20px;
    }

    .instructor-image {
        flex: none;
        width: 100%;
        max-width: 300px;
        /* Limit size on mobile */
        margin: 0 auto;
    }

    .instructor-content {
        text-align: left;
        /* Keep text readable */
        padding: 0 5px;
    }

    .instructor-content h3 {
        display: block;
        text-align: center;
        margin-bottom: 20px;
    }
}

/* Testimonials Text */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.testimonial-card p {
    font-style: italic;
    color: #eee;
}

/* FAQ */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    background: var(--card-bg);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: transparent;
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question i {
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
    background: rgba(255, 255, 255, 0.02);
}

.faq-answer p {
    padding-bottom: 20px;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* Guarantee Section */
.guarantee-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #000 0%, #0a0a0a 100%);
    border-top: 1px solid var(--border-color);
}

.guarantee-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.guarantee-image {
    flex: 0 0 300px;
}

.guarantee-image img {
    width: 100%;
    height: auto;
    filter: none;
}

.guarantee-content {
    flex: 1;
}

/* 2. Sticky CTA (Futuristic & High Conversion) */
.sticky-cta {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%) translateY(200px);
    width: 95%;
    max-width: 480px;
    z-index: 2147483647;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Bouncy entrance */
    display: flex;
    justify-content: center;
    pointer-events: none;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    padding-bottom: env(safe-area-inset-bottom);
    /* Fix for iPhone Home Bar */
}

.sticky-cta.visible {
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.sticky-btn {
    position: relative;
    width: 100%;
    background: linear-gradient(90deg, #00ff88, #00eb7d, #00ff88);
    /* Neon Green Gradient */
    background-size: 200% auto;
    color: #000;
    padding: 18px 25px;
    /* Larger hit area */
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.4), inset 0 0 0 2px rgba(255, 255, 255, 0.3);
    border: 2px solid #fff;
    /* White border for pop */
    text-align: center;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* For shine effect */
    animation: pulse-neon 2s infinite, gradient-move 3s linear infinite;
}

.sticky-btn span {
    position: relative;
    z-index: 2;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.1rem;
    /* Slightly reduced to fit longer text if needed, or keep large */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sticky-btn i {
    z-index: 2;
    margin-left: 10px;
}

/* Shine Effect */
.shine-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.8), transparent);
    transform: skewX(-20deg) translateX(-200%);
    /* Optimized: Start off-screen using transform */
    animation: shine-sweep 3s infinite;
    z-index: 1;
}

@keyframes pulse-neon {
    0% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 0 40px rgba(0, 255, 136, 0.7);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
    }
}

@keyframes shine-sweep {
    0% {
        transform: skewX(-20deg) translateX(-200%);
    }

    20% {
        transform: skewX(-20deg) translateX(500%);
    }

    /* Fast sweep */
    100% {
        transform: skewX(-20deg) translateX(500%);
    }

    /* Pause */
}

@keyframes gradient-move {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}



.guarantee-content h2 {
    font-size: 2.5rem;
    color: #fff;
    /* White title for reliability */
    margin-bottom: 25px;
    text-transform: none;
    /* More readable for guarantee */
    font-family: var(--font-display);
}

.guarantee-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.6;
}

.guarantee-content strong {
    color: var(--secondary-color);
    /* Gold for trust/value */
}

.guarantee-highlight {
    font-size: 1.2rem;
    color: #fff !important;
    font-weight: 600;
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 25px 0;
}

.simple-tag {
    font-family: var(--font-display);
    font-size: 1.5rem !important;
    color: var(--primary-color) !important;
    font-weight: 700;
    margin-top: 10px;
    text-transform: uppercase;
}

/* Mobile Guarantee */
@media (max-width: 768px) {
    .guarantee-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .guarantee-image {
        flex: none;
        width: 180px;
        /* Smaller centered badge on mobile */
        margin: 0 auto;
    }

    .guarantee-content h2 {
        font-size: 1.8rem;
    }

    .guarantee-highlight {
        border-left: none;
        border-top: 2px solid var(--primary-color);
        border-bottom: 2px solid var(--primary-color);
        padding: 15px 0;
    }
}

/* Promotion Header (Offer Top) */
.promo-header {
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.promo-title {
    color: var(--secondary-color);
    /* Gold */
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.promo-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.promo-price {
    color: var(--primary-color);
    /* Neon Green for contrast */
}

.promo-details {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Scarcity Counter */
.scarcity-counter {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    /* Golde subtle border */
}

.scarcity-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
}

.units-highlight {
    color: #fff;
    font-weight: 900;
}

.progress-bar-container {
    width: 100%;
    height: 12px;
    background: #222;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5);
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff8c00, #ffd700);
    /* Orange to Gold gradient */
    width: 100%;
    /* JS will adjust this */
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    transition: width 1s linear;
}

@media (max-width: 480px) {
    .promo-title {
        font-size: 1.5rem;
    }

    .promo-subtitle {
        font-size: 1.2rem;
    }

    .scarcity-text {
        font-size: 0.8rem;
    }
}

footer {
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    border-top: 1px solid #111;
}

.footer-links {
    margin: 15px 0;
}

.footer-links a {
    margin: 0 10px;
    color: #888;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
    /* will-change: transform; REMOVED for mobile perf */
}

@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(0, 255, 136, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0);
    }
}

.pulse-border {
    animation: pulse-border 2s infinite;
    /* will-change: box-shadow; REMOVED for mobile perf */
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    /* will-change: opacity, transform; CRITICAL REMOVAL: Was causing memory exhaustion on mobile */
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delays */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

/* Mobile Responsiveness */
/* Mobile Responsiveness */
@media (max-width: 768px) {
    .headline {
        font-size: 1.8rem;
    }

    .subheadline {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .hero {
        padding: 40px 0 60px;
    }

    /* Fix Freedom Cards Height on Mobile */
    .freedom-grid,
    .modules-grid,
    .teachers-grid {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        /* Increased gap for better separation */
    }

    .freedom-item,
    .module-card,
    .teacher-card,
    .bonus-card {
        max-width: 100%;
        width: 100%;
    }

    .freedom-card {
        height: auto;
        /* Allow auto height on mobile */
        min-height: 300px;
        aspect-ratio: 4/5;
        /* Keep vertical but not huge */
    }

    /* Fix Bonus Cards Mobile */
    .bonus-card {
        flex-direction: column;
        text-align: center;
        height: auto;
        /* Reset any fixed height */
    }

    .bonus-img {
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 20px;
        background: #000;
        /* Ensure dark bg */
    }

    .bonus-img img {
        width: auto;
        /* Do not force width */
        max-width: 100%;
        max-height: 250px;
        /* Limit height to 250px */
        object-fit: contain;
        /* CRITICAL: Prevent blown out/pixelation */
        margin: 0 auto;
    }

    .bonus-content {
        width: 100%;
        padding: 25px 20px;
        align-items: center;
        text-align: center;
        /* Center text */
    }

    .big-cta {
        width: 100%;
        padding: 20px;
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
        /* Slightly smaller for better fit */
        padding: 0 10px;
    }

    .offer-box {
        padding: 30px 15px;
        /* Tighter padding */
    }

    .offer-price .amount {
        font-size: 2.8rem;
    }

    /* Ensure carousel fits */
    .carousel-container {
        height: 60vh;
        max-height: 500px;
    }
}

/* Helper Classes from Cleanup */
.hero-subtext {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.certificate-text {
    color: var(--text-muted);
}

.bonus-note {
    display: block;
    font-size: 1rem;
    margin-top: 5px;
    color: var(--primary-color);
}

/* Certificate Section */
.certificate-section {
    text-align: center;
    padding: 60px 0;
    background: #000;
}

.certificate-title {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    color: #fff;
    margin-bottom: 5px;
}

.certificate-highlight {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    color: var(--primary-color);
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
    margin-bottom: 30px;
    line-height: 1.1;
}

.certificate-img-wrapper {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    padding: 5px;
    border-radius: 15px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.2);
    animation: pulse-border 3s infinite;
}

.certificate-img {
    width: 100%;
    display: block;
    border-radius: 12px;
    border: 4px solid #000;
    /* Inner border */
}

@media (max-width: 768px) {
    .certificate-section {
        padding: 40px 0;
    }

    .certificate-img-wrapper {
        margin: 0 10px;
        width: calc(100% - 20px);
    }
}