/* --- HOOK SENTINEL v2.4 INFINITY DARK CORE --- */
:root {
    /* Core Palette: Infinity Dark */
    --bg-main: #020617;
    --bg-card: rgba(15, 23, 42, 0.6);
    --bg-mesh: radial-gradient(circle at top right, #1e293b 0%, #020617 100%);

    --text-main: #f1f5f9;
    --text-dim: #94a3b8;

    --accent-main: #10b981;
    /* Emerald */
    --accent-glow: rgba(16, 185, 129, 0.25);
    --promo-gold: #fbbf24;
    --border-color: rgba(255, 255, 255, 0.08);

    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
}

/* --- BACKGROUND ANIMATION (Aurora Liquid) --- */
.mesh-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--bg-main);
    overflow: hidden;
}

.mesh-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    filter: blur(80px);
    opacity: 0.4;
}

.blob {
    position: absolute;
    border-radius: 50%;
    background: var(--accent-main);
    filter: blur(40px);
    animation: auroraMove 20s infinite alternate;
}

.blob-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
    background: #065f46;
    animation-duration: 25s;
}

.blob-2 {
    width: 500px;
    height: 500px;
    bottom: -150px;
    right: -150px;
    background: #064e3b;
    animation-duration: 30s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    top: 40%;
    left: 60%;
    background: #10b981;
    opacity: 0.3;
}

@keyframes auroraMove {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    100% {
        transform: translate(100px, 50px) rotate(90deg) scale(1.1);
    }
}

/* --- LAYOUT --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
}

.logo:active {
    transform: scale(0.98);
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-main);
}

.sentinel-svg {
    width: 100%;
    height: 100%;
}

.shield-path {
    fill: none;
    stroke: currentColor;
    stroke-width: 8;
}

.eye-core {
    fill: currentColor;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 1.2rem;
}

.logo-text span {
    opacity: 0.5;
    font-weight: 400;
}

.action-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.action-btn:hover {
    border-color: var(--accent-main);
    box-shadow: 0 0 15px var(--accent-glow);
}

/* --- HERO & HUD --- */
.hero-section {
    padding: 4rem 0;
    text-align: center;
}

h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-main) 0%, #34d399 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto 4rem auto;
    line-height: 1.6;
}

.generator-hud {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: 30px;
    max-width: 800px;
    margin: 0 auto;
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

#topic-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    padding: 1.2rem 1.5rem;
    border-radius: 16px;
    color: var(--text-main);
    font-size: 1rem;
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
}

#topic-input:focus {
    outline: none;
    border-color: var(--accent-main);
    background: rgba(0, 0, 0, 0.3);
}

.generate-btn {
    background: var(--accent-main);
    color: #020617;
    padding: 0 2rem;
    border-radius: 16px;
    border: none;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 10px 20px var(--accent-glow);
}

.generate-btn:hover {
    transform: translateY(-2px);
    background: #34d399;
    box-shadow: 0 15px 30px var(--accent-glow);
}

.category-row {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.category-chip {
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-dim);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.category-chip:hover {
    border-color: var(--accent-main);
    color: var(--text-main);
}


/* --- VIRAL SHOWCASE --- */
.viral-showcase {
    margin: 6rem auto;
    max-width: 1000px;
    text-align: center;
}

.showcase-header {
    margin-bottom: 4rem;
}

.showcase-visuals {
    display: flex;
    justify-content: center;
    gap: 3rem;
    perspective: 1000px;
}

.mockup {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 1.5rem;
    width: 280px;
    position: relative;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.mockup.sentinel {
    border-color: var(--promo-gold);
    background: rgba(251, 191, 36, 0.03);
    box-shadow: 0 20px 50px rgba(251, 191, 36, 0.05);
    transform: rotateY(-10deg);
}

.mockup.standard {
    transform: rotateY(10deg);
    opacity: 0.5;
}

.mockup:hover {
    transform: rotateY(0) scale(1.05);
}

.mockup-label {
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.mockup-label.gold {
    color: var(--promo-gold);
    opacity: 1;
}

.mockup-screen {
    background: #000;
    border-radius: 20px;
    height: 180px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
}

.viral-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ef4444;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 4px;
    animation: pulse 1s infinite;
}

.stat-item {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.stat-item .val {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
}

.stat-item.highlight .val {
    color: var(--accent-main);
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.engagement-graph {
    height: 50px;
    margin-top: 1rem;
}

.graph-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.line-dead {
    fill: none;
    stroke: #64748b;
    stroke-width: 2;
}

.line-growth {
    fill: none;
    stroke: var(--accent-main);
    stroke-width: 3;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawLine 3s ease-out forwards infinite;
}

.fill-growth {
    fill: url(#goodGradient);
    opacity: 0.2;
    transform: scaleY(0);
    transform-origin: bottom;
    animation: fillLevel 3s ease-out forwards static; /* Manual trigger in real app, here static */
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

.impact-desc {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
}

/* --- SOCIAL PROOF TOAST --- */
.proof-toast {
    position: fixed;
    bottom: -100px;
    left: 20px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid var(--promo-gold);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 5000;
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.proof-toast.show {
    transform: translateY(-120px);
}

.toast-icon {
    font-size: 1.5rem;
}

.toast-title {
    font-weight: 800;
    font-size: 0.9rem;
    color: #fff;
}

.toast-text {
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* --- MOBILE RESPONSIVENESS (SMARTPHONES) --- */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 0.9rem;
        padding: 0 1rem;
        margin-bottom: 2rem;
    }

    .showcase-visuals {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .mockup {
        width: 90%;
        transform: none !important;
    }

    .generator-hud {
        padding: 1.5rem;
        border-radius: 20px;
        width: 95%;
        margin: 0 auto;
    }

    .input-group {
        flex-direction: column;
        gap: 0.8rem;
    }

    #topic-input {
        width: 100%;
        font-size: 0.9rem;
        padding: 1rem;
    }

    .generate-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }
    
    .category-row {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .category-chip {
        padding: 0.5rem 0.8rem;
        font-size: 0.7rem;
    }

    .pricing-teaser-box {
        padding: 2.5rem 1.2rem;
        width: 92%;
        margin: 0 auto;
        border-radius: 25px;
    }

    .pricing-display {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .old-price {
        font-size: 1.2rem;
        margin-bottom: -0.5rem;
    }

    .new-price {
        font-size: 2.8rem;
    }

    footer {
        padding: 2.5rem 0;
    }

    .footer-link {
        display: block;
        margin: 1rem 0;
    }
}

.category-chip.active {
    background: var(--accent-main);
    color: #020617;
    border-color: var(--accent-main);
}

/* --- RESULTS --- */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
    scroll-margin-top: 140px; /* 🚑 Fix: Prevent scrolling too far down */
}

.hook-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 20px;
    text-align: left;
    position: relative;
    transition: var(--transition);
    animation: fadeIn 0.5s ease-out forwards;
    opacity: 0;
}

.hook-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-main);
}

.card-tag {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--accent-main);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 1rem;
}

.hook-text {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    font-weight: 500;
}

.copy-button {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 0.6rem;
    border-radius: 10px;
    color: var(--text-dim);
    cursor: pointer;
    transition: var(--transition);
}

.copy-button:hover {
    color: var(--accent-main);
    border-color: var(--accent-main);
}

.copy-button.copied {
    background: var(--accent-main);
    color: #000;
}

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

@keyframes cardFadeIn {
    0% { 
        opacity: 0; 
        transform: translateY(40px) scale(0.95); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

/* --- HYPE & WAITLIST --- */
.launch-countdown {
    margin-bottom: 3rem;
    background: rgba(251, 191, 36, 0.08);
    border: 2px solid rgba(251, 191, 36, 0.2);
    padding: 2rem 4rem;
    border-radius: 30px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(15px);
    box-shadow: 0 0 40px rgba(251, 191, 36, 0.1);
    animation: pulseGlow 4s infinite alternate;
}

.countdown-label {
    font-size: 0.8rem;
    font-weight: 900;
    color: var(--promo-gold);
    letter-spacing: 5px;
    margin-bottom: 0.8rem;
    opacity: 0.9;
}

.timer-values {
    font-family: 'JetBrains Mono', monospace;
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
    letter-spacing: -1px;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 30px rgba(251, 191, 36, 0.05);
        border-color: rgba(251, 191, 36, 0.1);
    }

    100% {
        box-shadow: 0 0 50px rgba(251, 191, 36, 0.2);
        border-color: rgba(251, 191, 36, 0.4);
    }
}

.waitlist-hud {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(251, 191, 36, 0.03);
    border: 1px solid rgba(251, 191, 36, 0.1);
    border-radius: 24px;
    backdrop-filter: blur(10px);
}

.waitlist-divider {
    font-size: 0.7rem;
    font-weight: 900;
    color: var(--promo-gold);
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.lead-group {
    display: flex;
    gap: 0.8rem;
    max-width: 550px;
    margin: 0 auto;
}

.lead-group input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 14px;
    color: #fff;
    font-size: 0.95rem;
    transition: var(--transition);
}

.lead-group input:focus {
    border-color: var(--promo-gold);
    outline: none;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.1);
}

.waitlist-btn {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #000;
    padding: 0 2rem;
    border-radius: 14px;
    border: none;
    font-weight: 800;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 15px rgba(245, 158, 11, 0.2);
}

.waitlist-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(245, 158, 11, 0.3);
    filter: brightness(1.1);
}

.social-proof {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    opacity: 0.6;
    min-height: 2.5rem;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }

    70% {
        transform: scale(1.5);
        opacity: 0;
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* --- OVERLAY MODALS --- */
.overlay-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.overlay-content {
    background: #0a0a0f;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 800px;
    width: 100%;
    max-height: 80vh;
    border-radius: 30px;
    position: relative;
    padding: 3rem;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.close-overlay {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.5;
    transition: var(--transition);
}

.close-overlay:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.legal-text-container {
    text-align: left;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

.legal-text-container h2 {
    margin-bottom: 2rem;
    color: #fff;
}

.legal-text-container h3 {
    margin: 2rem 0 1rem 0;
    color: #fff;
}

.legal-text-container p {
    margin-bottom: 1rem;
}

/* --- SCIENCE OF SUCCESS V2 (Cinematic) --- */
.science-of-success {
    margin-top: 10rem;
    padding-bottom: 6rem;
}

.science-header {
    text-align: center;
    margin-bottom: 5rem;
}

.science-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.science-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 40px;
    padding: 3rem;
    backdrop-filter: blur(30px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.science-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top left, rgba(255,215,0,0.03), transparent 70%);
    pointer-events: none;
}

.science-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--accent-main);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.card-header-viz {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 2.5rem;
}

.science-card h3 {
    font-size: 1.3rem;
    color: var(--promo-gold);
    font-weight: 700;
}

.live-indicator {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: var(--accent-main);
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,255,149,0.05);
    padding: 4px 10px;
    border-radius: 20px;
}

.live-indicator .dot {
    width: 6px;
    height: 6px;
    background: var(--accent-main);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-main);
    animation: pulse 1.5s infinite;
}

/* 1. Waterfall V2 (SVG) */
.chart-container-v2 {
    width: 100%;
    margin-bottom: 2rem;
}

.main-chart-svg {
    width: 100%;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
}

.area-good { fill: url(#goodGradient); opacity: 0.1; }
.area-bad { fill: #ef4444; opacity: 0.05; }

.line-good-path {
    fill: none;
    stroke: var(--accent-main);
    stroke-width: 3;
    stroke-linecap: round;
    filter: drop-shadow(0 0 8px var(--accent-main));
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 3s forwards ease-out;
}

.line-bad-path {
    fill: none;
    stroke: #ef4444;
    stroke-width: 2;
    stroke-dasharray: 5,5;
    opacity: 0.5;
}

.svg-label {
    font-size: 12px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.good-label { fill: var(--accent-main); }
.bad-label { fill: #ef4444; opacity: 0.6; }

/* 2. Viral Loop V3 (Node Array) */
.viral-viz-container {
    width: 100%;
    height: 300px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, rgba(16,185,129,0.05) 0%, transparent 70%);
}

.loop-svg {
    width: 280px;
    height: 280px;
    filter: drop-shadow(0 0 20px rgba(0,0,0,0.5));
}

.loop-track {
    fill: none;
    stroke: rgba(255,255,255,0.03);
    stroke-width: 4;
}

.loop-progress {
    fill: none;
    stroke: url(#loopGradient);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 40, 400;
    animation: loopRotate 6s infinite linear;
}

.hub-base { fill: rgba(0,0,0,0.4); stroke: rgba(255,255,255,0.05); }
.hub-core { 
    fill: var(--accent-main); 
    opacity: 0.2; 
    filter: blur(8px); 
    animation: corePulse 2s infinite alternate;
}

.loop-content-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
}

.hub-label {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 900;
    font-size: 0.75rem;
    color: white;
    text-shadow: 0 0 15px var(--accent-main);
    letter-spacing: 1px;
}

.node {
    position: absolute;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 800;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.node.n1 { top: 15px; left: 50%; transform: translateX(-50%); border-color: var(--promo-gold); }
.node.n2 { bottom: 40px; right: 10px; border-color: var(--accent-main); }
.node.n3 { bottom: 40px; left: 10px; border-color: var(--accent-main); }

/* 3. Sequencer Timeline V3 */
.sequencer-v3 {
    width: 100%;
    background: rgba(0,0,0,0.2);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
}

.playhead {
    position: absolute;
    top: 0; bottom: 0;
    width: 2px;
    background: var(--accent-main);
    z-index: 10;
    box-shadow: 0 0 15px var(--accent-main);
    animation: playheadMove 4s infinite linear;
}

.lane {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.lane-label {
    width: 50px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 900;
    color: var(--text-dim);
    text-align: right;
}

.track {
    flex-grow: 1;
    height: 40px;
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 10px;
    border: 1px solid rgba(255,255,255,0.03);
}

.clip {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--accent-main);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-main);
    white-space: nowrap;
    z-index: 5;
}

.l2 .clip { color: var(--promo-gold); border-color: var(--promo-gold); background: rgba(251, 191, 36, 0.1); }
.l3 .clip { color: #fff; border-color: #fff; background: rgba(255,255,255,0.1); }

.signal-waves {
    position: absolute;
    right: 20px;
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 15px;
}

.signal-waves span {
    width: 3px;
    background: var(--accent-main);
    opacity: 0.3;
    border-radius: 1px;
}

.w1 span { animation: waveSync 0.8s infinite alternate; }
.w2 span { animation: waveSync 1.2s infinite alternate; background: var(--promo-gold); }
.w3 span { animation: waveSync 0.5s infinite alternate; background: #fff; }

.signal-waves span:nth-child(2) { animation-delay: 0.2s; height: 100%; }
.signal-waves span:nth-child(1) { height: 60%; }
.signal-waves span:nth-child(3) { height: 40%; }

@keyframes playheadMove {
    from { left: 5%; }
    to { left: 95%; }
}

@keyframes waveSync {
    from { transform: scaleY(0.5); opacity: 0.2; }
    to { transform: scaleY(1.5); opacity: 0.5; }
}

@keyframes loopRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes corePulse {
    from { transform: scale(0.9); opacity: 0.2; }
    to { transform: scale(1.1); opacity: 0.4; }
}

/* --- VALUE PROPOSITION --- */
.value-proposition {
    margin-top: 6rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 24px;
    text-align: left;
    transition: var(--transition);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    border-color: rgba(16, 185, 129, 0.2);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.feature-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.6;
}

.pricing-teaser-box {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.05) 0%, rgba(245, 158, 11, 0.02) 100%);
    border: 1px solid rgba(251, 191, 36, 0.2);
    padding: 4rem;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.promo-badge {
    display: inline-block;
    background: var(--promo-gold);
    color: #000;
    padding: 0.4rem 1.2rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.pricing-title {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.pricing-display {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.old-price {
    font-size: 1.8rem;
    text-decoration: line-through;
    opacity: 0.3;
}

.new-price {
    font-size: 4rem;
    font-weight: 900;
    color: #fff;
}

.new-price small {
    font-size: 1rem;
    opacity: 0.5;
}

.benefit-list {
    list-style: none;
    padding: 0;
    display: inline-block;
    text-align: left;
    margin-bottom: 2.5rem;
}

.benefit-list li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.pricing-hint {
    font-size: 0.85rem;
    color: var(--promo-gold);
    font-weight: 600;
    opacity: 0.8;
}

/* --- PAYWALL MODAL --- */
.paywall-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.9);
    backdrop-filter: blur(15px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.paywall-content {
    background: #0f172a;
    border: 2px solid var(--promo-gold);
    padding: 4rem 2rem;
    border-radius: 40px;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 0 100px rgba(251, 191, 36, 0.15);
}

/* --- LOADER --- */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1500;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(16, 185, 129, 0.1);
    border-top: 4px solid var(--accent-main);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* --- FOOTER --- */
footer {
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    margin-top: 6rem;
}

.footer-link {
    color: var(--text-dim);
    text-decoration: none;
    margin: 0 1rem;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--text-main);
}

/* --- PREMIUM LANGUAGE SWITCHER V2 --- */
.lang-switcher-v2 {
    position: relative;
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    padding: 4px;
    width: 100px;
    height: 40px;
    cursor: pointer;
    overflow: hidden;
}

.lang-track {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 44px;
    height: 30px;
    background: var(--accent-main);
    border-radius: 100px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.lang-pill-btn {
    position: relative;
    flex: 1;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    font-weight: 800;
    z-index: 2;
    cursor: pointer;
    transition: color 0.3s;
}

.lang-pill-btn.active {
    color: #000;
}

/* --- PAYWALL MODAL V3 (CROSS-DEVICE MASTER) --- */
.paywall-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.paywall-content-v3 {
    position: relative;
    background: rgba(15, 20, 30, 0.95);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3.5rem 2.5rem;
    width: 100%;
    max-width: 500px;
    border-radius: 35px;
    text-align: center;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8), 0 0 50px rgba(16, 185, 129, 0.1);
    animation: modalPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-close-x {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close-x:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(90deg);
}

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

.limit-tab {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-main);
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 100px;
    letter-spacing: 1.5px;
    margin-bottom: 2rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.paywall-header h2 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.paywall-header h2 span {
    display: block;
    color: var(--accent-main);
}

.paywall-header p {
    font-size: 1.05rem;
    opacity: 0.6;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.paywall-action-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modern-input {
    width: 100%;
    padding: 1.3rem 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: white;
    font-size: 1.1rem;
    outline: none;
    transition: var(--transition);
}

.modern-input:focus {
    border-color: var(--accent-main);
    background: rgba(255, 255, 255, 0.08);
}

.premium-cta-btn {
    width: 100%;
    padding: 1.3rem;
    background: linear-gradient(135deg, var(--accent-main), #059669);
    border: none;
    border-radius: 20px;
    color: #000;
    font-weight: 900;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.premium-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.4);
}

.cta-hint {
    font-size: 0.8rem;
    opacity: 0.4;
    margin-top: 1.5rem;
}

/* --- MOBILE RESPONSIVENESS (FINAL CASCADING) --- */
@media (max-width: 768px) {
    section, main, div, header, footer {
        max-width: 100vw;
        overflow-x: hidden;
    }

    h1 {
        font-size: 2.1rem;
        line-height: 1.2;
    }

    .hero-section {
        padding: 3rem 0;
    }

    .hero-description {
        font-size: 0.95rem;
        padding: 0 1rem;
        margin-bottom: 2rem;
    }

    .generator-hud {
        padding: 1.5rem;
        border-radius: 20px;
        width: 95%;
        margin: 0 auto;
        min-height: auto;
    }

    .input-group, .lead-group {
        flex-direction: column;
        padding: 0;
        gap: 12px;
    }

    .waitlist-hud {
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .generate-btn {
        width: 100%;
        justify-content: center;
        padding: 1.2rem;
    }

    .category-row {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .results-grid {
        grid-template-columns: 1fr !important;
        margin-top: 2rem;
    }

    /* Showcase Mobile Fix */
    .showcase-visuals {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        perspective: none;
    }

    .mockup {
        width: 90% !important;
        max-width: 320px;
        transform: none !important;
        margin: 0 auto;
    }

    .mockup-screen {
        height: 160px;
    }

    .stats-cloud {
        gap: 10px;
    }

    .stat-item .val {
        font-size: 1.2rem;
    }

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

    .science-card {
        padding: 1.5rem;
        border-radius: 25px;
    }

    .pricing-teaser-box {
        padding: 2.5rem 1rem;
        width: 95%;
        margin: 0 auto;
        border-radius: 25px;
    }

    .pricing-display {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .old-price {
        font-size: 1.2rem;
    }

    .new-price {
        font-size: 2.8rem;
    }

    .launch-countdown {
        padding: 1.5rem 1rem;
        width: 95%;
    }

    .timer-values {
        font-size: 1.8rem;
    }

    .navbar {
        padding: 1.5rem 0;
        flex-direction: column;
        gap: 1.5rem;
    }

    footer {
        padding: 3rem 0;
        margin-top: 4rem;
    }

    .nav-actions {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 1rem;
    }
}

@media (min-width: 769px) {
    .navbar {
        padding: 2rem 5%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .lang-switcher-v2 {
        transform: scale(1.1);
    }
}
/* --- PREMIUM LANGUAGE SWITCHER V2 --- */
.lang-switcher-v2 {
    position: relative;
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    padding: 4px;
    width: 100px;
    height: 40px;
    cursor: pointer;
    overflow: hidden;
}

.lang-track {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 44px;
    height: 30px;
    background: var(--accent-main);
    border-radius: 100px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.lang-pill-btn {
    position: relative;
    flex: 1;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    font-weight: 800;
    z-index: 2;
    cursor: pointer;
    transition: color 0.3s;
}

.lang-pill-btn.active {
    color: #000;
}

/* --- PAYWALL MODAL V3 (CROSS-DEVICE MASTER) --- */
.paywall-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.paywall-content-v3 {
    position: relative;
    background: rgba(15, 20, 30, 0.95);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3.5rem 2.5rem;
    width: 100%;
    max-width: 500px;
    border-radius: 35px;
    text-align: center;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8), 0 0 50px rgba(16, 185, 129, 0.1);
    animation: modalPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-close-x {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close-x:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(90deg);
}

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

.limit-tab {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-main);
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 100px;
    letter-spacing: 1.5px;
    margin-bottom: 2rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.paywall-header h2 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.paywall-header h2 span {
    display: block;
    color: var(--accent-main);
}

.paywall-header p {
    font-size: 1.05rem;
    opacity: 0.6;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.paywall-action-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modern-input {
    width: 100%;
    padding: 1.3rem 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: white;
    font-size: 1.1rem;
    outline: none;
    transition: var(--transition);
}

.modern-input:focus {
    border-color: var(--accent-main);
    background: rgba(255, 255, 255, 0.08);
}

.premium-cta-btn {
    width: 100%;
    padding: 1.3rem;
    background: linear-gradient(135deg, var(--accent-main), #059669);
    border: none;
    border-radius: 20px;
    color: #000;
    font-weight: 900;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.premium-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.4);
}

.cta-hint {
    font-size: 0.8rem;
    opacity: 0.4;
    margin-top: 1.5rem;
}

/* --- MOBILE RESPONSIVENESS OVERRIDES --- */
@media (max-width: 768px) {
    .lang-switcher-v2 {
        width: 100px;
        height: 42px;
    }

    .paywall-content-v3 {
        padding: 3rem 1.5rem;
        border-radius: 30px;
    }

    .paywall-header h2 {
        font-size: 1.8rem;
    }

    .waitlist-area {
        padding: 2.5rem 1.5rem;
    }

    .input-group {
        flex-direction: column;
        gap: 15px;
        background: transparent;
        border: none;
        padding: 0;
    }

    .timer-values {
        font-size: 1.6rem;
    }

    /* SMART MOBILE INPUTS (Phase 8 Fix) */
    .modern-input, #topic-input, #lead-email {
        height: auto !important;
        min-height: 62px !important;
        background: rgba(255, 255, 255, 0.03) !important;
        border: 2px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 22px !important;
        font-size: 1.05rem !important;
        padding: 0.8rem 1.5rem !important;
        box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
        display: flex;
        align-items: center;
    }

    .modern-input:focus, #topic-input:focus, #lead-email:focus {
        border-color: var(--accent-main) !important;
        background: rgba(255, 255, 255, 0.06) !important;
        box-shadow: 0 0 15px rgba(16, 185, 129, 0.1), inset 0 2px 8px rgba(0, 0, 0, 0.2);
    }

    .generate-btn, .waitlist-btn, .premium-cta-btn {
        height: auto !important;
        min-height: 62px !important;
        border-radius: 22px !important;
        font-size: 1.05rem !important;
        letter-spacing: 0.5px;
        box-shadow: 0 12px 25px rgba(16, 185, 129, 0.2) !important;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.8rem 2rem !important;
    }

    /* Prevent clipping on very small phones */
    .hero-section {
        overflow: visible;
    }
}