*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #07091A;
  --bg2:     #0D1030;
  --surface: rgba(255,255,255,0.04);
  --border:  rgba(255,255,255,0.08);
  --gold:    oklch(76% 0.17 72);
  --white:   #F5F6FF;
  --muted:   rgba(245,246,255,0.55);
  --nav-h:   68px;
  --max-w:   760px;
  --font-h:  'Sora', sans-serif;
  --font-b:  'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: #000; }

/* ─── NAVBAR ─────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(7,9,26,0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  font-family: var(--font-h); font-weight: 800; font-size: 1.15rem; color: var(--white);
}
.nav-logo-icon {
  width: 34px; height: 34px; background: var(--gold);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: #0A0C18; font-size: 1rem;
}
.nav-back {
  display: flex; align-items: center; gap: 6px;
  text-decoration: none; color: var(--muted); font-size: 0.875rem;
  font-weight: 500; transition: color 0.2s;
}
.nav-back:hover { color: var(--white); }

.lang-toggle {
  display: flex; background: var(--surface);
  border: 1px solid var(--border); border-radius: 8px; overflow: hidden;
}
.lang-btn {
  padding: 6px 12px; cursor: pointer; color: var(--muted);
  transition: all 0.15s; background: none; border: none;
  font-family: var(--font-b); font-size: 0.8rem; font-weight: 600;
}
.lang-btn.active { background: var(--gold); color: #0A0C18; }

/* ─── HERO ───────────────────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 64px) 24px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(240,180,41,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.breadcrumb {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; font-size: 0.8rem; color: var(--muted); margin-bottom: 20px;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { opacity: 0.4; }

.page-hero h1 {
  font-family: var(--font-h); font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800; margin-bottom: 14px;
}
.page-hero p { color: var(--muted); max-width: 520px; margin: 0 auto; }

.last-updated {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 100px; padding: 6px 16px;
  font-size: 0.78rem; color: var(--muted); margin-top: 20px;
}
.last-updated-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; }

/* ─── CONTENT ─────────────────────────────────────────────── */
.page-content {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px 100px;
}

/* ToC */
.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 24px 28px;
  margin-bottom: 48px;
}
.toc-title {
  font-family: var(--font-h); font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted);
  margin-bottom: 14px;
}
.toc ol { padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.toc li { font-size: 0.9rem; }
.toc a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.toc a:hover { color: var(--gold); }

/* Sections */
.policy-section { margin-bottom: 52px; }

.section-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(255,185,50,0.1); border: 1px solid rgba(255,185,50,0.25);
  font-family: var(--font-h); font-size: 0.78rem; font-weight: 700;
  color: var(--gold); margin-bottom: 14px;
}

.policy-section h2 {
  font-family: var(--font-h); font-size: 1.3rem; font-weight: 700;
  margin-bottom: 16px; scroll-margin-top: 96px;
}

.policy-section p { color: var(--muted); margin-bottom: 14px; font-size: 0.95rem; }
.policy-section p:last-child { margin-bottom: 0; }
.policy-section strong { color: var(--white); font-weight: 600; }

.policy-section ul, .policy-section ol {
  padding-left: 20px; margin-bottom: 14px;
  display: flex; flex-direction: column; gap: 8px;
}
.policy-section li { color: var(--muted); font-size: 0.95rem; }
.policy-section li strong { color: var(--white); }

.policy-divider {
  height: 1px; background: var(--border); margin-bottom: 52px;
}

/* Highlight box */
.policy-highlight {
  background: rgba(255,185,50,0.06);
  border: 1px solid rgba(255,185,50,0.2);
  border-radius: 12px; padding: 20px 24px; margin: 20px 0;
}
.policy-highlight p { color: var(--white); margin: 0; font-size: 0.9rem; }

.policy-info {
  background: rgba(96,165,250,0.06);
  border: 1px solid rgba(96,165,250,0.2);
  border-radius: 12px; padding: 20px 24px; margin: 20px 0;
}
.policy-info p { color: rgba(245,246,255,0.8); margin: 0; font-size: 0.9rem; }

/* Contact card */
.contact-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px 32px;
  display: flex; align-items: flex-start; gap: 20px;
  margin-top: 32px;
}
.contact-card-icon {
  width: 44px; height: 44px; border-radius: 11px; flex-shrink: 0;
  background: rgba(255,185,50,0.1); border: 1px solid rgba(255,185,50,0.2);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.contact-card h3 { font-size: 1rem; margin-bottom: 6px; }
.contact-card p { color: var(--muted); font-size: 0.88rem; margin: 0; }
.contact-card a { color: var(--gold); text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }

/* ─── FOOTER ─────────────────────────────────────────────── */
footer {
  background: #040612; border-top: 1px solid var(--border);
  padding: 32px 24px; text-align: center;
}
.footer-links {
  display: flex; justify-content: center; gap: 24px;
  flex-wrap: wrap; margin-bottom: 16px;
}
.footer-links a {
  color: var(--muted); text-decoration: none; font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-links a.active { color: var(--gold); }
footer p { font-size: 0.8rem; color: var(--muted); }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 600px) {
  .nav-back span { display: none; }
  .contact-card { flex-direction: column; }
}
