/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
    --primary:       #6366f1;
    --primary-dark:  #4f46e5;
    --primary-light: #818cf8;

    --amber:  #f59e0b;
    --teal:   #14b8a6;
    --rose:   #f43f5e;
    --green:  #22c55e;

    --dark:   #09090b;
    --dark-2: #18181b;
    --dark-3: #27272a;
    --dark-4: #3f3f46;

    --text:       #0f172a;
    --text-2:     #475569;
    --text-3:     #94a3b8;
    --text-inv:   rgba(255,255,255,0.9);
    --text-inv-2: rgba(255,255,255,0.55);
    --text-inv-3: rgba(255,255,255,0.3);

    --bg:       #f8fafc;
    --bg-white: #ffffff;
    --border:   rgba(0,0,0,0.07);
    --border-d: rgba(255,255,255,0.08);

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.09);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.13);
    --shadow-xl: 0 24px 64px rgba(0,0,0,0.18);

    --r-sm:    8px;
    --r-md:    16px;
    --r-lg:    24px;
    --r-xl:    32px;
    --r-phone: 44px;
    --r-pill:  999px;

    --ease:  cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.navbar.scrolled {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: white;
    transition: color 0.25s;
}
.navbar.scrolled .nav-logo { color: var(--primary); }
.nav-logo-img { height: 30px; border-radius: 8px; }

/* Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    padding: 8px 14px;
    border-radius: var(--r-pill);
    transition: all 0.2s;
}
.navbar.scrolled .nav-links a { color: var(--text-2); }

.nav-links a:not(.nav-cta):hover { color: white; background: rgba(255,255,255,0.1); }
.navbar.scrolled .nav-links a:not(.nav-cta):hover { color: var(--primary); background: rgba(99,102,241,0.08); }

.nav-cta {
    background: white !important;
    color: var(--primary) !important;
    font-weight: 700 !important;
    padding: 9px 20px !important;
    box-shadow: var(--shadow-sm);
}
.navbar.scrolled .nav-cta {
    background: var(--primary) !important;
    color: white !important;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(99,102,241,0.35) !important; }

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    position: relative;
    z-index: 1002;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.25s;
}
.navbar.scrolled .nav-toggle span { background: var(--text); }
/* When menu open, always show white X (dark overlay behind) */
.nav-toggle.open span { background: white !important; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

/* Gradient mesh */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 100% 70% at 50% -10%, rgba(99,102,241,0.35) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 85% 60%, rgba(139,92,246,0.2) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 15% 85%, rgba(20,184,166,0.15) 0%, transparent 55%);
    pointer-events: none;
}

/* Floating orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    will-change: transform;
}
.hero-orb-1 {
    width: 640px; height: 640px;
    background: radial-gradient(circle, rgba(99,102,241,0.22) 0%, transparent 70%);
    top: -160px; left: -160px;
    animation: orbFloat 9s ease-in-out infinite;
}
.hero-orb-2 {
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(245,158,11,0.14) 0%, transparent 70%);
    bottom: -60px; right: -60px;
    animation: orbFloat 12s ease-in-out infinite reverse;
}
.hero-orb-3 {
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(20,184,166,0.14) 0%, transparent 70%);
    top: 40%; right: 8%;
    animation: orbFloat 7s ease-in-out infinite 2s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0); }
    33%       { transform: translate(24px, 16px); }
    66%       { transform: translate(-16px, 24px); }
}

/* Hero layout */
.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 72px;
}

/* Hero badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99,102,241,0.14);
    border: 1px solid rgba(99,102,241,0.3);
    color: var(--primary-light);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: var(--r-pill);
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}
.hero-badge-dot {
    width: 6px; height: 6px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulseDot 2.2s ease-in-out infinite;
}
@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(1.6); }
}

/* Hero headline */
.hero h1 {
    font-size: clamp(2.8rem, 4.5vw, 4.4rem);
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -2px;
    color: white;
    margin-bottom: 24px;
}
.hero-gradient {
    background: linear-gradient(135deg, #818cf8 0%, #c084fc 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.08rem;
    color: var(--text-inv-2);
    max-width: 460px;
    line-height: 1.75;
    margin-bottom: 40px;
}

/* Store buttons */
.store-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 22px;
    border-radius: var(--r-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s;
}
.store-btn:hover { transform: translateY(-2px); }

.btn-text small {
    display: block;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 500;
}
.btn-text strong { display: block; font-size: 0.98rem; font-weight: 700; }

.store-btn-primary {
    background: white;
    color: var(--text);
    box-shadow: var(--shadow-md);
}
.store-btn-primary:hover { box-shadow: var(--shadow-lg); }
.store-btn-primary .btn-text small { opacity: 0.5; }

.store-btn-glass {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.12);
    color: white;
    backdrop-filter: blur(8px);
}
.store-btn-glass:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.22); box-shadow: 0 8px 28px rgba(0,0,0,0.3); }

/* Social proof */
.hero-proof {
    display: flex;
    align-items: center;
    gap: 14px;
}
.proof-avatars { display: flex; }
.proof-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 2.5px solid var(--dark);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.78rem; color: white;
    margin-left: -9px;
}
.proof-avatar:first-child { margin-left: 0; }
.proof-stars { color: #fbbf24; font-size: 0.85rem; letter-spacing: 1px; margin-bottom: 2px; }
.proof-text p { font-size: 0.82rem; color: var(--text-inv-2); }
.proof-text p strong { color: var(--text-inv); }

/* ── Hero visual ── */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-wrap {
    position: relative;
    z-index: 2;
}

.phone {
    border: 10px solid var(--dark-3);
    border-radius: var(--r-phone);
    width: 280px;
    height: 580px;
    background: var(--dark-2);
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.04);
}
.phone-notch {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 100px; height: 26px;
    background: var(--dark-2);
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    z-index: 10;
}
.phone-screen {
    width: 100%; height: 100%;
    background: #fff;
    overflow: hidden;
    border-radius: 34px;
}
.phone-img { width: 100%; height: 100%; object-fit: cover; }

.phone-shadow {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px; height: 40px;
    background: radial-gradient(ellipse, rgba(99,102,241,0.3) 0%, transparent 70%);
    filter: blur(16px);
}

/* Floating cards */
.float-card {
    position: absolute;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--r-pill);
    padding: 10px 18px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    white-space: nowrap;
    z-index: 10;
}
.float-1 { top: 70px;  right: -28px; animation: floatA 4s ease-in-out infinite; }
.float-2 { bottom: 130px; right: -32px; animation: floatB 5s ease-in-out infinite 1s; }
.float-3 { top: 44%;  left: -36px; animation: floatC 6s ease-in-out infinite 0.5s; }

@keyframes floatA { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes floatB { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }
@keyframes floatC {
    0%,100%{transform:translateY(-50%) translateX(0)}
    50%    {transform:translateY(-50%) translateX(-6px)}
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 36px; left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.scroll-mouse {
    width: 26px; height: 40px;
    border: 2px solid rgba(255,255,255,0.25);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}
.scroll-wheel {
    width: 3px; height: 8px;
    background: rgba(255,255,255,0.5);
    border-radius: 2px;
    animation: scrollWheel 2s ease-in-out infinite;
}
@keyframes scrollWheel {
    0%   { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 40px 0;
}
.stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
}
.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
    padding: 0 16px;
}
.stat-num {
    font-size: 2.1rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -1.5px;
    line-height: 1;
}
.stat-lbl {
    font-size: 0.82rem;
    color: var(--text-3);
    font-weight: 500;
}
.stat-sep {
    width: 1px; height: 44px;
    background: var(--border);
    flex-shrink: 0;
}

/* ============================================================
   SECTION HEADER (SHARED)
   ============================================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-chip {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--primary);
    background: rgba(99,102,241,0.08);
    padding: 6px 14px;
    border-radius: var(--r-pill);
    margin-bottom: 16px;
}
.section-header h2 {
    font-size: clamp(1.9rem, 3.2vw, 2.7rem);
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--text);
    margin-bottom: 14px;
    line-height: 1.15;
}
.section-header p {
    font-size: 1.05rem;
    color: var(--text-2);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ============================================================
   FEATURES – BENTO GRID
   ============================================================ */
.features {
    padding: 100px 0;
    background: var(--bg);
}

.bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

/* Wide card spans 2 cols and has internal 2-col layout */
.bento-wide {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 32px;
}

.bento-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 36px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.bento-dark {
    background: var(--dark);
    border-color: var(--dark-3);
    grid-column: span 2;
}

.bento-icon {
    width: 52px; height: 52px;
    border-radius: var(--r-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 20px;
    flex-shrink: 0;
}
.icon-purple { background: rgba(99,102,241,0.11); }
.icon-amber  { background: rgba(245,158,11,0.11); }
.icon-blue   { background: rgba(59,130,246,0.11); }
.icon-green  { background: rgba(34,197,94,0.11); }
.icon-white  { background: rgba(255,255,255,0.1); }

.bento-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}
.bento-dark h3 { color: white; }

.bento-card p {
    font-size: 0.93rem;
    color: var(--text-2);
    line-height: 1.7;
}
.bento-dark p { color: var(--text-inv-2); }

/* Squad visual */
.squad-visual {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.squad-row { display: flex; }
.squad-pill {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 11px 18px;
    border-radius: var(--r-pill);
    font-size: 0.88rem;
    font-weight: 600;
    min-width: 140px;
}
.pill-a { background: rgba(99,102,241,0.1);  color: var(--primary); }
.pill-b { background: rgba(244,63,94,0.1);   color: var(--rose); }
.pill-c { background: rgba(245,158,11,0.1);  color: #b45309; }
.squad-pill span { font-size: 1rem; }
.streak-count {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-3);
    padding-left: 4px;
    margin-top: 4px;
}

/* Week bar */
.week-bar {
    display: flex;
    gap: 6px;
    margin-top: 24px;
}
.day {
    flex: 1;
    aspect-ratio: 1;
    border-radius: 8px;
    background: rgba(255,255,255,0.07);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(255,255,255,0.2);
}
.day-done {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 12px rgba(99,102,241,0.45);
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
    padding: 100px 0;
    background: var(--bg-white);
    overflow: hidden;
}

.gallery-track {
    display: flex;
    gap: 24px;
    padding: 20px 80px 48px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track.dragging { cursor: grabbing; scroll-behavior: auto; }

.gallery-item {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    scroll-snap-align: center;
}
.gallery-item p {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-2);
}

/* Small phone variant for gallery */
.phone-sm {
    width: 240px !important;
    height: 500px !important;
    border-width: 9px !important;
    border-radius: 40px !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15) !important;
}
.phone-sm .phone-screen { border-radius: 31px; }
.phone-sm .phone-notch { width: 90px; height: 22px; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how {
    padding: 100px 0;
    background: var(--bg);
}

.steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: start;
    gap: 20px;
}

.step {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.step-arrow {
    color: var(--text-3);
    font-size: 1.5rem;
    align-self: center;
    padding-top: 20px;
    flex-shrink: 0;
}

.step-num {
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(99,102,241,0.1);
    letter-spacing: -3px;
    line-height: 1;
    margin-bottom: 16px;
}
.step h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}
.step p {
    font-size: 0.93rem;
    color: var(--text-2);
    line-height: 1.7;
}

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews {
    padding: 100px 0;
    background: var(--bg-white);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.review-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 36px;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.review-featured {
    background: var(--primary);
    border-color: var(--primary);
}

.review-stars {
    color: #fbbf24;
    font-size: 0.95rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.review-featured .review-stars { color: rgba(255,255,255,0.75); }

.review-card p {
    font-size: 0.98rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.75;
    margin-bottom: 24px;
}
.review-featured p { color: rgba(255,255,255,0.9); }

.reviewer { display: flex; align-items: center; gap: 12px; }
.r-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.9rem; color: white;
    flex-shrink: 0;
}
.reviewer strong { display: block; font-size: 0.92rem; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.review-featured .reviewer strong { color: white; }
.reviewer small { font-size: 0.78rem; color: var(--text-3); }
.review-featured .reviewer small { color: rgba(255,255,255,0.55); }

/* ============================================================
   DOWNLOAD CTA
   ============================================================ */
.cta-section {
    position: relative;
    background: var(--dark);
    padding: 120px 0;
    overflow: hidden;
    text-align: center;
}
.cta-section::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 80% at 50% 50%, rgba(99,102,241,0.28) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 15% 90%, rgba(20,184,166,0.12) 0%, transparent 50%);
    pointer-events: none;
}
.cta-orb { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; }
.cta-orb-1 { width: 500px; height: 500px; background: rgba(99,102,241,0.18); top: -120px; left: 50%; transform: translateX(-50%); }
.cta-orb-2 { width: 300px; height: 300px; background: rgba(245,158,11,0.12); bottom: -40px; right: 8%; }

.cta-box {
    position: relative;
    z-index: 1;
}
.cta-box h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: white;
    letter-spacing: -2px;
    margin-bottom: 20px;
    line-height: 1.1;
}
.cta-box p {
    font-size: 1.12rem;
    color: var(--text-inv-2);
    max-width: 480px;
    margin: 0 auto 48px;
    line-height: 1.75;
}

.store-btns-cta { justify-content: center; margin-bottom: 36px; }

.store-btn-white {
    background: white;
    color: var(--text) !important;
    border-color: transparent !important;
    box-shadow: var(--shadow-md);
}
.store-btn-white .btn-text small { opacity: 0.5; color: var(--text); }
.store-btn-white .btn-text strong { color: var(--text); }
.store-btn-white:hover { background: rgba(255,255,255,0.92); box-shadow: var(--shadow-xl); }

.store-btn-glass-cta {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    color: white;
    backdrop-filter: blur(8px);
}
.store-btn-glass-cta .btn-text small { opacity: 0.6; }
.store-btn-glass-cta:hover { background: rgba(255,255,255,0.14); }

.cta-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-inv-3);
}
.cta-links a { color: rgba(255,255,255,0.45); transition: color 0.2s; }
.cta-links a:hover { color: white; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--dark);
    border-top: 1px solid var(--border-d);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    letter-spacing: -0.5px;
    display: block;
    margin-bottom: 14px;
}
.footer-brand p {
    font-size: 0.88rem;
    color: var(--text-inv-3);
    line-height: 1.8;
    max-width: 240px;
}

.footer-col h4 {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--text-inv-3);
    margin-bottom: 18px;
}
.footer-col a {
    display: block;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 10px;
    transition: color 0.2s;
}
.footer-col a:hover { color: white; }
.footer-note {
    display: block;
    font-size: 0.78rem;
    color: var(--text-inv-3);
    margin-top: 6px;
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid var(--border-d);
    padding-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p { font-size: 0.83rem; color: var(--text-inv-3); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-size: 0.83rem; color: rgba(255,255,255,0.3); transition: color 0.2s; }
.footer-bottom-links a:hover { color: white; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }

/* ============================================================
   SUB-PAGES (privacy.html / support.html)
   ============================================================ */
.page-hero {
    padding: 160px 0 64px;
    background: var(--dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 80% at 50% 0%, rgba(99,102,241,0.3) 0%, transparent 60%);
    pointer-events: none;
}
.page-hero h1 {
    position: relative;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: white;
    letter-spacing: -1px;
    margin-bottom: 12px;
}
.page-hero p {
    position: relative;
    color: var(--text-inv-2);
    font-size: 1rem;
}

.page-body {
    max-width: 760px;
    margin: 0 auto;
    padding: 64px 24px 100px;
}
.page-body h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text);
    margin: 40px 0 12px;
    letter-spacing: -0.3px;
}
.page-body p,
.page-body li {
    font-size: 1rem;
    color: var(--text-2);
    line-height: 1.8;
    margin-bottom: 14px;
}
.page-body ul { margin-left: 22px; margin-bottom: 20px; }
.page-body a { color: var(--primary); font-weight: 600; }
.page-body a:hover { text-decoration: underline; }
.page-body strong { color: var(--text); }

.support-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 48px;
    text-align: center;
    margin-top: 48px;
}
.support-card h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 12px; }
.support-card p { color: var(--text-2); margin-bottom: 0; }
.email-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: white !important;
    padding: 14px 32px;
    border-radius: var(--r-md);
    font-size: 1rem;
    font-weight: 700;
    margin-top: 24px;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.email-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99,102,241,0.35);
    text-decoration: none !important;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-item strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
    .hero-container { gap: 48px; }
    .phone { width: 250px; height: 520px; }
    .bento { grid-template-columns: repeat(2, 1fr); }
    .bento-wide { grid-column: span 2; }
    .bento-dark { grid-column: span 2; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .steps { grid-template-columns: repeat(3, 1fr); }
    .step-arrow { display: none; }
}

/* Mobile */
@media (max-width: 768px) {
    .hero { padding: 100px 0 64px; min-height: unset; }
    .hero-container { grid-template-columns: 1fr; text-align: center; gap: 56px; }
    .hero-content { display: flex; flex-direction: column; align-items: center; }
    .hero h1 { font-size: 2.8rem; letter-spacing: -1.5px; }
    .hero-sub { max-width: 100%; }
    .store-btns { justify-content: center; }
    .hero-proof { justify-content: center; }

    .float-3 { display: none; }
    .float-1 { right: -10px; top: 50px; }
    .float-2 { right: -10px; bottom: 80px; }

    /* Stats: 2×2 grid */
    .stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
    .stat-sep { display: none; }
    .stat { padding: 20px; border-bottom: 1px solid var(--border); }
    .stat:nth-child(odd) { border-right: 1px solid var(--border); }
    .stat:nth-last-child(-n+2) { border-bottom: none; }

    /* Bento: single column */
    .bento { grid-template-columns: 1fr; }
    .bento-wide { grid-column: span 1; grid-template-columns: 1fr; }
    .bento-dark { grid-column: span 1; }

    /* Steps: column */
    .steps { grid-template-columns: 1fr; }
    .step-arrow { display: none; }

    /* Reviews: single column */
    .reviews-grid { grid-template-columns: 1fr; }

    /* Footer: 2-col then 1-col */
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-brand p { max-width: 100%; }
    .footer-bottom { flex-direction: column; text-align: center; }

    /* Nav mobile */
    .nav-links {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(9,9,11,0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        z-index: 1001;
    }
    .nav-links.open { display: flex; }

    /* Always white links inside the dark overlay, regardless of .scrolled */
    .nav-links a,
    .navbar.scrolled .nav-links a {
        color: rgba(255,255,255,0.75) !important;
        font-size: 1.15rem;
        padding: 14px 28px;
        width: 100%;
        text-align: center;
    }
    .nav-links a:hover,
    .navbar.scrolled .nav-links a:hover {
        color: white !important;
        background: rgba(255,255,255,0.08) !important;
    }
    /* CTA button in mobile menu */
    .nav-links .nav-cta,
    .navbar.scrolled .nav-links .nav-cta {
        background: var(--primary) !important;
        color: white !important;
        margin-top: 12px;
        width: 200px;
        text-align: center;
        border-radius: var(--r-pill);
    }

    /* Hide scrolled white background when menu is open */
    .navbar.menu-open {
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
    }

    .nav-toggle { display: flex; }

    .gallery-track { padding: 20px 24px 40px; }
}

/* Large desktop: gallery without scroll */
@media (min-width: 1024px) {
    .gallery-track {
        justify-content: center;
        overflow-x: hidden;
        cursor: default;
        gap: 20px;
        padding: 20px 0 48px;
    }
    .phone-sm {
        width: 210px !important;
        height: 440px !important;
    }
}
