:root {
  --bg: #0b0f17;
  --bg-alt: #101725;
  --panel: #151d2e;
  --border: #24304a;
  --text: #e8edf7;
  --muted: #9aa8c2;
  --accent: #4f8cff;
  --accent-strong: #2f6ff0;
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: min(1080px, 92%);
  margin: 0 auto;
}

.narrow { max-width: 720px; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 15, 23, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), #7c5cff);
  color: #fff;
  font-size: 0.95rem;
}

.nav-links {
  display: flex;
  gap: 22px;
  font-size: 0.95rem;
}

.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero {
  padding: 96px 0 72px;
  background:
    radial-gradient(900px 420px at 20% -10%, rgba(79, 140, 255, 0.18), transparent 60%),
    radial-gradient(700px 380px at 90% 0%, rgba(124, 92, 255, 0.14), transparent 60%);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.lead {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.08rem;
}

.cta-row {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
}

.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--accent-strong);
  color: #fff;
}

.btn-primary:hover { background: var(--accent); }

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover { border-color: var(--accent); }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }

.section h2 {
  margin: 0 0 10px;
  font-size: 1.9rem;
  letter-spacing: -0.01em;
}

.section-lead {
  margin: 0 0 34px;
  color: var(--muted);
  max-width: 640px;
}

/* Feature cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.card h3 { margin: 0 0 8px; font-size: 1.08rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Pricing */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.plan-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(79, 140, 255, 0.25), 0 18px 40px rgba(0, 0, 0, 0.35);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  margin: 0;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--accent-strong);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.plan h3 { margin: 0 0 6px; font-size: 1.15rem; }

.price {
  margin: 0 0 16px;
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.price span {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--muted);
}

.plan ul {
  margin: 0 0 24px;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.95rem;
  flex-grow: 1;
}

.plan li { margin-bottom: 8px; }

.fineprint {
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* About + prose */
.prose p { color: var(--muted); }
.prose h2 { color: var(--text); }
.prose ul { color: var(--muted); }

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

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

.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }

@media (max-width: 640px) {
  .nav-links { gap: 14px; font-size: 0.88rem; }
  .hero { padding: 64px 0 48px; }
  .section { padding: 52px 0; }
}