:root{
  --bg:#0b1020;
  --panel:#0f1730;
  --card:#111c3a;
  --muted:#93a4c7;
  --text:#e8eefc;
  --brand:#38bdf8;
  --brand2:#22c55e;
  --danger:#ef4444;
  --warn:#f59e0b;
  --border:rgba(255,255,255,.10);
  --shadow: 0 20px 60px rgba(0,0,0,.35);
  --radius:16px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 15% 10%, rgba(56,189,248,.18), transparent 60%),
    radial-gradient(900px 600px at 85% 20%, rgba(34,197,94,.15), transparent 55%),
    radial-gradient(900px 600px at 30% 90%, rgba(245,158,11,.10), transparent 50%),
    var(--bg);
}
a{color:inherit}
.container{max-width:1100px;margin:0 auto;padding:0 18px}
.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(11,16,32,.65);
  border-bottom:1px solid var(--border);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  gap:14px; padding:14px 0;
}
.brand{
  display:flex; align-items:center; gap:10px; text-decoration:none;
}
.brand-badge{
  width:34px;height:34px;border-radius:12px;
  background: linear-gradient(135deg, rgba(56,189,248,.9), rgba(34,197,94,.85));
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
}
.brand span{font-weight:800; letter-spacing:.2px}
.navlinks{display:flex; gap:10px; flex-wrap:wrap; align-items:center}
.navlinks a{
  text-decoration:none; padding:8px 10px; border-radius:12px;
  color:var(--muted);
}
.navlinks a:hover{background:rgba(255,255,255,.06); color:var(--text)}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:10px 14px; border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.05);
  color:var(--text); text-decoration:none; font-weight:700;
}
.btn:hover{background:rgba(255,255,255,.08)}
.btn-primary{
  border-color: rgba(56,189,248,.35);
  background: linear-gradient(135deg, rgba(56,189,248,.20), rgba(34,197,94,.16));
}
.btn-danger{border-color:rgba(239,68,68,.35); background:rgba(239,68,68,.10)}
.hero{
  padding:46px 0 26px;
}
.hero-grid{
  display:grid; grid-template-columns: 1.1fr .9fr;
  gap:18px; align-items:stretch;
}
@media (max-width:900px){ .hero-grid{grid-template-columns:1fr} }
.panel{
  background: rgba(15,23,48,.75);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-left{padding:28px}
.hero-left h1{margin:0 0 10px; font-size:42px; line-height:1.05}
.hero-left p{margin:0 0 18px; color:var(--muted); font-size:16px; line-height:1.5}
.kpi{
  display:grid; grid-template-columns: repeat(3, 1fr); gap:10px; margin-top:16px
}
@media (max-width:700px){ .kpi{grid-template-columns:1fr} }
.kpi .tile{
  padding:14px; border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
}
.kpi .tile .n{font-size:18px; font-weight:900}
.kpi .tile .l{color:var(--muted); font-size:12px; margin-top:2px}
.hero-right{padding:22px; display:flex; flex-direction:column; gap:12px}
.ill{
  flex:1;
  min-height:220px;
  border-radius:16px;
  border:1px dashed rgba(255,255,255,.18);
  background:
    radial-gradient(circle at 30% 30%, rgba(56,189,248,.22), transparent 60%),
    radial-gradient(circle at 70% 40%, rgba(34,197,94,.18), transparent 55%),
    rgba(255,255,255,.03);
  display:flex; align-items:center; justify-content:center;
  color:rgba(232,238,252,.8);
  font-weight:800;
}
.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
@media (max-width:900px){ .grid{grid-template-columns:1fr} }
.card{
  padding:18px;
  border-radius: var(--radius);
  border:1px solid var(--border);
  background: rgba(17,28,58,.75);
}
.card h3{margin:0 0 8px}
.card p{margin:0; color:var(--muted); line-height:1.5}
.section{padding:18px 0 40px}
.section h2{margin:0 0 12px}
.footer{
  padding:28px 0;
  border-top:1px solid var(--border);
  background: rgba(11,16,32,.65);
  color:var(--muted);
}
.form{
  display:grid; gap:12px;
}
.field label{display:block; font-size:12px; color:var(--muted); margin-bottom:6px; font-weight:800}
.field input, .field select, .field textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--text);
  outline:none;
}
.field input:focus, .field select:focus, .field textarea:focus{
  border-color: rgba(56,189,248,.45);
  box-shadow: 0 0 0 3px rgba(56,189,248,.12);
}
.alert{
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
}
.alert.ok{border-color:rgba(34,197,94,.30); background:rgba(34,197,94,.10)}
.alert.bad{border-color:rgba(239,68,68,.30); background:rgba(239,68,68,.10)}
.table{
  width:100%;
  border-collapse: collapse;
  border-radius: 14px;
  overflow:hidden;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
}
.table th, .table td{
  text-align:left;
  padding:12px 12px;
  border-bottom:1px solid rgba(255,255,255,.08);
  font-size:14px;
}
.table th{color:rgba(232,238,252,.85); font-size:12px; letter-spacing:.2px; text-transform:uppercase}
.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}
.pills{display:flex; flex-wrap:wrap; gap:8px}
.pill{
  padding:6px 10px; border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  font-size:12px; font-weight:800;
}
.pill.ok{border-color:rgba(34,197,94,.35); color:rgba(210,255,224,.9)}
.pill.warn{border-color:rgba(245,158,11,.35); color:rgba(255,237,213,.95)}
.pill.bad{border-color:rgba(239,68,68,.35); color:rgba(255,214,214,.95)}
