:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --bg: #0b1020;
  --panel: rgba(17, 24, 39, 0.85);
  --panel-2: rgba(15, 23, 42, 0.6);
  --border: rgba(148, 163, 184, 0.18);
  --border-soft: rgba(148, 163, 184, 0.12);
  --text: #e6edf7;
  --muted: #cbd5e1;
  --dim: #94a3b8;
  --faint: #64748b;
  --brand: #2563EB;
  --brand-soft: #60A5FA;
  --brand-deep: #1E3A8A;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background:
    radial-gradient(circle at 20% 10%, rgba(59,130,246,.18), transparent 40%),
    radial-gradient(circle at 80% 90%, rgba(37,99,235,.15), transparent 45%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.55;
}
a { color: #bfdbfe; text-decoration: none; }
a:hover { color: #dbeafe; text-decoration: underline; }
img { max-width: 100%; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ── Top nav ─────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 16, 32, 0.78);
  border-bottom: 1px solid var(--border-soft);
}
.nav .row {
  display: flex; align-items: center; gap: 24px;
  padding: 14px 0;
}
.nav .brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.nav .brand a { color: var(--text); font-weight: 700; font-size: 17px; letter-spacing: .3px; text-decoration: none; }
.nav .brand .sub { color: var(--dim); font-size: 10px; text-transform: uppercase; letter-spacing: .8px; }
.nav .links { display: flex; gap: 22px; flex: 1; }
.nav .links a { color: var(--muted); font-size: 14px; text-decoration: none; }
.nav .links a:hover { color: var(--text); }
.nav .links a.current { color: #93c5fd; }
.nav .cta a {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  padding: 8px 16px; border-radius: 8px;
  font-size: 13px; font-weight: 600;
  text-decoration: none;
}
.nav .cta a:hover { opacity: .92; text-decoration: none; }

/* ── Hero ────────────────────────────────────────────── */
.hero { padding: 80px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; gap: 24px; } }
.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05; letter-spacing: -0.5px;
  margin: 0 0 18px;
}
.hero h1 .accent { background: linear-gradient(120deg, #60A5FA, #93c5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lede {
  font-size: 18px; color: var(--muted);
  margin: 0 0 28px; max-width: 56ch;
}
.hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 10px;
  text-decoration: none; font-weight: 600; font-size: 15px;
  transition: opacity .15s, transform .05s;
}
.btn.primary { background: linear-gradient(135deg, var(--brand), var(--brand-deep)); color: #fff; }
.btn.primary:hover { opacity: .92; text-decoration: none; }
.btn.primary:active { transform: translateY(1px); }
.btn.ghost {
  border: 1px solid var(--border);
  color: var(--muted);
  background: transparent;
}
.btn.ghost:hover { background: rgba(148,163,184,0.08); text-decoration: none; }
.hero .small { color: var(--dim); font-size: 12px; }

.hero-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(0,0,0,.45);
  padding: 28px;
  backdrop-filter: blur(8px);
}
.hero-card h3 { margin: 0 0 14px; font-size: 13px; text-transform: uppercase; letter-spacing: .8px; color: var(--dim); }
.hero-card ul { margin: 0; padding: 0; list-style: none; }
.hero-card li {
  padding: 10px 0; border-bottom: 1px solid var(--border-soft);
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; color: var(--muted);
}
.hero-card li:last-child { border-bottom: none; }
.hero-card li .check { color: #34d399; flex: 0 0 auto; margin-top: 2px; }

/* ── Sections ───────────────────────────────────────── */
section { padding: 64px 0; border-top: 1px solid var(--border-soft); }
section.no-border { border-top: none; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head .eyebrow { color: #93c5fd; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
.section-head h2 { margin: 8px 0 12px; font-size: clamp(26px, 3.5vw, 36px); letter-spacing: -.3px; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 880px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p { color: var(--muted); margin: 0; font-size: 14px; }
.card .icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  display: grid; place-items: center;
  margin-bottom: 12px;
  color: #fff;
}

/* ── Steps row ───────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 22px; border: 1px solid var(--border); border-radius: 14px; background: var(--panel); }
.step .num {
  position: absolute; top: -14px; left: 22px;
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff; font-weight: 700; font-size: 13px;
  display: grid; place-items: center;
}
.step h3 { margin: 4px 0 6px; font-size: 16px; }
.step p { color: var(--muted); font-size: 14px; margin: 0; }

/* ── Pricing teaser ──────────────────────────────────── */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1000px) { .tiers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .tiers { grid-template-columns: 1fr; } }
.tier {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 22px;
  display: flex; flex-direction: column; gap: 10px;
}
.tier.featured {
  border-color: rgba(96,165,250,.55);
  box-shadow: 0 0 0 1px rgba(96,165,250,.25), 0 30px 60px rgba(37,99,235,.18);
}
.tier h3 { margin: 0; font-size: 18px; }
.tier .price { font-size: 22px; font-weight: 700; }
.tier .price small { font-weight: 400; color: var(--dim); font-size: 12px; }
.tier ul { list-style: none; margin: 8px 0 0; padding: 0; font-size: 13px; color: var(--muted); }
.tier li { padding: 6px 0; border-bottom: 1px solid var(--border-soft); }
.tier li:last-child { border-bottom: none; }
.tier .badge { display: inline-block; font-size: 10px; text-transform: uppercase; letter-spacing: .8px; color: #93c5fd; padding: 2px 8px; border: 1px solid rgba(96,165,250,.4); border-radius: 99px; align-self: flex-start; }

/* ── CTA banner ──────────────────────────────────────── */
.cta-banner {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  text-align: center;
}
.cta-banner h2 { margin: 0 0 10px; font-size: 26px; }
.cta-banner p { color: var(--muted); max-width: 56ch; margin: 0 auto 20px; }
/* Inline buttons inside a .cta-banner sit on one line and are baseline-
   aligned so primary + ghost always render level. The flex wrapper kicks
   in even without an explicit container - direct <a class="btn"> siblings
   auto-align via inline-flex on the .btn itself. */
.cta-banner .btn { display: inline-flex; align-items: center; vertical-align: middle; margin: 4px 4px 0; }

/* ── Footer ──────────────────────────────────────────── */
footer { padding: 40px 0 24px; border-top: 1px solid var(--border-soft); margin-top: 40px; }
footer .row { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }
footer .meta { color: var(--faint); font-size: 12px; }
footer a { color: var(--dim); font-size: 13px; }

/* ── Page (about/contact/pricing detail) ─────────────── */
.page { padding: 64px 0; }
.page .lead {
  max-width: 720px; margin: 0 auto 40px; text-align: center;
}
.page h1 { font-size: clamp(28px, 3.5vw, 40px); letter-spacing: -.3px; margin: 0 0 12px; }
.page .lead p { color: var(--muted); font-size: 17px; }
article.prose {
  max-width: 760px; margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
}
article.prose h2 { font-size: 20px; margin: 24px 0 8px; }
article.prose h2:first-child { margin-top: 0; }
article.prose p, article.prose li { color: var(--muted); font-size: 15px; }
article.prose ul { padding-left: 22px; }
article.prose code {
  background: rgba(15,23,42,.7);
  padding: 2px 6px; border-radius: 4px;
  border: 1px solid var(--border-soft);
  font-size: 13px;
}

.eyebrow-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid rgba(96,165,250,.35); border-radius: 99px; color: #93c5fd; font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }

/* ── Polish layer ───────────────────────────────────── */

/* Subtle hover lift + brand-tinted border on cards and steps */
.card, .step, .tier {
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.card:hover, .step:hover, .tier:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, 0.45);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.12);
}
.tier.featured:hover {
  box-shadow: 0 0 0 1px rgba(96,165,250,.35), 0 30px 60px rgba(37,99,235,.28);
}

/* Decorative underline below section eyebrows */
.section-head .eyebrow { position: relative; display: inline-block; padding-bottom: 6px; }
.section-head .eyebrow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 28px; height: 2px;
  background: linear-gradient(90deg, transparent, #60A5FA, transparent);
}

/* Hero card inner highlight (subtle top sheen) */
.hero-card { position: relative; overflow: hidden; }
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.6), transparent);
}

/* Step number gets a soft glow */
.step .num { box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12); }

/* Slightly stronger CTA banner gradient */
.cta-banner {
  background:
    radial-gradient(circle at 0% 0%, rgba(96, 165, 250, 0.12), transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(56, 189, 248, 0.08), transparent 50%),
    var(--panel);
}

/* Buttons get a subtle shimmer on hover */
.btn.primary {
  position: relative;
  overflow: hidden;
}
.btn.primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.08), transparent);
  transform: translateX(-110%);
  transition: transform 0.5s ease;
}
.btn.primary:hover::after { transform: translateX(110%); }

/* Tighter, more confident section spacing on wide viewports */
@media (min-width: 1100px) {
  section { padding: 80px 0; }
}

/* Focus ring for keyboard users */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid #60A5FA;
  outline-offset: 3px;
  border-radius: 8px;
}

/* Better mobile spacing for the hero */
@media (max-width: 600px) {
  .hero { padding: 56px 0 32px; }
  .hero h1 { font-size: 34px; }
}
