
:root{
  --bg: #070a19;
  --panel:#0c1025;
  --text:#e9ecff;
  --muted:#aab0d6;
  --brand1:#6EE7F9;
  --brand2:#A78BFA;
  --accent:#22d3ee;
  --ok:#10b981;
  --danger:#ef4444;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0; font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--text); background: radial-gradient(1000px 600px at 70% -10%, rgba(103, 232, 249, 0.06), transparent 60%), 
             radial-gradient(800px 500px at 10% -10%, rgba(167, 139, 250, 0.07), transparent 60%), var(--bg);
  line-height:1.65;
}
a{color:inherit; text-decoration:none}
.container{max-width:1200px; margin:0 auto; padding:0 20px}
.header{
  position:sticky; top:0; backdrop-filter: blur(10px);
  background: rgba(7,10,25,.55); border-bottom: 1px solid rgba(255,255,255,.06);
  z-index:20;
}
.nav{display:flex; align-items:center; justify-content:space-between; height:72px}
.nav .links{display:flex; gap:14px; flex-wrap:wrap}
.nav a{
  padding:10px 14px; border-radius:14px; transition:.25s;
}
.nav a:hover{background:rgba(255,255,255,.06)}
.brand{display:flex; align-items:center; gap:10px}
.brand img{height:28px}
.brand strong{font-weight:700; letter-spacing:.4px}

.btn{
  display:inline-flex; align-items:center; gap:10px; padding:12px 18px;
  border-radius:16px; background: linear-gradient(135deg, var(--brand1), var(--brand2));
  color:#0a1025; font-weight:700; box-shadow:var(--shadow); transform: translateZ(0);
  transition: transform .2s ease, box-shadow .2s ease; will-change: transform;
}
.btn:hover{transform: translateY(-2px); box-shadow: 0 16px 35px rgba(103, 232, 249, .25)}

.hero{position:relative; overflow:hidden}
.hero .wrap{display:grid; grid-template-columns: 1.1fr .9fr; gap:30px; align-items:center; padding:40px 0 60px}
.hero h1{font-size:44px; line-height:1.15; margin:0 0 12px}
.hero p{color:var(--muted); margin:0 0 20px}
.hero .panel{
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08);
  border-radius:22px; padding:20px; box-shadow:var(--shadow);
}
.hero figure{margin:0; border-radius:22px; overflow:hidden; border:1px solid rgba(255,255,255,.08)}
.hero figure img{display:block; width:100%; height:auto}

.grid{display:grid; gap:20px}
.grid.cols-3{grid-template-columns: repeat(3, 1fr)}
.grid.cols-2{grid-template-columns: repeat(2, 1fr)}
.card{
  background: rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
  padding:20px; border-radius:20px; transition:.25s; position:relative;
}
.card:hover{transform: translateY(-3px); border-color: rgba(255,255,255,.18)}
.card h3{margin-top:0}

.kbd{font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); padding:2px 8px; border-radius:8px}

.section{padding:40px 0}
.section h2{font-size:28px; margin:0 0 16px}
.muted{color:var(--muted)}

.footer{padding:40px 0; color:#c9cef7; border-top:1px solid rgba(255,255,255,.06)}
.footer .cols{display:grid; grid-template-columns: 1.3fr .7fr .7fr; gap:20px}
.footer small{display:block; margin-top:10px; color:#99a1cc}

.badge{font-size:12px; padding:4px 10px; border-radius:10px; background: rgba(110,231,249,.18); border:1px solid rgba(110,231,249,.35); color:#b7faff}
.tag{display:inline-flex; align-items:center; gap:8px; padding:8px 12px; border-radius:12px; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08);}

.table{width:100%; border-collapse: collapse}
.table th, .table td{padding:10px 12px; border-bottom:1px dashed rgba(255,255,255,.1); text-align:left}
.table th{color:#b9c1ee; font-weight:600}

.cookie{
  position: fixed; left:14px; right:14px; bottom:14px; z-index:50;
  display:none;
}
.cookie .box{
  background: #0f1430; border:1px solid rgba(255,255,255,.12); border-radius:18px; padding:16px; box-shadow: var(--shadow);
}
.cookie .actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:10px}
.cookie button{
  padding:10px 14px; border-radius:12px; border:1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06);
  color:var(--text); cursor:pointer
}
.cookie .agree{background: linear-gradient(135deg, var(--brand1), var(--brand2)); color:#0a1025; border:none; font-weight:700}
.cookie .decline{background: rgba(255,255,255,.06)}
.cookie .decline:hover{background: rgba(255,255,255,.08)}
.cookie .agree:hover{filter: brightness(1.05)}

.table-of-contents{display:flex; gap:10px; flex-wrap:wrap}
.table-of-contents a{padding:8px 12px; border-radius:12px; background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.08)}

.note{padding:12px 14px; border-left:4px solid var(--accent); background: rgba(34,211,238,.08); border-radius:8px}

.backtop{
  position:fixed; right:16px; bottom:16px; display:none; padding:12px 14px; border-radius:12px;
  background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.2); cursor:pointer
}
.backtop:hover{background:rgba(255,255,255,.15)}

.code{font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; font-size:13px; background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1); padding:12px; border-radius:10px; overflow:auto}

@media (max-width: 900px){
  .hero .wrap{grid-template-columns: 1fr; padding-top:10px}
  .grid.cols-3{grid-template-columns: 1fr}
  .grid.cols-2{grid-template-columns: 1fr}
  .footer .cols{grid-template-columns: 1fr}
}
