.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bg-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  overflow: hidden;
}

.bg-box img {
  width: 100%;
  transform: scale(2.5);
}

.navbar .logo {
  height: 30px;
  line-height: 1;
}

.navbar .brand {
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
}

.menu-btn {
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  color: white;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ================= SHARED NAV SIDE MENU ================= */
/* These rules support the exact navbar.html component. */

.side-menu {
  position: fixed;
  top: 0;
  right: -360px;
  width: min(320px, 86vw);
  height: 100vh;
  z-index: 300;
  padding: 1.25rem;
  background: rgba(12, 10, 18, 0.97);
  border-left: 1px solid rgba(255,255,255,0.10);
  box-shadow: -20px 0 60px rgba(0,0,0,0.35);
  backdrop-filter: blur(18px);
  transition: right 220ms ease;
}

.side-menu.active {
  right: 0;
}

.menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  color: white;
}

.menu-header h2 {
  margin: 0;
  font-size: 1.15rem;
}

#closeMenu {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  color: white;
  cursor: pointer;
  font-size: 18px;
}

.side-menu > a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0.8rem;
  margin-bottom: 0.3rem;
  border-radius: 12px;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
}

.side-menu > a:hover {
  background: rgba(255,255,255,0.07);
  color: white;
}

.side-menu > a i {
  width: 20px;
  text-align: center;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(0,0,0,0.50);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ================= PAGE ================= */

:root {
  --policy-bg: #08070d;
  --policy-surface: rgba(255,255,255,.055);
  --policy-border: rgba(255,255,255,.10);
  --policy-text: #f7f5fb;
  --policy-muted: #aaa5b7;
  --policy-accent: #9b6cff;
  --policy-accent-soft: rgba(155,108,255,.16);
  --policy-max-width: 1080px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--policy-text);
  background:
    radial-gradient(circle at 12% 0%, rgba(126,77,255,.16), transparent 32rem),
    radial-gradient(circle at 88% 18%, rgba(71,111,255,.10), transparent 28rem),
    var(--policy-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.policy-shell,
.policy-footer {
  width: min(calc(100% - 40px), var(--policy-max-width));
  margin-inline: auto;
}

.policy-shell {
  padding: 34px 0 80px;
}

.policy-hero {
  padding: 48px 0 42px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #b28cff;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .16em;
}

.policy-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.5rem, 6vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -.055em;
}

.hero-copy {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--policy-muted);
  font-size: 1.05rem;
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.policy-meta span {
  padding: 8px 12px;
  border: 1px solid var(--policy-border);
  border-radius: 999px;
  color: var(--policy-muted);
  background: rgba(255,255,255,.035);
  font-size: .78rem;
}

.policy-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--policy-border);
  border-radius: 28px;
  background: linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.035));
  box-shadow: 0 30px 90px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.045);
  backdrop-filter: blur(18px);
}

.policy-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg,rgba(155,108,255,.07),transparent 28%,transparent 72%,rgba(88,119,255,.045));
}

.policy-section {
  position: relative;
  padding: 42px 54px;
  border-bottom: 1px solid var(--policy-border);
}

.policy-section:last-child {
  border-bottom: 0;
}

.policy-section h2 {
  margin: 0 0 18px;
  color: var(--policy-text);
  font-size: clamp(1.3rem,2vw,1.65rem);
  line-height: 1.25;
  letter-spacing: -.025em;
}

.policy-section h2::after {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-top: 13px;
  border-radius: 99px;
  background: var(--policy-accent);
  box-shadow: 0 0 18px rgba(155,108,255,.45);
}

.policy-section p {
  max-width: 900px;
  margin: 0 0 16px;
  color: var(--policy-muted);
}

.policy-section p:last-child {
  margin-bottom: 0;
}

.policy-section ol {
  margin: 10px 0 20px;
  padding-left: 28px;
  color: var(--policy-muted);
}

.policy-section li {
  padding-left: 7px;
  margin: 7px 0;
}

.policy-section li::marker {
  color: #b18cff;
  font-weight: 700;
}

.contact-box {
  margin-top: 22px;
  padding: 22px 24px;
  border: 1px solid rgba(155,108,255,.20);
  border-radius: 18px;
  background: var(--policy-accent-soft);
}

.contact-box p {
  margin-bottom: 7px;
}

.contact-box p:last-child {
  margin-bottom: 0;
}

.policy-footer {
  padding: 28px 0 42px;
  border-top: 1px solid var(--policy-border);
  color: var(--policy-muted);
  font-size: .82rem;
}

.policy-footer p {
  margin: 0;
}

@media (max-width: 480px) {
  .bg-box {
    width: 75px;
    height: 55px;
  }

  .bg-box img {
    width: 100%;
    height: 80%;
  }
}

@media (min-width: 768px) {
  .bg-box {
    width: 75px;
    height: 75px;
  }
}

@media (max-width: 760px) {
  .policy-shell,
  .policy-footer {
    width: min(calc(100% - 28px), var(--policy-max-width));
  }

  .policy-shell {
    padding-top: 10px;
    padding-bottom: 50px;
  }

  .policy-hero {
    padding: 34px 0 30px;
  }

  .policy-hero h1 {
    font-size: clamp(2.35rem,13vw,3.5rem);
  }

  .hero-copy {
    font-size: .96rem;
  }

  .policy-card {
    border-radius: 22px;
  }

  .policy-section {
    padding: 32px 24px;
  }

  .policy-section h2 {
    font-size: 1.25rem;
  }

  .policy-section ol {
    padding-left: 25px;
  }
}

@media (max-width: 430px) {
  .policy-section {
    padding: 28px 19px;
  }

  .policy-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .policy-meta span {
    border-radius: 12px;
  }
}
