:root {
  --bg: #0b1220;
  --panel: #111a2e;
  --panel-2: #0f172a;
  --text: #e5eefc;
  --muted: #9fb0d0;
  --accent: #38bdf8;
  --accent-2: #34d399;
  --border: rgba(255,255,255,0.08);
  --code: #0a1020;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, #08101e 0%, #0b1220 100%);
  color: var(--text);
  line-height: 1.6;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8,16,30,0.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display:flex; align-items:center; justify-content:space-between; padding:16px 0; gap:16px; }
.brand-title { font-weight: 700; font-size: 1.05rem; }
.brand-sub { color: var(--muted); font-size: 0.82rem; }
.nav-links { display:flex; gap:14px; flex-wrap:wrap; }
.nav-links a { color: var(--text); opacity:.9; font-size:.94rem; }
.hero {
  padding: 64px 0 28px;
  background:
    radial-gradient(circle at top right, rgba(56,189,248,.18), transparent 28%),
    radial-gradient(circle at left, rgba(52,211,153,.12), transparent 25%);
  border-bottom:1px solid var(--border);
}
.hero-grid { display:grid; grid-template-columns: 1.3fr .7fr; gap: 28px; }
.badge { display:inline-block; border:1px solid rgba(56,189,248,.3); background: rgba(56,189,248,.12); color:#bfe9ff; padding:6px 12px; border-radius:999px; font-size:.8rem; }
.hero h1 { font-size: clamp(2rem, 4vw, 4rem); line-height:1.1; margin:18px 0 12px; }
.lead { color: var(--muted); font-size:1.05rem; max-width: 800px; }
.actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:24px; }
.btn {
  display:inline-block; padding:12px 18px; border-radius:16px; font-weight:700;
  border:1px solid var(--border); background: transparent; color: var(--text);
}
.btn.primary { background: var(--accent-2); color:#072016; border-color: transparent; }
.btn.secondary { background: rgba(255,255,255,.03); }
.profile-card, .card, .panel {
  background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 24px;
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
}
.profile-card { padding: 22px; }
.avatar { width:80px; height:80px; border-radius:20px; display:grid; place-items:center; font-weight:800; font-size:1.6rem; background:#0b1220; border:1px solid var(--border); color:var(--accent); }
.grid-2 { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:22px; }
.grid-3 { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:22px; }
.grid-4 { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap:18px; }
.section { padding: 44px 0; }
.section h2 { font-size: clamp(1.5rem, 2vw, 2.2rem); margin:0 0 16px; }
.section .eyebrow { color:#c8b7ff; text-transform: uppercase; letter-spacing: .18em; font-size:.74rem; font-weight:700; }
.card, .panel { padding: 22px; }
.muted { color: var(--muted); }
.list { padding-left: 18px; }
.list li { margin: 6px 0; }
.tag-list { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.tag { border:1px solid var(--border); background:#0b1220; padding:6px 10px; border-radius:999px; font-size:.86rem; color:#d8e4ff; }
.kpis { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:16px; margin-top:18px; }
.kpi { background:#0b1220; border:1px solid var(--border); border-radius:18px; padding:18px; }
.kpi strong { display:block; font-size:1.6rem; }
.code, pre {
  background: var(--code); border:1px solid var(--border); border-radius:18px; padding:16px; overflow:auto;
  color:#d8e4ff; white-space:pre-wrap;
}
.footer { padding: 28px 0 52px; border-top: 1px solid var(--border); color: var(--muted); }
.timeline { border-left: 3px solid var(--accent); padding-left: 18px; }
.timeline-item { margin-bottom: 22px; }
.diagram { display:grid; justify-items:center; gap:10px; margin:18px 0; }
.diagram .box { width:min(420px,100%); text-align:center; padding:14px; border-radius:16px; border:1px solid var(--border); background:#0b1220; }
.diagram .arrow { color: var(--accent); font-size:1.25rem; }
.input, textarea {
  width:100%; border-radius:14px; border:1px solid var(--border); background:#0b1220; color:var(--text); padding:12px 14px;
}
textarea { min-height:180px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.search-results li { margin: 8px 0; }
.notice { border:1px solid rgba(56,189,248,.25); background: rgba(56,189,248,.08); border-radius:18px; padding:16px; }
.lang-toggle { display:flex; gap:8px; margin-top:12px; }
.lang-toggle button { padding:6px 10px; border-radius:999px; border:1px solid var(--border); background:#0b1220; color:var(--text); cursor:pointer; }
.lang-toggle button.active { background:var(--accent); color:#05121d; border-color:transparent; }
@media (max-width: 900px) {
  .hero-grid, .grid-2, .grid-3, .grid-4, .kpis { grid-template-columns: 1fr; }
  .nav { align-items:flex-start; flex-direction:column; }
}
