:root {
  --bg: #081120;
  --bg-soft: rgba(255,255,255,0.07);
  --card: rgba(10, 19, 35, 0.72);
  --card-border: rgba(255,255,255,0.09);
  --text: #edf4ff;
  --muted: #aac0e3;
  --primary: #5eead4;
  --primary-2: #60a5fa;
  --accent: #c084fc;
  --shadow: 0 20px 60px rgba(0,0,0,0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(96,165,250,0.18), transparent 30%),
    radial-gradient(circle at right, rgba(192,132,252,0.16), transparent 25%),
    linear-gradient(160deg, #040814 0%, #091222 45%, #0a1630 100%);
  color: var(--text);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
code, pre { font-family: "SFMono-Regular", Consolas, Monaco, monospace; }

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(4, 8, 20, 0.58);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, var(--primary), #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

nav {
  display: flex;
  gap: .55rem;
  flex-wrap: wrap;
}

nav a {
  padding: .75rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  transition: .25s ease;
}

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

.hero,
.split-section,
.callout,
.page-main,
.cards-section {
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1.5rem;
  align-items: center;
  padding: 4.5rem 0 2rem;
}

.eyebrow {
  display: inline-block;
  padding: .45rem .8rem;
  border-radius: 999px;
  background: rgba(94,234,212,0.12);
  color: var(--primary);
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1.02;
  margin: 0 0 1rem;
}

h2 {
  margin-top: 0;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
}

p, li {
  color: var(--muted);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95rem 1.25rem;
  border-radius: 16px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(90deg, var(--primary-2), var(--accent));
  box-shadow: 0 14px 30px rgba(96,165,250,0.24);
}

.btn-secondary {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
}

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.image-card {
  padding: 1rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding: 1rem 0 2rem;
}

.feature-card,
.content-card,
.demo-card,
.tip-card {
  padding: 1.5rem;
}

.icon {
  font-size: 2rem;
  display: inline-block;
  margin-bottom: 1rem;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  padding: 1rem 0 2rem;
}

.accent-card {
  background: linear-gradient(180deg, rgba(12,24,45,0.8), rgba(31,20,64,0.75));
}

.check-list,
.timeline {
  padding-left: 1.2rem;
}

.check-list li::marker,
.timeline li::marker {
  color: var(--primary);
}

.callout {
  padding-bottom: 3rem;
}

.callout-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.6rem;
}

.page-main {
  padding: 2rem 0 3rem;
}

.page-hero {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.page-hero-image {
  justify-self: end;
  max-height: 260px;
}

.steps {
  display: grid;
  gap: 1rem;
}

.step-card {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1rem;
  padding: 1.4rem;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.2rem;
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  color: #06111e;
}

pre {
  margin: 1rem 0;
  padding: 1rem;
  background: rgba(3, 8, 18, 0.8);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  overflow-x: auto;
}

code {
  color: #dbeafe;
}

.note {
  color: #ffe4a6;
}

.compact li {
  margin-bottom: .35rem;
}

.demo-grid,
.tips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.scenario-card {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1rem;
  align-items: center;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.status-panel {
  display: grid;
  gap: .8rem;
}

.status-pill,
.status-box {
  border-radius: 18px;
  padding: 1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}

.status-pill.online {
  background: linear-gradient(90deg, rgba(94,234,212,0.25), rgba(96,165,250,0.2));
  color: #ddfff8;
  font-weight: 700;
}

.status-box span {
  display: block;
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: .25rem;
}

.site-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(3, 8, 18, 0.42);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  flex-wrap: wrap;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(50px);
  opacity: .28;
  pointer-events: none;
}

.orb-1 { width: 280px; height: 280px; background: #2563eb; top: 80px; left: -80px; }
.orb-2 { width: 260px; height: 260px; background: #7c3aed; top: 220px; right: -80px; }
.orb-3 { width: 220px; height: 220px; background: #14b8a6; top: 420px; right: 10%; }
.orb-4 { width: 220px; height: 220px; background: #ec4899; bottom: 80px; left: 5%; }

@media (max-width: 900px) {
  .hero,
  .split-section,
  .page-hero,
  .scenario-card,
  .grid-3,
  .demo-grid,
  .tips-grid {
    grid-template-columns: 1fr;
  }

  .callout-card,
  .nav,
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-hero-image {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .step-card {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.3rem;
  }

  .hero {
    padding-top: 2rem;
  }
}
