:root {
  --bg: #070a14;
  --bg-2: #0a0f1d;
  --card: #0f172a;
  --card-2: #131f38;
  --border: rgba(148, 163, 184, 0.13);
  --border-strong: rgba(192, 132, 252, 0.38);
  --text: #e5e7eb;
  --muted: #94a3b8;
  --muted-2: #64748b;
  --purple: #c084fc;
  --pink: #f472b6;
  --cyan: #22d3ee;
  --green: #4ade80;
  --grad: linear-gradient(120deg, #c084fc 0%, #f472b6 100%);
  --glow-purple: rgba(192, 132, 252, 0.35);
  --glow-pink: rgba(244, 114, 182, 0.30);
  --radius: 22px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(192, 132, 252, 0.20), transparent 62%),
    radial-gradient(780px 460px at 88% 4%, rgba(244, 114, 182, 0.16), transparent 60%),
    radial-gradient(700px 500px at 50% 108%, rgba(34, 211, 238, 0.10), transparent 65%),
    var(--bg);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 78%);
}

a { color: var(--pink); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ───────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 10, 20, 0.72);
  border-bottom: 1px solid var(--border);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: rgba(7, 10, 20, 0.92);
  box-shadow: 0 18px 40px -28px rgba(0, 0, 0, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 19px;
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; }

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: block;
  box-shadow: 0 0 18px rgba(192, 132, 252, 0.35);
}

.brand span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.main-nav a {
  color: var(--muted);
  font-size: 14.5px;
  padding: 8px 12px;
  border-radius: 10px;
  transition: color 0.2s ease, background 0.2s ease;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
  background: rgba(148, 163, 184, 0.09);
  text-decoration: none;
}
.main-nav a.active {
  color: #e9d5ff;
  box-shadow: inset 0 -2px 0 var(--purple);
}

.lang-switch {
  display: flex;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: rgba(15, 23, 42, 0.6);
  flex-shrink: 0;
}

.lang-switch button {
  background: transparent;
  border: 0;
  color: var(--muted);
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.lang-switch button:hover { color: var(--text); }
.lang-switch button.active {
  background: var(--grad);
  color: #0b1020;
  box-shadow: 0 0 16px var(--glow-pink);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
