
:root{
  --bg1:#0f172a; --bg2:#1e293b; --fg:#e2e8f0; --muted:#94a3b8;
  --card:rgba(255,255,255,0.06); --ring:rgba(255,255,255,0.12);
  --good:#22c55e; --accent:#22d3ee;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;
  color:var(--fg); background:radial-gradient(1200px 800px at 50% -10%,var(--bg2),var(--bg1));
}

.container{
  width:min(1000px,92vw); margin:0 auto; padding:2rem 1.25rem;
}

/* ====== Animated top navbar ====== */
.navbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(8px);
  background: linear-gradient(0deg, rgba(15,23,42,0.55), rgba(15,23,42,0.55));
  border-bottom:1px solid var(--ring);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:1rem; padding:.7rem 1rem; max-width:1100px; margin:0 auto;
}
.brand{
  display:flex; align-items:center; gap:.6rem; text-decoration:none; color:var(--fg);
  font-weight:800; letter-spacing:.2px;
}
.brand img{ width:36px; height:36px; border-radius:10px; }
.nav{
  display:flex; align-items:center; gap:.6rem; flex-wrap:wrap;
}
.nav a{
  position:relative; text-decoration:none; color:var(--fg);
  padding:.55rem .9rem; border-radius:.8rem;
  border:1px solid transparent; transition:transform .12s ease;
}
.nav a:hover{ transform:translateY(-1px); }
.nav a::after{
  content:""; position:absolute; left:12px; right:12px; bottom:8px; height:2px;
  background:linear-gradient(90deg,transparent, var(--accent), transparent);
  scale:0 1; transform-origin:center; transition:scale .25s ease;
}
.nav a:hover::after{ scale:1 1; }
.nav a.active{
  border-color:var(--ring); background:rgba(255,255,255,.06);
}
/* Elevation on scroll */
.nav-elevated{ box-shadow:0 10px 30px rgba(0,0,0,.25); }

/* ====== Hero / Cards / Footer ====== */
.hero{
  text-align:center; padding:2rem 0 1rem;
}
.logo-block{
  display:inline-grid; place-items:center; width:72px; height:72px; border-radius:20px;
  background:linear-gradient(135deg,#60a5fa,#a78bfa); color:white; font-weight:900; font-size:1.5rem;
  box-shadow:0 10px 30px rgba(99,102,241,0.35), inset 0 0 0 1px rgba(255,255,255,.22);
  margin:0 auto .8rem;
  user-select:none;
}
.badge{ display:inline-flex; align-items:center; gap:.45rem;
  padding:.45rem .8rem; border-radius:999px; border:1px solid var(--ring);
  background:rgba(255,255,255,.06); margin:.4rem auto 1rem; font-size:.93rem;
}
.dot{ width:.55rem; height:.55rem; border-radius:50%; background:var(--good); box-shadow:0 0 10px 2px rgba(34,197,94,.5); }
h1{ margin:.2rem 0 .5rem; font-size:clamp(2rem,3vw + 1rem,3rem); }
p.muted{ color:var(--muted) }

.grid{
  display:grid; gap:12px; grid-template-columns:repeat(auto-fit, minmax(120px,1fr));
  margin-top:16px;
}
.card{
  text-align:center; padding:14px 12px; border-radius:14px; border:1px solid var(--ring);
  background:linear-gradient(180deg,#0f172a,#0b1020);
  box-shadow:0 8px 24px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.04);
}
.value{ font-size:32px; font-weight:800; color:var(--accent) }

.footer{
  margin:2rem auto; padding-top:1rem; border-top:1px solid var(--ring);
  display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap;
  color:var(--muted);
}
.footer a{ color:var(--fg); text-decoration:none; border-bottom:1px dashed var(--ring); }
.footer a:hover{ border-bottom-color:var(--accent); }
.social{ display:flex; gap:.6rem; align-items:center; }
.badge-slim{ font-size:.85rem; }
