/* ================================================
   landing-v2.css
   Hero's Path — New Landing Page
   Builds on styles.css design tokens
   ================================================ */

/* ─── HERO ─────────────────────────────────────── */

.lv2-hero {
    position: relative;
    min-height: 100vh;
    background: var(--primary-dark);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.lv2-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 65% 55% at 15% 45%, rgba(2, 127, 254, 0.16) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 85% 65%, rgba(245, 158, 11, 0.07) 0%, transparent 60%);
    pointer-events: none;
}

.lv2-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    animation: lv2-float 9s ease-in-out infinite;
}

.lv2-hero-glow--1 {
    width: 500px;
    height: 500px;
    background: rgba(2, 127, 254, 0.10);
    top: -120px;
    right: 8%;
}

.lv2-hero-glow--2 {
    width: 320px;
    height: 320px;
    background: rgba(245, 158, 11, 0.07);
    bottom: 5%;
    left: 3%;
    animation-delay: 4s;
}

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

.lv2-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
    padding: 4rem 0 5rem;
    animation: fadeIn 1.1s ease-out;
}

.lv2-h1 {
    font-family: 'League Spartan', sans-serif;
    font-size: clamp(3.25rem, 8.5vw, 7rem);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.02em;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.lv2-hero-sub {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: rgba(248, 250, 252, 0.65);
    line-height: 1.75;
    margin-bottom: 3rem;
    max-width: 580px;
}

.lv2-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

/* ─── BUTTONS ───────────────────────────────────── */

.lv2-cta-primary {
    display: inline-block;
    padding: 1rem 2.75rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    background: linear-gradient(135deg, var(--primary-bright) 0%, var(--primary-blue) 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(2, 127, 254, 0.38);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lv2-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 44px rgba(2, 127, 254, 0.52);
}

.lv2-cta-primary--large {
    padding: 1.3rem 3.75rem;
    font-size: 1.125rem;
}

.lv2-cta-ghost {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(248, 250, 252, 0.6);
    text-decoration: none;
    border: 1.5px solid rgba(248, 250, 252, 0.18);
    border-radius: 50px;
    transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.lv2-cta-ghost:hover {
    color: white;
    border-color: rgba(248, 250, 252, 0.45);
    background: rgba(255, 255, 255, 0.04);
}

/* ─── SCROLL HINT ───────────────────────────────── */

.lv2-scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
}

.lv2-scroll-hint span {
    display: block;
    width: 1.5px;
    height: 52px;
    background: linear-gradient(to bottom, rgba(2, 127, 254, 0.7), transparent);
    animation: lv2-drip 2.2s ease-in-out infinite;
    transform-origin: top;
}

@keyframes lv2-drip {
    0%   { transform: scaleY(0); opacity: 0; }
    30%  { opacity: 1; }
    100% { transform: scaleY(1); opacity: 0; }
}

/* ─── SECTIONS ──────────────────────────────────── */

.lv2-section {
    padding: 7rem 0;
}

.lv2-section--light    { background: white; }
.lv2-section--off-white { background: var(--light-bg); }
.lv2-section--dark     { background: var(--primary-dark); }

.lv2-section--cta {
    background: var(--primary-dark);
    position: relative;
    overflow: hidden;
}

.lv2-cta-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 50%, rgba(2, 127, 254, 0.13) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 15% 15%, rgba(245, 158, 11, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

/* ─── SCROLL REVEAL ─────────────────────────────── */

.reveal {
    transition: opacity 0.75s ease-out, transform 0.75s ease-out;
}

/* Only hide elements once JS has confirmed it's running */
.js-reveal .reveal {
    opacity: 0;
    transform: translateY(32px);
}

.js-reveal .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children inside reveal containers */
.lv2-features-grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.lv2-features-grid .reveal:nth-child(2) { transition-delay: 0.12s; }
.lv2-features-grid .reveal:nth-child(3) { transition-delay: 0.19s; }
.lv2-features-grid .reveal:nth-child(4) { transition-delay: 0.26s; }
.lv2-features-grid .reveal:nth-child(5) { transition-delay: 0.33s; }
.lv2-features-grid .reveal:nth-child(6) { transition-delay: 0.40s; }

.lv2-steps .reveal:nth-child(1) { transition-delay: 0.0s; }
.lv2-steps .reveal:nth-child(2) { transition-delay: 0.1s; }
.lv2-steps .reveal:nth-child(3) { transition-delay: 0.2s; }

/* ─── EYEBROW ───────────────────────────────────── */

.lv2-eyebrow {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary-bright);
    margin-bottom: 1.25rem;
}

.lv2-eyebrow--gold { color: var(--primary-gold); }

/* ─── HEADINGS ──────────────────────────────────── */

.lv2-h2 {
    font-family: 'League Spartan', sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.75rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.lv2-h2--dark { color: var(--text-dark); }

/* ─── BODY TEXT ─────────────────────────────────── */

.lv2-body {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.85;
    color: rgba(248, 250, 252, 0.65);
    margin-bottom: 1.25rem;
}

.lv2-body--bright {
    color: var(--text-light);
    font-weight: 600;
}

.lv2-body--muted {
    color: rgba(248, 250, 252, 0.58);
}

.lv2-body-lg {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.85;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

/* ─── SECTION HEADER ────────────────────────────── */

.lv2-section-header {
    text-align: center;
    margin-bottom: 4.5rem;
}

.lv2-section-header .lv2-eyebrow {
    display: block;
    margin-bottom: 1rem;
}

/* ─── PROSE SECTION ─────────────────────────────── */

.lv2-prose {
    max-width: 760px;
    margin: 0 auto;
}

.lv2-pull-quote {
    font-family: 'League Spartan', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    color: var(--primary-dark);
    letter-spacing: -0.02em;
    line-height: 1.0;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.lv2-statement {
    font-family: 'League Spartan', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--primary-bright);
    margin-top: 3rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

/* ─── SPLIT LAYOUT ──────────────────────────────── */

.lv2-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

/* Belief transformation card */
.lv2-belief-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
}

.lv2-belief-card__row {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.lv2-belief-card__row:last-child {
    border-bottom: none;
}

.lv2-belief-card__old {
    font-size: 0.88rem;
    color: rgba(248, 250, 252, 0.3);
    font-style: italic;
    text-decoration: line-through;
    line-height: 1.5;
}

.lv2-belief-card__arrow {
    font-size: 0.9rem;
    color: var(--primary-gold);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.lv2-belief-card__new {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 600;
    line-height: 1.5;
}

/* ─── STEPS ─────────────────────────────────────── */

.lv2-steps {
    display: flex;
    flex-direction: column;
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}

.lv2-steps::before {
    content: '';
    position: absolute;
    left: 2.6rem;
    top: 4rem;
    bottom: 4rem;
    width: 1px;
    background: linear-gradient(to bottom, rgba(2, 127, 254, 0.4), transparent);
}

.lv2-step {
    display: grid;
    grid-template-columns: 5.5rem 1fr;
    gap: 2rem;
    padding: 2.75rem 0;
    border-bottom: 1px solid rgba(24, 34, 76, 0.07);
}

.lv2-step:last-child { border-bottom: none; }

.lv2-step__number {
    font-family: 'League Spartan', sans-serif;
    font-size: 2.75rem;
    font-weight: 900;
    color: var(--primary-bright);
    opacity: 0.2;
    line-height: 1;
    padding-top: 0.2rem;
    letter-spacing: -0.02em;
}

.lv2-step__title {
    font-family: 'League Spartan', sans-serif;
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.lv2-step__body {
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    line-height: 1.8;
    color: var(--text-gray);
}

/* ─── FEATURES GRID ─────────────────────────────── */

.lv2-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.lv2-feature {
    background: white;
    border: 1px solid rgba(13, 81, 167, 0.07);
    border-radius: 18px;
    padding: 2.25rem 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease,
                opacity 0.75s ease-out;
}

/* Allow hover to override the reveal transform */
.lv2-feature.visible:hover {
    transform: translateY(-5px);
    border-color: rgba(2, 127, 254, 0.18);
    box-shadow: 0 16px 48px rgba(2, 127, 254, 0.09);
}

.lv2-feature__icon {
    font-size: 1.5rem;
    color: var(--primary-bright);
    margin-bottom: 1.25rem;
    display: block;
    opacity: 0.8;
}

.lv2-feature__title {
    font-family: 'League Spartan', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.lv2-feature__body {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-gray);
}

/* ─── FOUNDER SECTION ───────────────────────────── */

.lv2-founder-inner {
    max-width: 720px;
    margin: 0 auto;
}

.lv2-founder-quote {
    font-family: 'League Spartan', sans-serif;
    font-size: clamp(1.4rem, 2.5vw, 1.875rem);
    font-weight: 700;
    color: var(--text-light);
    line-height: 1.45;
    border-left: 3px solid var(--primary-gold);
    padding-left: 2rem;
    margin: 1.5rem 0 2.5rem;
    font-style: normal;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.lv2-founder-sig {
    margin-top: 2.5rem;
    font-style: italic;
    color: rgba(248, 250, 252, 0.4);
    font-size: 0.95rem;
}

/* ─── FINAL CTA ─────────────────────────────────── */

.lv2-final-cta {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.lv2-cta-headline {
    font-family: 'League Spartan', sans-serif;
    font-size: clamp(2.75rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -0.02em;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.lv2-cta-sub {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: rgba(248, 250, 252, 0.6);
    line-height: 1.8;
    max-width: 520px;
    margin: 0 auto 3rem;
}

.lv2-cta-note {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: rgba(248, 250, 252, 0.28);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ─── DIVIDER ───────────────────────────────────── */

.lv2-divider {
    width: 48px;
    height: 2px;
    background: var(--primary-gold);
    margin: 2.5rem 0;
    opacity: 0.6;
}

/* ─── FOOTER ────────────────────────────────────── */

.lv2-footer {
    background: #0d1424;
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.lv2-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.lv2-footer-copy {
    font-size: 0.8rem;
    color: rgba(248, 250, 252, 0.25);
    margin: 0;
    line-height: 1;
}

.lv2-footer .nav-title {
    background: linear-gradient(45deg, rgba(2, 127, 254, 0.85), rgba(248, 250, 252, 0.5));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── NAV OVERRIDES (dark page) ─────────────────── */

.landing-v2 .navbar {
    background: rgba(24, 34, 76, 0.96);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
}

.landing-v2 .nav-title {
    background: linear-gradient(45deg, #ffffff, rgba(2, 127, 254, 0.85));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-v2 .nav-link {
    color: rgba(248, 250, 252, 0.65);
}

.landing-v2 .nav-link:hover {
    background: rgba(2, 127, 254, 0.18);
    color: white;
}

.landing-v2 .hamburger span {
    background: rgba(248, 250, 252, 0.75);
}

@media (max-width: 768px) {
    .landing-v2 .nav-links {
        background: rgba(18, 26, 60, 0.98);
        top: 64px;
    }
}

/* ─── RESPONSIVE ─────────────────────────────────── */

@media (max-width: 900px) {
    .lv2-split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .lv2-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .lv2-section {
        padding: 5rem 0;
    }

    .lv2-hero-inner {
        padding: 3rem 0 4rem;
    }

    .lv2-features-grid {
        grid-template-columns: 1fr;
    }

    .lv2-step {
        grid-template-columns: 3.5rem 1fr;
        gap: 1.25rem;
    }

    .lv2-steps::before {
        left: 1.6rem;
    }

    .lv2-founder-quote {
        padding-left: 1.25rem;
    }

    .lv2-hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .lv2-cta-primary,
    .lv2-cta-ghost {
        width: 100%;
        text-align: center;
    }

    .lv2-cta-primary--large {
        padding: 1.1rem 2rem;
        font-size: 1rem;
    }
}
