:root {
  --bg: #0a0d13;
  --bg-2: #0e121b;
  --panel: #131826;
  --panel-2: #0f1420;
  --border: #212838;
  --border-2: #2b3448;
  --text: #eaeef7;
  --muted: #93a0b8;
  --muted-2: #6b788f;
  --accent: #5b8cff;
  --accent-2: #8b6cff;
  --ok: #4ecb71;
  --no: #ff6b6b;
  --radius: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1100px 560px at 78% -8%, rgba(91,140,255,0.16), transparent 60%),
    radial-gradient(900px 520px at 6% 2%, rgba(139,108,255,0.13), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
strong { color: var(--text); }
em { color: #cdd8f2; font-style: normal; font-weight: 600; }
h1, h2, h3 { letter-spacing: -0.02em; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(20px, 5vw, 64px);
  background: rgba(10,13,19,0.72); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: baseline; gap: 8px; }
.brand-mark { color: var(--accent); font-size: 18px; }
.brand-name { font-weight: 800; letter-spacing: 0.4px; }
.brand-sub { color: var(--muted); font-size: 12px; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.nav-links > a:not(.btn) { color: var(--muted); transition: color 0.15s; }
.nav-links > a:not(.btn):hover { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 11px; font-weight: 650; font-size: 15px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s, border-color 0.15s;
}
.btn-sm { padding: 8px 15px; font-size: 14px; }
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #05101f;
  box-shadow: 0 10px 30px -12px rgba(91,140,255,0.7);
}
.btn-primary:hover { box-shadow: 0 16px 40px -14px rgba(91,140,255,0.85); }
.btn-ghost { border-color: var(--border-2); color: var(--text); background: rgba(255,255,255,0.02); }
.btn-ghost:hover { border-color: var(--accent); }
.btn.full { width: 100%; }

/* ---------- hero ---------- */
.hero { padding: clamp(70px, 13vw, 150px) clamp(20px, 5vw, 64px) 84px; }
.hero-inner { max-width: 900px; }
.eyebrow, .kicker { text-transform: uppercase; letter-spacing: 2.5px; font-size: 12px; color: var(--accent); font-weight: 700; margin: 0 0 16px; }
.hero h1 { font-size: clamp(38px, 6.4vw, 68px); line-height: 1.03; margin: 0 0 22px; }
.lede { font-size: clamp(17px, 2.2vw, 21px); color: var(--muted); max-width: 720px; margin: 0 0 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-cta.center { justify-content: center; }
.trustbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--muted); font-size: 13.5px; }
.trustbar .dot { color: var(--border-2); }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 100px) clamp(20px, 5vw, 64px); border-top: 1px solid var(--border); max-width: 1180px; margin: 0 auto; }
.section > h2 { font-size: clamp(27px, 4.2vw, 42px); margin: 0 0 16px; }
.section-lede { color: var(--muted); max-width: 720px; margin: 0 0 12px; font-size: 17px; }
.section-lede + .section-lede { margin-top: 14px; }

/* ---------- problem / built-for ---------- */
.problem h2 { max-width: 900px; }
.built-for {
  margin-top: 34px; padding: 22px 24px; border: 1px solid var(--border); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
}
.built-label { color: var(--muted); font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.chips span {
  border: 1px solid var(--border-2); color: var(--text); font-size: 14px; font-weight: 600;
  padding: 7px 14px; border-radius: 999px; background: rgba(91,140,255,0.06);
}

/* ---------- comparison ---------- */
.compare-wrap { overflow-x: auto; margin-top: 30px; border: 1px solid var(--border); border-radius: var(--radius); }
.compare { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 15px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); }
.compare thead th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--muted); background: var(--panel-2); }
.compare td:first-child { color: var(--muted); }
.compare .col-us { background: rgba(91,140,255,0.07); }
.compare th.col-us { color: var(--accent); }
.compare tbody tr:last-child td { border-bottom: none; }
.compare b.ok { color: var(--ok); }
.compare b.no { color: var(--no); }

/* ---------- feature grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; margin-top: 30px; }
.card {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
  transition: transform 0.15s, border-color 0.15s;
}
.card:hover { transform: translateY(-3px); border-color: var(--border-2); }
.card-icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 15px; border-radius: 11px; background: rgba(91,140,255,0.12); color: var(--accent); font-size: 20px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- how ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 30px; }
.step { border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; background: linear-gradient(180deg, var(--panel), var(--panel-2)); position: relative; }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #05101f; font-weight: 800; margin-bottom: 14px; }
.step h3 { margin: 0 0 8px; font-size: 19px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- explain panel ---------- */
.explain { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.explain-copy h2 { font-size: clamp(26px, 4vw, 38px); margin: 6px 0 16px; }
.explain-copy > p { color: var(--muted); font-size: 17px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.panel {
  background: linear-gradient(180deg, var(--panel), var(--panel-2)); border: 1px solid var(--border-2);
  border-radius: var(--radius); padding: 18px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px;
  box-shadow: 0 40px 80px -40px rgba(91,140,255,0.5);
}
.panel-head { display: flex; justify-content: space-between; align-items: center; padding: 4px 8px 14px; }
.panel-head span { color: var(--muted); }
.panel-head .badge { font-size: 11px; color: var(--ok); background: rgba(78,203,113,0.14); padding: 3px 9px; border-radius: 999px; }
.evrow { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 9px 8px; border-bottom: 1px solid var(--border); }
.evrow span { color: var(--muted); }
.evrow.strong { background: rgba(91,140,255,0.09); border-radius: 8px; }
.evrow.strong span { color: var(--accent); font-weight: 700; }
.evrow b { font-weight: 700; font-size: 11px; padding: 2px 8px; border-radius: 999px; }
.evrow b.ok { color: var(--ok); background: rgba(78,203,113,0.12); }
.evrow b.no { color: var(--no); background: rgba(255,107,107,0.12); }
.evrow i { color: var(--muted); font-style: normal; }
.evfoot { display: flex; justify-content: space-between; align-items: center; padding: 14px 8px 4px; }
.evfoot span { color: var(--muted); }
.evfoot b { color: var(--ok); }

/* ---------- deploy ---------- */
.deploy .code {
  background: #070b12; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 24px; overflow: auto; font-family: ui-monospace, Menlo, monospace; font-size: 13.5px; color: #d7e0f5; line-height: 1.75; margin-top: 8px;
}
.c-cmt { color: #566a86; }
.deploy-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.deploy-tags span { border: 1px solid var(--border); color: var(--muted); padding: 6px 13px; border-radius: 999px; font-size: 13px; }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 34px; max-width: 820px; }
.price-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; background: linear-gradient(180deg, var(--panel), var(--panel-2)); display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--accent); box-shadow: 0 30px 70px -34px rgba(91,140,255,0.55); position: relative; }
.ribbon { position: absolute; top: -12px; left: 30px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #05101f; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.price-card h3 { margin: 0 0 4px; font-size: 22px; }
.price-for { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 11px; flex: 1; }
.price-card li { position: relative; padding-left: 26px; color: var(--text); font-size: 15px; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

/* ---------- faq ---------- */
.faq-list { margin-top: 26px; max-width: 820px; display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--border); border-radius: 12px; background: var(--panel-2); overflow: hidden; }
.faq-list summary { cursor: pointer; padding: 16px 20px; font-weight: 650; font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--accent); font-size: 20px; font-weight: 400; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { margin: 0; padding: 0 20px 18px; color: var(--muted); font-size: 15px; }

/* ---------- final cta ---------- */
.cta { text-align: center; padding: clamp(70px, 11vw, 130px) 24px; border-top: 1px solid var(--border); background: radial-gradient(700px 300px at 50% 0%, rgba(91,140,255,0.12), transparent 70%); }
.cta h2 { font-size: clamp(30px, 5.4vw, 50px); margin: 0 0 10px; }
.cta p { color: var(--muted); font-size: 19px; margin: 0 0 30px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); background: var(--bg-2); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 30px clamp(20px, 5vw, 64px); color: var(--muted); font-size: 14px; max-width: 1180px; margin: 0 auto; }
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-meta { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.footer-meta a { color: var(--accent); }

@media (max-width: 860px) {
  .nav-links > a:not(.btn) { display: none; }
  .explain { grid-template-columns: 1fr; }
}
