* {
  box-sizing: border-box;
}

:root {
  --bg: #09090b;
  --bg-soft: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.10);
  --text: #ffffff;
  --muted: #a1a1aa;
  --violet: #8b5cf6;
  --violet-2: #a78bfa;
  --blue: #3b82f6;
  --green: #86efac;
  --card: rgba(255, 255, 255, 0.05);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 28px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.18), transparent 26%),
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent 18%),
    var(--bg);
}

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

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  gap: 20px;
}

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

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(139, 92, 246, 0.18);
  border: 1px solid rgba(167, 139, 250, 0.30);
  box-shadow: 0 10px 30px rgba(76, 29, 149, 0.35);
  font-weight: 800;
}

.brand-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-subtitle,
.muted {
  font-size: 13px;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #d4d4d8;
  font-size: 15px;
}

.nav-btn,
.btn,
.feature-card,
.plan-card,
.step,
.mini-card,
.hero-card {
  transition: 0.25s ease;
}

.nav-btn {
  padding: 11px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
}

.nav-btn:hover,
.btn-secondary:hover,
.feature-card:hover,
.plan-card:hover,
.mini-card:hover {
  background: rgba(255,255,255,0.08);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 22px 0 82px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.10);
  border: 1px solid rgba(167, 139, 250, 0.20);
  color: #ddd6fe;
  font-size: 14px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet-2);
}

.hero-copy h1,
.section-copy h2,
.cta-box h2 {
  margin: 20px 0 0;
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 900;
}

.hero-copy h1 {
  font-size: clamp(42px, 7vw, 76px);
  max-width: 700px;
}

.hero-copy h1 span {
  color: var(--violet-2);
}

.lead,
.section-copy p,
.cta-box p {
  color: #d4d4d8;
  line-height: 1.75;
  font-size: 19px;
}

.lead {
  max-width: 650px;
  margin-top: 24px;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 56px;
  padding: 14px 24px;
  border-radius: 20px;
  font-weight: 700;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--violet);
  box-shadow: 0 16px 36px rgba(76, 29, 149, 0.34);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: #9d74ff;
}

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

.btn-light {
  background: #ffffff;
  color: #09090b;
}

.btn-ghost {
  background: rgba(0, 0, 0, 0.18);
  border-color: rgba(255,255,255,0.16);
}

.btn-full {
  width: 100%;
  margin-top: 26px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
}

.hero-card-wrap {
  position: relative;
}

.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(54px);
  opacity: 0.85;
  pointer-events: none;
}

.glow-blue {
  width: 140px;
  height: 140px;
  left: -12px;
  top: 38px;
  background: rgba(59, 130, 246, 0.22);
}

.glow-violet {
  width: 180px;
  height: 180px;
  right: -8px;
  bottom: 0;
  background: rgba(139, 92, 246, 0.20);
}

.hero-card {
  position: relative;
  z-index: 1;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.05);
  border-radius: 34px;
  padding: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.card-head,
.footer-row,
.split {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.card-head {
  align-items: center;
  margin-bottom: 14px;
}

.card-title {
  font-weight: 800;
  font-size: 24px;
  margin-top: 4px;
}

.latency {
  white-space: nowrap;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.14);
  color: #bbf7d0;
  font-size: 14px;
  font-weight: 700;
}

.showcase {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 34px;
  border: 1px solid var(--border);
  background:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(135deg, rgba(139, 92, 246, 0.28), rgba(217, 70, 239, 0.07), rgba(59, 130, 246, 0.18));
  background-size: 28px 28px, 28px 28px, auto;
}

.badge,
.popular-badge,
.section-label {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 12px;
}

.badge {
  padding: 10px 14px;
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.12);
  color: #d4d4d8;
}

.showcase h2 {
  margin: 18px 0 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.stats,
.mini-grid,
.features-grid,
.plans-grid {
  display: grid;
  gap: 16px;
}

.stats {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 24px;
}

.stat,
.mini-card,
.feature-card,
.plan-card,
.step {
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.26);
  border-radius: 22px;
}

.stat {
  padding: 18px 14px;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 26px;
  font-weight: 900;
}

.stat span {
  color: var(--muted);
  font-size: 14px;
}

.mini-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 14px;
}

.mini-card {
  padding: 18px;
  background: rgba(255,255,255,0.04);
}

.mini-card strong {
  display: block;
  margin-top: 6px;
}

.section {
  padding: 92px 0;
}

.section-alt {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
}

.section-copy {
  max-width: 820px;
}

.section-copy.center {
  margin: 0 auto;
  text-align: center;
}

.section-copy h2,
.cta-box h2 {
  font-size: clamp(34px, 5vw, 58px);
}

.section-copy p {
  max-width: 760px;
  margin-top: 20px;
}

.section-label {
  color: #ddd6fe;
}

.section-label-blue {
  color: #bfdbfe;
}

.features-grid {
  margin-top: 42px;
  grid-template-columns: repeat(4, 1fr);
}

.feature-card {
  padding: 26px;
  background: var(--card);
  box-shadow: 0 10px 30px rgba(0,0,0,0.20);
}

.feature-card:hover,
.plan-card:hover {
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.feature-card h3,
.plan-card h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
}

.feature-card p,
.plan-card p {
  color: var(--muted);
  line-height: 1.7;
  margin: 12px 0 0;
}

.split {
  align-items: start;
}

.split > * {
  flex: 1;
}

.steps {
  display: grid;
  gap: 16px;
}

.step {
  display: flex;
  align-items: start;
  gap: 16px;
  padding: 20px;
  background: rgba(24,24,27,0.76);
}

.step span {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(139, 92, 246, 0.20);
  border: 1px solid rgba(167, 139, 250, 0.20);
  color: #ddd6fe;
  font-weight: 800;
}

.step p {
  margin: 8px 0 0;
  font-size: 17px;
  color: #e4e4e7;
}

.plans-grid {
  margin-top: 42px;
  grid-template-columns: repeat(3, 1fr);
}

.plan-card {
  padding: 30px;
  background: var(--card);
  box-shadow: 0 12px 40px rgba(0,0,0,0.20);
}

.plan-card-popular {
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.16), rgba(255,255,255,0.04));
  border-color: rgba(167, 139, 250, 0.28);
  box-shadow: 0 16px 48px rgba(76, 29, 149, 0.28);
}

.popular-badge {
  margin-bottom: 18px;
  padding: 8px 12px;
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(167, 139, 250, 0.20);
  color: #e9ddff;
  letter-spacing: 0.16em;
}

.price {
  margin-top: 10px;
  font-size: 34px;
  font-weight: 900;
}

.plan-card ul {
  padding: 0;
  list-style: none;
  margin: 24px 0 0;
}

.plan-card li {
  position: relative;
  padding-left: 30px;
  margin-top: 14px;
  color: #e4e4e7;
}

.plan-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #86efac;
  font-weight: 800;
}

.cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 42px;
  background:
    linear-gradient(90deg, rgba(139, 92, 246, 0.20), rgba(217, 70, 239, 0.08), rgba(59, 130, 246, 0.18));
  box-shadow: var(--shadow);
}

.cta-box p {
  max-width: 760px;
  margin-top: 20px;
}

.footer {
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.18);
  color: var(--muted);
}

.footer-row {
  align-items: center;
  padding: 28px 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 1080px) {
  .hero-grid,
  .split,
  .cta-box,
  .footer-row {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

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

  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px;
  }
}

@media (max-width: 720px) {
  .section,
  .hero-grid {
    padding-bottom: 72px;
  }

  .features-grid,
  .plans-grid,
  .stats,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .showcase,
  .cta-box,
  .hero-card,
  .plan-card,
  .feature-card,
  .step {
    border-radius: 24px;
  }

  .cta-box {
    padding: 28px;
  }

  .btn,
  .nav-btn {
    width: 100%;
  }

  .hero-actions,
  .cta-actions {
    width: 100%;
  }

  .hero-actions a,
  .cta-actions a {
    width: 100%;
  }
}
