:root {
  color-scheme: dark;
  --font-display: "Space Grotesk", "IBM Plex Sans", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;
  --font-mono: "JetBrains Mono", "Courier New", monospace;
  --ink: #f4f4f5;
  --ink-soft: #a1a1aa;
  --muted: #71717a;
  --bg: #020203;
  --bg-alt: #0a0a0d;
  --accent: #8b5cf6;
  --accent-strong: #7c3aed;
  --accent-warm: #ec4899;
  --glass: rgba(14, 14, 16, 0.7);
  --glass-strong: rgba(14, 14, 16, 0.85);
  --glass-border: rgba(255, 255, 255, 0.08);
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.45);
  --shadow-strong: 0 28px 80px rgba(0, 0, 0, 0.6);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--bg);
  background-image: linear-gradient(180deg, #0a0a0d 0%, #020203 60%);
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  filter: blur(0);
}

body::before {
  top: -200px;
  right: -160px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.35), transparent 65%);
}

body::after {
  bottom: -220px;
  left: -140px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.2), transparent 65%);
}

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

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.section {
  padding: 96px 0;
}

.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  padding: 18px 24px 0;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  border-radius: var(--radius-lg);
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #0e0e10;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-soft);
  transition: background 0.2s ease, color 0.2s ease;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  padding: 6px;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 999px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 14px 30px rgba(139, 92, 246, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(139, 92, 246, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: rgba(139, 92, 246, 0.5);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
  padding-top: 120px;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4.4vw, 4.6rem);
  line-height: 1.05;
  margin: 16px 0 20px;
}

.headline-accent {
  background: linear-gradient(120deg, var(--accent), var(--accent-strong), var(--accent-warm));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 540px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin: 28px 0;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.meta-pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.hero-visual {
  position: relative;
}

.signal-card {
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 26px;
  box-shadow: var(--shadow-strong);
  position: relative;
  overflow: hidden;
}

.signal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.2), transparent);
}

.signal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 16px;
  gap: 12px;
}

.signal-title {
  font-weight: 600;
  color: var(--ink);
}

.signal-ping {
  margin-left: auto;
  background: rgba(139, 92, 246, 0.18);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--ink);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.12);
  animation: pulse 2.8s ease-in-out infinite;
}

pre {
  margin: 0;
  padding: 18px;
  border-radius: var(--radius-md);
  background: #0f172a;
  color: #e2e8f0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.5;
  overflow-x: auto;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.signal-grid .label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.signal-grid strong {
  display: block;
  font-size: 1.1rem;
  font-family: var(--font-display);
  color: var(--ink);
}

.orbit-card {
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px dashed rgba(139, 92, 246, 0.35);
  animation: float 6s ease-in-out infinite;
}

.orbit-line {
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  border: 1px solid rgba(236, 72, 153, 0.25);
}

.orbit-node {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.4);
}

.orbit-node:nth-child(2) {
  top: 18px;
  left: 36px;
}

.orbit-node:nth-child(3) {
  right: 30px;
  top: 70px;
  background: var(--accent-strong);
}

.orbit-node:nth-child(4) {
  left: 60px;
  bottom: 26px;
  background: var(--accent-warm);
}

.section-head {
  max-width: 640px;
  margin-bottom: 36px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin: 16px 0 12px;
}

.section-subtitle {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.stats-grid,
.features-grid,
.pricing-grid {
  display: grid;
  gap: 22px;
}

.stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.stat-card {
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
}

.stat-label {
  color: var(--muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.features-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.feature-card h3 {
  margin: 16px 0 10px;
  font-family: var(--font-display);
}

.feature-card p {
  color: var(--ink-soft);
  margin: 0;
}

.icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
  color: var(--ink);
}

.icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pricing-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.price-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.price-card.featured {
  border-color: rgba(139, 92, 246, 0.45);
  background: rgba(20, 20, 24, 0.9);
  box-shadow: var(--shadow-strong);
}

.price-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-soft);
}

.price-tag {
  color: var(--muted);
  font-weight: 600;
}

.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.2);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.docs-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.docs-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.doc-step {
  display: flex;
  gap: 16px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
}

.step-number {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--accent-strong);
}

.doc-step h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
}

.doc-step p {
  margin: 0;
  color: var(--ink-soft);
}

.docs-code {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.code-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.2);
  color: var(--ink);
  font-weight: 600;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.92em;
}

.site-footer {
  padding: 40px 24px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 14, 16, 0.7);
}

.footer-shell {
  max-width: 1200px;
  margin: 0 auto 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
}

.footer-brand p {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 320px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  font-weight: 500;
}

.footer-links a {
  color: var(--ink-soft);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
}

.desktop-only {
  display: flex;
}

.mobile-only {
  display: none;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--delay, 0s);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.12);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(34, 197, 94, 0.08);
  }
  100% {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.12);
  }
}

@media (max-width: 960px) {
  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    right: 16px;
    left: 16px;
    flex-direction: column;
    align-items: flex-start;
    background: var(--glass-strong);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-strong);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-toggle {
    display: block;
  }

  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: 6px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 80px;
  }

  .orbit-card {
    display: none;
  }

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

@media (max-width: 640px) {
  .section {
    padding: 72px 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orbit-card,
  .status-dot {
    animation: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
