/* The landing page. Neon Arcade: dark, with glowing green, magenta and cyan; Orbitron titles, Inter text. */
:root {
  --bg: #07080f;
  --panel: rgba(13, 15, 30, 0.72);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f1f3ff;
  --muted: #a9b0cf;
  --primary: #53fc18;
  --secondary: #ff2fd6;
  --tertiary: #29e6ff;
  --title: 'Orbitron', system-ui, sans-serif;
  font-family: Inter, system-ui, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; }

/* The race behind the page, and a shade so the words stay readable on it. */
#demo { position: fixed; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s; }
body.demo-on #demo { opacity: 1; }
.shade {
  position: fixed; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 8, 15, 0.92) 0%, rgba(7, 8, 15, 0.7) 45%, rgba(7, 8, 15, 0.25) 100%),
    linear-gradient(0deg, rgba(7, 8, 15, 0.9) 0%, rgba(7, 8, 15, 0) 40%);
}

.top, main, .foot { position: relative; }
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 1180px; margin: 0 auto; padding: 22px 28px;
}
.logo { font: 900 22px/1 var(--title); letter-spacing: 0.04em; color: var(--text); text-decoration: none; }
.logo span, h1 span { color: var(--primary); text-shadow: 0 0 18px rgba(83, 252, 24, 0.55); }
.top-cta {
  font: 700 14px/1 var(--title); letter-spacing: 0.05em; color: var(--text); text-decoration: none;
  padding: 12px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel);
}

main { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

.hero { min-height: calc(100vh - 80px); display: flex; flex-direction: column; justify-content: center; max-width: 640px; padding-bottom: 60px; }
.kicker { font: 800 14px/1 var(--title); letter-spacing: 0.14em; text-transform: uppercase; color: var(--tertiary); margin: 0 0 18px; text-shadow: 0 0 12px rgba(41, 230, 255, 0.5); }
h1 { font: 900 clamp(38px, 6vw, 72px)/1.05 var(--title); margin: 0 0 22px; letter-spacing: 0.01em; }
.lead { font-size: 19px; line-height: 1.6; color: var(--muted); margin: 0 0 30px; }
.lead b, .features b { color: var(--primary); }
.actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.cta {
  display: inline-block; font: 800 16px/1 var(--title); letter-spacing: 0.04em; color: #061006; text-decoration: none;
  background: var(--primary); padding: 18px 28px; border-radius: 14px; box-shadow: 0 0 28px rgba(83, 252, 24, 0.45);
}
.cta[aria-disabled='true'], .top-cta[aria-disabled='true'] { pointer-events: none; }
.cta[aria-disabled='true'] { background: rgba(83, 252, 24, 0.18); color: var(--primary); box-shadow: none; border: 1px solid rgba(83, 252, 24, 0.5); }
.ghost {
  display: inline-block; font: 700 16px/1 var(--title); letter-spacing: 0.04em; color: var(--text); text-decoration: none;
  padding: 17px 24px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel);
}
.cta:focus-visible, .ghost:focus-visible, .top-cta:focus-visible, .logo:focus-visible { outline: 3px solid var(--tertiary); outline-offset: 3px; }
.note { margin: 26px 0 0; color: var(--muted); font-size: 14px; }

h2 { font: 900 clamp(26px, 3.4vw, 38px)/1.15 var(--title); margin: 0 0 28px; }
.features, .how { padding: 70px 0; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.grid li {
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 24px 24px 22px;
  backdrop-filter: blur(10px);
}
.grid li:nth-child(3n + 1) { border-top: 2px solid var(--primary); }
.grid li:nth-child(3n + 2) { border-top: 2px solid var(--secondary); }
.grid li:nth-child(3n) { border-top: 2px solid var(--tertiary); }
.grid h3 { font: 800 18px/1.25 var(--title); margin: 0 0 10px; letter-spacing: 0.02em; }
.grid p { margin: 0; color: var(--muted); line-height: 1.6; }

.steps { list-style: none; counter-reset: step; margin: 0 0 34px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.steps li {
  counter-increment: step; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 24px;
  backdrop-filter: blur(10px); display: flex; flex-direction: column; gap: 8px;
}
.steps li::before { content: counter(step); font: 900 30px/1 var(--title); color: var(--secondary); text-shadow: 0 0 16px rgba(255, 47, 214, 0.6); }
.steps b { font: 800 18px/1.25 var(--title); }
.steps span { color: var(--muted); line-height: 1.6; }

.foot { text-align: center; color: var(--muted); font-size: 14px; padding: 30px 28px 40px; }

@media (max-width: 700px) {
  .shade { background: rgba(7, 8, 15, 0.78); }
  .hero { min-height: auto; padding: 60px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #demo { transition: none; }
}
