:root {
  --bg: #05070f;
  --panel: rgba(12, 18, 34, 0.78);
  --panel-solid: #0c1222;
  --line: rgba(148, 163, 184, 0.18);
  --cy: #22d3ee;
  --vi: #a78bfa;
  --red: #fb7185;
  --amber: #fbbf24;
  --green: #34d399;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --ui: Inter, 'Segoe UI Variable Display', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', 'Cascadia Code', Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ui);
  line-height: 1.6;
  overflow-x: hidden;
}

.bg-ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 45% at 18% 12%, rgba(34, 211, 238, 0.14), transparent 70%),
    radial-gradient(55% 45% at 82% 18%, rgba(167, 139, 250, 0.16), transparent 70%),
    radial-gradient(60% 50% at 50% 90%, rgba(59, 130, 246, 0.10), transparent 75%);
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 25%, #000 20%, transparent 80%);
}

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(5, 7, 15, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  color: #f8fafc;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.brand-badge {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(34,211,238,.25), rgba(167,139,250,.28));
  border: 1px solid rgba(34,211,238,.4);
  color: var(--cy);
  font-size: 0.78rem;
  font-weight: 800;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color .18s ease;
}
.nav-links a:hover { color: #f8fafc; }

.hero { padding: 72px 0 40px; text-align: center; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.65);
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
h1 {
  font-size: clamp(2.2rem, 5vw, 3.9rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 18px;
}
.grad {
  background: linear-gradient(90deg, #22d3ee, #818cf8 55%, #c084fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  max-width: 760px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 1.1rem;
}
.actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 11px;
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
  border: 1px solid var(--line);
  color: #f8fafc;
  background: rgba(15, 23, 42, 0.72);
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); border-color: rgba(34, 211, 238, 0.45); }
.btn.primary {
  background: linear-gradient(135deg, #06b6d4, #6366f1);
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(34, 211, 238, 0.22);
}

.deck-shell {
  margin: 36px auto 0;
  background: linear-gradient(180deg, rgba(17, 24, 43, 0.94), rgba(10, 15, 30, 0.94));
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  text-align: left;
}
.deck-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  flex-wrap: wrap;
}
.deck-dots { display: flex; gap: 7px; align-items: center; }
.deck-dots i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.deck-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.deck-tab {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.6);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}
.deck-tab.active {
  color: #05131f;
  background: var(--cy);
  border-color: var(--cy);
}
.deck-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
}
.pane {
  background: linear-gradient(180deg, #101829, #0a1020);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 12px;
  overflow: hidden;
}
.pane-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.035);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  font-weight: 700;
}
.st {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: .06em;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}
.st.run { color: var(--green); background: rgba(52, 211, 153, .14); }
.st.appr { color: var(--amber); background: rgba(251, 191, 36, .16); }
.st.stall { color: var(--red); background: rgba(251, 113, 133, .16); }
.pane-body {
  padding: 12px;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.55;
}
.pane-body .cy { color: #67e8f9; }
.pane-body .gr { color: #6ee7b7; }
.pane-body .am { color: #fcd34d; }
.pane-body .rd { color: #fda4af; }

section { padding: 52px 0; }
.sec-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.sec-sub { color: var(--muted); margin-bottom: 24px; }
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  backdrop-filter: blur(12px);
}
.card h3 { font-size: 1.06rem; margin-bottom: 8px; color: #f8fafc; }
.card p { color: var(--muted); font-size: 0.94rem; }
.code-box {
  background: #060a14;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: var(--mono);
  font-size: 0.84rem;
  color: #cbd5e1;
  overflow-x: auto;
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 44px;
  color: var(--muted);
  font-size: 0.9rem;
}
.foot-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
footer a { color: #cbd5e1; text-decoration: none; }
footer a:hover { color: var(--cy); }

@media (max-width: 900px) {
  .deck-grid, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}
