@font-face {
    font-family: "Inter";
    src: url("/fonts/Inter.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Archivo Black";
    src: url("/fonts/ArchivoBlack.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #000000;
    --bg-raised: #0a0a0a;
    --red: #d2283c;
    --red-bright: #ff4258;
    --white: #eceaec;
    --grey: #8f8c90;
    --border: rgba(236,234,236,.1);
    --ease: cubic-bezier(.16,1,.3,1);
    --mono: ui-monospace, "SF Mono", "Cascadia Code", "Roboto Mono", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Inter", "Segoe UI", system-ui, sans-serif;
    color: var(--white);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* Fixed backdrop layer used by login/dashboard: soft grid + two large slow-moving red auroras. */
.bg-layer { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.bg-grid {
    position: absolute;
    inset: -2px;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 0%, #000 10%, transparent 75%);
    mask-image: radial-gradient(ellipse 75% 60% at 50% 0%, #000 10%, transparent 75%);
}
.aurora {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.55;
    mix-blend-mode: screen;
}
.aurora1 { width: 620px; height: 620px; background: radial-gradient(circle, var(--red) 0%, transparent 70%); top: -220px; left: -160px; animation: drift1 20s ease-in-out infinite; }
.aurora2 { width: 520px; height: 520px; background: radial-gradient(circle, #ff4258 0%, transparent 70%); bottom: -200px; right: -140px; animation: drift2 24s ease-in-out infinite; }
.aurora3 { width: 380px; height: 380px; background: radial-gradient(circle, #7a1f2e 0%, transparent 70%); top: 35%; left: 50%; opacity: 0.3; animation: drift1 28s ease-in-out infinite reverse; }
@keyframes drift1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(70px, 50px) scale(1.08); } }
@keyframes drift2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-60px, -40px) scale(1.06); } }
.hero-tight { padding-bottom: 30px; }

.grain {
    position: fixed; inset: 0; z-index: 1; opacity: .035; pointer-events: none; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

nav {
    position: fixed; left: 50%; bottom: 22px; z-index: 20;
    transform: translateX(-50%);
    display: flex; align-items: center; justify-content: space-between; gap: 63px;
    padding: 10px 27px 10px 45px; border-radius: 4px;
    background: #000; backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    box-shadow: 0 16px 40px rgba(0,0,0,.45);
    transition: border-color .25s, box-shadow .25s, transform .3s var(--ease);
}
nav.scrolled { border-color: rgba(236,234,236,.18); box-shadow: 0 18px 48px rgba(0,0,0,.6); }
body { padding-bottom: 90px; }
nav a.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
nav a.brand img { width: 22px; height: 22px; object-fit: contain; }
nav a.brand .b1 { font-weight: 600; font-size: 15px; letter-spacing: .01em; }
nav a.brand .b2 { font-weight: 400; font-size: 12px; color: var(--grey); }
nav .links {
    position: fixed; left: 50%; bottom: calc(100% + 14px); z-index: 21;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    width: 180px; max-width: calc(100vw - 40px); background: #000; backdrop-filter: blur(16px);
    border: 1px solid var(--border); border-radius: 4px; padding: 24px 14px 22px;
    transform: translateX(-50%) translateY(8px) scale(.97); transform-origin: bottom center;
    opacity: 0; pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
}
nav .links.open { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0) scale(1); }
nav .links a { color: rgba(236,234,236,.7); text-decoration: none; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; transition: color .15s, background .15s; position: relative; padding: 10px 12px; border-radius: 2px; width: 100%; text-align: center; }
nav .links a:hover { color: var(--white); background: rgba(255,255,255,.05); }
nav .links a.cta { color: var(--white); border: 1px solid rgba(236,234,236,.22); margin-top: 4px; }
nav .links a.cta:hover { border-color: rgba(255,66,88,.5); background: rgba(255,66,88,.08); }
nav .links-social { display: flex; gap: 8px; margin-top: 14px; width: 100%; }
nav .links-social a { flex: 1; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 4px; padding: 0; color: rgba(236,234,236,.7); }
nav .links-social a:hover { color: var(--white); border-color: rgba(236,234,236,.35); }
nav .links-social svg { width: 22px; height: 22px; }
nav .menu-btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 4px; color: var(--white); cursor: pointer; transition: border-color .2s, background .2s; }
nav .menu-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
nav .menu-btn:hover { border-color: rgba(236,234,236,.35); background: rgba(255,255,255,.08); }

main { position: relative; z-index: 2; }

.marquee { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 22px 0; overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 40px; animation: marquee 26s linear infinite; }
.marquee-track span { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: rgba(236,234,236,.4); display: inline-flex; align-items: center; gap: 40px; }
.marquee-track span .dot-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--red-bright); display: inline-block; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }



/* Hero */
.hero {
    position: relative; min-height: 100vh; overflow: hidden;
    display: flex; flex-direction: column; justify-content: flex-end;
    text-align: left; padding: 100px 56px 170px;
}
.hero-photo {
    position: absolute; inset: 0; z-index: 0;
    background-size: cover; background-position: center;
    filter: grayscale(1) contrast(1.08);
}
.hero-photo-placeholder {
    background-image:
        radial-gradient(ellipse 60% 70% at 30% 25%, rgba(236,234,236,.14) 0%, transparent 55%),
        linear-gradient(200deg, #2a2a2a 0%, #0a0a0a 55%, #000 100%);
}
.hero-scrim {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 30%, rgba(0,0,0,.35) 65%, rgba(0,0,0,.85) 100%);
}

.hero-corner {
    position: absolute; z-index: 3; max-width: 220px;
    font-family: var(--mono); font-size: 11px; line-height: 1.7;
    letter-spacing: .1em; text-transform: uppercase; color: rgba(236,234,236,.55);
    opacity: 0; transform: translateY(10px); animation: fadeUp .8s var(--ease) forwards;
}
.corner-tl { top: 36px; left: 56px; animation-delay: .15s; }
.corner-tr { top: 36px; right: 56px; text-align: right; animation-delay: .25s; }
.corner-bl { bottom: 36px; left: 56px; animation-delay: .35s; }
.corner-br { bottom: 36px; right: 56px; text-align: right; animation-delay: .45s; }

.hero-inner { position: relative; z-index: 5; max-width: 100%; }

.hero h1 {
    font-family: "Archivo Black", "Inter", sans-serif;
    font-size: clamp(56px, 11vw, 148px); font-weight: 400; line-height: .92; letter-spacing: -0.01em; margin: 0;
    text-transform: none; opacity: 0; transform: translateY(24px); animation: fadeUp 1s .25s var(--ease) forwards;
    color: var(--white); text-shadow: 0 4px 40px rgba(0,0,0,.6);
}
.hero h1 .h1-sub {
    display: block; font-family: "Inter", sans-serif; font-weight: 300;
    font-size: 0.24em; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); margin-top: 10px;
}

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

.hero-cta {
    display: flex; align-items: center; gap: 8px; margin-top: 30px;
    opacity: 0; transform: translateY(14px); animation: fadeUp .9s .7s var(--ease) forwards;
}
.hero-cta .btn-ghost { margin-left: 0; }

/* GSAP owns the hero entrance when it loads — reset to a plain visible baseline
   so its .from() tweens have a clean start instead of fighting these keyframes. */
body.js-gsap-hero .hero-corner,
body.js-gsap-hero .hero h1,
body.js-gsap-hero .hero-cta { opacity: 1; transform: none; animation: none; }
/* GSAP's .from() tweens FROM the given values TO the element's current (CSS) value —
   so every .word needs a visible baseline once GSAP is driving, or "current" reads as
   the hidden default and the tween is a no-op. */
body.js-gsap-hero .word { opacity: 1; transform: none; }

section.scene { position: relative; padding: 140px 56px; max-width: 1180px; margin: 0 auto; }
.eyebrow {
    font-family: var(--mono);
    display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
    color: var(--red-bright); margin-bottom: 22px; font-weight: 500;
}
.eyebrow .dot { width: 6px; height: 6px; background: var(--red); }
h2 { font-size: clamp(30px, 4.4vw, 54px); font-weight: 300; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 20px; max-width: 820px; text-transform: lowercase; }
h2 strong { font-weight: 600; color: var(--white); }
p.lead { font-size: 16px; line-height: 1.7; color: var(--grey); max-width: 620px; }


.reveal { opacity: 0; transform: translateY(28px); clip-path: inset(0 0 30% 0); transition: opacity .8s var(--ease), transform .8s var(--ease), clip-path .9s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); clip-path: inset(0 0 0% 0); }

.word { display: inline-block; opacity: 0; transform: translateY(60%); will-change: transform; }
.word.in { opacity: 1; transform: translateY(0); }

.reveal-scale { opacity: 0; transform: translateY(18px) scale(.96); filter: blur(4px); transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease); }
.reveal-scale.in { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }

.feature-list .reveal:nth-child(1) { transition-delay: .05s; }
.feature-list .reveal:nth-child(2) { transition-delay: .12s; }
.feature-list .reveal:nth-child(3) { transition-delay: .19s; }
.feature-list .reveal:nth-child(4) { transition-delay: .26s; }

.eyebrow.reveal { transition-delay: 0s; }

/* Pinned scroll story — each stage sticks to the top of the viewport (pure CSS, no JS pin needed)
   and the next stage's higher z-index lets it slide up and cover the previous one as you scroll. */
.story { position: relative; }
.story-stage { height: 160vh; position: relative; }
.story-stage-inner {
    position: sticky; top: 0; height: 100vh; overflow: hidden;
    display: flex; align-items: flex-end; background: var(--bg);
}
.story-1 { z-index: 1; } .story-2 { z-index: 2; } .story-3 { z-index: 3; } .story-4 { z-index: 4; }
.story-bg { position: absolute; inset: 0; z-index: 0; }
.story-1 .story-bg { background: radial-gradient(ellipse 80% 60% at 30% 20%, rgba(210,40,60,.28), transparent 60%), linear-gradient(160deg, #0a0a0a 0%, #150a0c 100%); }
.story-2 .story-bg { background: radial-gradient(ellipse 80% 60% at 70% 30%, rgba(150,60,20,.24), transparent 60%), linear-gradient(160deg, #0a0a0a 0%, #14100a 100%); }
.story-3 .story-bg { background: radial-gradient(ellipse 80% 60% at 40% 70%, rgba(60,30,140,.2), transparent 60%), linear-gradient(160deg, #0a0a0a 0%, #0c0a15 100%); }
.story-4 .story-bg { background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(236,234,236,.08), transparent 60%), linear-gradient(160deg, #0a0a0a 0%, #101010 100%); }
.story-bar {
    position: relative; z-index: 1; width: 100%; display: flex; justify-content: space-between; align-items: center;
    gap: 32px; padding: 18px 72px; margin-bottom: 12vh; background: var(--bg-raised); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    opacity: 0; transform: translateX(-40px);
}
.story-stage.in .story-bar { opacity: 1; transform: translateX(0); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.story-left { display: flex; flex-direction: column; gap: 10px; max-width: 320px; }
.story-num { font-family: var(--mono); font-size: 11px; color: var(--grey); letter-spacing: .06em; }
.story-tag { font-family: var(--mono); font-size: 12px; line-height: 1.6; color: rgba(236,234,236,.6); }
.story-right { text-align: right; }
.story-cat { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--red-bright); display: block; margin-bottom: 8px; }
.story-right h3 { font-size: 30px; font-weight: 500; margin: 0; text-transform: lowercase; }
.story-4 .story-cat { color: var(--grey); }
.story-4 .story-right h3 { color: rgba(236,234,236,.55); }

/* Featured / spotlight */
.spotlight { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.spotlight-visual {
    position: relative; aspect-ratio: 4/3; background: var(--bg-raised); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.spotlight-visual img { width: 40%; opacity: .9; filter: drop-shadow(0 30px 50px rgba(0,0,0,.6)); }
.spotlight-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--border); }
.spotlight-stats .stat-label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--grey); margin-bottom: 6px; }
.spotlight-stats .stat-val { font-size: 18px; font-weight: 500; }

/* Footer / final CTA */
.final-scene { position: relative; padding: 180px 56px; text-align: center; border-top: 1px solid var(--border); overflow: hidden; }
.final-scene::before {
    content: ""; position: absolute; left: 50%; top: 50%; width: 700px; height: 700px; z-index: 0;
    transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(210,40,60,.1) 0%, transparent 70%);
}
.final-scene > * { position: relative; z-index: 1; }
.final-scene h2 { margin: 0 auto 36px; max-width: 780px; font-size: clamp(34px, 5.4vw, 68px); }
.final-scene .eyebrow { justify-content: center; }
#products { padding-bottom: 0; }
.foot-brand .brand { text-decoration: none; }
.btn {
    display: inline-flex; align-items: center; gap: 9px; position: relative; background: var(--red); color: #fff; padding: 14px 22px; border-radius: 6px;
    font-size: 14px; font-weight: 600; text-decoration: none; transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { background: var(--red-bright); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(255,66,88,.25); }
.btn:hover .btn-icon { transform: rotate(-8deg) scale(1.1); }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; color: rgba(236,234,236,.7); font-size: 14px; text-decoration: none; margin-left: 20px; transition: color .15s, transform .15s; }
.btn-ghost:hover { color: var(--white); transform: translateX(3px); }
.btn-ghost:hover .btn-icon { transform: scale(1.15); color: #5865f2; }
.btn-icon { width: 17px; height: 17px; flex-shrink: 0; transition: transform .3s var(--ease), color .3s var(--ease); }

.cookie-banner {
    position: fixed; left: 20px; bottom: 20px; z-index: 30; max-width: 360px;
    background: rgba(8,7,8,.97); backdrop-filter: blur(16px); border: 1px solid var(--border); border-radius: 6px;
    padding: 22px; box-shadow: 0 20px 50px rgba(0,0,0,.55);
    opacity: 0; transform: translateY(20px) scale(.98); pointer-events: none; transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.cookie-banner.visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.cookie-banner .eyebrow { font-size: 10px; margin-bottom: 12px; }
.cookie-banner p { font-size: 13px; line-height: 1.6; color: var(--grey); margin: 0 0 18px; }
.cookie-banner a { color: var(--red-bright); text-decoration: none; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions button { font-family: inherit; font-size: 13px; font-weight: 600; padding: 10px 16px; border-radius: 4px; cursor: pointer; flex: 1; transition: transform .2s var(--ease), border-color .2s, background .2s, box-shadow .2s; }
.cookie-reject { background: none; border: 1px solid var(--border); color: var(--white); }
.cookie-reject:hover { border-color: rgba(236,234,236,.4); transform: translateY(-1px); }
.cookie-accept { background: var(--red); border: 1px solid var(--red); color: #fff; }
.cookie-accept:hover { background: var(--red-bright); border-color: var(--red-bright); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255,66,88,.25); }
@media (max-width: 480px) {
    .cookie-banner { left: 12px; right: 12px; max-width: none; }
}

footer { border-top: 1px solid var(--border); padding: 80px 56px 40px; position: relative; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; max-width: 1180px; margin: 0 auto; }
.foot-brand .brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.foot-brand .brand img { width: 24px; height: 24px; filter: drop-shadow(0 0 10px rgba(255,66,88,.3)); }
.foot-brand p { font-size: 13px; line-height: 1.65; color: var(--grey); max-width: 280px; margin: 0 0 20px; }
.foot-col h5 {
    font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
    color: rgba(236,234,236,.4); font-weight: 500; margin: 0 0 16px;
}
.foot-col { display: flex; flex-direction: column; }
.foot-col a { color: rgba(236,234,236,.65); text-decoration: none; font-size: 13.5px; margin-bottom: 12px; transition: color .15s; }
.foot-col a:hover { color: var(--white); }
.foot-social { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.foot-social a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 4px; border: 1px solid var(--border); color: rgba(236,234,236,.65); margin: 0; transition: color .2s, border-color .2s, transform .2s var(--ease); }
.foot-social a:hover { color: var(--red-bright); border-color: rgba(255,66,88,.4); transform: translateY(-2px); }
.foot-social svg { width: 16px; height: 16px; }
.foot-bottom { max-width: 1180px; margin: 56px auto 0; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.foot-note { font-size: 12px; color: rgba(236,234,236,.4); }
.foot-top-link { position: absolute; right: 56px; top: -22px; width: 44px; height: 44px; border-radius: 50%; background: var(--bg-raised); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--white); text-decoration: none; font-size: 16px; transition: border-color .2s, transform .2s; }
.foot-top-link:hover { border-color: rgba(255,66,88,.5); transform: translateY(-2px); }

/* Nav: simple mode for auth/legal/error pages -- one real destination link
   shown directly in the bar instead of hidden behind the hamburger popover,
   since hiding the only way back home behind an extra click read as broken. */
nav.nav-simple .links {
    position: static; display: flex; flex-direction: row; align-items: center;
    width: auto; max-width: none; background: none; border: none; padding: 0;
    opacity: 1; pointer-events: auto; transform: none; gap: 6px;
}
nav.nav-simple .links a { width: auto; padding: 9px 18px; }
nav.nav-simple .menu-btn { display: none; }

/* Auth pages */
.auth-wrap {
    min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; position: relative;
    background:
        linear-gradient(180deg, #0d0d0d 0%, #000 60%);
}
.auth-card {
    width: 100%; max-width: 400px; background: var(--bg-raised); border: 1px solid var(--border); border-radius: 14px;
    padding: 44px 40px; position: relative; z-index: 5; box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.auth-card .logo { width: 40px; margin-bottom: 26px; filter: drop-shadow(0 0 16px rgba(255,66,88,.25)); }
.auth-card h1 { font-size: 26px; font-weight: 600; margin: 0 0 6px; letter-spacing: -.01em; }
.auth-card .sub { font-size: 14px; color: var(--grey); margin: 0 0 30px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; color: var(--grey); margin-bottom: 8px; }
.field input {
    width: 100%; background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 8px;
    padding: 13px 15px; color: var(--white); font-size: 14px; font-family: inherit;
    transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input:focus { outline: none; border-color: rgba(255,66,88,.5); background: rgba(255,255,255,.045); box-shadow: 0 0 0 3px rgba(255,66,88,.12); }
.field-hint { font-size: 12px; color: var(--grey); margin: 6px 0 0; }
.is-hidden { display: none; }
.form-error { display: none; background: rgba(210,40,60,.12); border: 1px solid rgba(210,40,60,.35); color: #ff8c96; font-size: 13px; padding: 10px 14px; border-radius: 6px; margin-bottom: 18px; }
.form-error.visible { display: block; }
.form-success { background: rgba(126,224,168,.12); border: 1px solid rgba(126,224,168,.35); color: #7ee0a8; font-size: 13px; padding: 10px 14px; border-radius: 6px; margin-bottom: 18px; }
.submit-btn {
    width: 100%; background: var(--red); color: #fff; border: none; border-radius: 8px; padding: 14px;
    font-size: 14px; font-weight: 600; cursor: pointer; margin-top: 4px;
    transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.submit-btn:hover:not(:disabled) { background: var(--red-bright); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(255,66,88,.25); }
.submit-btn:disabled { opacity: .5; cursor: not-allowed; }
.switch-mode { text-align: center; font-size: 13px; color: var(--grey); margin: 18px 0 0; }
.switch-mode a { color: var(--red-bright); text-decoration: none; cursor: pointer; margin-left: 4px; }
.cf-turnstile { margin: 18px 0; display: flex; justify-content: center; }

/* Dashboard */
.dash-hero { padding: 150px 56px 44px; }
.dash-hero h1 { font-size: clamp(28px, 4vw, 36px); font-weight: 600; margin: 0 0 8px; letter-spacing: -.01em; }
.dash-hero .tagline { color: var(--grey); font-size: 14px; margin: 0; }
.dash-tabs { display: flex; gap: 8px; padding: 0 56px; margin-bottom: 32px; }
.dash-tab {
    background: rgba(255,255,255,.02); border: 1px solid var(--border); color: var(--grey);
    padding: 10px 20px; border-radius: 7px; font-size: 13px; font-weight: 500; cursor: pointer;
    font-family: inherit; transition: color .15s, border-color .15s, background .15s;
}
.dash-tab:hover { color: var(--white); }
.dash-tab.active { color: var(--white); border-color: rgba(255,66,88,.4); background: rgba(255,66,88,.1); }
.dash-panel { display: none; padding: 0 56px 80px; max-width: 900px; }
.dash-panel.active { display: block; }
.glass-card {
    background: var(--bg-raised); border: 1px solid var(--border); border-radius: 12px; padding: 26px;
    margin-bottom: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.3);
}
.dim { color: var(--grey); font-size: 14px; }
.purchase-card { padding: 20px 24px; }
.purchase-row { display: flex; justify-content: space-between; align-items: flex-start; }
.purchase-time { font-size: 13px; color: var(--grey); }
.purchase-time-expired { color: #ff8c96; }
.purchase-time-pending { color: #e8b95a; }
.key-box { margin-top: 14px; background: rgba(0,0,0,.3); border: 1px solid var(--border); border-radius: 6px; padding: 10px 14px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-family: monospace; font-size: 13px; }
.key-copy { font-size: 11px; color: var(--grey); font-family: "Inter", sans-serif; }
.hwid-row { margin-top: 14px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.hwid-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; }
.hwid-dot-locked { background: var(--red-bright); }
.hwid-dot-open { background: var(--grey); }
.btn-hwid-reset { background: none; border: 1px solid var(--border); color: var(--white); padding: 6px 14px; border-radius: 4px; font-size: 12px; cursor: pointer; font-family: inherit; }
.btn-hwid-reset:disabled { opacity: .4; cursor: not-allowed; }
.dashboard-logo { width: 26px; height: 26px; border-radius: 5px; }

/* Store */
.store-head { padding-bottom: 40px; text-align: center; }
.store-head .eyebrow { justify-content: center; }
.store-notice { text-align: left; }
.store-notice { margin-top: 20px; padding: 14px 18px; background: rgba(255,66,88,.08); border: 1px solid rgba(255,66,88,.3); border-radius: 6px; font-size: 13.5px; color: rgba(236,234,236,.8); }
.store-notice a { color: var(--red-bright); }
.freemium-panel { max-width: 480px; margin: 0 auto; padding: 0 20px 120px; text-align: center; }
.freemium-note { font-size: 13px; margin-top: 16px; }
.freemium-panel .key-box { text-align: left; }
.store-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; max-width: 1180px; margin: 0 auto; padding: 0 56px 120px; align-items: start; }
.store-catalog { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); }
.store-card { background: var(--bg); padding: 28px; }
.store-card-media {
    aspect-ratio: 16/9; border-radius: 6px; margin-bottom: 18px;
    background: radial-gradient(ellipse 70% 70% at 30% 20%, rgba(255,255,255,.08) 0%, transparent 60%), linear-gradient(160deg, #1a1a1a 0%, #050505 100%);
}
.store-card h3 { font-size: 18px; font-weight: 500; margin: 0 0 14px; }
.store-plans { display: flex; flex-direction: column; gap: 8px; }
.store-plan-btn {
    display: flex; justify-content: space-between; align-items: center; width: 100%;
    background: rgba(255,255,255,.02); border: 1px solid var(--border); border-radius: 4px;
    padding: 10px 14px; color: var(--white); font-family: inherit; font-size: 13.5px; cursor: pointer;
    transition: border-color .15s, background .15s;
}
.store-plan-btn:hover { border-color: rgba(255,66,88,.4); background: rgba(255,66,88,.06); }

.store-cart { position: sticky; top: 100px; background: var(--bg-raised); border: 1px solid var(--border); border-radius: 8px; padding: 24px; }
.store-cart h3 { font-size: 15px; font-weight: 500; margin: 0 0 16px; }
.cart-items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; max-height: 320px; overflow-y: auto; }
.cart-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; }
.cart-item-name { font-weight: 500; }
.cart-item-price { color: var(--grey); font-size: 12px; }
.cart-item-qty { display: flex; align-items: center; gap: 6px; }
.cart-item-qty button { width: 24px; height: 24px; background: none; border: 1px solid var(--border); border-radius: 4px; color: var(--white); cursor: pointer; font-family: inherit; }
.coupon-row { display: flex; gap: 8px; margin-bottom: 8px; }
.coupon-row input { flex: 1; background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 4px; padding: 9px 10px; color: var(--white); font-size: 13px; font-family: inherit; }
.coupon-row .btn-ghost, .crypto-row .btn-ghost {
    margin-left: 0; padding: 9px 16px; border: 1px solid var(--border); border-radius: 4px;
    background: rgba(255,255,255,.03); white-space: nowrap; justify-content: center;
}
.coupon-row .btn-ghost:hover, .crypto-row .btn-ghost:hover { border-color: rgba(236,234,236,.35); background: rgba(255,255,255,.07); transform: none; }
.coupon-msg { font-size: 12px; color: #ff8c96; margin: 0 0 12px; }
.coupon-msg-ok { color: #7ee0a8; }
.cart-total { display: flex; justify-content: space-between; align-items: center; font-size: 16px; font-weight: 600; padding: 14px 0; border-top: 1px solid var(--border); margin-bottom: 14px; }
.cart-pay { width: 100%; justify-content: center; margin-bottom: 10px; }
.crypto-row { display: flex; gap: 8px; }
.crypto-row select { background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 4px; padding: 9px 10px; color: var(--white); font-size: 13px; font-family: inherit; }
.crypto-row .cart-pay { flex: 1; margin-bottom: 0; }

.checkout-overlay { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.7); display: flex; align-items: center; justify-content: center; padding: 20px; }
.checkout-overlay.is-hidden { display: none; }
.checkout-modal { position: relative; width: 100%; max-width: 420px; background: var(--bg-raised); border: 1px solid var(--border); border-radius: 10px; padding: 32px; }
.checkout-modal h3 { margin: 0 0 18px; font-size: 18px; font-weight: 500; }
.checkout-close { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; background: none; border: 1px solid var(--border); border-radius: 4px; color: var(--white); font-size: 18px; cursor: pointer; }
.crypto-qr { width: 200px; height: 200px; display: block; margin: 0 auto 18px; border-radius: 6px; }
.crypto-address { font-family: monospace; font-size: 12px; word-break: break-all; text-align: center; margin: 0 0 6px; }
.crypto-amount { text-align: center; font-weight: 600; margin: 0 0 14px; }

@media (max-width: 860px) {
    .store-layout { grid-template-columns: 1fr; padding: 0 20px 80px; }
    .store-catalog { grid-template-columns: 1fr; }
    .store-cart { position: static; }
}

/* Docs */
.docs-layout { display: grid; grid-template-columns: 220px 1fr; gap: 56px; max-width: 1180px; margin: 0 auto; padding: 160px 56px 100px; }
.docs-nav { position: sticky; top: 120px; display: flex; flex-direction: column; align-self: start; height: fit-content; }
.docs-nav-label { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(236,234,236,.4); margin-bottom: 14px; }
.docs-nav a { color: rgba(236,234,236,.65); text-decoration: none; font-size: 13.5px; padding: 7px 0; transition: color .15s; }
.docs-nav a:hover { color: var(--white); }
.docs-content { padding: 0; max-width: 720px; margin: 0 auto; }
.docs-media {
    aspect-ratio: 16/8; border-radius: 8px; margin: 20px 0 32px;
    background: radial-gradient(ellipse 70% 70% at 30% 20%, rgba(255,255,255,.08) 0%, transparent 60%), linear-gradient(160deg, #1a1a1a 0%, #050505 100%);
}
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0 36px; }
.video-card { text-decoration: none; color: var(--white); }
.video-thumb {
    aspect-ratio: 16/9; border-radius: 6px; margin-bottom: 10px; display: flex; align-items: center; justify-content: center;
    background: radial-gradient(ellipse 70% 70% at 30% 20%, rgba(255,255,255,.08) 0%, transparent 60%), linear-gradient(160deg, #1a1a1a 0%, #050505 100%);
    border: 1px solid var(--border); transition: border-color .2s;
}
.video-card:hover .video-thumb { border-color: rgba(255,66,88,.4); }
.video-play { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,66,88,.85); display: flex; align-items: center; justify-content: center; font-size: 14px; color: #fff; padding-left: 3px; }
.video-title { font-size: 13px; color: rgba(236,234,236,.75); }

@media (max-width: 860px) {
    .docs-layout { grid-template-columns: 1fr; padding: 120px 20px 72px; gap: 32px; }
    .docs-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 4px 16px; }
    .video-grid { grid-template-columns: 1fr; }
}

/* 404 */
.notfound-hero { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; }
.notfound-hero h1 { font-size: clamp(80px, 14vw, 160px); font-weight: 200; margin: 0; color: var(--red-bright); }
.notfound-hero .tagline { color: var(--grey); font-size: 16px; margin: 10px 0 32px; }


/* Legal / support pages */
.prose { padding: 160px 56px 100px; max-width: 760px; margin: 0 auto; }
.prose .eyebrow { justify-content: flex-start; }
.prose h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 300; margin: 0 0 8px; }
.prose .updated { font-size: 13px; color: var(--grey); margin: 0 0 48px; }
.prose h2 { font-size: 19px; font-weight: 500; margin: 40px 0 14px; max-width: none; }
.prose p, .prose li { font-size: 15px; line-height: 1.75; color: var(--grey); }
.prose ul { padding-left: 20px; }
.prose a { color: var(--red-bright); }
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 40px; }
.support-card { background: var(--bg); padding: 28px; }
.support-card h3 { font-size: 16px; font-weight: 500; margin: 0 0 8px; }
.support-card p { margin: 0 0 14px; }
.support-card a { color: var(--white); font-size: 13px; text-decoration: none; }
.support-card a:hover { color: var(--red-bright); }

@media (max-width: 860px) {
    .prose { padding: 120px 20px 72px; }
    .support-grid { grid-template-columns: 1fr; }
    nav .links { min-width: 180px; }
    .hero { padding: 110px 20px 56px; min-height: 100svh; }
    .hero-corner { display: none; }
    .hero-cta { flex-direction: column; align-items: stretch; gap: 14px; width: 100%; }
    .hero-cta .btn, .hero-cta .btn-ghost { width: 100%; text-align: center; }
    section.scene { padding: 64px 20px; }
    .eyebrow { font-size: 10px; }
    .story-bar { flex-direction: column; align-items: flex-start; gap: 14px; padding: 24px 20px; margin-bottom: 8vh; }
    .story-right { text-align: left; }
    .spotlight { grid-template-columns: 1fr; gap: 36px; }
    .spotlight-stats { gap: 16px; }
    .final-scene { padding: 96px 20px; }
    .final-scene .btn-ghost { display: block; margin: 18px 0 0; }
    footer { padding: 40px 20px; }
    .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .dash-hero, .dash-tabs, .dash-panel { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: clamp(30px, 9vw, 40px); }
    .hero-sub { font-size: 15px; }
    .spotlight-stats { grid-template-columns: 1fr 1fr; }
    .story-right h3 { font-size: 22px; }
    .notfound-hero h1 { font-size: 76px; }
    .dash-tabs { flex-wrap: wrap; }
}
