:root {
  --bg: #0a0e17;
  --bg-card: #111827;
  --accent: #38bdf8;
  --accent-2: #a78bfa;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border: rgba(148, 163, 184, 0.08);
  --font: 'DM Sans', sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

.bg-glow {
  position: fixed;
  top: -30%;
  right: -20%;
  width: 70vw;
  height: 70vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.bg-glow-2 {
  position: fixed;
  bottom: -20%;
  left: -15%;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 2rem 2rem 0;
}
.page-header img {
  height: 32px;
  width: auto;
}
.page-header .logo-text {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.page-header .gradient { color: var(--text); }
.page-header .wise { color: var(--accent); }

.lang-switch {
  position: fixed;
  top: 1.2rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  z-index: 10;
}
.lang-btn {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  padding: 3px 6px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  cursor: pointer;
}
.lang-btn:hover { color: var(--accent); }
.lang-active {
  color: var(--accent);
  background: rgba(56, 189, 248, 0.08);
  cursor: default;
}
.lang-sep {
  color: var(--border);
  font-size: 0.75rem;
  user-select: none;
}

.content {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 2rem 6rem;
}
.content h1 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.content h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.6rem;
  color: var(--text);
}
.content p {
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  font-size: 0.92rem;
  line-height: 1.7;
}
.content a {
  color: var(--accent);
  text-decoration: none;
}
.content a:hover {
  text-decoration: underline;
}
.content .last-updated {
  margin-top: 2.5rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: 1.2rem 2rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.78rem;
  z-index: 2;
  background: var(--bg);
}
footer a { color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
footer a:hover { color: var(--accent); }
