:root {
  --bg: #07111f;
  --bg2: #0b1a2c;
  --panel: #0f2238;
  --panel2: #122a45;
  --ink: #f2f7ff;
  --muted: #a8bdd3;
  --dim: #7893ad;
  --line: rgba(168, 189, 211, .18);
  --accent: #5bd4ff;
  --accent2: #8b7bff;
  --amber: #ffc45c;
  --green: #66e3a8;
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(900px 600px at 8% -10%, rgba(91, 212, 255, .12), transparent 60%),
    radial-gradient(800px 500px at 100% 0%, rgba(139, 123, 255, .10), transparent 55%),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: rgba(91, 212, 255, .28); }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(7, 17, 31, .78);
  border-bottom: 1px solid var(--line);
}
.nav-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.02em; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(145deg, var(--accent), var(--accent2));
  box-shadow: 0 0 24px rgba(91, 212, 255, .28);
  position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 8px;
  border: 2px solid rgba(7, 17, 31, .82); border-radius: 4px;
}
.brand small { display: block; color: var(--dim); font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 26px; color: var(--muted); font-size: 13px; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 10px; align-items: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 18px; border-radius: 10px;
  border: 1px solid transparent; font-weight: 700; font-size: 13px;
  cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #04111d; box-shadow: 0 8px 28px rgba(91, 212, 255, .16); }
.btn-primary:hover { background: #8ee2ff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: rgba(255,255,255,.02); }
.btn-ghost:hover { background: rgba(255,255,255,.05); }
.btn-amber { background: var(--amber); color: #1a1102; }
.btn-lg { min-height: 50px; padding: 0 24px; font-size: 14px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-size: 11px; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; }

/* hero */
.hero { padding: 92px 0 64px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
.hero h1 {
  margin: 18px 0 20px; font-size: clamp(44px, 5.6vw, 76px);
  line-height: .98; letter-spacing: -.045em; font-weight: 850;
}
.hero h1 .grad { background: linear-gradient(100deg, var(--accent), #b9a8ff 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); max-width: 620px; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 18px; color: var(--dim); font-size: 12px; }
.hero-note span { display: flex; align-items: center; gap: 7px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }

.hero-card {
  border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
  background: linear-gradient(180deg, rgba(18, 42, 69, .92), rgba(9, 23, 39, .95));
  box-shadow: 0 30px 80px rgba(0, 0, 0, .36);
}
.hero-card-top { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); color: var(--dim); font-size: 11px; }
.hero-card-top .lights { display: flex; gap: 5px; margin-right: auto; }
.hero-card-top .lights i { width: 7px; height: 7px; border-radius: 50%; background: #29415c; }
.hero-card-body { padding: 22px; }
.mini-label { color: var(--dim); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.mini-title { font-size: 20px; font-weight: 800; letter-spacing: -.02em; margin: 6px 0 4px; }
.mini-sub { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.pipeline { display: grid; gap: 9px; }
.pipe-row { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.02); font-size: 12px; }
.pipe-row b { color: var(--ink); font-weight: 700; }
.pipe-row em { color: var(--dim); font-style: normal; font-size: 10px; }
.pipe-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px rgba(91,212,255,.45); }
.pipe-dot.amber { background: var(--amber); box-shadow: 0 0 12px rgba(255,196,92,.4); }
.pipe-dot.green { background: var(--green); box-shadow: 0 0 12px rgba(102,227,168,.4); }

/* sections */
.section { padding: 72px 0; border-top: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 38px; }
.section-head h2 { margin: 12px 0 12px; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.06; letter-spacing: -.035em; font-weight: 820; }
.section-head p { color: var(--muted); margin: 0; font-size: 16px; }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(15, 34, 56, .82), rgba(9, 23, 39, .90));
  padding: 22px;
}
.card h3 { margin: 12px 0 8px; font-size: 18px; letter-spacing: -.02em; }
.card p { margin: 0; color: var(--muted); font-size: 13.5px; }
.card .icon {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(91,212,255,.10); border: 1px solid rgba(91,212,255,.20); color: var(--accent);
}
.card .icon.amber { background: rgba(255,196,92,.09); border-color: rgba(255,196,92,.22); color: var(--amber); }
.card .icon.green { background: rgba(102,227,168,.09); border-color: rgba(102,227,168,.22); color: var(--green); }
.tag { display: inline-block; margin-top: 14px; padding: 4px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--dim); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tag.live { color: var(--green); border-color: rgba(102,227,168,.30); }
.tag.build { color: var(--amber); border-color: rgba(255,196,92,.30); }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.step { padding: 22px 18px; border-right: 1px solid var(--line); background: rgba(255,255,255,.015); }
.step:last-child { border-right: 0; }
.step .n { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.step h4 { margin: 10px 0 6px; font-size: 14px; }
.step p { margin: 0; color: var(--dim); font-size: 12px; }

.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.price { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.015); position: relative; }
.price.featured { border-color: rgba(91,212,255,.45); background: linear-gradient(180deg, rgba(91,212,255,.08), rgba(9,23,39,.9)); }
.price .plan { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .10em; }
.price .amount { font-size: 34px; font-weight: 850; letter-spacing: -.04em; margin: 10px 0 2px; }
.price .amount span { font-size: 12px; color: var(--dim); font-weight: 500; letter-spacing: 0; }
.price ul { margin: 16px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 12.5px; }
.price li { padding: 6px 0; border-top: 1px solid rgba(168,189,211,.10); }
.price li:first-child { border-top: 0; }
.planned { margin-top: 14px; color: var(--dim); font-size: 10px; }

.trust { display: grid; grid-template-columns: 1.1fr .9fr; gap: 42px; align-items: start; }
.trust-list { display: grid; gap: 12px; }
.trust-item { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.trust-item b { display: block; font-size: 14px; margin-bottom: 2px; }
.trust-item span { color: var(--muted); font-size: 12.5px; }
.check { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: rgba(102,227,168,.12); color: var(--green); font-size: 11px; margin-top: 2px; }

.quote {
  border-left: 2px solid var(--accent); padding: 6px 0 6px 18px; color: var(--ink);
  font-size: 15px; line-height: 1.6;
}
.quote small { display: block; margin-top: 10px; color: var(--dim); font-size: 11px; }

/* form */
.form-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: linear-gradient(180deg, rgba(18,42,69,.92), rgba(9,23,39,.95)); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { margin-bottom: 12px; }
.field label { display: block; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 9px;
  background: rgba(4, 14, 25, .65); color: var(--ink); padding: 11px 12px;
  font: inherit; font-size: 13px; outline: none;
}
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(91,212,255,.55); box-shadow: 0 0 0 3px rgba(91,212,255,.10); }
.form-note { color: var(--dim); font-size: 11px; margin-top: 10px; }
.form-ok { display: none; margin-top: 12px; padding: 10px 12px; border-radius: 8px; background: rgba(102,227,168,.10); border: 1px solid rgba(102,227,168,.25); color: var(--green); font-size: 12px; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 34px 0 44px; color: var(--dim); font-size: 12px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--ink); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* brand variants */
body.b2b { --accent: #ffc45c; --accent2: #ff8b5c; }
body.b2b .hero h1 .grad { background: linear-gradient(100deg, #ffc45c, #ff8b5c 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.b2b .brand-mark { background: linear-gradient(145deg, #ffc45c, #ff8b5c); box-shadow: 0 0 24px rgba(255,196,92,.25); }
body.b2b .btn-primary { background: var(--amber); color: #1a1102; box-shadow: 0 8px 28px rgba(255,196,92,.14); }
body.b2b .btn-primary:hover { background: #ffd784; }
body.b2b .eyebrow { color: var(--amber); }
body.b2b .dot { background: var(--amber); box-shadow: 0 0 10px var(--amber); }

/* responsive */
@media (max-width: 980px) {
  .hero-grid, .trust { grid-template-columns: 1fr; gap: 36px; }
  .grid-4, .pricing { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-bottom: 1px solid var(--line); }
  .nav-links { display: none; }
}
@media (max-width: 620px) {
  .wrap { width: min(100% - 28px, var(--max)); }
  .hero { padding: 64px 0 40px; }
  .grid-4, .pricing, .steps, .form-row { grid-template-columns: 1fr; }
  .step { border-right: 0; }
  .nav-cta .btn-ghost { display: none; }
  .hero h1 { font-size: 46px; }
}
