:root {
  --bg: #060510;
  --bg-1: #0c0b16;
  --bg-2: #12111a;
  --line: rgba(203, 208, 235, 0.12);
  --line-soft: rgba(203, 208, 235, 0.06);
  --text: #f7f7f7;
  --text-dim: #9899a3;
  --text-faint: #474b52;
  --blue: #516af6;
  --blue-dim: #221d4b;
  --blue-glow: rgba(81, 106, 246, 0.35);
  --activate: #516af6;
  --activate-dim: #3d52c7;
  --activate-glow: rgba(81, 106, 246, 0.55);
  --header-bg: rgba(6, 5, 16, 0.72);
  --sans: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); line-height: 1.5; overflow-x: hidden; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.space-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: url("/public/images/space-bg.webp?v=20261006") center top / cover no-repeat var(--bg); }
.space-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(6, 5, 16, .15) 0%, rgba(6, 5, 16, .55) 45%, rgba(6, 5, 16, .92) 75%, var(--bg) 100%); }
.wrap { width: min(1120px, 92%); margin: 0 auto; position: relative; z-index: 1; }

header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(16px); background: var(--header-bg); border-bottom: 1px solid transparent; transition: border-color .25s, background .25s; }
header.scrolled { border-bottom-color: var(--line); background: rgba(6, 5, 16, .88); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.logo-mark { width: 28px; height: 28px; border-radius: 8px; overflow: hidden; background: var(--blue-dim); display: grid; place-items: center; }
.logo-mark img { width: 100%; height: 100%; object-fit: cover; }
.logo-word { font-weight: 800; letter-spacing: -.03em; font-size: 20px; }
.logo-word span { color: var(--blue); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 14px; color: var(--text-dim); font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 10px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 600; border-radius: 999px; padding: 10px 18px; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text-dim); }
.btn-ghost:hover { border-color: var(--text-faint); color: var(--text); }
.btn-primary, .btn-glow { background: var(--activate); color: #fff; box-shadow: 0 0 0 1px rgba(81, 106, 246, .3), 0 8px 24px -8px var(--activate-glow); }
.btn-primary:hover, .btn-glow:hover { background: var(--activate-dim); box-shadow: 0 0 0 1px rgba(81, 106, 246, .45), 0 12px 32px -8px var(--activate-glow); }
.btn-dark { background: rgba(255, 255, 255, .08); border-color: var(--line); color: var(--text); }
.btn-dark:hover { background: rgba(255, 255, 255, .12); }
.btn-activate { cursor: grab; user-select: none; }
.btn-activate:active { cursor: grabbing; }

.hero { position: relative; z-index: 1; overflow: hidden; padding: 100px 0 60px; text-align: center; min-height: 78vh; display: flex; align-items: center; }
.astronaut { position: absolute; right: 1%; top: 430px; width: min(300px, 24vw); z-index: 0; pointer-events: none; opacity: .58; filter: drop-shadow(0 20px 60px rgba(0, 0, 0, .6)); }
.hero-inner { width: 100%; }
.hero-brand { font-size: clamp(64px, 12vw, 120px); font-weight: 800; letter-spacing: -.04em; line-height: .95; margin-bottom: 18px; color: #c8cbe0; text-shadow: 0 0 80px rgba(81, 106, 246, .25); }
.hero-title { font-size: clamp(22px, 3.2vw, 34px); font-weight: 600; letter-spacing: -.02em; margin-bottom: 12px; color: var(--text); }
.hero-sub { color: var(--text-dim); font-size: clamp(15px, 1.6vw, 18px); max-width: 520px; margin: 0 auto 28px; line-height: 1.55; }
.hero-cta { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.drag-hint { font-size: 13px; color: var(--text-faint); margin-bottom: 18px; }
.tutorial-box { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); font-size: 13px; color: var(--text-dim); }
.tutorial-box:hover { color: var(--text); border-color: var(--text-faint); }
.play-icon { color: var(--blue); }

.hero-panel { width: min(760px, 94vw); margin: 48px auto 0; border-radius: 18px; overflow: hidden; border: 1px solid rgba(203, 208, 235, .18); background: rgba(12, 11, 22, .85); backdrop-filter: blur(12px); box-shadow: rgba(0, 0, 0, .7) 0 30px 80px -20px, 0 0 0 1px rgba(81, 106, 246, .08); }
.hero-panel-inner { padding: 20px 20px 24px; }
.panel-toprow { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.panel-dots { display: flex; gap: 6px; }
.panel-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.panel-dots span:first-child { background: #ff5f57; }.panel-dots span:nth-child(2) { background: #febc2e; }.panel-dots span:nth-child(3) { background: #28c840; }
.panel-live { font-size: 11px; letter-spacing: .08em; color: var(--blue); font-weight: 600; }
.install-video { display: block; width: 100%; border-radius: 10px; background: #000; aspect-ratio: 16 / 9; object-fit: cover; }
.install-video-placeholder { display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: #060510; border: 1px solid rgba(203, 208, 235, .14); }
.install-video-placeholder img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transform: scale(1.01); transform-origin: center; }
.fomo-walkthrough-video { border: 1px solid rgba(203, 208, 235, .14); box-shadow: 0 18px 38px -28px rgba(0,0,0,.96); filter: brightness(1.04) contrast(1.03) saturate(1.04); }
.video-caption { font-size: 12px; color: var(--text-faint); margin: 10px 0 14px; text-align: left; }
.step-list { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.step-item { display: flex; gap: 12px; align-items: flex-start; }
.step-item p { font-size: 14px; color: var(--text-dim); line-height: 1.45; }.step-item strong { color: var(--text); }
.step-num { flex: 0 0 24px; height: 24px; border-radius: 50%; background: var(--blue-dim); color: var(--blue); font-size: 12px; font-weight: 700; display: grid; place-items: center; }

.stats { position: relative; z-index: 1; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: rgba(6, 5, 16, .55); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 28px 16px; text-align: center; border-right: 1px solid var(--line-soft); }.stat:last-child { border-right: 0; }
.stat-val { font-size: 28px; font-weight: 800; letter-spacing: -.03em; color: var(--text); }.stat-label { font-size: 12px; color: var(--text-dim); margin-top: 4px; text-transform: uppercase; letter-spacing: .06em; }

.section { position: relative; z-index: 1; padding: 96px 0; }
.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }.eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.section-title { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 14px; }.section-sub { color: var(--text-dim); font-size: 16px; line-height: 1.6; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }.feature-card { position: relative; padding: 24px; border-radius: 16px; background: rgba(18, 17, 26, .75); border: 1px solid var(--line); overflow: hidden; --mx: 50%; --my: 50%; }.feature-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px circle at var(--mx) var(--my), rgba(81, 106, 246, .12), transparent 55%); opacity: 0; transition: opacity .25s; }.feature-card:hover::before { opacity: 1; }.feature-card > * { position: relative; }.feature-icon { width: 40px; height: 40px; border-radius: 10px; margin-bottom: 16px; background: var(--blue-dim); display: grid; place-items: center; color: var(--blue); font-size: 18px; position: relative; }.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; position: relative; }.feature-card p { font-size: 14px; color: var(--text-dim); line-height: 1.55; position: relative; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; justify-content: center; }.pill { padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); color: var(--text-dim); }

.visual-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; align-items: start; }.visual-card { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: rgba(12, 11, 22, .8); }.visual-card img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }.visual-card-copy { display: flex; flex-direction: column; }.visual-card-copy img { min-height: 180px; object-fit: cover; }.visual-copy { padding: 28px; }.visual-copy h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }.visual-copy p { color: var(--text-dim); font-size: 15px; line-height: 1.55; }
.visual-grid > .visual-card:first-child { aspect-ratio: 16 / 10; }
.visual-grid > .visual-card:first-child img { min-height: 0; object-position: center 18%; transform: scale(1.01); transform-origin: center; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }.split img { width: 100%; border-radius: 18px; border: 1px solid var(--line); }.split-second { margin-top: 40px; }.left-title { text-align: left; }.left-sub { text-align: left; margin: 0; }

.activation-panel { max-width: 560px; margin: 0 auto; border-radius: 16px; border: 1px solid var(--line); background: rgba(18, 17, 26, .75); overflow: hidden; }.activation-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line-soft); }.activation-row:last-child { border-bottom: 0; }.activation-row h4 { font-size: 15px; font-weight: 650; margin: 0; }.status-active { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #21c95e; letter-spacing: .02em; }.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #21c95e; box-shadow: 0 0 0 3px rgba(33, 201, 94, .2); }
.cta-banner { position: relative; z-index: 1; margin: 20px 0 40px; }.cta-inner { border-radius: 20px; padding: 48px 32px; text-align: center; background: linear-gradient(135deg, rgba(81, 106, 246, .18), rgba(6, 5, 16, .9)); border: 1px solid rgba(81, 106, 246, .25); }.cta-inner h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin-bottom: 10px; }.cta-inner p { color: var(--text-dim); margin-bottom: 22px; }
.cta-inner .drag-hint { margin-top: 12px; margin-bottom: 0; }

footer { position: relative; z-index: 1; padding: 40px 0 34px; }.footer-top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 28px; margin-bottom: 36px; }.footer-brand p { color: var(--text-dim); font-size: 14px; line-height: 1.55; margin-top: 12px; max-width: 280px; }.footer-col h4 { font-size: 12px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; color: var(--text-faint); }.footer-col ul { display: flex; flex-direction: column; gap: 10px; list-style: none; }.footer-col a { font-size: 14px; color: var(--text-dim); }.footer-col a:hover { color: var(--text); }.disclaimer { font-size: 12px; color: var(--text-faint); line-height: 1.5; margin-bottom: 22px; max-width: 820px; }.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--text-faint); }.socials { display: flex; gap: 12px; }.socials a { color: var(--text-dim); }.socials a:hover { color: var(--text); }

.hero-load, .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s, transform .55s; }.hero-load.in-view, .reveal.in-view { opacity: 1; transform: translateY(0); }
@keyframes activate-shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(4px); } }
.activate-preview.shake { animation: activate-shake .45s ease; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }.hero-load, .reveal { opacity: 1; transform: none; transition: none; }.feature-card::before { transition: none; } }

@media (max-width: 900px) { .nav-links { display: none; }.feature-grid { grid-template-columns: 1fr 1fr; }.stats-grid { grid-template-columns: repeat(2, 1fr); }.stat:nth-child(2) { border-right: 0; }.split { grid-template-columns: 1fr; }.visual-grid { grid-template-columns: 1fr; }.footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .astronaut { display: none; } }
@media (max-width: 560px) { .nav-right .btn-ghost { display: none; }.feature-grid { grid-template-columns: 1fr; }.stats-grid { grid-template-columns: 1fr 1fr; }.footer-top { grid-template-columns: 1fr; }.hero { padding: 80px 0 40px; min-height: auto; }.hero-panel { margin-top: 42px; }.cta-inner { padding: 36px 20px; } }

/* Let the navigation arrive as a single, restrained opening beat. */
header { animation: nav-header-open .7s cubic-bezier(.22,1,.36,1) both; transform-origin: top center; }
.nav-wrap > .logo,
.nav-wrap > .nav-links,
.nav-wrap > .nav-right { opacity:0; transform:translateY(-8px); animation:nav-item-open .52s cubic-bezier(.22,1,.36,1) both; }
.nav-wrap > .logo { animation-delay:.12s; }
.nav-wrap > .nav-links { animation-delay:.2s; }
.nav-wrap > .nav-right { animation-delay:.28s; }
@keyframes nav-header-open { from { opacity:0; transform:translateY(-14px); } to { opacity:1; transform:translateY(0); } }
@keyframes nav-item-open { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  header,
  .nav-wrap > .logo,
  .nav-wrap > .nav-links,
  .nav-wrap > .nav-right { opacity:1; transform:none; animation:none; }
}
