/* ============================================================
   NURA — Design System v5.0
   Theme: Dark Amber · Premium Longevity · Editorial
   Palette: Warm amber/orange from ComfyUI_00007_
   ============================================================ */


/* ── 1. CSS VARIABLES ─────────────────────────────────────── */
:root {
    /* Layout */
    --container-max: 1200px;
    --header-h: 68px;
    --announcement-h: 36px;

    /* Color System — Dark Amber (from ComfyUI_00007_) */
    --dark:      #0C0500;
    --dark-2:    #160A03;
    --dark-3:    #1E1008;
    --dark-card: #1A0D06;
    --amber:     #C05010;
    --amber-mid: #D06820;
    --amber-light: #E88040;
    --amber-glow:  #F0A060;
    --gold:      #C89040;
    --cream:     #F5EDE0;
    --cream-2:   rgba(245, 237, 224, 0.65);
    --cream-3:   rgba(245, 237, 224, 0.35);
    --border:    rgba(245, 237, 224, 0.07);
    --border-mid: rgba(245, 237, 224, 0.14);
    --border-amber: rgba(200, 80, 16, 0.35);

    /* Category accent colors — warm palette, amber-adjacent */
    --sleep-c:    #C47AE0;
    --energy-c:   #1BC9BE;
    --focus-c:    #6B8EE8;
    --gut-c:      #D4A040;
    --longevity-c: #5EC87A;
    --fitness-c:  #E84444;

    /* Typography */
    --font-display: 'DM Sans', sans-serif;
    --font-body:    'Libre Franklin', sans-serif;

    /* Motion */
    --ease:        cubic-bezier(0.25, 1, 0.5, 1);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

    /* Shadows */
    --shadow-amber: 0 8px 32px rgba(192, 80, 16, 0.25);
    --shadow-dark:  0 8px 40px rgba(0, 0, 0, 0.55);
    --shadow-sm:    0 4px 20px rgba(0, 0, 0, 0.35);
    --shadow-lg:    0 20px 60px rgba(0, 0, 0, 0.5);

    /* Radius */
    --r-sm:   10px;
    --r-md:   16px;
    --r-lg:   24px;
    --r-pill: 100px;
}


/* ── 2. RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--dark);
    color: var(--cream);
    line-height: 1.75;
    overflow-x: hidden;
}

img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}




/* ── 4. ANNOUNCEMENT BAR ──────────────────────────────────── */
.announcement-bar {
    background: transparent;
    border-bottom: 1px solid transparent;
    color: var(--cream-2);
    height: var(--announcement-h);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.announcement-track {
    display: flex;
    gap: 2rem;
    white-space: nowrap;
    animation: marqueeScroll 30s linear infinite;
    padding-left: 100%;
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.announcement-track span {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-display);
    font-size: 0.58rem;
    font-weight: 300;
    letter-spacing: 0.22em;
    text-transform: lowercase;
    color: rgba(245, 237, 224, 0.7);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}

.announcement-sep {
    color: rgba(200, 80, 16, 0.6);
    font-size: 0.5rem;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}


/* ── 5. HEADER ────────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-h);
    background: rgba(0, 0, 0, 0.0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    transition:
        background 0.4s var(--ease),
        backdrop-filter 0.4s,
        border-color 0.4s,
        box-shadow 0.4s;
}

.site-header.scrolled {
    background: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border-color: rgba(255, 255, 255, 0.07);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04), 0 4px 24px rgba(0, 0, 0, 0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 2rem;
}

.brand-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 1000;
    color: var(--cream);
    letter-spacing: -0.01em;
    text-transform: lowercase;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
}

.brand-dot {
    display: inline-block;
    width: 0.18em;
    height: 0.18em;
    background: var(--amber-light);
    border-radius: 50%;
    margin-left: 0.05em;
    margin-right: 0.05em;
    margin-bottom: 0.12em;
    flex-shrink: 0;
    vertical-align: middle;
}

.header-nav {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 0;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--cream-2);
    padding: 0.45rem 0.85rem;
    border-radius: var(--r-sm);
    transition: background 0.18s, color 0.18s;
    letter-spacing: 0.01em;
}

.nav-link:hover {
    color: var(--cream);
    background: rgba(245, 237, 224, 0.06);
}

.nav-link-accent {
    color: var(--amber-light);
}

.nav-link-accent:hover {
    background: rgba(232, 128, 64, 0.1);
    color: var(--amber-glow);
}

.nav-link-club {
    color: var(--cream-2);
    border: 1px solid var(--border-mid);
    border-radius: var(--r-pill);
    padding: 0.4rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
}

.nav-link-club:hover {
    background: rgba(245, 237, 224, 0.06);
    border-color: var(--border-amber);
    color: var(--amber-light);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-left: auto;
}


.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-sm);
    color: var(--cream);
    font-size: 1.4rem;
    transition: background 0.18s;
}

.mobile-menu-btn:hover { background: rgba(245, 237, 224, 0.06); }


/* ── 6. HERO SECTION ──────────────────────────────────────── */
.hero-section {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
}

.hero-bg-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/ComfyUI_00007_.webp');
    background-size: cover;
    background-position: 80% center;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right,
            rgba(12, 5, 0, 0.88) 0%,
            rgba(12, 5, 0, 0.65) 45%,
            rgba(12, 5, 0, 0.22) 70%,
            rgba(12, 5, 0, 0.08) 100%),
        linear-gradient(to top,
            rgba(12, 5, 0, 0.28) 0%,
            rgba(12, 5, 0, 0.08) 20%,
            transparent 45%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    padding-top: 6rem;
    padding-bottom: 5rem;
    width: 100%;
}

.hero-content {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(200, 80, 16, 0.12);
    border: 1px solid rgba(200, 80, 16, 0.3);
    color: var(--amber-light);
    padding: 0.35rem 0.9rem;
    border-radius: var(--r-pill);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 2rem;
}

.live-dot {
    width: 7px;
    height: 7px;
    background: var(--amber-light);
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulseDot 2.5s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.45; transform: scale(0.7); }
}

.hero-eyebrow {
    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* hero-eyebrow ::before removed — uses .eyebrow::before round dot */

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(3.8rem, 8.5vw, 8rem);
    font-weight: 1000;
    font-variation-settings: 'opsz' 40;
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: var(--cream);
    margin-bottom: 1.5rem;
    white-space: nowrap;
    max-width: none;
    width: max-content;
}

.hero-headline em {
    font-style: normal;
    font-weight: 1000;
    color: var(--amber-light);
    display: block;
    white-space: nowrap;
}

.hero-sub {
    font-size: clamp(0.95rem, 1.6vw, 1.1rem);
    color: var(--cream-2);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-style: italic;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--amber);
    color: var(--cream);
    padding: 0.95rem 2.2rem;
    border-radius: var(--r-pill);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-bottom: 2.25rem;
    transition: background 0.22s, transform 0.22s var(--ease-out-expo), box-shadow 0.22s;
}

.hero-cta:hover {
    background: var(--amber-mid);
    transform: translateY(-2px);
    box-shadow: var(--shadow-amber);
}

.hero-cta:active { transform: scale(0.98); }

/* ── Hero inline email form ───────────────── */
.hero-email-form {
    margin-bottom: 2.5rem;
}

.hero-email-row {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(245, 237, 224, 0.04);
    border: 1px solid var(--border-mid);
    border-radius: var(--r-pill);
    padding: 0.35rem 0.35rem 0.35rem 1.25rem;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.hero-email-row:focus-within {
    border-color: var(--amber);
    box-shadow: 0 0 0 3px rgba(200, 80, 16, 0.15);
}

.hero-email-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--cream);
    padding: 0.65rem 0;
    min-width: 0;
}

.hero-email-input::placeholder {
    color: var(--cream-3);
}

.hero-email-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--amber);
    color: var(--cream);
    padding: 0.75rem 1.5rem;
    border-radius: var(--r-pill);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.2s, transform 0.15s var(--ease-out-expo), box-shadow 0.2s;
    flex-shrink: 0;
}

.hero-email-btn:hover {
    background: var(--amber-mid);
    transform: translateY(-1px);
    box-shadow: var(--shadow-amber);
}

.hero-email-btn:active { transform: scale(0.97); }

.hero-email-hint {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
    font-size: 0.82rem;
    color: var(--amber-glow);
    font-weight: 500;
}

.hero-email-hint i { opacity: 0.8; }
.hero-email-hint strong { color: var(--cream); }

.hero-proof {
    font-size: 0.85rem;
    color: var(--amber-glow);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.25rem;
}
.hero-proof strong { color: var(--cream); }

.hero-trust {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--cream-3);
    font-weight: 500;
}

.hero-trust span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.hero-trust i { color: var(--amber); opacity: 0.8; }

/* Scroll hint */
.scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--cream-3);
    font-size: 1.2rem;
    z-index: 2;
    animation: scrollHintBounce 2.5s ease-in-out infinite;
}

@keyframes scrollHintBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.4; }
    50%       { transform: translateX(-50%) translateY(7px); opacity: 0.85; }
}


/* ── 7. PILLARS SECTION ───────────────────────────────────── */
.pillars-section {
    padding: 9rem 0;
    background: linear-gradient(to bottom, rgba(12,5,0,0.92) 0%, rgba(12,5,0,0.80) 100%);
    position: relative;
    overflow: hidden;
}

.pillars-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(200, 80, 16, 0.06) 0%, transparent 65%);
    pointer-events: none;
}

.pillars-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.pillars-left {
    max-width: 480px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 1rem;
}
.eyebrow::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--amber-light);
    flex-shrink: 0;
}

.eyebrow-amber { color: var(--amber); }

.pillars-headline {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3.75rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--cream);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.pillars-headline em {
    font-style: normal;
    color: var(--amber-light);
}

.pillars-sub {
    font-size: 1rem;
    color: var(--cream-2);
    line-height: 1.75;
    margin-bottom: 2.5rem;
}

.pillars-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--amber-light);
    border-bottom: 1px solid rgba(232, 128, 64, 0.4);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}

.pillars-cta:hover {
    color: var(--amber-glow);
    border-color: var(--amber-glow);
}

.pillars-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ══════════════════════════════════════════════
   PILLAR GLASS CARDS — 2×2 grid
   Uses @property --border-angle + rotateBorderAngle
   defined in section 9 (border animation).
   ══════════════════════════════════════════════ */

.pillar-visual-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
    width: 100%;
    align-self: start;
}

/* ── Card border wrapper ─────────────────────── */
.pc-wrap {
    position: relative;
    border-radius: 20px;
    padding: 1.5px;
    opacity: 0;
    transform: translateY(18px) scale(0.96);
    transition: opacity 0.65s ease, transform 0.65s var(--ease),
                box-shadow 0.3s ease;
    cursor: default;
    z-index: 1;
}

.pc-wrap.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Stagger entry per card */
.pc-wrap[data-idx="1"] { transition-delay: 0.1s; }
.pc-wrap[data-idx="2"] { transition-delay: 0.2s; }
.pc-wrap[data-idx="3"] { transition-delay: 0.3s; }

/* Spinning conic gradient border */
.pc-wrap::before {
    content: '';
    position: absolute;
    inset: -1.5px;
    border-radius: 21px;
    animation: rotateBorderAngle 8s linear infinite;
    z-index: 0;
}

.pc-wrap[data-idx="0"]::before {
    background: conic-gradient(from var(--border-angle),
        var(--sleep-c), rgba(196,122,224,0.1) 44%,
        rgba(196,122,224,0.06) 56%, var(--sleep-c));
}
.pc-wrap[data-idx="1"]::before {
    background: conic-gradient(from var(--border-angle),
        var(--energy-c), rgba(27,201,190,0.1) 44%,
        rgba(27,201,190,0.06) 56%, var(--energy-c));
    animation-delay: -2s;
}
.pc-wrap[data-idx="2"]::before {
    background: conic-gradient(from var(--border-angle),
        var(--longevity-c), rgba(94,200,122,0.1) 44%,
        rgba(94,200,122,0.06) 56%, var(--longevity-c));
    animation-delay: -4s;
}
.pc-wrap[data-idx="3"]::before {
    background: conic-gradient(from var(--border-angle),
        var(--focus-c), rgba(107,142,232,0.1) 44%,
        rgba(107,142,232,0.06) 56%, var(--focus-c));
    animation-delay: -6s;
}

/* ── Hover: subtle lift ──────────────────────── */
.pc-wrap:hover {
    transform: translateY(-3px);
    z-index: 5;
}
.pc-wrap[data-idx="0"]:hover { box-shadow: 0 12px 40px rgba(139,124,232,0.15); }
.pc-wrap[data-idx="1"]:hover { box-shadow: 0 12px 40px rgba( 27,201,190,0.15); }
.pc-wrap[data-idx="2"]:hover { box-shadow: 0 12px 40px rgba( 60,184,112,0.15); }
.pc-wrap[data-idx="3"]:hover { box-shadow: 0 12px 40px rgba( 74,168,212,0.15); }

/* ── Inner glass card ────────────────────────── */
.pc {
    position: relative;
    z-index: 1;
    border-radius: 18px;
    padding: 1.6rem 1.4rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-height: 160px;
    overflow: hidden;
}

/* Category colour tint per card */
.pc-wrap[data-idx="0"] .pc {
    background: linear-gradient(150deg, rgba(139,124,232,0.11) 0%, rgba(12,5,0,0.97) 75%);
}
.pc-wrap[data-idx="1"] .pc {
    background: linear-gradient(150deg, rgba(27,201,190,0.11) 0%, rgba(12,5,0,0.97) 75%);
}
.pc-wrap[data-idx="2"] .pc {
    background: linear-gradient(150deg, rgba(60,184,112,0.11) 0%, rgba(12,5,0,0.97) 75%);
}
.pc-wrap[data-idx="3"] .pc {
    background: linear-gradient(150deg, rgba(74,168,212,0.11) 0%, rgba(12,5,0,0.97) 75%);
}

/* ── Card header: dot + label ────────────────── */
.pc-header {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.35rem;
}

.pc-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}
.pc-wrap[data-idx="0"] .pc-dot { background: var(--sleep-c);     box-shadow: 0 0 7px var(--sleep-c); }
.pc-wrap[data-idx="1"] .pc-dot { background: var(--energy-c);    box-shadow: 0 0 7px var(--energy-c); }
.pc-wrap[data-idx="2"] .pc-dot { background: var(--longevity-c); box-shadow: 0 0 7px var(--longevity-c); }
.pc-wrap[data-idx="3"] .pc-dot { background: var(--focus-c);     box-shadow: 0 0 7px var(--focus-c); }

.pc-label {
    font-family: var(--font-display);
    font-size: 0.57rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cream-3);
}

/* ── Main name ───────────────────────────────── */
.pc-name {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--cream);
    flex: 1;
}

/* ── Description (hidden, expands on hover) ──── */
.pc-desc {
    font-size: 0.71rem;
    color: var(--cream-3);
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(6px);
    transition: max-height 0.42s var(--ease),
                opacity 0.3s ease 0.08s,
                transform 0.35s var(--ease) 0.06s;
    margin-top: 0;
}
.pc-wrap:hover .pc-desc {
    max-height: 100px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 0.4rem;
}

/* ── Mobile ──────────────────────────────────── */
@media (max-width: 640px) {
    .pillar-visual-wrap { gap: 0.55rem; }
    .pc { padding: 1.2rem; min-height: 140px; }
    /* 1.1rem = 17.6px minimum — legible headline on all mobile sizes */
    .pc-name { font-size: 1.1rem; }
}
@media (max-width: 380px) {
    .pillar-visual-wrap { grid-template-columns: 1fr; }
}


/* ── 7b. HOW IT WORKS SECTION ─────────────────────────────── */
.how-section {
    padding: 9rem 0;
    background: var(--dark-3);
    position: relative;
    overflow: hidden;
}

.how-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border);
}

.how-inner {
    position: relative;
    z-index: 1;
}

.how-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 4.5rem;
    counter-reset: how-step;
}

.how-step {
    position: relative;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 0 2rem;
    padding: 3rem 0;
    border-bottom: 1px solid var(--border);
    counter-increment: how-step;
}

.how-step:first-child {
    border-top: 1px solid var(--border);
}

.how-step-number {
    font-family: var(--font-display);
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 200;
    color: var(--amber);
    opacity: 0.4;
    line-height: 1;
    letter-spacing: -0.04em;
    grid-row: 1 / 3;
    align-self: start;
}

.how-step-icon {
    display: none;
}

.how-step-title {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    font-weight: 700;
    color: var(--cream);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.how-step-desc {
    font-size: 0.88rem;
    color: var(--cream-2);
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .how-step { grid-template-columns: 60px 1fr; gap: 0 1.25rem; }
}

@media (max-width: 768px) {
    .how-section { padding: 5rem 0; }
    .how-steps { margin-top: 3rem; }
}


/* ── 7c. EARLY ACCESS SECTION ────────────────────────────── */
.early-access-section {
    padding: 0;
    min-height: 100svh;
    background: var(--dark);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
}

.early-access-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 60%, rgba(200, 80, 16, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse at 70% 30%, rgba(94, 200, 122, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.early-access-inner {
    display: flex;
    justify-content: flex-start;
    padding: 6rem 1.5rem;
    max-width: var(--container-max);
    margin: 0 auto;
}

.early-access-content {
    max-width: 540px;
    text-align: left;
}

.early-access-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.75rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--cream);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.early-access-title em {
    font-style: normal;
    color: var(--amber-light);
}

.early-access-sub {
    font-size: 1rem;
    color: var(--cream-2);
    line-height: 1.75;
    margin-bottom: 2.5rem;
}

.early-access-sub strong {
    color: var(--cream);
}

.early-access-form {
    margin-bottom: 2.5rem;
}

.early-access-form-row {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(245, 237, 224, 0.04);
    border: 1px solid var(--border-mid);
    border-radius: var(--r-pill);
    padding: 0.35rem 0.35rem 0.35rem 1.25rem;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.early-access-form-row:focus-within {
    border-color: var(--amber);
    box-shadow: 0 0 0 3px rgba(200, 80, 16, 0.15);
}

.early-access-email {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--cream);
    padding: 0.65rem 0;
    min-width: 0;
}

.early-access-email::placeholder {
    color: var(--cream-3);
}

.early-access-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--amber);
    color: var(--cream);
    padding: 0.75rem 1.5rem;
    border-radius: var(--r-pill);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.2s, transform 0.15s var(--ease-out-expo), box-shadow 0.2s;
    flex-shrink: 0;
}

.early-access-btn:hover {
    background: var(--amber-mid);
    transform: translateY(-1px);
    box-shadow: var(--shadow-amber);
}

.early-access-btn:active { transform: scale(0.97); }

.early-access-fine {
    margin-top: 0.75rem;
    font-size: 0.76rem;
    color: var(--cream-3);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.early-access-benefits {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--cream-2);
}

.benefit-item i {
    color: var(--amber);
    opacity: 0.85;
    font-size: 0.95rem;
}

/* ── Quiz styles ─────────────────────────────── */
.quiz-step {
    animation: quizFadeIn 0.35s var(--ease);
}

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

.quiz-progress {
    width: 100%;
    height: 3px;
    background: var(--border);
    border-radius: 2px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.quiz-progress-fill {
    display: block;
    height: 100%;
    background: var(--amber);
    border-radius: 2px;
    transition: width 0.4s var(--ease);
}

.quiz-goals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.quiz-goal-btn {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 1rem 1.25rem;
    background: rgba(245, 237, 224, 0.04);
    border: 1px solid var(--border-mid);
    border-radius: var(--r-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--cream-2);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.quiz-goal-btn:hover {
    border-color: var(--border-amber);
    background: rgba(200, 80, 16, 0.06);
    color: var(--cream);
}

.quiz-goal-btn.selected {
    border-color: var(--amber);
    background: rgba(200, 80, 16, 0.12);
    color: var(--cream);
}

.quiz-goal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gc);
    flex-shrink: 0;
}

.quiz-next-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--amber);
    color: var(--cream);
    padding: 0.85rem 2rem;
    border-radius: var(--r-pill);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s var(--ease-out-expo), opacity 0.2s;
}

.quiz-next-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.quiz-next-btn:not(:disabled):hover {
    background: var(--amber-mid);
    transform: translateY(-1px);
}

.quiz-age-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
}

.quiz-age-btn {
    padding: 1.1rem 1.25rem;
    background: rgba(245, 237, 224, 0.04);
    border: 1px solid var(--border-mid);
    border-radius: var(--r-md);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cream-2);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.15s;
}

.quiz-age-btn:hover {
    border-color: var(--border-amber);
    background: rgba(200, 80, 16, 0.06);
    color: var(--cream);
}

.quiz-age-btn.selected {
    border-color: var(--amber);
    background: rgba(200, 80, 16, 0.12);
    color: var(--cream);
    transform: scale(0.97);
}

@media (max-width: 480px) {
    .quiz-goals { grid-template-columns: 1fr; }
    .quiz-age-options { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .early-access-inner { padding: 4rem 0; }

    .early-access-form-row {
        flex-direction: column;
        padding: 0.75rem;
        border-radius: var(--r-lg);
    }

    .early-access-email {
        width: 100%;
        padding: 0.5rem 0.25rem;
        text-align: center;
    }

    .early-access-btn {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
    }

    .early-access-benefits {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
        margin: 0 auto;
        width: fit-content;
    }
}

@media (max-width: 480px) {
    .early-access-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .early-access-sub {
        font-size: 0.95rem;
    }
}


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

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--cream);
    line-height: 1.15;
    margin-top: 0.75rem;
}

.section-title em {
    font-style: normal;
    color: var(--amber-light);
}

.section-sub {
    margin-top: 1rem;
    font-size: 1rem;
    color: var(--cream-2);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}


/* ── 9. BORDER ANIMATION (used by pillar cards) ──────────── */
@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes rotateBorderAngle {
    to { --border-angle: 360deg; }
}


/* ── 10. FOOTER ───────────────────────────────────────────── */
.site-footer {
    background: #080300;
    color: var(--cream-3);
    padding: 3.5rem 0 2rem;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.footer-logo {
    font-size: 1.4rem;
    color: var(--cream);
    opacity: 0.9;
}

.footer-links {
    display: flex;
    gap: 1.75rem;
    font-size: 0.84rem;
    flex-wrap: wrap;
}

.footer-links a { transition: color 0.2s; }
.footer-links a:hover { color: var(--cream); }

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.footer-soon {
    font-size: 0.76rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--cream-3);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    font-size: 1.2rem;
}

.footer-social a {
    color: var(--cream-3);
    transition: color 0.2s;
}

.footer-social a:hover { color: var(--amber-light); }

.footer-bottom {
    padding-top: 1.5rem;
    font-size: 0.76rem;
    text-align: center;
    opacity: 0.3;
}


/* ── 11. DRAWERS ──────────────────────────────────────────── */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(4px);
    transition: opacity 0.3s;
}

.drawer-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.drawer {
    position: fixed;
    top: 0;
    height: 100%;
    width: min(420px, 92vw);
    background: var(--dark-2);
    border-left: 1px solid var(--border);
    z-index: 1200;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s var(--ease);
    box-shadow: -12px 0 60px rgba(0, 0, 0, 0.5);
}

.drawer-right {
    right: 0;
    transform: translateX(100%);
}

.drawer.open { transform: translateX(0); }

.drawer-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.drawer-header h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--cream);
}

.drawer-close {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-sm);
    color: var(--cream-2);
    font-size: 1rem;
    transition: background 0.18s, color 0.18s;
}

.drawer-close:hover {
    background: rgba(245, 237, 224, 0.06);
    color: var(--cream);
}

.drawer-body {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
}

.drawer-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}



/* ── 12. MOBILE NAV DRAWER ────────────────────────────────── */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: min(320px, 88vw);
    background: var(--dark-2);
    border-right: 1px solid var(--border);
    z-index: 1200;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.35s var(--ease);
    box-shadow: 12px 0 60px rgba(0, 0, 0, 0.5);
}

.mobile-nav-drawer.open { transform: translateX(0); }

.mobile-nav-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.mobile-nav-close {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-sm);
    font-size: 1rem;
    color: var(--cream-2);
    transition: background 0.18s;
}

.mobile-nav-close:hover { background: rgba(245, 237, 224, 0.06); }

.mobile-nav-body {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--cream-2);
    border-bottom: 1px solid var(--border);
    transition: background 0.15s, color 0.15s;
}

.mobile-nav-link:hover {
    background: rgba(245, 237, 224, 0.03);
    color: var(--cream);
}

.mobile-nav-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}




/* ── 15. BUTTONS ──────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--r-pill);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background 0.2s, transform 0.2s var(--ease-out-expo), box-shadow 0.2s;
    text-decoration: none;
}

.btn-amber {
    background: var(--amber);
    color: var(--cream);
}

.btn-amber:hover {
    background: var(--amber-mid);
    transform: translateY(-1px);
    box-shadow: var(--shadow-amber);
}

.btn-sm {
    padding: 0.5rem 1.1rem;
    font-size: 0.82rem;
}


/* ── 16. TOAST ────────────────────────────────────────────── */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    background: var(--dark-card);
    border: 1px solid var(--border-amber);
    color: var(--cream);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-dark);
    font-size: 0.875rem;
    max-width: 320px;
    animation: toastIn 0.35s var(--ease-out-expo);
    pointer-events: all;
}

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

.toast.toast-exit {
    animation: toastOut 0.3s var(--ease) forwards;
}

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

.toast-success i { color: var(--amber-light); }


/* ── 17. SCROLL TO TOP ────────────────────────────────────── */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 44px;
    height: 44px;
    background: var(--dark-card);
    border: 1px solid var(--border-mid);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--cream-2);
    z-index: 900;
    cursor: pointer;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s, transform 0.3s, box-shadow 0.2s, border-color 0.2s, color 0.2s;
    box-shadow: var(--shadow-sm);
}

.scroll-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-to-top:hover {
    box-shadow: var(--shadow-amber);
    border-color: var(--border-amber);
    color: var(--amber-light);
}


/* ── 18. SCROLL ANIMATIONS ────────────────────────────────── */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-fade {
    opacity: 0;
    transition: opacity 0.8s var(--ease);
}

.reveal-up.active,
.reveal-fade.active {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll progress bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(to right, var(--amber), var(--amber-glow));
    z-index: 9998;
    width: 0%;
    transition: width 0.1s linear;
}


/* ── 19. RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1024px) {
    .pillars-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Visual (pills/orbit) above text on tablet/mobile */
    .pillars-right { order: -1; }

    .early-access-inner {
        padding: 4rem 0;
    }
}

@media (max-width: 768px) {
    :root {
        --header-h: 60px;
    }

    .header-nav { display: none; }

    .mobile-menu-btn { display: flex; }

    .pillars-section { padding: 5rem 0; }
    .pillars-inner { gap: 2rem; }

    .hero-bg-image { background-attachment: scroll; }

    .hero-headline {
        font-size: clamp(3rem, 11vw, 5rem);
        white-space: normal;
        width: auto;
        max-width: 100%;
    }

    /* pillar-visual-wrap height removed — grid layout is auto height */

    .hero-cta {
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }

    .hero-email-row {
        flex-direction: column;
        padding: 0.75rem;
        border-radius: var(--r-lg);
    }

    .hero-email-input {
        width: 100%;
        padding: 0.5rem 0.25rem;
        text-align: center;
    }

    .hero-email-btn {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
    }

    .hero-email-hint {
        justify-content: center;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .footer-right { align-items: flex-start; }

}

@media (max-width: 480px) {
    /* hero-trust: keep horizontal, allow wrap — vertical stacking hurts mobile conversion */
    .hero-trust { gap: 0.6rem 1rem; flex-wrap: wrap; align-items: center; }
    .benefit-item { white-space: normal; }
    /* pillar-visual-wrap height removed — grid layout is auto height */
    input, select, textarea { font-size: 16px; }

    /* Hero headline tighter at very small screens */
    .hero-headline {
        font-size: clamp(2.4rem, 10vw, 3.5rem);
    }

    .hero-sub {
        font-size: 0.95rem;
    }

    /* Ensure body text never below 16px */
    body { font-size: 16px; }

    /* Tap targets: minimum 44×44px */
    .lang-toggle {
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .action-icon {
        min-width: 44px;
        min-height: 44px;
    }

    .mobile-menu-btn {
        min-width: 44px;
        min-height: 44px;
    }


    /* Pillars section mobile adjustments */
    .pillars-section {
        padding: 4rem 0;
    }

    .pillars-headline {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .pillars-sub {
        font-size: 0.95rem;
    }

    /* No horizontal overflow */
    .hero-container {
        overflow-x: hidden;
    }
}


/* ── 20. LANGUAGE TOGGLE ─────────────────────────────────── */
html[data-lang="en"] .it { display: none; }
html[data-lang="it"] .en { display: none; }

.lang-toggle {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-family: var(--font-body);
    color: var(--cream-3);
    background: none;
    border: 1px solid rgba(245, 237, 224, 0.15);
    padding: 0.22rem 0.6rem;
    border-radius: 4px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}
.lang-toggle:hover {
    color: var(--cream);
    border-color: rgba(245, 237, 224, 0.3);
}


/* ── 21. SCROLL SNAP ─────────────────────────────────────── */
/* Desktop: snap between sections for a premium editorial feel */
html {
    scroll-snap-type: y proximity;
}
.hero-section,
.pillars-section,
.how-section,
.early-access-section {
    scroll-snap-align: start;
}
.pillars-section {
    min-height: 100svh;
}

/* Mobile: disable snap — social ad traffic needs free natural scrolling */
@media (max-width: 768px) {
    html {
        scroll-snap-type: none;
    }
    .hero-section,
    .pillars-section,
    .early-access-section {
        scroll-snap-align: none;
    }
    .pillars-section {
        min-height: unset;
    }
}


/* ── 22. MOBILE STICKY CTA BAR ───────────────────────────── */
/* Always-visible bottom CTA for ad traffic (TikTok / Instagram).
   Hidden on desktop — mobile-only conversion tool. */
.mobile-sticky-cta {
    display: none;
}

@media (max-width: 768px) {
    .mobile-sticky-cta {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 800;
        padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
        /* Gradient fade so it doesn't hard-cut the page */
        background: linear-gradient(to top, var(--dark) 55%, rgba(12,5,0,0.85) 100%);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
    }

    /* Push page content above the sticky bar so nothing is hidden */
    body {
        padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    }

    /* Hide sticky bar when club CTA section is visible (JS adds .hidden) */
    .mobile-sticky-cta.hidden {
        opacity: 0;
        pointer-events: none;
        transform: translateY(100%);
        transition: opacity 0.3s, transform 0.3s var(--ease);
    }
}

.mobile-sticky-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: var(--amber);
    color: var(--cream);
    border-radius: var(--r-pill);
    font-family: var(--font-body);
    font-size: 0.97rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 28px rgba(192, 80, 16, 0.5);
    transition: background 0.15s, transform 0.12s, box-shadow 0.15s;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.mobile-sticky-cta-btn:active {
    transform: scale(0.97);
    background: var(--amber-mid);
    box-shadow: 0 2px 14px rgba(192, 80, 16, 0.4);
}

.mobile-sticky-cta-hint {
    margin-top: 0.3rem;
    text-align: center;
    font-size: 0.62rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--cream-3);
}




/* ── 24. SAFE AREA + PERFORMANCE ─────────────────────────── */

/* iPhone notch / home bar: ensure footer isn't clipped */
.site-footer {
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
}

/* GPU compositing for animated border cards — prevents jank during scroll */
.pc-wrap {
    will-change: transform, opacity;
}

/* Respect system preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
    .pc-wrap::before {
        animation: none;
    }

    .reveal-up,
    .reveal-fade {
        transition-duration: 0.01ms !important;
    }

    .pc-wrap {
        transition-duration: 0.01ms !important;
    }

    .scroll-hint {
        animation: none;
    }
}
