:root {
  --bg: #0b0e17;
  --bg-soft: #121726;
  --card: rgba(20, 26, 43, 0.84);
  --card-border: rgba(245, 158, 11, 0.18);
  --border-subtle: rgba(148, 163, 184, 0.14);
  --gold: #f59e0b;
  --gold-light: #fcd34d;
  --emerald: #10b981;
  --sky: #38bdf8;
  --text: #f8fafc;
  --text-soft: #cbd5e1;
  --muted: #94a3b8;
  --radius: 20px;
  --radius-sm: 12px;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background:
    radial-gradient(ellipse 80% 45% at 50% -5%, rgba(245, 158, 11, 0.14) 0%, transparent 65%),
    radial-gradient(ellipse 60% 40% at 85% 15%, rgba(16, 185, 129, 0.08) 0%, transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.68;
  min-height: 100vh;
}

a {
  color: var(--gold-light);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 22px;
}

.hidden {
  display: none !important;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(11, 14, 23, 0.85);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none !important;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.nav-links a {
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--gold-light);
  text-decoration: none;
}

.lang-switcher {
  display: inline-flex;
  background: var(--bg-soft);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 3px;
  gap: 3px;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.lang-btn.active {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #0b0e17;
}

/* Hero */
.hero {
  padding: 64px 0 54px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

h1.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 16px;
}

.gold-gradient {
  background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 55%, #fb923c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  color: var(--text-soft);
  font-size: 1.06rem;
  max-width: 580px;
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.96rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none !important;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0b0e17;
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.28);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid var(--border-subtle);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 520px;
}

.stat-box {
  background: var(--card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold-light);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.emblem-card {
  position: relative;
  width: 100%;
  max-width: 390px;
  background: radial-gradient(circle at center, rgba(245, 158, 11, 0.18), rgba(18, 23, 38, 0.92));
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.emblem-card img.main-emblem {
  width: 100%;
  max-width: 260px;
  height: auto;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.6));
}

.mini-items-strip {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.mini-item-chip {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(11, 14, 23, 0.8);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.mini-item-chip img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Sections */
.section {
  padding: 48px 0;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 32px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  margin-bottom: 10px;
}

.section-head p {
  color: var(--muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 18px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: var(--card-border);
  transform: translateY(-3px);
}

.feature-art {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: rgba(11, 14, 23, 0.75);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  margin-bottom: 16px;
}

.feature-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  margin-bottom: 8px;
  color: #fff;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-soft);
}

/* Legal Policy Pages */
.policy-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 22px 72px;
}

.policy-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.policy-card {
  background: var(--card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 38px 34px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.45);
}

.policy-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.4vw, 2.3rem);
  line-height: 1.2;
  margin-bottom: 18px;
}

.policy-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 12px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(11, 14, 23, 0.65);
  border: 1px solid var(--border-subtle);
  margin-bottom: 26px;
}

.meta-item {
  font-size: 0.88rem;
  color: var(--text-soft);
}

.meta-item span {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 2px;
}

.meta-item strong,
.meta-item a {
  color: #fff;
  font-weight: 600;
}

.policy-section {
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.policy-section:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.policy-section h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 9px;
}

.policy-section p,
.policy-section li {
  color: var(--text-soft);
  font-size: 0.96rem;
  line-height: 1.75;
}

.policy-section p {
  margin-bottom: 10px;
}

.policy-section ul {
  margin: 8px 0 10px 20px;
}

.policy-section li {
  margin-bottom: 6px;
}

.policy-highlight {
  margin-top: 12px;
  padding: 15px 18px;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.1);
  border-left: 3px solid var(--emerald);
  color: var(--text);
  font-size: 0.94rem;
}

.policy-highlight.amber {
  background: rgba(245, 158, 11, 0.1);
  border-left-color: var(--gold);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 28px 0 36px;
  margin-top: 32px;
  background: rgba(11, 14, 23, 0.65);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.88rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: var(--text-soft);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--gold-light);
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc,
  .stats-row {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  .policy-card {
    padding: 24px 18px;
  }
}
