:root{
  --bg0:#070b14;
  --bg1:#0b1220;
  --card:rgba(255,255,255,.06);
  --card2:rgba(255,255,255,.08);
  --stroke:rgba(255,255,255,.10);
  --text:#e8eefc;
  --muted:rgba(232,238,252,.72);
  --muted2:rgba(232,238,252,.55);
  --brand1:#6EE7F9;
  --brand2:#8B5CF6;
  --good:#34d399;
  --warn:#fbbf24;
  --bad:#fb7185;
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --radius:18px;
  --max:1100px;
}
*{box-sizing:border-box}
html,body{height:100%}

/* Anti-banding grain overlay to avoid visible gradient steps (especially on wide displays). */
body{position:relative;}
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:0.08;
  z-index:0;
  mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  background-size:320px 320px;
}
header,main,footer{position:relative; z-index:1;}

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:
    radial-gradient(900px 500px at 12% 6%, rgba(110,231,249,.20), transparent 60%),
    radial-gradient(900px 500px at 88% 10%, rgba(139,92,246,.18), transparent 60%),
    radial-gradient(700px 400px at 70% 70%, rgba(59,130,246,.10), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
}
a{color:inherit}
.container{width:min(var(--max), calc(100% - 32px)); margin:0 auto}
.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(7,11,20,.65);
  border-bottom:1px solid var(--stroke);
}
.topbar-inner{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}
.logo{
  width:28px;height:28px;border-radius:10px;
  background: linear-gradient(135deg, rgba(110,231,249,.95), rgba(139,92,246,.95));
  box-shadow: 0 8px 18px rgba(0,0,0,.35);
}
.brandtext{font-weight:800; letter-spacing:.2px}
.nav{display:flex; gap:18px; align-items:center}
.navlink{color:var(--muted); text-decoration:none; font-weight:600; font-size:14px; padding:8px 10px; border-radius:10px}
.navlink:hover{background:rgba(255,255,255,.06); color:var(--text)}
.navlink.active{background:rgba(255,255,255,.08); color:var(--text); border:1px solid var(--stroke)}
.hamburger{display:none; color:var(--text); background:rgba(255,255,255,.06); border:1px solid var(--stroke); border-radius:12px; padding:8px 10px; cursor:pointer}
.mobile-nav{display:none; border-top:1px solid var(--stroke); padding:10px 0}
.mobile-nav .navlink{display:block; width:100%}
main{padding:26px 0 44px}

.hero{
  padding:26px 0 10px;
}
.hero-grid{display:grid; grid-template-columns: 1.2fr .8fr; gap:18px; align-items:stretch}
.hero-card{
  border:1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.04));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:26px;
  position:relative;
  overflow:hidden;
}
.hero-card:before{
  content:"";
  position:absolute; inset:-120px -160px auto auto;
  width:360px; height:360px; border-radius:50%;
  background: radial-gradient(circle at 30% 30%, rgba(110,231,249,.35), transparent 60%),
              radial-gradient(circle at 70% 70%, rgba(139,92,246,.28), transparent 60%);
  filter: blur(2px);
}
.hero h1{margin:0; font-size: clamp(32px, 4vw, 52px); line-height:1.05; letter-spacing:-.8px}
.hero p{margin:12px 0 0; color:var(--muted); font-size:15px; line-height:1.6; max-width:70ch}
.chips{margin-top:16px; display:flex; flex-wrap:wrap; gap:10px}
.chip{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 10px; border-radius:999px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.04);
  color:var(--muted);
  font-size:12.5px; font-weight:600;
}
.ctas{margin-top:16px; display:flex; flex-wrap:wrap; gap:10px}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px;
  padding:10px 14px; border-radius:14px;
  text-decoration:none; font-weight:800; font-size:14px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.06);
  color:var(--text);
}
.btn.primary{
  background: linear-gradient(135deg, rgba(110,231,249,.22), rgba(139,92,246,.22));
  border:1px solid rgba(110,231,249,.22);
}
.btn:hover{transform: translateY(-1px); transition:.12s ease}
.sidecard{
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.04);
  border-radius: var(--radius);
  padding:18px;
}
.sidecard h3{margin:0 0 10px; font-size:16px}
.sidecard p{margin:0 0 10px; color:var(--muted); font-size:13.5px; line-height:1.6}
.sidecard ul{margin:0; padding-left:18px; color:var(--muted); font-size:13.5px; line-height:1.6}
hr.sep{border:0; height:1px; background: var(--stroke); margin:18px 0}

.section{margin-top:22px}
.section h2{margin:0 0 12px; font-size:22px; letter-spacing:-.2px}
.section p{color:var(--muted); line-height:1.65}
.grid{display:grid; grid-template-columns: repeat(2, 1fr); gap:14px}
.card{
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.04);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
}
.card h3{margin:0 0 6px; font-size:16px}
.card p{margin:0; color:var(--muted); font-size:13.5px; line-height:1.6}
.tags{margin-top:10px; display:flex; flex-wrap:wrap; gap:8px}
.tag{font-size:12px; color:var(--muted2); border:1px solid var(--stroke); background:rgba(255,255,255,.03); padding:6px 9px; border-radius:999px}
.card .actions{margin-top:12px}
.small{font-size:12.5px; color:var(--muted2)}
.adwrap{margin:14px 0; border:1px dashed rgba(255,255,255,.14); border-radius:14px; padding:10px}
.form{
  display:grid; gap:12px;
}
.form .row{display:grid; grid-template-columns: repeat(2,1fr); gap:12px}
.field{display:grid; gap:6px}
label{font-size:12px; color:var(--muted2); font-weight:700}
input,select,textarea{
  width:100%;
  padding:11px 12px;
  border-radius:14px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.03);
  color:var(--text);
  outline:none;
}
input::placeholder, textarea::placeholder{color:rgba(232,238,252,.35)}
.helper{font-size:12.5px; color:var(--muted2); line-height:1.55}
.kpis{display:grid; grid-template-columns: repeat(3, 1fr); gap:12px; margin-top:12px}
.kpi{
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.04);
  border-radius:16px;
  padding:14px;
}
.kpi .k{font-size:12px; color:var(--muted2); font-weight:800}
.kpi .v{font-size:18px; font-weight:900; margin-top:6px}
.kpi.good .v{color:var(--good)}
.kpi.warn .v{color:var(--warn)}
.kpi.bad .v{color:var(--bad)}
.table{
  width:100%;
  border-collapse: collapse;
  overflow:hidden;
  border-radius:16px;
  border:1px solid var(--stroke);
}
.table th,.table td{padding:10px 12px; border-bottom:1px solid rgba(255,255,255,.08); font-size:13px; text-align:left}
.table th{color:var(--muted2); font-weight:900; background:rgba(255,255,255,.03)}
.table tr:last-child td{border-bottom:0}
.prose{max-width:78ch}
.prose h2{margin-top:20px}
.prose h3{margin-top:14px}
.prose p, .prose li{color:var(--muted); line-height:1.75}
.prose a{color:var(--brand1)}
.footer{
  border-top:1px solid var(--stroke);
  background: rgba(7,11,20,.8);
  padding:22px 0;
}
.footer-inner{display:flex; align-items:flex-start; justify-content:space-between; gap:14px}
.foot-brand{font-weight:900}
.foot-small{color:var(--muted); font-size:13px; margin-top:6px; max-width:52ch}
.foot-links{display:flex; gap:14px; flex-wrap:wrap}
.foot-links a{color:var(--muted); text-decoration:none; font-weight:700; font-size:13px}
.foot-links a:hover{color:var(--text)}
.cookiebar{
  position:fixed; left:16px; right:16px; bottom:16px; z-index:100;
  border:1px solid var(--stroke);
  background: rgba(7,11,20,.88);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding:14px;
  box-shadow: var(--shadow);
  display:none;
}
.cookiebar .inner{display:flex; gap:12px; align-items:flex-start; justify-content:space-between}
.cookiebar p{margin:0; color:var(--muted); font-size:13px; line-height:1.55}
.cookiebar .btns{display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end}
.cookiebar button{
  border-radius:12px; border:1px solid var(--stroke);
  background:rgba(255,255,255,.06);
  color:var(--text);
  font-weight:900;
  padding:9px 12px;
  cursor:pointer;
}
.cookiebar button.primary{
  background: linear-gradient(135deg, rgba(110,231,249,.22), rgba(139,92,246,.22));
  border:1px solid rgba(110,231,249,.22);
}
@media (max-width: 860px){
  .nav{display:none}
  .hamburger{display:inline-flex}
  .hero-grid{grid-template-columns: 1fr}
  .grid{grid-template-columns: 1fr}
  .form .row{grid-template-columns: 1fr}
  .kpis{grid-template-columns: 1fr}
  .footer-inner{flex-direction:column}
}
