:root{
  --bg:#070A12;
  --fg:#E9ECF8;
  --muted:#AAB0C5;
  --card:rgba(255,255,255,0.06);
  --border:rgba(255,255,255,0.12);
  --shadow: 0 16px 50px rgba(0,0,0,0.45);
  --radius: 18px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: var(--sans);
  color:var(--fg);
  background:var(--bg);
  overflow-x:hidden;
}

.bg{ position:fixed; inset:0; z-index:-2; }
.noise{
  position:absolute; inset:-40%;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
  transform:rotate(5deg);
  opacity:.25;
  z-index:-1;
}
.glow{
  position:absolute;
  width:850px; height:850px;
  filter: blur(65px);
  opacity:.45;
  border-radius:999px;
}
.glow-a{ left:-240px; top:-200px; background: radial-gradient(circle at 30% 30%, rgba(0,255,198,.9), transparent 60%); }
.glow-b{ right:-260px; bottom:-220px; background: radial-gradient(circle at 70% 60%, rgba(153,102,255,.9), transparent 60%); }

.container{ max-width:1100px; margin:0 auto; padding:28px 18px 48px; }

.topbar{
  position:sticky; top:0; z-index:10;
  backdrop-filter: blur(12px);
  background: rgba(7,10,18,0.62);
  border-bottom:1px solid rgba(255,255,255,0.08);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 18px;
}
.brand{ display:flex; gap:10px; align-items:center; text-decoration:none; color:var(--fg); font-weight:700; letter-spacing:.2px; }
.brand-mark{
  width:34px; height:34px; border-radius:12px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, rgba(0,255,198,.35), rgba(153,102,255,.35));
  border:1px solid rgba(255,255,255,0.16);
  box-shadow: var(--shadow);
}
.nav{ display:flex; gap:14px; flex-wrap:wrap; justify-content:flex-end; }
.nav a{
  color:var(--muted);
  text-decoration:none;
  font-weight:600;
  padding:8px 10px;
  border-radius:12px;
}
.nav a:hover{ color:var(--fg); background:rgba(255,255,255,0.06); }

.hero{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:18px;
  align-items:stretch;
  margin-top:14px;
}
@media (max-width: 880px){
  .hero{ grid-template-columns:1fr; }
  .nav{ gap:8px; }
  .nav a{ padding:8px 8px; }
}

.pill{
  display:inline-flex;
  padding:8px 12px;
  border:1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  border-radius:999px;
  color:var(--muted);
  font-weight:700;
  font-size:13px;
  letter-spacing:.2px;
  gap:8px;
  align-items:center;
}
.hero h1{ font-size:52px; margin:12px 0 6px; line-height:1.05; letter-spacing:-.8px; }
@media (max-width: 520px){ .hero h1{ font-size:40px; } }

.lead{ color:var(--muted); font-size:18px; margin:0 0 16px; max-width: 42ch; }

.hero-cta{ display:flex; gap:10px; flex-wrap:wrap; margin:14px 0 6px; }
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-decoration:none;
  color:var(--fg);
  background: rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.14);
  padding:10px 14px;
  border-radius:14px;
  font-weight:800;
  cursor:pointer;
}
.btn:hover{ background: rgba(255,255,255,0.10); }
.btn.primary{
  background: linear-gradient(135deg, rgba(0,255,198,.25), rgba(153,102,255,.25));
  border:1px solid rgba(255,255,255,0.22);
}
.btn[aria-disabled="true"]{ opacity:.5; pointer-events:none; }

.mini{ margin-top:14px; display:flex; flex-direction:column; gap:10px; }
.mini-item{ color:var(--muted); display:flex; gap:10px; align-items:center; font-weight:700; }
.dot{ width:10px; height:10px; border-radius:99px; display:inline-block; }
.dot-a{ background: rgba(0,255,198,.9); }
.dot-b{ background: rgba(153,102,255,.9); }
.dot-c{ background: rgba(255,208,96,.9); }

.glass{
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.05));
  border:1px solid rgba(255,255,255,0.14);
  box-shadow: var(--shadow);
  padding:14px;
}
.glass-title{ font-weight:900; letter-spacing:.2px; margin-bottom:8px; }
.glass-row{ display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; }

.section{ margin-top:22px; }
.section-head h1, .section-head h2{ margin:0 0 6px; letter-spacing:-.4px; }
.section-head p{ margin:0 0 10px; }

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
@media (max-width: 980px){ .grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px){ .grid{ grid-template-columns: 1fr; } }

.card{
  border-radius: var(--radius);
  background: rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.12);
  box-shadow: 0 10px 30px rgba(0,0,0,0.30);
  padding:16px;
}
.card h1{ margin:0 0 10px; letter-spacing:-.4px; }
.card h3{ margin:18px 0 8px; }
.card p{ margin:10px 0; }

.model{ display:block; text-decoration:none; color:var(--fg); transition: transform .12s ease; }
.model:hover{ transform: translateY(-2px); background: rgba(255,255,255,0.07); }
.model-title{ font-weight:900; letter-spacing:-.2px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.model-top{ display:flex; justify-content:space-between; align-items:flex-start; gap:10px; }
.badge{
  font-weight:900;
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(153,102,255,0.18);
  border:1px solid rgba(153,102,255,0.35);
  color: var(--fg);
  white-space:nowrap;
}
.badge.ok{ background: rgba(0,255,198,0.14); border-color: rgba(0,255,198,0.30); }
.badge.warn{ background: rgba(255,150,86,0.16); border-color: rgba(255,150,86,0.32); }

.model-meta{ margin-top:10px; display:flex; justify-content:space-between; align-items:center; gap:10px; }
.model-stats{ margin-top:10px; display:flex; gap:12px; color:var(--muted); font-weight:800; }
.stat{ padding:6px 10px; background: rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.10); border-radius:999px; }

.chip{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  font-weight:900;
  font-size:12px;
}
.row{ display:flex; flex-wrap:wrap; gap:8px; align-items:center; }

.filters{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr auto;
  gap:10px;
  margin: 10px 0 12px;
  align-items:end;
}
@media (max-width: 1100px){ .filters{ grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 650px){ .filters{ grid-template-columns: 1fr; } }
.field label{ display:block; font-weight:900; font-size:12px; color:var(--muted); margin:0 0 6px; }
.field input, .field select{
  width:100%;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.22);
  color:var(--fg);
  outline:none;
}
.field input::placeholder{ color: rgba(170,176,197,0.72); }

.muted{ color:var(--muted); }
.small{ font-size:13px; }
.mono{ font-family:var(--mono); }

.pager{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:14px;
  gap:12px;
}

.two{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
@media (max-width: 900px){ .two{ grid-template-columns:1fr; } }

.bigstats{ display:grid; grid-template-columns: repeat(3, 1fr); gap:10px; margin:10px 0 12px; }
@media (max-width: 620px){ .bigstats{ grid-template-columns:1fr; } }

.bigstat{
  padding:12px;
  border-radius:16px;
  background: rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.10);
}
.big{ font-size:24px; font-weight:950; letter-spacing:-.3px; }

.kv{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:12px;
  margin-top:10px;
}
@media (max-width: 620px){ .kv{ grid-template-columns:1fr; } }
.k{ font-weight:900; font-size:12px; color:var(--muted); margin-bottom:6px; }
.v{ font-weight:800; }

.tags{ display:flex; flex-wrap:wrap; gap:8px; margin-top:8px; }
.actions{ display:flex; flex-wrap:wrap; gap:10px; margin-top:12px; }

.sep{
  border:0;
  border-top:1px solid rgba(255,255,255,0.10);
  margin:14px 0;
}

.link{ color: var(--fg); text-decoration:none; font-weight:900; }
.link:hover{ text-decoration:underline; }

.footer{
  border-top:1px solid rgba(255,255,255,0.08);
  padding: 28px 18px 44px;
  color: var(--muted);
}
.footer-grid{
  max-width:1100px;
  margin:0 auto;
  display:grid;
  grid-template-columns: 1.2fr .7fr 1.1fr;
  gap:16px;
  align-items:start;
}
@media (max-width: 900px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-title{ font-weight:950; color:var(--fg); margin-bottom:6px; }
.footer-links{ display:flex; gap:12px; flex-wrap:wrap; }
.footer-links a{ color:var(--muted); text-decoration:none; font-weight:800; }
.footer-links a:hover{ color:var(--fg); }
