:root {
  --bg: #050915;
  --panel: #0b1220;
  --panel-2: #0f172a;
  --border: rgba(255, 255, 255, 0.06);
  --muted: #93a4c7;
  --text: #e8eefc;
  --accent: #7dd3fc;
  --accent-2: #a78bfa;
  --accent-3: #10b981;
  --shadow: 0 20px 60px rgba(5, 9, 21, 0.45);
  --radius: 16px;
  --blur: 22px;
  --font: "Space Grotesk", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

::selection { background: rgba(125, 211, 252, 0.3); }

a { color: #dce7ff; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: #ffffff; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(5, 9, 21, 0.7);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 26px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.logo { width: 36px; height: 36px; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3)); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px; color: var(--muted); margin: 0 0 4px 0; }
.muted { color: var(--muted); margin: 0; }
.muted.small { font-size: 12px; }

nav { display: flex; gap: 16px; align-items: center; }
nav a { font-size: 14px; color: #c9d6f5; }
nav .pill { color: #c9d6f5; }

.actions { display: flex; gap: 10px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #081020;
  box-shadow: 0 12px 35px rgba(125, 211, 252, 0.35);
}
.btn.primary:hover { transform: translateY(-1px); }
.btn.ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border);
  color: #dce7ff;
}
.btn.ghost:hover { border-color: rgba(255, 255, 255, 0.15); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #dce7ff;
  font-size: 12px;
  letter-spacing: 0.02em;
}
.pill.success { background: rgba(16, 185, 129, 0.14); color: #5cf0be; }
.pill.subtle { background: rgba(255,255,255,0.05); color: #cbd9ff; }

.page { max-width: 1180px; margin: 0 auto; padding: 64px 22px 96px; }

.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; align-items: center; margin-top: 24px; }
.hero-copy h1 { font-size: 42px; line-height: 1.2; margin: 10px 0 16px; }
.hero-copy .lede { color: #c8d6ff; margin: 0 0 16px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 12px 0 24px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.stat { padding: 14px; border: 1px solid var(--border); border-radius: 12px; background: rgba(255,255,255,0.02); }
.stat-label { margin: 0; font-size: 13px; color: var(--muted); }
.stat-value { margin: 4px 0 0; font-size: 26px; font-weight: 700; }

.hero-panel {
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(125, 211, 252, 0.08), transparent 45%),
              radial-gradient(circle at 80% 0%, rgba(167, 139, 250, 0.08), transparent 40%);
  pointer-events: none;
}
.panel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; position: relative; z-index: 1; }
.service-list { list-style: none; padding: 0; margin: 0; position: relative; z-index: 1; }
.service-list li { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.service-list small { color: var(--muted); display: block; }

.progress { width: 100%; height: 8px; background: rgba(255,255,255,0.06); border-radius: 999px; overflow: hidden; margin: 12px 0 16px; position: relative; z-index: 1; }
.progress-bar { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 0 18px rgba(125,211,252,0.5); }

.inline-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; position: relative; z-index: 1; }
.inline-grid p { margin: 0; }

.section { margin-top: 72px; }
.section-head h2 { margin: 6px 0 10px; font-size: 30px; }
.section-head .muted { max-width: 660px; }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.cards-grid.small { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.card h3 { margin: 6px 0 8px; }
.card.flat { background: rgba(255,255,255,0.03); box-shadow: none; }

.bullets { list-style: none; padding: 0; margin: 12px 0 0; color: #cbd9ff; }
.bullets li { margin: 6px 0; }

.timeline { border-left: 1px solid var(--border); margin-top: 18px; padding-left: 18px; display: grid; gap: 16px; }
.step { display: grid; grid-template-columns: 60px 1fr; gap: 14px; align-items: start; }
.step h4 { margin: 0 0 4px; }
.step p { margin: 0; color: #cbd9ff; }

.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 14px; }
.faq { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; background: rgba(255,255,255,0.03); }
.faq h4 { margin: 0 0 8px; }
.faq p { margin: 0; color: #cbd9ff; }

.cta { margin-top: 80px; }
.cta-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.08), rgba(167, 139, 250, 0.08));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.cta-form label { display: block; font-size: 13px; color: #cbd9ff; margin-bottom: 6px; }
.input-row { display: flex; gap: 10px; }
input[type="email"] {
  flex: 1;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: #e8eefc;
  font-size: 14px;
}
input[type="email"]:focus { outline: 1px solid var(--accent); }

.footer {
  max-width: 1180px;
  margin: 40px auto 30px;
  padding: 0 22px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding-top: 22px;
}
.footer-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.footer a { color: #cbd9ff; display: block; margin: 6px 0; font-size: 14px; }

.background-layers { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.orb { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(90px); opacity: 0.35; }
.orb-a { top: -120px; left: -80px; background: #1f6feb; }
.orb-b { bottom: -220px; right: -120px; background: #a78bfa; }
.grid-lines { position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 120px 120px; opacity: 0.08; }

.glass { backdrop-filter: blur(var(--blur)); }

code { background: rgba(255,255,255,0.05); padding: 3px 6px; border-radius: 6px; }

@media (max-width: 720px) {
  .topbar { flex-wrap: wrap; gap: 12px; position: sticky; }
  nav { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
  .actions { width: 100%; justify-content: flex-start; }
  .hero-copy h1 { font-size: 32px; }
  .cta-card { grid-template-columns: 1fr; }
  .input-row { flex-direction: column; }
  .btn.primary, .btn.ghost { width: 100%; justify-content: center; }
}

/* Page-specific tweaks */
.content-page { max-width: 900px; margin: 0 auto; padding: 72px 22px 96px; }
.content-page h1 { margin: 10px 0 12px; }
.content-page h2 { margin: 28px 0 10px; }
.content-page p { color: #cbd9ff; }
.tile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 12px 0 20px; }
.tile { border: 1px solid var(--border); border-radius: 14px; padding: 14px; background: rgba(255,255,255,0.03); }
.list { padding-left: 18px; color: #cbd9ff; }

.badge-row { display: flex; gap: 10px; flex-wrap: wrap; }
.changelog { border-left: 2px solid var(--accent); padding-left: 12px; margin: 8px 0; }
