:root{
  --bg0:#070A12;
  --bg1:#0B1020;
  --card:#0d1630cc;
  --card2:#0b1328;
  --stroke:rgba(148,163,184,.18);
  --stroke2:rgba(148,163,184,.26);
  --text:#e5e7eb;
  --muted:#93a4bb;
  --muted2:#6b7f9c;
  --good:#22c55e;
  --bad:#ef4444;
  --warn:#f59e0b;

  --a1:#6ee7ff;
  --a2:#7c3aed;
  --a3:#22c55e;

  --radius:18px;
  --shadow: 0 30px 70px rgba(0,0,0,.55);
  --shadow2: 0 18px 40px rgba(0,0,0,.45);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Montserrat", sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(110,231,255,.22), transparent 60%),
    radial-gradient(900px 500px at 85% 10%, rgba(124,58,237,.22), transparent 55%),
    radial-gradient(1100px 700px at 70% 120%, rgba(34,197,94,.14), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  min-height:100vh;
}

a{color:inherit;text-decoration:none}
.container{max-width:1180px;margin:0 auto;padding:0 18px}
/* Scrollbar */
::-webkit-scrollbar{width:10px}
::-webkit-scrollbar-track{background:rgba(2,6,23,.65)}
::-webkit-scrollbar-thumb{background:linear-gradient(180deg,var(--a1),var(--a2),var(--a3));border-radius:999px}
::-webkit-scrollbar-thumb:hover{filter:brightness(1.08)}

/* Topbar */
.topbar{
  position:sticky; top:0; z-index:60;
  backdrop-filter: blur(12px);
  background: rgba(7,10,18,.68);
  border-bottom:1px solid var(--stroke);
}
.topbar-inner{
  height:72px; display:flex; align-items:center; justify-content:space-between; gap:14px;
}
.brand{display:flex; align-items:center; gap:12px; min-width:240px}
.brand img{width:42px; height:42px}
.brand-title{
  display:flex; flex-direction:column; line-height:1.05;
}
.brand-title strong{font-weight:800; letter-spacing:.14em; text-transform:uppercase; font-size:13px; color:#c7d2fe}
.brand-title span{font-size:12px; color:var(--muted)}
.nav{
  display:flex; gap:18px; align-items:center; flex-wrap:wrap; justify-content:center;
}
.nav a{
  font-size:13px; color:rgba(226,232,240,.9);
  padding:8px 10px; border-radius:999px;
  border:1px solid transparent;
  transition: .15s ease;
}
.nav a:hover{border-color:var(--stroke2); background:rgba(148,163,184,.06); color:#fff}
.actions{display:flex; gap:10px; align-items:center}
.btn{
  padding:10px 14px; border-radius:999px; font-weight:700; font-size:13px;
  border:1px solid var(--stroke2);
  background: rgba(148,163,184,.06);
  transition:.15s ease;
}
.btn:hover{transform:translateY(-1px); background:rgba(148,163,184,.10)}
.btn-primary{
  border:none;
  background: linear-gradient(90deg, var(--a1), var(--a2), var(--a3));
  color:#071018;
  box-shadow: 0 10px 26px rgba(124,58,237,.25);
}
.btn-primary:hover{filter:brightness(1.05)}

/* Hero */
.hero{
  position:relative;
  padding:70px 0 40px;
  overflow:hidden;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:26px;
  align-items:stretch;
}
.kicker{
  display:inline-flex; gap:8px; align-items:center;
  font-size:12px; letter-spacing:.22em; text-transform:uppercase;
  color:#cbd5e1;
  border:1px solid var(--stroke2);
  background:rgba(148,163,184,.06);
  padding:10px 12px;
  border-radius:999px;
}
.dot{
  width:8px; height:8px; border-radius:999px;
  background:linear-gradient(90deg,var(--a1),var(--a2),var(--a3));
  box-shadow:0 0 18px rgba(110,231,255,.35);
}
.hero h1{
  margin:16px 0 12px;
  font-size:44px;
  line-height:1.04;
  letter-spacing:-.02em;
}
.hero p{
  margin:0 0 18px;
  color:var(--muted);
  max-width:64ch;
  font-size:15px;
  line-height:1.6;
}
.hero-cta{display:flex; gap:10px; flex-wrap:wrap; margin-top:18px}
.hero-panel{
  border:1px solid var(--stroke);
  background: radial-gradient(900px 500px at 30% 0%, rgba(110,231,255,.08), transparent 55%),
              radial-gradient(800px 480px at 90% 20%, rgba(124,58,237,.10), transparent 60%),
              rgba(11,16,32,.55);
  border-radius:var(--radius);
  box-shadow:var(--shadow2);
  padding:18px;
  display:flex; flex-direction:column; gap:14px;
}
.stats{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:12px;
}
.stat{
  border:1px solid var(--stroke);
  background:rgba(2,6,23,.42);
  border-radius:16px;
  padding:12px;
}
.stat .k{font-size:11px; letter-spacing:.22em; text-transform:uppercase; color:var(--muted2)}
.stat .v{font-size:20px; font-weight:800; margin-top:6px}
.badges{display:flex; flex-wrap:wrap; gap:8px}
.pill{
  font-size:12px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background:rgba(148,163,184,.05);
  color:#dbeafe;
}
.pill strong{color:#fff}

/* Sections */
.section{
  padding:56px 0;
  border-top:1px solid var(--stroke);
}
.section-head{
  display:flex; align-items:flex-end; justify-content:space-between; gap:18px; flex-wrap:wrap;
  margin-bottom:18px;
}
.section-head h2{
  margin:0;
  font-size:24px;
  letter-spacing:-.01em;
}
.section-head p{
  margin:6px 0 0;
  color:var(--muted);
  max-width:80ch;
  font-size:14px;
  line-height:1.6;
}
.section-meta{
  font-size:12px;
  color:var(--muted2);
  border:1px solid var(--stroke);
  padding:8px 10px;
  border-radius:999px;
  background:rgba(148,163,184,.05);
}

/* Feature explorer */
.toolbar{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  margin:14px 0 16px;
}
.search{
  flex: 1 1 320px;
  display:flex;
  gap:10px;
  align-items:center;
}
.search input{
  width:100%;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--stroke);
  background:rgba(2,6,23,.46);
  color:var(--text);
  outline:none;
}
.search input:focus{border-color:rgba(110,231,255,.35); box-shadow:0 0 0 4px rgba(110,231,255,.08)}
.filters{display:flex; gap:8px; flex-wrap:wrap; align-items:center; justify-content:flex-end}
.chip{
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background:rgba(148,163,184,.05);
  font-size:12px;
  color:#dbeafe;
  cursor:pointer;
  user-select:none;
  transition:.12s ease;
}
.chip:hover{transform:translateY(-1px); border-color:rgba(110,231,255,.28)}
.chip[data-active="true"]{
  background:linear-gradient(90deg, rgba(110,231,255,.22), rgba(124,58,237,.22), rgba(34,197,94,.16));
  border-color:rgba(110,231,255,.30);
  color:#fff;
}

.grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:14px;
}
.card{
  border:1px solid var(--stroke);
  background: rgba(11,16,32,.62);
  border-radius:var(--radius);
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  padding:14px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.card-top{
  display:flex; align-items:flex-start; justify-content:space-between; gap:12px;
}
.card h3{
  margin:0;
  font-size:14px;
  line-height:1.25;
}
.sub{
  font-size:12px;
  color:var(--muted);
  margin-top:4px;
}
.tagrow{display:flex; gap:8px; flex-wrap:wrap; margin-top:8px}
.tag{
  font-size:11px;
  padding:6px 8px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background:rgba(148,163,184,.05);
  color:#cbd5e1;
}
.state{
  font-size:11px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background:rgba(2,6,23,.4);
  color:#e2e8f0;
}
.state.on{border-color:rgba(34,197,94,.35); color:#bbf7d0}
.state.off{border-color:rgba(239,68,68,.35); color:#fecaca}
.state.maybe{border-color:rgba(245,158,11,.35); color:#fde68a}

.hl{
  margin:0;
  padding:0;
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.hl li{
  font-size:12px;
  color:#cbd5e1;
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:8px 10px;
  border-radius:14px;
  border:1px solid var(--stroke);
  background:rgba(2,6,23,.42);
}
.hl code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size:11px;
  color:#c7d2fe;
}
.hl b{color:#fff; font-weight:800}
.details{
  border:1px solid var(--stroke);
  border-radius:14px;
  overflow:hidden;
  background:rgba(2,6,23,.35);
}
.details summary{
  cursor:pointer;
  padding:10px 12px;
  font-size:12px;
  color:#e2e8f0;
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.details summary::-webkit-details-marker{display:none}
.details .kv{
  padding:10px 12px 12px;
  display:grid;
  grid-template-columns: 1fr;
  gap:8px;
}
.kvrow{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:8px 10px;
  border-radius:12px;
  border:1px solid var(--stroke);
  background:rgba(11,19,40,.40);
  font-size:12px;
  color:#cbd5e1;
}
.kvrow span:first-child{color:#93c5fd}
.kvrow span:last-child{
  color:#e5e7eb;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size:11px;
}

/* Two-column content blocks */
.cols{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}
.block{
  border:1px solid var(--stroke);
  background:rgba(2,6,23,.35);
  border-radius:var(--radius);
  padding:16px;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
}
.block h3{margin:0 0 8px; font-size:14px}
.block p{margin:0; color:var(--muted); font-size:13px; line-height:1.6}
.block ul{margin:10px 0 0; padding-left:18px; color:#cbd5e1; font-size:13px; line-height:1.6}
.block li{margin:6px 0}

/* Contact */
.contact{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
  align-items:stretch;
}
.form{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.field label{
  display:block;
  font-size:11px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--muted2);
  margin-bottom:6px;
}
.field input, .field textarea{
  width:100%;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--stroke);
  background:rgba(2,6,23,.46);
  color:var(--text);
  outline:none;
}
.field textarea{min-height:120px; resize:vertical}
.note{font-size:12px; color:var(--muted)}
.footer{
  padding:22px 0;
  color:var(--muted2);
  font-size:12px;
  border-top:1px solid var(--stroke);
  background: rgba(7,10,18,.35);
}

@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr}
  .grid{grid-template-columns: repeat(2, minmax(0, 1fr))}
  .cols{grid-template-columns:1fr}
  .contact{grid-template-columns:1fr}
  .nav{display:none}
}
@media (max-width: 560px){
  .grid{grid-template-columns:1fr}
  .topbar-inner{height:auto; padding:12px 0}
  .actions{flex-wrap:wrap; justify-content:flex-end}
  .hero h1{font-size:34px}
}