:root {
  --bg: #0e1116;
  --panel: #171c24;
  --panel-2: #1f2730;
  --border: #2a323d;
  --text: #e6edf3;
  --muted: #8b98a5;
  --accent: #4f9dff;
  --on: #3fd07f;
  --off: #3a434e;
  --warn: #ffb454;
  --err: #ff6b6b;
  --ok: #3fd07f;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Top nav ── */
.topbar { display: flex; align-items: center; gap: 16px; padding: 14px 22px;
  background: linear-gradient(180deg, #141a22, #0e1116); border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 20; }
.brand { display: flex; align-items: center; gap: 10px; }
.logo { font-size: 22px; color: var(--accent); }
.brandname { font-weight: 600; letter-spacing: .3px; }
.nav { margin-left: auto; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.nav a { color: var(--muted); font-size: 14px; }
.nav a:hover { color: var(--text); text-decoration: none; }
.nav-cta { background: var(--accent); color: #04101f !important; padding: 7px 14px; border-radius: 8px; font-weight: 600; }
.nav-cta:hover { filter: brightness(1.08); }

/* ── Buttons ── */
.btn { border: 1px solid var(--border); background: var(--panel-2); color: var(--text);
  padding: 11px 18px; border-radius: 8px; cursor: pointer; font-size: 14px; transition: .15s;
  display: inline-block; font-weight: 500; }
.btn:hover { border-color: var(--accent); text-decoration: none; }
.btn.ghost { background: transparent; }
.btn.primary { background: var(--accent); color: #04101f; border-color: var(--accent); font-weight: 600; }
.btn.primary:hover { filter: brightness(1.08); }

/* ── Hero ── */
.hero { max-width: 980px; margin: 0 auto; padding: 64px 22px 40px; text-align: center; }
.hero h1 { font-size: clamp(28px, 5vw, 46px); line-height: 1.15; margin: 0 0 18px; letter-spacing: -.5px; }
.hero .lede { font-size: 18px; color: var(--muted); max-width: 720px; margin: 0 auto 28px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .trust { margin-top: 22px; font-size: 13px; color: var(--muted); }

/* ── Sections ── */
.section { max-width: 1040px; margin: 0 auto; padding: 56px 22px; }
.section.alt { background: linear-gradient(180deg, #11161d, #0e1116); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section h2 { font-size: clamp(24px, 3.5vw, 34px); margin: 0 0 10px; }
.section-intro { color: var(--muted); margin: 0 0 28px; font-size: 16px; }

/* ── Checklist ── */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.checklist li { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; font-size: 15px; }
.checklist li span { margin-right: 8px; }

/* ── Cards ── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 22px; }
.card h3 { margin: 0 0 8px; font-size: 19px; color: var(--accent); }
.card p { margin: 0; color: var(--muted); }

/* ── Tiers / pricing ── */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; align-items: stretch; }
.tier { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 26px 22px; display: flex; flex-direction: column; }
.tier.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.tier h3 { margin: 0 0 6px; font-size: 20px; }
.tier .price { font-size: 34px; font-weight: 700; margin: 8px 0 16px; }
.tier .price span { font-size: 15px; font-weight: 400; color: var(--muted); margin-left: 4px; }
.tier ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.tier ul li { padding: 6px 0; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text); }
.tier ul li:last-child { border-bottom: none; }
.tier .btn { text-align: center; }

/* ── Live panel ── */
.panel-wrap { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.panel-bar { display: flex; align-items: center; gap: 16px; padding: 14px 22px;
  background: linear-gradient(180deg, #141a22, #0e1116); border-bottom: 1px solid var(--border); }
.panel-bar .status { margin-left: auto; font-size: 13px; color: var(--muted); }
.banner { margin: 14px 22px; padding: 14px 18px; border-radius: 10px; font-size: 14px; line-height: 1.5; }
.banner.warn { background: rgba(255,180,84,.12); border: 1px solid rgba(255,180,84,.4); color: var(--warn); }
.banner.err { background: rgba(255,107,107,.12); border: 1px solid rgba(255,107,107,.4); color: var(--err); }
.hidden { display: none; }
.banner code { background: #000; padding: 2px 6px; border-radius: 4px; color: #fff; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; padding: 18px 22px; }
.domain { background: var(--panel-2); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.domain h2 { margin: 0; padding: 12px 16px; font-size: 14px; text-transform: capitalize;
  letter-spacing: .4px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; }
.domain h2 .count { color: var(--muted); font-weight: 400; }
.entities { padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.entity { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 9px; background: var(--panel); }
.entity .meta { flex: 1; min-width: 0; }
.entity .name { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.entity .sub { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.entity .id { font-size: 11px; color: #5d6975; font-family: ui-monospace, monospace; }
.toggle { position: relative; width: 48px; height: 26px; flex-shrink: 0; cursor: pointer; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle .track { position: absolute; inset: 0; background: var(--off); border-radius: 20px; transition: .2s; }
.toggle .knob { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; transition: .2s; }
.toggle input:checked + .track { background: var(--on); }
.toggle input:checked + .track + .knob { transform: translateX(22px); }
.valbtn { border: 1px solid var(--border); background: var(--panel); color: var(--text); border-radius: 8px; padding: 5px 10px; font-size: 12px; cursor: pointer; }
.valbtn:hover { border-color: var(--accent); }
.row-btns { display: flex; gap: 6px; flex-shrink: 0; }
.cam-img { width: 100%; border-radius: 8px; display: block; background: #000; min-height: 120px; }
.cam-refresh { font-size: 11px; color: var(--accent); cursor: pointer; }
.foot { padding: 14px 22px; color: var(--muted); font-size: 12px; border-top: 1px solid var(--border); }
.loading { color: var(--muted); padding: 40px; text-align: center; }

/* ── Lead form ── */
.lead-form { max-width: 520px; background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 26px; }
.field { margin-bottom: 16px; display: flex; flex-direction: column; }
.field label { font-size: 14px; margin-bottom: 6px; color: var(--text); }
.field input, .field select, .field textarea {
  background: var(--panel-2); border: 1px solid var(--border); color: var(--text);
  border-radius: 8px; padding: 11px 12px; font-size: 14px; font-family: inherit; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.lead-result { margin-top: 14px; font-size: 14px; min-height: 20px; }
.lead-result.ok { color: var(--ok); }
.lead-result.err { color: var(--err); }

/* ── Share / referral ── */
.share { margin-top: 22px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.share-label { color: var(--muted); font-size: 14px; }
.share-note { color: var(--ok); font-size: 13px; word-break: break-all; }

/* ── Footer ── */
.sitefoot { max-width: 1040px; margin: 0 auto; padding: 32px 22px 56px; color: var(--muted); font-size: 13px; border-top: 1px solid var(--border); }
.footlinks a { margin: 0 4px; }

@media (max-width: 640px) {
  .nav { gap: 12px; font-size: 13px; }
  .section { padding: 40px 18px; }
}
