
:root{
  --bg:#07080a;
  --panel: rgba(255,255,255,.04);
  --panel2: rgba(255,255,255,.02);
  --border: rgba(255,255,255,.10);
  --border2: rgba(255,255,255,.07);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.62);
  --blue: #2563eb;
  --blue2:#60a5fa;
  --shadow: 0 20px 80px rgba(0,0,0,.65);
  --r: 18px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: var(--font);
  color: var(--text);
  background: radial-gradient(1100px 700px at 20% 10%, rgba(37,99,235,.16), transparent 60%), var(--bg);
  overflow-x:hidden;
}

/* diagonal grid */
body:before{
  content:"";
  position:fixed; inset:-20%;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 44px 44px, 44px 44px;
  transform: rotate(-18deg);
  opacity:.22;
  filter: blur(.1px);
  pointer-events:none;
  z-index:-2;
}
/* vignette */
body:after{
  content:"";
  position:fixed; inset:-20px;
  background: radial-gradient(70% 60% at 50% 35%, transparent 45%, rgba(0,0,0,.72) 100%);
  pointer-events:none;
  z-index:-1;
}

.container{ max-width:1180px; margin:0 auto; padding: 26px 18px 70px; }

.topbar{
  position:sticky; top:0; z-index:10;
  display:flex; justify-content:center;
  padding: 14px 10px;
  background: rgba(7,8,10,.58);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.navpill{
  display:flex; align-items:center; gap:10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
}
.brand{
  display:flex; align-items:center; gap:10px; padding: 0 6px 0 2px;
}
.logo{
  width:34px; height:34px; border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(96,165,250,.9), rgba(37,99,235,.85));
  box-shadow: 0 0 0 1px rgba(255,255,255,.10);
}
.brand-title{ font-weight: 900; letter-spacing:.2px; }
.brand-sub{ display:none; }

.nav{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.tab{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 9px 12px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: var(--text);
  text-decoration:none;
  font-weight: 750;
}
.tab:hover{ background: rgba(255,255,255,.05); }
.tab-on{
  border-color: rgba(96,165,250,.50);
  box-shadow: 0 0 0 4px rgba(37,99,235,.18);
}
.tab-primary{
  background: linear-gradient(180deg, rgba(37,99,235,.95), rgba(37,99,235,.70));
  border-color: rgba(96,165,250,.45);
}
.tab-danger{
  border-color: rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  opacity:.85;
}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}
.hero{
  padding: 28px 22px;
  text-align:center;
  max-width: 980px;
  margin: 28px auto 0;
}
.tag{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 6px 12px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.70);
  font-size: 13px;
}
.h1{
  margin: 18px 0 0;
  font-size: 58px;
  line-height: 1.05;
  letter-spacing: -1.2px;
  font-weight: 950;
}
@media (max-width: 900px){ .h1{ font-size: 42px; } }
@media (max-width: 520px){ .h1{ font-size: 34px; } }

.blur-word{
  position:relative;
  display:inline-block;
  color: rgba(255,255,255,.92);
}
.blur-word:after{
  content: attr(data-text);
  position:absolute; left:0; top:0;
  color: rgba(255,255,255,.90);
  filter: blur(10px);
  opacity:.55;
  transform: translateY(2px);
  pointer-events:none;
  z-index:-1;
}

.sub{
  margin: 14px auto 0;
  max-width: 720px;
  color: rgba(255,255,255,.66);
  line-height: 1.6;
  font-size: 15px;
}

.row{
  display:flex;
  gap:10px;
  justify-content:center;
  margin-top: 22px;
  flex-wrap:wrap;
}
.searchbar{
  display:flex; align-items:center; gap:10px;
  width: min(720px, 100%);
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.30);
}
.searchbar svg{ opacity:.85; }
.input{
  flex:1;
  border:0;
  outline:0;
  background: transparent;
  color: var(--text);
  font-size: 15px;
}
.input::placeholder{ color: rgba(255,255,255,.45); }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid rgba(96,165,250,.45);
  background: linear-gradient(180deg, rgba(37,99,235,.95), rgba(37,99,235,.70));
  color:#fff;
  font-weight: 850;
  cursor:pointer;
  box-shadow: 0 18px 60px rgba(37,99,235,.18);
}
.btn:hover{ filter: brightness(1.06); }

.kpis{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
  max-width: 980px;
  margin: 18px auto 0;
}
@media (max-width: 900px){ .kpis{ grid-template-columns: repeat(2, 1fr);} }
.kpi{
  padding: 14px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  text-align:left;
}
.kpi .n{ font-size: 22px; font-weight: 950; }
.kpi .l{ margin-top:4px; font-size: 12px; color: rgba(255,255,255,.60); letter-spacing:.8px; text-transform: uppercase; }

.hr{ height:1px; background: rgba(255,255,255,.08); margin: 16px 0; }
.muted{ color: var(--muted); }

.table{ width:100%; border-collapse: collapse; margin-top: 14px; overflow:hidden; border-radius: 16px; }
.table th,.table td{ padding: 12px 10px; border-bottom:1px solid rgba(255,255,255,.06); text-align:left; }
.table th{ color: rgba(255,255,255,.70); font-size:12px; letter-spacing:.7px; text-transform: uppercase; }
.table tr:hover td{ background: rgba(37,99,235,.08); }

.badge{
  display:inline-flex; padding: 2px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.78);
  font-size: 12px;
  margin-left:8px;
}
a.link{ color: rgba(96,165,250,.92); text-decoration:none; }
a.link:hover{ color: rgba(96,165,250,1); text-decoration: underline; }

.alert{
  padding: 12px 14px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}
.alert-danger{
  border-color: rgba(255,120,120,.25);
  background: rgba(255,120,120,.10);
}

.footer{
  padding: 18px;
  border-top:1px solid rgba(255,255,255,.06);
  color: rgba(255,255,255,.62);
  display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap;
  background: rgba(7,8,10,.58);
  backdrop-filter: blur(14px);
}
.center{ display:flex; justify-content:center; }
