:root {
  --bg: #070912;
  --panel: #0e1220;
  --card: #12182b;
  --muted: #b8c0d8;
  --text: #f6f8ff;
  --accent: #a675ff;
  --accent-2: #6ed7ff;
  --accent-3: #f7b733;
  --border: rgba(255,255,255,0.08);
  --shadow: 0 20px 80px rgba(0,0,0,0.35);
  --gradient: radial-gradient(circle at 20% 20%, rgba(166,117,255,0.18), transparent 40%), radial-gradient(circle at 80% 0%, rgba(110,215,255,0.18), transparent 35%), radial-gradient(circle at 50% 80%, rgba(247,183,51,0.08), transparent 30%);
  --onion-1: #c084ff;
  --onion-2: #8ab5ff;
  --onion-3: #ffe29f;
  --onion-4: #a1ffce;
  --radius: 16px;
  --nav-height: 72px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  background-image: var(--gradient);
}
a { color: inherit; text-decoration: none; }
header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(7,9,18,0.8);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  padding: 0 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
}
.brand-onion {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.25));
}
nav ul {
  display: flex;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
nav a {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
nav a.active, nav a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}
.dropdown { position: relative; }
.dropdown > button {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
}
.dropdown > button.active, .dropdown > button:hover {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}
.submenu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(14,18,32,0.95);
  box-shadow: var(--shadow);
  min-width: 220px;
  z-index: 20;
}
.submenu a { display: block; }
.dropdown:hover .submenu, .dropdown.open .submenu { display: flex; }
.lang-toggle {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: linear-gradient(120deg, rgba(166,117,255,0.25), rgba(110,215,255,0.2));
  color: var(--text);
  cursor: pointer;
  font-weight: 600;
}
.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 80px;
  position: relative;
  z-index: 1;
}
section {
  margin: 56px 0;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}
h1, h2, h3, h4 {
  margin: 0 0 12px;
  line-height: 1.2;
  color: var(--text);
}
h2 {
  font-size: 30px;
  letter-spacing: 0.3px;
  background: linear-gradient(120deg, #d6b6ff, #6ed7ff 50%, #f7b733 90%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 6px 20px rgba(110,215,255,0.18);
}
h3 {
  font-size: 20px;
  color: #e8edff;
  letter-spacing: 0.2px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 12px;
}
.announce {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(120deg, rgba(166,117,255,0.25), rgba(110,215,255,0.22));
  color: var(--text);
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  box-shadow: 0 12px 40px rgba(166,117,255,0.25), 0 6px 24px rgba(110,215,255,0.2);
}
.announce .icon { font-size: 18px; }
.hero {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(166,117,255,0.16), rgba(110,215,255,0.12)), var(--panel);
}
.hero-plain {
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0;
}
.hero h1 { font-size: 40px; }
.lead { color: var(--muted); font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; justify-content: center; }
.chip {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.05);
  font-size: 13px;
  color: var(--text);
}
.cta-row { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; justify-content: center; }
.btn {
  padding: 12px 16px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
  background: linear-gradient(120deg, var(--onion-1), var(--onion-2));
  color: #0a0d16;
  box-shadow: 0 12px 40px rgba(166,117,255,0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn:hover { transform: translateY(-1px); }
.grid { display: grid; gap: 16px; }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card);
}
.muted { color: var(--muted); }
ul { padding-left: 18px; margin: 10px 0; }
.stats { display: flex; gap: 10px; flex-wrap: wrap; }
.stat {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(110,215,255,0.12);
  color: #dff6ff;
  border: 1px solid rgba(110,215,255,0.2);
  font-weight: 700;
  font-size: 14px;
}
.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 12px 0; }
.faq-q { display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.faq-a { color: var(--muted); max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-item.open .faq-a { max-height: 400px; padding-top: 8px; }
.sources table { width: 100%; border-collapse: collapse; }
.sources th, .sources td { padding: 10px 8px; border-bottom: 1px solid var(--border); color: var(--muted); }
.pill { display: inline-block; padding: 4px 10px; border-radius: 999px; background: rgba(166,117,255,0.15); color: #e4d6ff; font-size: 12px; margin-bottom: 8px; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; align-items: start; }
.anchor-spacer { position: relative; top: -80px; visibility: hidden; }
.onion-float {
  position: fixed;
  right: -60px;
  bottom: -40px;
  width: 360px;
  max-width: 40vw;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.35));
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 900px) {
  .onion-float { width: 260px; max-width: 48vw; }
}
.lang-select {
  appearance: none;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 8px 32px 8px 12px;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%23b8c0d8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: all 0.2s;
}
.lang-select:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}
.lang-select option {
  background: var(--panel);
  color: var(--text);
}
@media (max-width: 768px) {
  .nav { flex-wrap: wrap; gap: 12px; height: auto; padding: 12px 16px; }
  nav ul { flex-wrap: wrap; }
  section { padding: 24px; margin: 40px 0; }
  .hero h1 { font-size: 32px; }
  .cards-2 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}
