:root {
  --bg: #10051f;
  --bg-2: #1a0930;
  --bg-3: #090214;
  --panel: #1a0f2d;
  --panel-2: #24133e;
  --text: #f9f6ff;
  --muted: #d5c9f0;
  --line: #55308f;
  --purple: #8f41ff;
  --purple-2: #c38dff;
  --yellow: #ffe600;
  --yellow-2: #fff389;
  --blue: #11a5ff;
  --blue-2: #75d8ff;
  --dark: rgba(0,0,0,0.36);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Chakra Petch", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 15%, rgba(255,230,0,0.10), transparent 20%),
    radial-gradient(circle at 82% 12%, rgba(17,165,255,0.18), transparent 24%),
    radial-gradient(circle at 52% 78%, rgba(195,141,255,0.12), transparent 20%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 48%, var(--bg-3) 100%);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 12px 12px;
  z-index: 0;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,0.02) 0, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 4px);
  opacity: 0.15;
  mix-blend-mode: soft-light;
  z-index: 0;
}

.stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
  background-image:
    linear-gradient(var(--yellow) 0 0),
    linear-gradient(var(--blue) 0 0),
    linear-gradient(var(--purple-2) 0 0),
    linear-gradient(#fff 0 0),
    linear-gradient(var(--yellow-2) 0 0),
    linear-gradient(var(--blue-2) 0 0);
  background-size: 6px 6px, 8px 8px, 5px 5px, 4px 4px, 7px 7px, 6px 6px;
  background-position: 8% 12%, 84% 18%, 30% 72%, 90% 84%, 62% 24%, 15% 86%;
  background-repeat: no-repeat;
}

a { color: inherit; text-decoration: none; }
.container { width: min(1140px, calc(100% - 32px)); margin: 0 auto; position: relative; z-index: 1; }
.narrow { width: min(900px, calc(100% - 32px)); }

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(16, 5, 31, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 4px solid var(--yellow);
  box-shadow: 0 8px 24px rgba(0,0,0,0.34);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}
.brand, .nav-links, .btn, .section-kicker, .tag, h1, h2, h3, .countdown-label, .countdown-number, .page-title {
  font-family: "Orbitron", sans-serif;
}
.brand {
  font-size: 1.08rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-shadow: -2px 0 rgba(17,165,255,0.35), 2px 0 rgba(255,230,0,0.22), 0 0 14px rgba(17,165,255,0.22);
}
.brand span { color: var(--yellow); }
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.nav-links a {
  padding: 8px 10px;
  border: 2px solid transparent;
  transition: .2s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  border-color: var(--blue);
  background: rgba(17,165,255,0.12);
  box-shadow: 0 0 0 1px rgba(255,230,0,0.25), 0 0 18px rgba(17,165,255,0.14);
}

.hero { padding: 88px 0 62px; }
.hero-stack { display: block; }
.hero-copy { max-width: 900px; }
h1 {
  font-size: clamp(2.35rem, 6vw, 4.8rem);
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
  text-shadow: -2px 0 rgba(17,165,255,0.35), 2px 0 rgba(255,230,0,0.22), 0 0 18px rgba(143,65,255,0.2);
}
.typed-tagline {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  overflow: visible;
  max-width: none;
  min-height: 1.15em;
  padding-right: 8px;
  border-right: 4px solid var(--yellow);
}
.typed-tagline.done {
  border-right-color: transparent;
}
@keyframes caret-blink {
  0%,49% { border-right-color: var(--yellow); }
  50%,100% { border-right-color: transparent; }
}
.glitch-text,
.glitch-soft { position: relative; display: inline-block; }
.glitch-text::before,
.glitch-text::after,
.glitch-soft::before,
.glitch-soft::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .34;
}
.glitch-text::before,
.glitch-soft::before {
  transform: translate(2px,0);
  color: var(--blue-2);
  clip-path: inset(0 0 54% 0);
}
.glitch-text::after,
.glitch-soft::after {
  transform: translate(-2px,0);
  color: var(--yellow);
  clip-path: inset(54% 0 0 0);
}

@keyframes micro-glitch {
  0%, 100% { transform: translate(0,0); }
  20% { transform: translate(1px,0); }
  40% { transform: translate(-1px,0); }
  60% { transform: translate(1px,1px); }
  80% { transform: translate(0,-1px); }
}
.glitch-text::before { animation: micro-glitch 2.4s steps(2,end) infinite; }
.glitch-text::after { animation: micro-glitch 1.9s steps(2,end) infinite reverse; }

.hero-line {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: var(--yellow);
  margin-top: 16px;
}
.hero-line-main { font-weight: 700; text-shadow: 0 0 16px rgba(255,230,0,0.12); }
.hero-text {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 720px;
  margin-top: 18px;
}
.hero-text.soft { max-width: 700px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }

.countdown-card,
.feature-card,
.note-strip,
.cta-panel,
.footer-box,
.doc-wrap,
.single-app-card {
  position: relative;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 5px solid var(--line);
  box-shadow: 14px 14px 0 var(--dark);
}
.countdown-card {
  margin-top: 24px;
  padding: 22px 24px;
  max-width: 460px;
}
.countdown-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--blue-2);
  margin-bottom: 12px;
}
.countdown-row { display: flex; align-items: center; gap: 18px; }
.countdown-number {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--yellow);
  line-height: 1;
  text-shadow: 0 0 14px rgba(255,230,0,0.18);
}
.countdown-copy { display: grid; gap: 4px; }
.countdown-copy strong { font-size: 1rem; }
.countdown-copy span { color: var(--muted); }

.btn {
  display: inline-block;
  padding: 14px 20px;
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-radius: 0;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.btn-primary {
  background: linear-gradient(180deg, var(--yellow-2), var(--yellow));
  color: #1c0830;
  border: 3px solid #fff6a2;
  box-shadow: 8px 8px 0 rgba(255,230,0,0.2);
}
.btn-primary:hover { transform: translate(-3px,-3px); box-shadow: 12px 12px 0 rgba(255,230,0,0.22); }
.btn-secondary {
  background: rgba(255,255,255,.03);
  color: #fff;
  border: 3px solid var(--blue);
  box-shadow: 8px 8px 0 rgba(17,165,255,0.16);
}
.btn-secondary:hover { transform: translate(-3px,-3px); border-color: var(--yellow); box-shadow: 12px 12px 0 rgba(17,165,255,0.20); }

.section-head { margin-bottom: 34px; }
.section-kicker {
  display: inline-block;
  margin-bottom: 16px;
  padding: 10px 14px;
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--yellow);
  background: rgba(255,230,0,0.08);
  border: 3px solid var(--line);
  box-shadow: 6px 6px 0 rgba(17,165,255,0.12);
}
.section-head h2,
.cta-panel h2,
.page-title {
  font-size: clamp(1.45rem, 3vw, 2.6rem);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 12px;
}
.section-head p,
.page-lead,
.page-copy p,
.page-copy li,
.meta,
.feature-card p,
.note-strip p,
.cta-panel p,
.footer-box,
.single-app-card p {
  font-size: 1rem;
  color: var(--muted);
}
section { padding: 72px 0; position: relative; z-index: 1; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card,
.single-app-card { padding: 24px; transition: .22s ease; }
.feature-card .tag,
.single-app-card .tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 10px;
  font-size: .64rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--blue-2);
  border: 2px solid var(--line);
  background: rgba(17,165,255,0.08);
}
.feature-card h3,
.single-app-card h3 {
  font-size: 1rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: #fff;
  margin-bottom: 12px;
}
.feature-card.active,
.feature-card:hover,
.single-app-card.active,
.single-app-card:hover {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(17,165,255,0.2), 16px 16px 0 var(--dark);
  transform: translate(-4px,-4px);
}
.note-strip,
.cta-panel,
.footer-box,
.doc-wrap { padding: 24px 28px; }
.note-strip { margin-top: 24px; }
.cta-panel { text-align: center; }
.cta-panel p { margin-bottom: 20px; }
.footer-box {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-box a { color: var(--yellow); }
.footer-box a:hover { color: #fff; }
.page-hero { padding: 72px 0 28px; }
.legal-layout { padding: 52px 0 76px; }
.doc-wrap { display: grid; gap: 16px; }
.meta { color: var(--blue-2); }
.page-copy { display: grid; gap: 16px; }
.page-copy h2 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #fff;
  margin-top: 10px;
}
.page-copy ul { padding-left: 22px; }

.pixel-box::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 3px dotted rgba(255,255,255,0.12);
  pointer-events: none;
}
.step-edge {
  clip-path: polygon(0 10px,10px 10px,10px 0,calc(100% - 10px) 0,calc(100% - 10px) 10px,100% 10px,100% calc(100% - 10px),calc(100% - 10px) calc(100% - 10px),calc(100% - 10px) 100%,10px 100%,10px calc(100% - 10px),0 calc(100% - 10px));
}

footer {
  position: relative;
  z-index: 1;
  border-top: 4px solid var(--yellow);
  padding: 24px 0 40px;
  background: rgba(9, 2, 20, 0.82);
}

@media (max-width: 960px) {
  .card-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav { flex-direction: column; align-items: flex-start; }
  .nav-links { width: 100%; }
  .typed-tagline {
    white-space: normal;
    width: auto;
    animation: none;
    border-right: 0;
    max-width: 100%;
  }
  .countdown-row { align-items: flex-start; flex-direction: column; }
  .btn { width: 100%; text-align: center; }
  .footer-box { display: grid; }
}
