/* =========================================
   CSS Variables & Tokens 
   ========================================= */
:root {
    /* Colors */
    --bg-primary: #000000;
    /* Pure black to blend seamlessly with the coin image */
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #191919;

    --accent-primary: #FFD700;
    /* Gold */
    --accent-primary-glow: rgba(255, 215, 0, 0.65);
    /* Increased glow opacity */
    --accent-green: #00E676;
    /* For the badge dot */

    --text-primary: #F5F5F7;
    --text-secondary: #86868B;
    --text-dark: #000000;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-ui: 'Inter', sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 4rem;
    --space-sublime: 6rem;
}

/* =========================================
   Reset & Base Styles
   ========================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

html {
    /* Prevent bounce/jitter on mobile browsers */
    overscroll-behavior-y: none;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-ui);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* =========================================
   Starry Background
   ========================================= */
#stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -2; /* Keeps it behind everything else, but above solid backgrounds */
    pointer-events: none;
}

.star {
    position: absolute;
    background-color: #fff;
    border-radius: 50%;
    opacity: 0; /* Starts hidden, animated in JS */
    box-shadow: 0 0 4px 1px rgba(255, 255, 255, 0.4);
    animation: twinkle linear infinite;
}

@keyframes twinkle {
    0% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 0.8; transform: scale(1.2); }
    100% { opacity: 0; transform: scale(0.5); }
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* =========================================
   Global Layout Classes
   ========================================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
}

/* === HERO SECTION === */
.hero {
    width: 100%;
    padding: var(--space-2xl) 0 var(--space-sublime);
}

.hero__container {
    position: relative;
    display: flex;
    /* Changed from grid to flex to handle absolute positioning */
    align-items: center;
    justify-content: space-between;
}

.hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    max-width: 600px;
    z-index: 10;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.badge__dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-green);
    animation: pulseDot 2s infinite;
}

/* Typography */
.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    /* Slightly reduced to prevent "лет" from wrapping alone */
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: var(--space-md);

    /* Animation */
    opacity: 0;
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero__subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    max-width: 90%;

    /* Animation */
    opacity: 0;
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

/* Pricing Block */
.pricing {
    display: flex;
    align-items: baseline;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.price-old {
    font-size: 1.5rem;
    color: var(--text-secondary);
    text-decoration: line-through;
    font-weight: 500;
}

.price-new {
    font-size: 3.5rem;
    color: var(--accent-primary);
    font-weight: 800;
    letter-spacing: -0.05em;
    text-shadow: 0 0 20px var(--accent-primary-glow);
}

/* CTA & Subtext */
.cta-button {
    background-color: var(--accent-primary);
    color: var(--text-dark);
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 1.2rem 2.5rem;
    border-radius: 100px;
    transition: all 0.3s ease;
    box-shadow: 0 0 35px var(--accent-primary-glow);
    /* Increased shadow radius */
    margin-bottom: var(--space-sm);
    text-align: center;

    /* Animation */
    animation: pulseButton 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button:hover {
    background-color: #ffeb59;
    box-shadow: 0 4px 30px var(--accent-primary-glow);
    animation-play-state: paused;
    /* Pause pulse on hover */
    transform: translateY(-2px);
}

.cta-subtext {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: var(--space-sm);
}

.lock-icon {
    font-size: 1rem;
    color: var(--text-secondary);
}

.mobile-break {
    display: none;
}

/* === COIN RENDER === */
.coin-container {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    width: 100%;
    max-width: 500px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.8));

    /* Animation */
    opacity: 0;
    animation: fadeInitial 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

/* Solid Black Backdrop to hide waves behind the coin */
.coin-backdrop {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    padding-bottom: 80%;
    background-color: #000;
    border-radius: 50%;
    z-index: -1;
}

/* Rotating Binary Ring */
.crypto-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 130%;
    /* Slightly larger than the coin */
    height: 130%;
    transform: translate(-50%, -50%);
    z-index: -1;
    /* Behind the coin */
    animation: rotateRing 40s linear infinite;
    opacity: 0.3;
    /* Subtle presence */
}

.crypto-ring text {
    font-family: monospace;
    font-size: 16px;
    fill: var(--text-secondary);
    letter-spacing: 0.2em;
}

.hero__coin {
    width: 100%;
    height: auto;
    object-fit: contain;
    mix-blend-mode: screen;
    /* Smoothly blend the black edges into the background */
    animation: float 6s ease-in-out infinite;
}

/* =========================================
   Animations
   ========================================= */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeLight {
    from {
        opacity: 0;
    }

    to {
        opacity: 0.8;
    }
}

@keyframes fadeInitial {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes rotateRing {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes pulseButton {
    0% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.65);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 45px rgba(255, 215, 0, 0.8);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.65);
    }
}

@keyframes pulseDot {
    0% {
        opacity: 1;
        box-shadow: 0 0 8px var(--accent-green);
    }

    50% {
        opacity: 0.5;
        box-shadow: 0 0 2px var(--accent-green);
    }

    100% {
        opacity: 1;
        box-shadow: 0 0 8px var(--accent-green);
    }
}

/* =========================================
   Reveal Animations (JS Triggered)
   ========================================= */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delays for staggered appearances */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}


/* =========================================
   TARGET AUDIENCE SECTION
   ========================================= */
.target-audience {
    width: 100%;
    padding: var(--space-2xl) 0;
    position: relative;
    background: radial-gradient(circle at 50% 0%, rgba(255, 215, 0, 0.03) 0%, transparent 60%);
}

.target-audience__container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

/* Floating Badge */
.badge--floating {
    position: absolute;
    top: 0;
    right: 0;
    transform: translateY(-50%);
    /* Hangs half outside */
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.badge--centered {
    display: inline-flex;
    margin: 0 auto;
}

.mb-md {
    margin-bottom: var(--space-md);
}

.target-audience__header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.target-audience__header .section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 2.5vw, 2.4rem);
    /* Reduced font size and scaling */
    line-height: 1.3;
    font-weight: 500;
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Bento Grid Layout */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(300px, auto);
    gap: var(--space-xl);
    width: 100%;
}

.bento-card--dos {
    grid-column: span 6;
}

.bento-card--donts {
    grid-column: span 6;
}

.bento-card--reassure {
    grid-column: span 7;
    padding-bottom: var(--space-2xl);
}

.bento-phone-container {
    grid-column: span 5;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Bento Card Glassmorphism Style */
.bento-card {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 20px 40px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.bento-card__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    height: 100%;
}

.bento-card__title {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.bento-card__title span {
    color: var(--text-secondary);
}

.mt-md {
    margin-top: var(--space-md);
}

.mt-sm {
    margin-top: var(--space-sm);
}

/* Lists Inside Bento */
.bento-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.bento-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Custom Icon Colors */
.icon-success {
    color: var(--accent-green);
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.icon-error {
    color: #FF5252;
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Base Visual Glows */
.bento-card__visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: var(--space-xl);
    min-height: 160px;
}

.bento-icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    filter: blur(45px);
    z-index: -1;
}

.glow-green {
    background: rgba(0, 230, 118, 0.25);
}

.glow-red {
    background: rgba(255, 82, 82, 0.25);
}

.glow-gold-center {
    background: rgba(255, 215, 0, 0.15);
    width: 80%;
    height: 80%;
}

/* Complex 3D-like Boxed Icons */
.bento-icon-wrap {
    width: 100px;
    height: 100px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.01) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    z-index: 2;
}

.wrap-green {
    border: 1px solid rgba(0, 230, 118, 0.3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 20px 40px rgba(0, 230, 118, 0.15);
}

.wrap-red {
    border: 1px solid rgba(255, 82, 82, 0.3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 20px 40px rgba(255, 82, 82, 0.15);
}

.bento-icon-lg {
    font-size: 3.5rem;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.text-green {
    color: var(--accent-green);
}

.text-red {
    color: #FF5252;
}

/* Reassurance Block Overrides */
.reassurance-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: var(--space-md);
}

.reassurance-steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin: var(--space-md) 0;
}

.reassurance-steps li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.05rem;
    color: var(--text-primary);
    font-weight: 500;
}

.step-arrow {
    color: var(--accent-primary);
    font-size: 1.2rem;
}

.reassure-highlight-box {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.15);
    padding: var(--space-md);
    border-radius: 16px;
    margin-top: auto;
    /* Pushes to bottom */
}

.reassure-highlight-box p {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.info-icon {
    color: var(--accent-primary);
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Device Image Container Override */
.phone-visual-container {
    align-items: center;
    justify-content: center;
}

.smartphone-wrapper {
    position: relative;
    width: 100%;
    max-width: 280px;
    z-index: 2;
}

.smartphone-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.8));
}

.floating-device {
    animation: float 8s ease-in-out infinite;
}

.smartphone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
    pointer-events: none;
}

/* =========================================
   CURRICULUM SECTION (6 STEPS)
   ========================================= */
.curriculum {
    width: 100%;
    padding: var(--space-2xl) 0;
    position: relative;
    /* Pure black foundation removed to let stars through */
}

/* Very subtle top gradient separator */
.curriculum::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
}

.curriculum__container {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

.curriculum__header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

/* Standard Lesson Card */
.lesson-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    transition: transform 0.3s ease, background 0.3s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.lesson-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-color: rgba(255, 255, 255, 0.1);
}

.lesson-card__header {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: var(--space-sm);
}

.lesson-number {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lesson-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.3;
}

.lesson-card__content {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    flex-grow: 1;
}

.lesson-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.lesson-desc strong {
    color: var(--text-primary);
    font-weight: 500;
}

.lesson-result {
    margin-top: auto;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.result-icon {
    margin-top: 2px;
    color: var(--text-primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Bonus Lesson Card (Card 6) */
.lesson-card--bonus {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 215, 0, 0.01) 100%);
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow:
        inset 0 0 20px rgba(255, 215, 0, 0.1),
        0 10px 30px rgba(255, 215, 0, 0.05);
    overflow: hidden;
}

.bonus-glow {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 100px;
    background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    filter: blur(20px);
    pointer-events: none;
}

.lesson-card--bonus:hover {
    transform: translateY(-5px);
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.08) 0%, rgba(255, 215, 0, 0.02) 100%);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow:
        inset 0 0 30px rgba(255, 215, 0, 0.15),
        0 15px 40px rgba(255, 215, 0, 0.1);
}

.lesson-card--bonus .lesson-number.bonus-badge {
    background: var(--accent-primary);
    color: #000;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 0.75rem;
    width: max-content;
}

.lesson-card--bonus .lesson-title {
    color: var(--accent-primary);
}

.lesson-card--bonus .lesson-card__header {
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.bonus-status {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #FF5252;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(255, 82, 82, 0.1);
    padding: 6px 12px;
    border-radius: 8px;
    width: fit-content;
    /* Allows it to be as wide as needed, but respects max-width */
    max-width: 100%;
    /* Prevents container overflow */
    box-sizing: border-box;
}

/* Allow text to wrap nicely on mobile screens */
.bonus-status-text {
    white-space: normal;
    word-break: break-word;
    /* Allows long words to break if necessary to contain them */
}

.lock-icon {
    font-size: 1rem;
}

.text-white {
    color: var(--text-primary);
}

.text-gold {
    color: var(--accent-primary);
}

.timer-box {
    margin-top: var(--space-sm);
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono), monospace;
    font-size: 1rem;
    color: var(--text-primary);
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 10px 16px;
    border-radius: 8px;
    justify-content: center;
}

.timer-box span {
    font-weight: 700;
    color: var(--accent-primary);
    letter-spacing: 1px;
}

.lesson-card--bonus .lesson-result {
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.1);
    color: var(--text-primary);
}

/* Value Proposal Block */
.curriculum-value {
    display: flex;
    justify-content: center;
    margin-top: var(--space-xl);
}

.value-box {
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: var(--space-2xl) var(--space-xl);
    width: 100%;
    max-width: 600px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.value-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.value-highlight {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--text-primary);
}

.old-price-inline {
    text-decoration: line-through;
    color: #888;
    margin-left: 4px;
}

.new-price-inline {
    color: var(--accent-primary);
    font-weight: 600;
}

/* =========================================
   VALUE COMPARISON SECTION ($9 Decision)
   ========================================= */
.comparison {
    width: 100%;
    padding: var(--space-2xl) 0;
    position: relative;
    /* Background removed to let stars through */
}

.comparison::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
}

.comparison__container {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

.comparison__header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Comparison Tables */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.compare-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: var(--space-xl);
    position: relative;
    transition: transform 0.3s ease;
}

.compare-card:hover {
    transform: translateY(-5px);
}

.compare-title {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: var(--space-sm);
}

.text-gold {
    color: var(--accent-primary) !important;
}

.compare-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.compare-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.05rem;
    line-height: 1.4;
    color: var(--text-primary);
}

.emoji-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.compare-card--good {
    border-color: rgba(255, 215, 0, 0.2);
    box-shadow: inset 0 0 20px rgba(255, 215, 0, 0.05);
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 215, 0, 0.01) 100%);
}

.good-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

/* Choice Question */
.comparison-choice {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.choice-heading {
    text-align: center;
    font-size: 1.8rem;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.choice-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.choice-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: var(--space-md) var(--space-lg);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 1.05rem;
    line-height: 1.5;
    background: rgba(255, 255, 255, 0.02);
}

.choice-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.choice-icon.bad {
    color: #FF5252;
}

.choice-icon.good {
    color: var(--accent-secondary);
}

.choice-item--good {
    background: rgba(0, 255, 127, 0.05);
    border-color: rgba(0, 255, 127, 0.2);
}

/* Math Block */
.comparison-math {
    max-width: 600px;
    margin: var(--space-xl) auto 0;
    width: 100%;
}

.math-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.math-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.1rem;
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    /* allows desc to drop down if tight */
}

.math-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.math-label {
    color: var(--text-secondary);
    width: 100px;
}

.math-value {
    font-weight: 700;
    font-family: var(--font-mono), monospace;
    font-size: 1.2rem;
}

.bad-color {
    color: #FF5252;
}

.math-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin-left: 10px;
    flex-basis: 100%;
    /* forces new line on mobile naturally if needed */
    text-align: right;
}

.math-row--highlight {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: none;
}

.math-row--highlight .math-label,
.math-row--highlight .math-value {
    font-size: 1.4rem;
    color: var(--text-primary);
}

.math-quote {
    text-align: center;
    color: var(--accent-primary);
    font-style: italic;
    margin-top: var(--space-md);
    font-size: 1.1rem;
}

/* Comparison CTA */
.comparison-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: var(--space-xl);
}

.comparison-cta .cta-subtext {
    margin-top: var(--space-sm);
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Final Thought */
.final-thought {
    margin-top: var(--space-2xl);
    text-align: center;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 215, 0, 0.05) 100%);
    padding: var(--space-xl) var(--space-md);
    border-radius: 24px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.final-thought p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.final-thought-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center horizontally */
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
}

.final-thought-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.final-thought-list .good {
    color: var(--accent-secondary);
    /* Green text */
    font-size: 1.8rem;
}

.final-thought-list .bad {
    color: #FF5252;
    /* Red text */
    font-size: 1.8rem;
}

.final-thought .final-question {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 0;
}

/* =========================================
   FAQ SECTION (Честные ответы)
   ========================================= */
.faq {
    width: 100%;
    padding: var(--space-2xl) 0;
    position: relative;
    /* Background removed to let stars through */
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
}

.faq__container {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
    max-width: 800px;
}

.faq__header {
    text-align: center;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.faq-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-color: rgba(255, 255, 255, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.15rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-body);
}

.faq-text {
    flex-grow: 1;
    margin-right: var(--space-md);
}

.faq-icon-q,
.faq-icon-a {
    font-size: 1.2rem;
    margin-right: 8px;
    flex-shrink: 0;
}

.faq-toggle-icon {
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

/* Accordion Open State */
.faq-item.active {
    border-color: rgba(255, 215, 0, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(180deg);
    color: var(--accent-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

.faq-answer-inner {
    padding: 0 var(--space-lg) var(--space-lg);
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}

.faq-answer-inner p {
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: flex-start;
}

.faq-answer-inner p:last-child {
    margin-bottom: 0;
}

.faq-highlight {
    font-weight: 500;
    color: var(--accent-secondary);
    background: rgba(0, 255, 127, 0.05);
    padding: var(--space-sm) var(--space-md);
    border-radius: 8px;
    border-left: 2px solid var(--accent-secondary);
    margin-top: var(--space-sm);
}

/* Contact Block */
.faq-contact {
    margin-top: var(--space-xl);
}

.contact-box {
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-primary);
}

.contact-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.telegram-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0088cc;
    color: #fff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-top: var(--space-sm);
}

.telegram-btn:hover {
    background: #0099e6;
    transform: translateY(-2px);
}

/* =========================================
   FINAL CTA SECTION
   ========================================= */

@keyframes flash-red {

    0%,
    100% {
        background-color: #aa0000;
    }

    50% {
        background-color: #ff0000;
    }
}

.warning-banner {
    width: 100%;
    animation: flash-red 2s infinite;
    color: #fff;
    text-align: center;
    padding: 12px var(--space-md);
    font-weight: 700;
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    letter-spacing: 0.05em;
    z-index: 10;
}

.warning-banner .timer-display {
    font-size: 1.1em;
    margin-left: 8px;
    display: inline-block;
}

.final-cta {
    padding: var(--space-2xl) 0;
    position: relative;
}

.final-cta__container {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    max-width: 900px;
    margin: 0 auto;
}

/* Timer Main Box */
.final-timer-box {
    text-align: center;
    background: rgba(255, 0, 0, 0.05);
    border: 1px dashed rgba(255, 0, 0, 0.3);
    border-radius: 20px;
    padding: var(--space-xl);
}

.final-timer-title {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.final-timer-display {
    font-family: var(--font-mono), monospace;
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 800;
    color: #FF5252;
    text-shadow: 0 0 20px rgba(255, 82, 82, 0.4);
    line-height: 1;
}

/* Content Grid */
.final-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.final-section-title {
    font-size: 1.3rem;
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Benefits */
.final-benefits {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    padding: var(--space-xl);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.final-benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: var(--space-xl);
}

.final-benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.05rem;
    line-height: 1.4;
    color: var(--text-primary);
}

.icon-check {
    color: var(--accent-secondary);
    font-size: 1.4rem;
    flex-shrink: 0;
}

.icon-gift {
    color: var(--accent-primary);
    font-size: 1.4rem;
    flex-shrink: 0;
}

.benefit-bonus {
    background: rgba(255, 215, 0, 0.05);
    border: 1px dashed rgba(255, 215, 0, 0.3);
    padding: 12px;
    border-radius: 12px;
    color: var(--accent-primary) !important;
    font-weight: 500;
}

.final-value-summary {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-md);
    text-align: center;
}

.value-strike {
    color: #888;
    text-decoration: line-through;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.value-today {
    font-size: 1.2rem;
    color: var(--text-primary);
    font-weight: 500;
}

.large-price {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 8px;
}

.discount-badge {
    background: rgba(0, 255, 127, 0.1);
    color: var(--accent-secondary);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    vertical-align: middle;
}

/* Social Proof */
.final-social-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    padding: var(--space-xl);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-proof-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.social-proof-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.social-proof-list strong {
    color: var(--text-primary);
}

@keyframes ping {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    70%,
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.dot-pulse {
    position: relative;
    width: 12px;
    height: 12px;
    background-color: var(--accent-secondary);
    border-radius: 50%;
    flex-shrink: 0;
}

.dot-pulse::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--accent-secondary);
    border-radius: 50%;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Questions */
.questions-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 1.1rem;
    color: var(--text-primary);
    font-style: italic;
    border-left: 3px solid rgba(255, 255, 255, 0.1);
    padding-left: 20px;
}

/* =========================================
   DECORATIVE BACKGROUND COINS
   ========================================= */
.section-relative {
    position: relative;
    /* Removed overflow-x: clip; to prevent cutting off the coins */
}

.bg-coin {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    user-select: none;
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.3));
    /* Sharper and brighter glow, no blur */
    opacity: 1;
    /* Full brightness per user request */
    animation: float-coin 10s ease-in-out infinite alternate;
}

@keyframes float-coin {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    100% {
        transform: translateY(-30px) rotate(10deg);
    }
}

/* Specific Coin Positions */
/* Target Audience */
.coin-ta-1 {
    top: 10%;
    right: 2%;
    width: 180px;
    animation-duration: 12s;
}

.coin-ta-2 {
    bottom: 5%;
    left: -2%;
    width: 140px;
    animation-duration: 9s;
    animation-delay: 1s;
}

/* Curriculum */
.coin-cur-1 {
    top: 5%;
    left: 1%;
    width: 200px;
    animation-duration: 14s;
}

.coin-cur-2 {
    top: 35%;
    right: -2%;
    width: 160px;
    animation-duration: 11s;
    animation-delay: 2s;
}

/* Value Proposal Box Coin (from screenshot) */
.coin-cur-value {
    top: -60px;
    right: -90px;
    width: 220px;
    animation-duration: 13s;
    z-index: 2;
}

/* Comparison */
.coin-comp-1 {
    top: 15%;
    left: -3%;
    width: 240px;
    animation-duration: 15s;
}

.coin-comp-2 {
    bottom: 10%;
    right: 3%;
    width: 150px;
    animation-duration: 8s;
    animation-delay: 1.5s;
}

/* FAQ */
.coin-faq-1 {
    top: 20%;
    right: 1%;
    width: 190px;
    animation-duration: 12s;
}

.coin-faq-2 {
    bottom: 15%;
    left: 2%;
    width: 170px;
    animation-duration: 11s;
    animation-delay: 0.5s;
}

/* Final CTA */
.coin-cta-1 {
    top: 5%;
    left: -2%;
    width: 200px;
    animation-duration: 13s;
}

.coin-cta-2 {
    top: 40%;
    right: -2%;
    width: 160px;
    animation-duration: 10s;
    animation-delay: 2.5s;
}

/* Responsive adjustments for coins */
@media (max-width: 992px) {
    .bg-coin {
        width: 100px !important;
        opacity: 1 !important;
    }

    .coin-cur-value {
        top: -40px;
        right: -20px;
        width: 120px !important;
    }
}


/* Main CTA Button Container */
.final-box-container {
    text-align: center;
    margin: var(--space-xl) auto 0;
}

.final-box-img {
    max-width: 100%;
    width: 400px;
    /* Slightly increased per user request */
    height: auto;
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.15));
    animation: float 6s ease-in-out infinite;
    display: block;
    margin: 0 auto;
}

.final-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: var(--space-xl) 0;
}

.final-cta-btn {
    width: 100%;
    max-width: 500px;
    font-size: 1.2rem;
    padding: 24px;
}

@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(255, 215, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

.pulse-gold {
    animation: pulse-gold 2.5s infinite;
}

.cta-badges {
    margin-top: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.cta-badges p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Warnings */
.final-warning {
    text-align: center;
    background: rgba(255, 82, 82, 0.05);
    border: 1px solid rgba(255, 82, 82, 0.2);
    border-radius: 20px;
    padding: var(--space-lg);
    max-width: 600px;
    margin: 0 auto;
}

.warning-title {
    color: #FF5252;
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.warning-list {
    list-style: none;
    color: #FF5252;
    font-size: 1.05rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Alternative */
.final-alternative {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: var(--space-xl) 0;
}

/* Final Epilogue */
.final-epilogue {
    text-align: center;
    padding: var(--space-2xl) 0 0;
}

.final-epilogue p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.final-epilogue .epilogue-highlight {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--text-primary);
    line-height: 1.3;
    margin-top: var(--space-lg);
    font-weight: 700;
}


/* Responsive */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: 1fr;
        /* Switch to 1 column on tablet/mobile */
        gap: var(--space-lg);
    }

    .bento-card--dos,
    .bento-card--donts,
    .bento-card--reassure,
    .bento-phone-container {
        grid-column: span 1;
    }

    .bento-phone-container {
        order: -1;
        /* Move smartphone image above the reassure text content on mobile */
    }

    .curriculum-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on tablets */
    }

    .comparison-grid {
        grid-template-columns: 1fr;
        /* Compare columns stack on mobile/tablet */
    }

    .final-content-grid {
        grid-template-columns: 1fr;
    }

    .math-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .math-desc {
        text-align: left;
        margin-left: 0;
    }

    .math-row--highlight {
        flex-direction: row;
        align-items: center;
    }

    .hero__container {
        flex-direction: column;
        justify-content: center;
    }

    .hero__content {
        align-items: center;
        text-align: center;
        margin: 0 auto;
    }

    /* Reset coin to flow naturally on mobile */
    .coin-container {
        position: relative;
        transform: none;
        top: auto;
        right: auto;
        margin: var(--space-xl) auto;
        /* Disable the transform part of the float animation temporarily to avoid conflicts 
           or use a custom mobile animation if needed. By default, it will just use the new Y offsets */
    }

    .header__container {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .price-new {
        font-size: 2.8rem;
    }

    .curriculum-grid {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
    }

    .value-box {
        padding: var(--space-xl) var(--space-md);
    }

    .choice-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .desktop-break {
        display: none;
    }

    .mobile-break {
        display: block;
    }
}