:root {
  --void: #0F0A1A;
  --violet: #7C3AED;
  --pulse: #A78BFA;
  --aurora: #22D3EE;
  --magenta: #E879F9;
  --mist: #F5F3FF;
  --surface: #EDE9FE;
  --ink: #130F1F;
  --muted: #6B6280;
  --line: rgba(124, 58, 237, 0.14);
  --glow: 0 24px 64px rgba(124, 58, 237, 0.18);
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-mono: "Roboto Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--mist);
  line-height: 1.65;
  font-size: 1rem;
}
a { color: var(--violet); text-decoration: none; }
a:hover { color: var(--void); }
img { max-width: 100%; height: auto; display: block; }

.wrap { width: min(1160px, 92vw); margin: 0 auto; }

.mesh-band {
  background: var(--void);
  color: rgba(255,255,255,0.72);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.mesh-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(34,211,238,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(232,121,249,0.1) 0%, transparent 50%);
  pointer-events: none;
}
.mesh-band span { color: var(--aurora); position: relative; }

.site-header {
  background: rgba(245, 243, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--void);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.logo-link img { width: 38px; height: 38px; border-radius: 10px; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.site-nav a {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
}
.site-nav a:hover { color: var(--violet); }
.nav-cta {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--void);
  color: #fff !important;
}
.nav-cta:hover { background: var(--violet); color: #fff !important; }
.menu-btn {
  display: none;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 0.35rem 0.65rem;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--ink);
}

.hero-immersive {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  padding: 4rem 0 3.5rem;
  position: relative;
}
.hero-immersive::before {
  content: "";
  position: absolute;
  top: -2rem;
  left: -10vw;
  width: 60vw;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(124,58,237,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.hero-kicker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--violet);
  margin: 0 0 1rem;
}
.hero-immersive h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  color: var(--void);
}
.hero-immersive h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--violet), var(--aurora));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-lede {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 34rem;
  margin: 0 0 1.75rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.35rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-violet {
  background: linear-gradient(135deg, var(--violet), #6D28D9);
  color: #fff !important;
  box-shadow: var(--glow);
}
.btn-violet:hover { color: #fff !important; }
.btn-ghost {
  border: 1.5px solid var(--line);
  color: var(--ink) !important;
  background: #fff;
}
.btn-ghost:hover { border-color: var(--violet); }

.telemetry-panel {
  background: var(--void);
  border-radius: 18px;
  padding: 1.35rem;
  box-shadow: var(--glow);
  color: #fff;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.panel-live {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--aurora);
}
.panel-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--aurora);
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.metric-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 0.85rem 1rem;
}
.metric-card .val {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--aurora);
  line-height: 1.1;
}
.metric-card .lbl {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.25rem;
}
.spark-row {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 48px;
  padding-top: 0.5rem;
}
.spark-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, var(--violet), var(--magenta));
  opacity: 0.85;
}
.spark-bar:nth-child(1) { height: 35%; }
.spark-bar:nth-child(2) { height: 55%; }
.spark-bar:nth-child(3) { height: 42%; }
.spark-bar:nth-child(4) { height: 78%; }
.spark-bar:nth-child(5) { height: 62%; }
.spark-bar:nth-child(6) { height: 88%; }
.spark-bar:nth-child(7) { height: 70%; }
.spark-bar:nth-child(8) { height: 95%; }

.signal-marquee {
  background: var(--surface);
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 0.65rem 0;
}
.signal-track {
  display: flex;
  gap: 2.5rem;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.signal-track span { color: var(--violet); }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.section { padding: 4rem 0; }
.section-muted { background: #fff; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  color: var(--void);
}
.section-intro {
  color: var(--muted);
  max-width: 38rem;
  margin: 0 0 2.5rem;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.module-card {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.section-muted .module-card { background: var(--mist); }
.module-card:hover {
  border-color: rgba(124,58,237,0.35);
  box-shadow: var(--glow);
}
.module-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 0.65rem;
  display: block;
}
.module-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  color: var(--void);
}
.module-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 1.35rem;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--aurora), var(--magenta));
  opacity: 0.35;
}
.tl-step {
  text-align: center;
  padding: 0 0.5rem;
  position: relative;
}
.tl-dot {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  background: var(--void);
  color: var(--aurora);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.85rem;
  border: 2px solid var(--violet);
  position: relative;
  z-index: 1;
}
.tl-step h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin: 0 0 0.35rem;
  color: var(--void);
}
.tl-step p {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.platform-card {
  background: linear-gradient(160deg, var(--void) 0%, #1a1030 100%);
  color: #fff;
  border-radius: 16px;
  padding: 1.5rem;
}
.platform-card h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  color: var(--aurora);
}
.platform-card p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

.contact-strip {
  background: linear-gradient(135deg, var(--void) 0%, #2D1B69 100%);
  color: #fff;
  text-align: center;
  padding: 3.5rem 0;
}
.contact-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.5rem;
}
.contact-strip p {
  color: rgba(255,255,255,0.65);
  margin: 0 0 1.5rem;
}
.contact-strip .btn-violet {
  background: #fff;
  color: var(--void) !important;
  box-shadow: none;
}
.contact-strip .btn-violet:hover { background: var(--aurora); color: var(--void) !important; }

.site-footer {
  background: var(--void);
  color: rgba(255,255,255,0.55);
  padding: 2rem 0 1.25rem;
  font-size: 0.88rem;
}
.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1rem;
}
.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  max-width: 22rem;
}
.footer-brand img { border-radius: 8px; flex-shrink: 0; }
.footer-brand p { margin: 0.15rem 0 0; line-height: 1.5; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.footer-nav a { color: rgba(255,255,255,0.65); font-weight: 500; }
.footer-nav a:hover { color: var(--aurora); }
.footer-bottom { font-size: 0.8rem; color: rgba(255,255,255,0.4); }

.legal-page { padding: 3rem 0 4rem; max-width: 42rem; }
.legal-page h1 { font-family: var(--font-display); color: var(--void); }
.legal-page h2 { font-family: var(--font-display); font-size: 1.15rem; margin-top: 2rem; }

@media (max-width: 900px) {
  .hero-immersive { grid-template-columns: 1fr; }
  .module-grid { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 1.5rem; }
  .timeline::before { display: none; }
  .menu-btn { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--mist);
    border-bottom: 1px solid var(--line);
    padding: 1rem 4vw;
    gap: 1rem;
  }
  .site-nav.open { display: flex; }
  .site-header { position: relative; }
}
