:root {
  --purple-900: #1a0b2e;
  --purple-800: #2b1250;
  --purple-700: #3d1a6e;
  --purple-500: #7c3aed;
  --purple-400: #9d5cff;
  --purple-300: #c4a3ff;
  --carbon-950: #0b0812;
  --carbon-900: #120c1f;
  --carbon-850: #171023;
  --ink: #f5f2fb;
  --muted: #b7aecb;
  --muted-dim: #8b81a3;
  --border: rgba(157, 92, 255, 0.14);
  --border-strong: rgba(157, 92, 255, 0.28);
  --radius: 18px;
  --maxw: 1140px;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--carbon-950);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* Ambient background glow */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(closest-side at 15% 0%, rgba(124, 58, 237, 0.28), transparent 65%),
    radial-gradient(closest-side at 90% 10%, rgba(157, 92, 255, 0.20), transparent 60%),
    radial-gradient(closest-side at 50% 100%, rgba(61, 26, 110, 0.35), transparent 70%),
    var(--carbon-950);
}
.bg-fx::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(157, 92, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 92, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 8, 18, 0.6);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.logo {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--purple-500), var(--purple-400));
  box-shadow: 0 0 0 1px rgba(157,92,255,0.35), 0 6px 20px rgba(124,58,237,0.45);
}
.logo svg { width: 20px; height: 20px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14.5px;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.18s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  padding: 9px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--purple-500), var(--purple-400));
  color: #fff;
  box-shadow: 0 6px 20px rgba(124,58,237,0.4);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(124,58,237,0.55); }
.nav-toggle { display: none; }

/* Hero */
.hero {
  padding: 96px 0 84px;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--purple-300);
  padding: 6px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.08);
  margin-bottom: 28px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--purple-400);
  box-shadow: 0 0 10px var(--purple-400);
}
h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
h1 .grad {
  background: linear-gradient(120deg, var(--purple-300), var(--purple-500) 60%, #d9c6ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.lead {
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 40px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 12px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--purple-500), var(--purple-400));
  color: #fff;
  box-shadow: 0 10px 30px rgba(124,58,237,0.45);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(124,58,237,0.6); }
.btn-ghost {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-strong);
  color: var(--ink);
}
.btn-ghost:hover { background: rgba(157,92,255,0.1); transform: translateY(-2px); }

/* Trust strip */
.trust {
  margin-top: 64px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 40px;
  color: var(--muted-dim);
  font-size: 13.5px;
  font-weight: 500;
}
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 15px; height: 15px; color: var(--purple-400); }

/* Section shell */
section { padding: 92px 0; }
.section-head { max-width: 620px; margin: 0 auto 56px; text-align: center; }
.kicker {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-400);
  margin-bottom: 14px;
}
h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-head p { color: var(--muted); font-size: 17px; }

/* Cards grid */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: linear-gradient(180deg, rgba(23,16,35,0.9), rgba(18,12,31,0.7));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 18px 44px rgba(0,0,0,0.5);
}
.card .ico {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(124,58,237,0.14);
  border: 1px solid var(--border-strong);
  margin-bottom: 20px;
}
.card .ico svg { width: 22px; height: 22px; color: var(--purple-300); }
.card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.card p { color: var(--muted); font-size: 15px; }

/* Approach / value split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.approach-list { list-style: none; display: grid; gap: 22px; }
.approach-list li { display: flex; gap: 16px; }
.approach-list .num {
  flex-shrink: 0;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--purple-300);
  background: rgba(124,58,237,0.14);
  border: 1px solid var(--border-strong);
}
.approach-list h4 { font-family: var(--font-display); font-weight: 600; font-size: 17px; margin-bottom: 4px; }
.approach-list p { color: var(--muted); font-size: 15px; }

.stat-panel {
  background: linear-gradient(160deg, rgba(61,26,110,0.35), rgba(18,12,31,0.6));
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  padding: 40px 36px;
}
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 24px; }
.stat .n {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #fff, var(--purple-300));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat .l { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* CTA band */
.cta-band {
  position: relative;
  border-radius: 26px;
  padding: 64px 40px;
  text-align: center;
  background: linear-gradient(135deg, var(--purple-700), var(--purple-500));
  overflow: hidden;
  border: 1px solid var(--border-strong);
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(closest-side at 80% 20%, rgba(255,255,255,0.18), transparent 60%);
}
.cta-band h2 { position: relative; color: #fff; }
.cta-band p { position: relative; color: rgba(255,255,255,0.85); max-width: 520px; margin: 0 auto 30px; font-size: 17px; }
.cta-band .btn-primary { background: #fff; color: var(--purple-700); box-shadow: 0 12px 34px rgba(0,0,0,0.3); }
.cta-band .btn-primary:hover { background: #f3ecff; }

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 40px;
  margin-top: 40px;
}
.foot-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.foot-grid .brand { font-size: 17px; }
.foot-meta { color: var(--muted-dim); font-size: 14px; }
.foot-links { display: flex; gap: 26px; }
.foot-links a { color: var(--muted); font-size: 14px; transition: color 0.18s ease; }
.foot-links a:hover { color: var(--ink); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Products page
   ============================================================ */

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--purple-300);
  padding: 6px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.10);
}
.status-pill .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #46e39b;
  box-shadow: 0 0 0 0 rgba(70,227,155,0.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(70,227,155,0.55); }
  70% { box-shadow: 0 0 0 8px rgba(70,227,155,0); }
  100% { box-shadow: 0 0 0 0 rgba(70,227,155,0); }
}

/* Product hero */
.product-hero {
  padding: 84px 0 40px;
  text-align: center;
}
.product-mark {
  width: 96px; height: 96px;
  margin: 0 auto 26px;
  display: grid; place-items: center;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(61,26,110,0.5), rgba(18,12,31,0.7));
  border: 1px solid var(--border-strong);
  box-shadow: 0 18px 50px rgba(124,58,237,0.35);
}
.product-mark svg { width: 56px; height: 56px; }
.product-hero h1 { font-size: clamp(40px, 6vw, 64px); margin-bottom: 10px; }
.product-hero .tagline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 2.4vw, 22px);
  color: var(--purple-300);
  margin-bottom: 22px;
}
.product-hero p.lead {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--muted);
  max-width: 660px;
  margin: 0 auto 34px;
}

/* Feature list with checks */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 34px; }
.feature-grid li { list-style: none; display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 15.5px; }
.feature-grid .chk {
  flex-shrink: 0; margin-top: 3px;
  width: 20px; height: 20px; border-radius: 6px;
  display: grid; place-items: center;
  background: rgba(124,58,237,0.16);
  border: 1px solid var(--border-strong);
}
.feature-grid .chk svg { width: 12px; height: 12px; color: var(--purple-300); }
.feature-grid b { color: var(--ink); font-weight: 600; }

/* Tech stack chips */
.tech-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.tech-chips span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  color: var(--muted);
  padding: 10px 18px;
  border-radius: 11px;
  background: rgba(23,16,35,0.7);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.tech-chips span:hover { border-color: var(--border-strong); color: var(--ink); }

/* Roadmap timeline */
.roadmap { display: grid; gap: 18px; max-width: 780px; margin: 0 auto; }
.phase {
  display: flex; gap: 22px;
  padding: 24px 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(23,16,35,0.9), rgba(18,12,31,0.7));
  border: 1px solid var(--border);
}
.phase .tag {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--purple-300);
  padding: 7px 14px;
  height: fit-content;
  border-radius: 9px;
  background: rgba(124,58,237,0.14);
  border: 1px solid var(--border-strong);
  white-space: nowrap;
  align-self: flex-start;
}
.phase.live .tag { color: #46e39b; background: rgba(70,227,155,0.12); border-color: rgba(70,227,155,0.35); }
.phase h4 { font-family: var(--font-display); font-weight: 600; font-size: 17px; margin-bottom: 4px; }
.phase p { color: var(--muted); font-size: 15px; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .grid-3, .grid-2, .split, .stat-row, .feature-grid { grid-template-columns: 1fr; }
  .split { gap: 36px; }
  section { padding: 68px 0; }
  .hero { padding: 68px 0 60px; }
  .phase { flex-direction: column; gap: 12px; }
}
