:root {
  --bg: #060912;
  --bg-2: #0a0f1e;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.14);
  --ink: #eef2fb;
  --muted: #9aa7c2;
  --muted-2: #6b7896;
  --brand: #7c83ff;
  --brand-2: #a855f7;
  --accent: #22d3ee;
  --ok: #34d399;
  --wrap: 1160px;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 14px; letter-spacing: -0.025em; font-weight: 700; }
p { margin: 0 0 14px; color: var(--muted); }

.grad-text {
  background: linear-gradient(120deg, #a8b0ff, #22d3ee 55%, #d8b4fe);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; font-weight: 700;
  color: #b9c0e8; margin: 0 0 16px;
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--panel);
}
.eyebrow .glow { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 11px; font-weight: 600; font-size: 15px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 30px rgba(124, 131, 255, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(124, 131, 255, 0.55); }
.btn-ghost { color: var(--ink); border: 1px solid var(--line-2); background: var(--panel); }
.btn-ghost:hover { background: var(--panel-2); border-color: rgba(255,255,255,0.25); }

/* aurora background */
.aurora { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.aurora::before, .aurora::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5;
}
.aurora::before { width: 620px; height: 620px; top: -180px; right: -120px;
  background: radial-gradient(circle, rgba(124,131,255,0.55), transparent 65%); }
.aurora::after { width: 560px; height: 560px; top: 240px; left: -160px;
  background: radial-gradient(circle, rgba(34,211,238,0.35), transparent 65%); }

/* nav */
.nav { position: sticky; top: 0; z-index: 30;
  background: rgba(6, 9, 18, 0.7); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand .mark { width: 28px; height: 28px; display: block; border-radius: 9px;
  filter: drop-shadow(0 0 10px rgba(124,131,255,0.55)); }
.brand small { color: var(--accent); font-weight: 600; font-size: 12px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-links .btn { padding: 9px 16px; font-size: 14px; }

/* hero */
.hero { padding: 96px 0 92px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 56px; letter-spacing: -0.03em; }
.hero .lede { font-size: 19px; color: var(--muted); max-width: 54ch; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.pill { font-size: 13px; color: #cdd5ee; font-weight: 500;
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; background: var(--panel); }
.pill b { color: #fff; }

/* hero product mockup */
.mock {
  border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  box-shadow: 0 40px 90px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
}
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: #384155; display: inline-block; }
.mock-bar span { margin-left: 8px; font-size: 12.5px; color: var(--muted-2); }
.mock-bar .host { margin-left: 8px; font-size: 12.5px; color: var(--muted-2); text-decoration: none; }
.mock-bar .host:hover { color: #cdd5ee; text-decoration: underline; }
.mock-body { padding: 16px; display: grid; gap: 10px; }
.mrow { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 12px; background: rgba(255,255,255,0.02); }
.mrow .tag { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; padding: 3px 9px; border-radius: 999px; }
.tag.op { color: #67e8f9; background: rgba(34,211,238,0.12); border: 1px solid rgba(34,211,238,0.25); }
.tag.dr { color: #c4b5fd; background: rgba(168,85,247,0.14); border: 1px solid rgba(168,85,247,0.28); }
.tag.ok { color: #6ee7b7; background: rgba(52,211,153,0.12); border: 1px solid rgba(52,211,153,0.28); }
.tag.mo { color: #a5b4fc; background: rgba(124,131,255,0.14); border: 1px solid rgba(124,131,255,0.3); }
.mrow .t { flex: 1; }
.mrow .t b { display: block; font-size: 13.5px; color: var(--ink); font-weight: 600; }
.mrow .t small { font-size: 12px; color: var(--muted-2); }
.mchips { display: flex; gap: 7px; flex-wrap: wrap; padding: 4px 2px 2px; }
.chip { font-size: 11.5px; color: #cdd5ee; padding: 5px 10px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,0.03); display: inline-flex; align-items: center; gap: 6px; }
.chip .d { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

/* sections */
section { padding: 92px 0; position: relative; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: 38px; }
.section-head p { font-size: 18px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.glass { border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  padding: 26px; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.glass:hover { transform: translateY(-4px); border-color: var(--line-2);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.glass .ic { margin-bottom: 14px; }
.ic { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  color: #a8b0ff; background: linear-gradient(135deg, rgba(124,131,255,0.18), rgba(34,211,238,0.12));
  border: 1px solid rgba(124,131,255,0.25); }
.ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.glass h3 { font-size: 19px; margin-bottom: 8px; }
.glass p { margin: 0; font-size: 15px; }
.step-num { color: var(--accent); font-weight: 800; font-size: 12px; letter-spacing: 0.14em; margin-bottom: 8px; }

.module { border: 1px solid var(--line); border-radius: 14px; padding: 22px;
  background: rgba(255,255,255,0.02); transition: border-color 0.2s ease, background 0.2s ease; }
.module:hover { border-color: var(--line-2); background: rgba(255,255,255,0.04); }
.module .ic { margin-bottom: 12px; }
.module h3 { font-size: 17px; margin-bottom: 6px; }
.module p { font-size: 14px; margin: 0; }

.member { border: 1px solid var(--line); border-radius: 14px; padding: 0; overflow: hidden;
  background: rgba(255,255,255,0.02); transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.member:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 20px 44px rgba(0,0,0,0.4); }
.member .portrait { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: rgba(255,255,255,0.03); }
.member .portrait.ph { display: flex; align-items: center; justify-content: center;
  background: radial-gradient(120px 120px at 50% 40%, rgba(34,211,238,0.5), transparent 70%), linear-gradient(135deg, var(--brand), var(--brand-2)); }
.member .portrait.ph::after { content: "+"; color: #fff; font-size: 40px; font-weight: 800; opacity: 0.9; }
.member .body { padding: 16px 18px 20px; }
.member .avatar { width: 46px; height: 46px; border-radius: 12px; margin-bottom: 12px;
  display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; font-size: 18px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 8px 22px rgba(124,131,255,0.35); }
.member .avatar.alt { background: linear-gradient(135deg, var(--accent), var(--brand)); }
.member h3 { font-size: 17px; margin-bottom: 2px; }
.member .role { color: var(--accent); font-weight: 600; font-size: 13px; margin-bottom: 8px; }
.member p { font-size: 13.5px; margin: 0; color: var(--muted); }

/* proof */
.case { border: 1px solid var(--line-2); border-radius: 22px; padding: 54px;
  background:
    radial-gradient(700px 300px at 90% -20%, rgba(124,131,255,0.28), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  box-shadow: 0 40px 90px rgba(0,0,0,0.5); }
.case h2 { font-size: 34px; max-width: 24ch; }
.case p { font-size: 17px; max-width: 64ch; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 38px; }
.stat .n { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; }
.stat .l { color: var(--muted-2); font-size: 14px; }

/* cta band */
.cta-band { border: 1px solid var(--line-2); border-radius: 22px; padding: 60px 32px; text-align: center;
  background: radial-gradient(700px 320px at 50% -30%, rgba(168,85,247,0.3), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01)); }
.cta-band h2 { font-size: 36px; }
.cta-band p { font-size: 18px; max-width: 52ch; margin: 0 auto 26px; }

footer { border-top: 1px solid var(--line); padding: 40px 0; }
footer .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer .muted { color: var(--muted-2); font-size: 14px; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid-3, .modules, .team { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 42px; }
  .nav-links a:not(.btn) { display: none; }
  .case { padding: 34px; }
}
@media (max-width: 560px) {
  .grid-3, .modules, .team, .stats { grid-template-columns: 1fr; }
  .hero { padding: 64px 0; }
  .hero h1 { font-size: 34px; }
  section { padding: 64px 0; }
  .section-head h2 { font-size: 30px; }
}
