:root {
  --bg: #080b12;
  --panel: rgba(15, 20, 32, 0.72);
  --panel-strong: rgba(18, 25, 40, 0.88);
  --line: rgba(255, 255, 255, 0.1);
  --text: #eef4ff;
  --muted: #95a3b8;
  --soft: #c6d0e1;
  --accent: #8b5cf6;
  --accent-2: #22d3ee;
  --success: #3ddc97;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

.background {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 15%, rgba(139, 92, 246, 0.12), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(34, 211, 238, 0.10), transparent 26%),
    linear-gradient(180deg, #080b12 0%, #0b1020 52%, #080b12 100%);
}

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 82%);
}

.orb {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.35;
}

.orb-a {
  top: 8%;
  left: -120px;
  background: var(--accent);
}

.orb-b {
  right: -160px;
  top: 25%;
  background: var(--accent-2);
}

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 24px auto 0;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 11, 18, 0.58);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 18px;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-weight: 900;
  color: white;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.28);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 1px;
}

.nav {
  display: flex;
  gap: 6px;
}

.nav a {
  color: var(--soft);
  padding: 10px 14px;
  border-radius: 999px;
  transition: 0.2s ease;
  font-size: 14px;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.nav .muted-link {
  color: #7f8ca3;
}

main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 720px;
  padding: 96px 0 80px;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--soft);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 14px;
  margin-bottom: 20px;
}

.pulse {
  width: 9px;
  height: 9px;
  background: var(--success);
  border-radius: 999px;
  box-shadow: 0 0 0 8px rgba(61, 220, 151, 0.12);
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(46px, 7vw, 84px);
  line-height: 0.94;
  letter-spacing: -0.07em;
}

.hero-copy p {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
  margin: 24px 0 0;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.2s ease;
}

.primary {
  background: var(--text);
  color: #08101f;
}

.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(255, 255, 255, 0.1);
}

.secondary {
  border: 1px solid var(--line);
  color: var(--soft);
  background: rgba(255, 255, 255, 0.045);
}

.secondary:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
}

.glass {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.system-card {
  border-radius: var(--radius);
  padding: 22px;
  transform: rotate(1.4deg);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  margin-bottom: 18px;
}

.card-header strong {
  color: var(--success);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.terminal {
  min-height: 260px;
  border-radius: 20px;
  background: rgba(2, 6, 15, 0.72);
  border: 1px solid rgba(255,255,255,.08);
  padding: 20px;
  font-family: "SFMono-Regular", Consolas, monospace;
  color: #cbd5e1;
}

.terminal p {
  margin: 0 0 12px;
}

.terminal span {
  color: var(--accent-2);
}

.terminal em {
  color: var(--success);
  font-style: normal;
}

.metrics {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metrics div {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255,255,255,.04);
}

.metrics small,
.stack-list span,
.roadmap span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.metrics strong {
  display: block;
  margin-top: 5px;
  font-size: 14px;
}

.section {
  padding: 54px 0;
}

.section-title {
  margin-bottom: 22px;
}

.section-title span {
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 800;
}

.section-title h2 {
  margin: 6px 0 0;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.045em;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 260px;
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: 0.22s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,.2);
  background: var(--panel-strong);
}

.icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--accent-2);
  font-size: 22px;
  margin-bottom: 20px;
}

.service-card h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.service-card p {
  color: var(--muted);
  margin: 10px 0 22px;
  font-size: 14px;
}

.service-card span {
  margin-top: auto;
  color: var(--soft);
  font-size: 14px;
}

.locked {
  opacity: 0.78;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-bottom: 90px;
}

.stack-list,
.roadmap {
  border-radius: var(--radius);
  padding: 24px;
}

.stack-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.stack-list div:last-child {
  border-bottom: 0;
}

.stack-list strong {
  text-align: right;
}

.compact {
  margin-bottom: 14px;
}

.roadmap ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: item;
}

.roadmap li {
  counter-increment: item;
  padding: 16px 0 16px 48px;
  position: relative;
  border-bottom: 1px solid var(--line);
}

.roadmap li:last-child {
  border-bottom: 0;
}

.roadmap li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 16px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.18);
  color: var(--text);
  font-weight: 800;
  font-size: 13px;
}

.roadmap strong {
  display: block;
}

.footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 42px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

@media (max-width: 980px) {
  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 70px;
  }

  .system-card {
    transform: none;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav {
    display: none;
  }
}

@media (max-width: 620px) {
  .site-header,
  main,
  .footer {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    border-radius: 24px;
  }

  .brand small {
    display: none;
  }

  .hero {
    padding-top: 56px;
  }

  h1 {
    font-size: 46px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
  }

  .stack-list div {
    align-items: flex-start;
    flex-direction: column;
  }

  .stack-list strong {
    text-align: left;
  }
}
