/* StatsDesk - lightweight responsive styles (no framework) */
:root{
  --bg:#0b1020;
  --card:#121a33;
  --muted:#9fb0d0;
  --text:#e9eefc;
  --accent:#6aa8ff;
  --accent2:#8bffdd;
  --border: rgba(255,255,255,.12);
  --shadow: 0 12px 30px rgba(0,0,0,.35);
  --radius: 18px;
  --max: 1120px;
  --font: system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji";
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font);
  background: radial-gradient(900px 600px at 10% 5%, rgba(106,168,255,.20), transparent 60%),
              radial-gradient(900px 600px at 90% 0%, rgba(139,255,221,.16), transparent 65%),
              var(--bg);
  color:var(--text);
  line-height:1.55;
}
a{color:inherit; text-decoration:none}
a:hover{color:var(--accent)}
.container{max-width:var(--max); margin:0 auto; padding:0 16px}
header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(11,16,32,.72);
  border-bottom:1px solid var(--border);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 0;
  gap:12px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-weight:700; letter-spacing:.2px;
}
.brand img{width:34px; height:34px}
.navlinks{
  display:flex; gap:14px; flex-wrap:wrap;
  justify-content:flex-end;
}
.navlinks a{
  padding:8px 10px;
  border-radius:999px;
  color:rgba(233,238,252,.92);
}
.navlinks a:hover{background:rgba(255,255,255,.06)}
.hero{
  padding:40px 0 22px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:18px;
  align-items:stretch;
}
.badge{
  display:inline-flex; gap:8px; align-items:center;
  padding:6px 10px;
  border:1px solid var(--border);
  border-radius:999px;
  color:rgba(233,238,252,.9);
  background:rgba(255,255,255,.03);
  font-size:13px;
}
.badge span.dot{width:8px; height:8px; border-radius:50%; background:linear-gradient(90deg,var(--accent),var(--accent2))}
h1{
  margin:14px 0 10px;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height:1.12;
}
.sub{
  color:var(--muted);
  font-size: clamp(15px, 1.4vw, 18px);
  max-width:60ch;
}
.card{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card.pad{padding:18px}
.kpis{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
  margin-top:18px;
}
.kpi{
  padding:12px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.16);
}
.kpi .t{font-size:12px; color:var(--muted)}
.kpi .v{font-size:18px; font-weight:700; margin-top:4px}
.button{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(106,168,255,.16);
  color:var(--text);
  font-weight:650;
  cursor:pointer;
}
.button:hover{background: rgba(106,168,255,.22)}
.button.secondary{background:rgba(255,255,255,.05)}
.grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:10px;
}
input[type="text"], input[type="email"], textarea{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.20);
  color: var(--text);
  outline:none;
}
textarea{min-height:140px; resize:vertical}
input:focus, textarea:focus{border-color: rgba(106,168,255,.55)}
.small{font-size:13px; color:var(--muted)}
hr{
  border:none;
  height:1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent);
  margin:18px 0;
}
section{padding:14px 0 26px}
h2{margin:0 0 10px; font-size:24px}
h3{margin:0 0 6px}
footer{
  border-top:1px solid var(--border);
  padding:22px 0;
  color:rgba(233,238,252,.82);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:18px;
}
.footer-links{display:flex; flex-wrap:wrap; gap:10px}
.footer-links a{padding:6px 10px; border-radius:999px; border:1px solid transparent}
.footer-links a:hover{border-color: var(--border); background: rgba(255,255,255,.04)}
/* Blog */
.postlist{display:grid; gap:12px}
.postitem{padding:16px}
.postmeta{display:flex; flex-wrap:wrap; gap:10px; font-size:13px; color:var(--muted)}
.post h1{margin-top:6px}
.prose{color:rgba(233,238,252,.92)}
.prose p{margin:12px 0}
.prose ul{margin:10px 0 10px 20px}
.prose li{margin:6px 0}
.prose code{background:rgba(255,255,255,.06); padding:2px 6px; border-radius:8px; border:1px solid var(--border)}
.prose blockquote{
  margin:14px 0;
  padding:10px 14px;
  border-left:3px solid rgba(106,168,255,.6);
  background: rgba(255,255,255,.04);
  border-radius:12px;
}
/* Responsive */
@media (max-width: 900px){
  .hero-grid{grid-template-columns:1fr}
  .kpis{grid-template-columns:1fr}
  .grid{grid-template-columns: repeat(2, 1fr)}
  .footer-grid{grid-template-columns:1fr}
}
@media (max-width: 420px){
  .grid{grid-template-columns:1fr}
  .navlinks{gap:8px}
  .navlinks a{padding:7px 9px}
}


/* Cookie banner */
.cookie-banner{
  position:fixed; left:16px; right:16px; bottom:16px; z-index:9999;
  max-width: 980px; margin:0 auto;
  background: rgba(18,26,51,.92);
  border:1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(0,0,0,.35);
  padding: 14px 14px;
  backdrop-filter: blur(10px);
}
.cookie-banner .row{
  display:flex; gap:12px; flex-wrap:wrap; align-items:center; justify-content:space-between;
}
.cookie-banner p{margin:0; color: rgba(233,238,252,.90); font-size:13px; max-width:72ch}
.cookie-banner .btns{display:flex; gap:10px; flex-wrap:wrap}
.cookie-banner .btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(233,238,252,.95);
  font-weight:650;
  cursor:pointer;
  font-size:13px;
}
.cookie-banner .btn.primary{background: rgba(106,168,255,.18)}
.cookie-banner .btn:hover{background: rgba(255,255,255,.10)}
@media (max-width:520px){
  .cookie-banner{left:10px; right:10px; bottom:10px}
}
