* { box-sizing: border-box; }

:root {
  color-scheme: dark;
  --bg: #0b0d11;
  --surface: #14171d;
  --surface-2: #1b1f27;
  --line: #262b35;
  --text: #e7ebf3;
  --dim: #98a0ae;
  --accent: #4c9be6;
  --accent-2: #7b6fe0;
  --accent-tint: rgba(76, 155, 230, .14);
  --danger: #e6604c;
  --ok: #4cc28a;
  --radius-m: 10px;
  --radius-l: 16px;
}

html, body { margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------- atmosphere ---------- */
.bg-glow {
  position: fixed; inset: -15%; z-index: 0; pointer-events: none;
  transform: translate3d(calc(var(--mx, 0) * 1px), calc(var(--my, 0) * 1px), 0);
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
.bg-glow::before, .bg-glow::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(80px); will-change: transform;
}
.bg-glow::before {
  width: 56vw; height: 56vw; top: -16vw; right: -8vw;
  background: radial-gradient(circle, rgba(76, 155, 230, .42), transparent 64%);
  opacity: .65; animation: drift1 22s ease-in-out infinite alternate;
}
.bg-glow::after {
  width: 46vw; height: 46vw; bottom: -18vw; left: -10vw;
  background: radial-gradient(circle, rgba(123, 111, 224, .36), transparent 64%);
  opacity: .55; animation: drift2 28s ease-in-out infinite alternate;
}
@keyframes drift1 { from { transform: translate(-4%, -2%) scale(1); } to { transform: translate(6%, 5%) scale(1.14); } }
@keyframes drift2 { from { transform: translate(3%, 0) scale(1.05); } to { transform: translate(-6%, -6%) scale(.9); } }

.bg-grain {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 120% 90% at 60% 0%, transparent 50%, rgba(0, 0, 0, .5) 100%);
  mix-blend-mode: multiply;
}

header, main, footer { position: relative; z-index: 1; }

/* ---------- header ---------- */
.site-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 72px);
}
.brand { display: flex; align-items: center; gap: 9px; }
.brand-mark { width: 23px; height: 23px; fill: var(--accent); filter: drop-shadow(0 0 12px rgba(76, 155, 230, .6)); }
.brand-name { font-weight: 700; font-size: 17px; letter-spacing: .01em; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  color: var(--ok); background: rgba(76, 194, 138, .14);
  border: 1px solid rgba(76, 194, 138, .3);
  border-radius: 999px; padding: 6px 13px;
  backdrop-filter: blur(8px);
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 0 0 rgba(76, 194, 138, .55); animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(76, 194, 138, .5); }
  70% { box-shadow: 0 0 0 7px rgba(76, 194, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(76, 194, 138, 0); }
}

/* ---------- hero layout ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: center; gap: clamp(24px, 4vw, 64px);
  max-width: 1320px; margin: 0 auto;
  padding: clamp(20px, 4vh, 56px) clamp(20px, 5vw, 72px) clamp(48px, 7vh, 96px);
}

.hero-copy { max-width: 540px; }
.hero-kicker {
  text-transform: uppercase; letter-spacing: .22em; font-size: 12px; font-weight: 700;
  color: var(--accent); margin: 0 0 16px;
}
.hero h1 {
  font-size: clamp(34px, 4.4vw, 58px); line-height: 1.04; margin: 0 0 18px;
  letter-spacing: -.02em; font-weight: 800;
  background: linear-gradient(180deg, #ffffff 0%, #c2cbdb 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 .grad {
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 36px rgba(76, 155, 230, .35);
}
.hero-sub {
  color: var(--dim); font-size: clamp(15px, 1.4vw, 18px); margin: 0 0 26px;
  max-width: 460px;
}

/* feature list */
.feat-list { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 16px; }
.feat-list li { display: flex; gap: 13px; align-items: flex-start; }
.feat-ico {
  flex: none; width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 10px; color: var(--accent);
  background: var(--accent-tint); border: 1px solid rgba(76, 155, 230, .28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.feat-ico svg { width: 19px; height: 19px; fill: currentColor; }
.feat-ico svg[fill="none"] { fill: none; }
.feat-list b { display: block; color: #fff; font-size: 15px; font-weight: 650; margin-bottom: 1px; }
.feat-list li > span:last-child { font-size: 13.5px; color: var(--dim); line-height: 1.45; }

/* ---------- stage / device deck ---------- */
.hero-stage {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
}
.deck-area {
  position: relative; width: 100%;
  min-height: clamp(360px, 42vw, 560px);
  perspective: 2200px;
}
.stage-glow {
  position: absolute; inset: 6% -6% 6% 6%; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 58% 50%, rgba(76, 155, 230, .34), transparent 70%);
  filter: blur(36px);
}
.deck {
  position: absolute; inset: 0; z-index: 1;
  transform-style: preserve-3d;
  transform: rotateY(-22deg) rotateX(7deg) rotateZ(1.5deg);
}

.win {
  position: absolute; margin: 0;
  border-radius: 12px; overflow: hidden;
  background: linear-gradient(180deg, rgba(27, 31, 39, .98), rgba(15, 18, 24, .98));
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .85);
  will-change: transform;
  transition: transform .8s cubic-bezier(.4, .1, .2, 1), filter .8s ease,
              width .8s cubic-bezier(.4, .1, .2, 1), top .8s cubic-bezier(.4, .1, .2, 1),
              left .8s cubic-bezier(.4, .1, .2, 1), box-shadow .8s ease, border-color .8s ease;
}
.win-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 12px; background: rgba(11, 13, 17, .9);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.win-bar i { width: 8px; height: 8px; border-radius: 50%; background: #3a4150; }
.win-bar i:nth-child(1) { background: #e6604c; }
.win-bar i:nth-child(2) { background: #e0b24c; }
.win-bar i:nth-child(3) { background: #4cc28a; }
.win-url { margin-left: 8px; font-size: 11px; color: #5f6775; letter-spacing: .01em; }
.win img { display: block; width: 100%; height: auto; }

/* ---------- carousel positions (windows rotate through these) ---------- */
.is-back {
  width: 62%; top: 0; left: -2%; z-index: 1;
  transform: translateZ(-10px);
  filter: brightness(.72) saturate(.85);
}
.is-mid {
  width: 68%; top: 20%; left: 13%; z-index: 2;
  transform: translateZ(60px);
  filter: brightness(.9);
}
.is-front {
  width: 78%; top: 41%; left: 24%; z-index: 3;
  transform: translateZ(140px);
  filter: none;
  box-shadow: 0 50px 100px -28px rgba(0, 0, 0, .9), 0 0 70px -22px rgba(76, 155, 230, .55);
  border-color: rgba(255, 255, 255, .14);
}

/* ---------- info box callout ---------- */
.callouts { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.pill-slot { position: absolute; }
.infobox {
  position: relative; z-index: 2; pointer-events: auto;
  display: inline-grid;
  width: 230px;
  background: rgba(9, 11, 15, .95); backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .24); border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 20px 50px -16px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .08),
              0 0 0 1px rgba(76, 155, 230, .18), 0 0 46px -8px rgba(76, 155, 230, .5);
}
.pill-ico { flex: none; width: 15px; height: 15px; color: var(--accent); fill: var(--accent); }
/* all 3 facts share the same grid cell — box auto-sizes to the tallest one and
   never changes size; opacity crossfade swaps the text with no empty gap */
.infobox-fact {
  grid-area: 1 / 1; display: flex; flex-direction: column; gap: 6px;
  opacity: 0; pointer-events: none; transition: opacity .4s ease;
}
.infobox-fact.is-on { opacity: 1; pointer-events: auto; }
.infobox-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .01em; color: var(--text);
}
.infobox-desc { font-size: 12.5px; line-height: 1.45; color: var(--dim); }

.pill-slot--a { left: 7%; bottom: 9%; top: auto; }

/* ---------- carousel dots ---------- */
.deck-dots {
  position: relative; z-index: 6; margin-top: 16px;
  display: flex; gap: 9px; pointer-events: auto;
}
.dot {
  width: 24px; height: 24px; padding: 0; border: none; cursor: pointer;
  background: none; display: flex; align-items: center; justify-content: center;
}
.dot::before {
  content: ""; width: 8px; height: 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .22);
  transition: background .25s ease, width .25s ease, box-shadow .25s ease;
}
.dot:hover::before { background: rgba(255, 255, 255, .42); }
.dot.is-on::before { width: 22px; background: var(--accent); box-shadow: 0 0 10px rgba(76, 155, 230, .7); }

/* ---------- waitlist ---------- */
.waitlist { display: flex; gap: 10px; flex-wrap: wrap; }
.waitlist input {
  flex: 1 1 240px; max-width: 320px;
  background: rgba(20, 23, 29, .8); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: 13px 16px; font: inherit; font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
  backdrop-filter: blur(8px);
}
.waitlist input::placeholder { color: #5f6775; }
.waitlist input:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}
.waitlist button {
  background: linear-gradient(180deg, #5aa7ee, #3f86d4); color: #061018; border: none;
  border-radius: var(--radius-m); padding: 13px 24px;
  font: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
  box-shadow: 0 6px 20px -6px rgba(76, 155, 230, .55);
  transition: transform .15s ease, box-shadow .2s ease, filter .15s ease;
}
.waitlist button:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 10px 26px -6px rgba(76, 155, 230, .7); }
.waitlist button:active { transform: translateY(0); }
.waitlist button:disabled { opacity: .6; cursor: default; transform: none; box-shadow: none; }

.form-note { color: #6b7382; font-size: 13px; margin: 16px 0 0; }
.form-msg { min-height: 20px; margin: 10px 0 0; font-size: 14px; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--danger); }
.form-msg a { color: inherit; text-decoration: underline; }

/* honeypot (anti-spam bot trap) */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- footer ---------- */
.site-foot {
  text-align: center; color: #5f6775; font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, .05);
  padding: 26px clamp(20px, 5vw, 64px) 40px;
}

/* ---------- scroll reveal ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(20px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1);
}
[data-reveal].in { opacity: 1; transform: none; }
.hero-stage[data-reveal] { transform: translateY(28px); }
.hero-stage[data-reveal].in { transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .hero { grid-template-columns: 1fr; gap: 8px; }
  .hero-copy { max-width: 620px; margin: 0 auto; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .feat-list { max-width: 420px; margin-left: auto; margin-right: auto; text-align: left; }
  .waitlist { justify-content: center; }
  .hero-stage { margin-top: 10px; order: 2; }
  .deck-area { min-height: clamp(320px, 70vw, 520px); }
  .deck { transform: rotateY(-16deg) rotateX(6deg) rotateZ(1deg) scale(.96); }
}

@media (max-width: 640px) {
  .hero { padding-bottom: 40px; }
  .deck-area { min-height: auto; perspective: none; }
  .deck { transform: none; position: relative; }
  .is-back  { display: none; }
  .is-mid   { display: none; }
  .is-front { position: relative; width: 100%; left: 0; top: 0; transform: none; filter: none; }
  .callouts { position: static; }
  .pill-slot--a { position: static; }
  .infobox { width: 100%; margin-top: 16px; padding: 11px 14px; }
  .waitlist { flex-direction: column; align-items: stretch; }
  .waitlist input, .waitlist button { flex: none; max-width: none; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bg-glow, .bg-glow::before, .bg-glow::after, .badge-dot { animation: none; }
  .bg-glow { transition: none; }
  .win, .pill-slot { animation: none !important; }
  .win { transition: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- SEO content section ---------- */
.about {
  max-width: 1320px; margin: 0 auto;
  padding: clamp(24px, 5vh, 64px) clamp(20px, 5vw, 72px);
}
.about h2 {
  font-size: clamp(22px, 2.4vw, 30px); margin: 0 0 28px; text-align: center;
}
.about-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.about-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 24px;
}
.about-card h3 { font-size: 17px; margin: 0 0 8px; color: var(--accent); }
.about-card p { margin: 0; color: var(--dim); font-size: 14.5px; line-height: 1.6; }

.faq { max-width: 880px; margin: 0 auto; padding: clamp(24px, 5vh, 64px) clamp(20px, 5vw, 72px); }
.faq h2 { font-size: clamp(22px, 2.4vw, 30px); margin: 0 0 28px; text-align: center; }
.faq-item {
  border: 1px solid var(--line); border-radius: var(--radius-m);
  background: var(--surface); padding: 18px 22px; margin-bottom: 12px;
}
.faq-item h3 { font-size: 15.5px; margin: 0 0 8px; }
.faq-item p { margin: 0; color: var(--dim); font-size: 14.5px; line-height: 1.6; }

@media (max-width: 1040px) {
  .about-grid { grid-template-columns: 1fr; }
}
