/* base variables and styles for legal pages */
:root {
  --bg: #06001a;
  --bg-2: #0a043c;
  --bg-3: #27003d;
  --ink: #ffffff;
  --ink-muted: rgba(255, 255, 255, .7);
  --ink-faint: rgba(255, 255, 255, .4);
  --line: rgba(255, 255, 255, .15);

  --blue-deep: #130033;
  --blue: #0036cc;
  --violet: #6a1b9a;
  --violet-2: #9c1aaa;
  --magenta: #e800a0;
  --magenta-2: #f05abc;
  --accent: #e800a0;

  --grad-accent: linear-gradient(120deg, #e800a0 0%, #9c1aaa 50%, #0036cc 100%);
  --serif: "Montserrat", system-ui, -apple-system, sans-serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;

  --max: 1240px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--sans);
  background: radial-gradient(circle at 85% 10%, rgba(232,0,160,.24), transparent 34%),
              radial-gradient(circle at 8% 85%, rgba(0,52,204,.28), transparent 34%),
              linear-gradient(125deg, #06001a, #0a043c 54%, #27003d);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.65;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

/* Header / Topbar */
.topbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  background: rgba(6,0,26,.65); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.container.nav {
  display: flex; align-items: center; justify-content: space-between;
}
.brand img { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-link {
  font-size: 14px; font-weight: 500; opacity: .75; transition: opacity .25s, color .25s;
}
.nav-link:hover { opacity: 1; color: var(--magenta); }
.nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; border-radius: 99px;
  background: var(--grad-accent); color: #fff; font-size: 13px; font-weight: 600;
  box-shadow: 0 4px 16px rgba(232, 0, 160, .3);
  transition: transform .25s;
}
.nav-cta:hover { transform: translateY(-2px); }

/* Mobile Menu Toggle (Minimalist) */
.mobile-toggle {
  display: none; background: transparent; border: 0; color: var(--ink); font-size: 24px;
}
@media (max-width: 768px) {
  .mobile-toggle { display: block; }
  .nav-links {
    display: none;
  }
}

/* Legal Page Content Layout */
.legal-wrapper {
  padding: 160px 0 100px;
}
.legal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
}
@media (max-width: 1024px) {
  .legal-layout { grid-template-columns: 1fr; }
}

.legal-sidebar {
  position: sticky; top: 120px; height: fit-content;
}
@media (max-width: 1024px) {
  .legal-sidebar { position: static; display: none; }
}

.legal-index {
  display: flex; flex-direction: column; gap: 14px;
  border-left: 1px solid var(--line); padding: 4px 0 4px 20px;
  margin: 0; list-style: none;
}
.legal-index a {
  font-size: 14px; color: var(--ink-muted); transition: color .25s;
  display: block; font-weight: 400;
}
.legal-index a:hover { color: var(--magenta); }
.legal-index li.active a { color: var(--magenta); font-weight: 600; }

.legal-content {
  max-width: 720px;
}
.legal-eyebrow {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--magenta); margin-bottom: 12px;
}
.legal-content h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(32px, 4vw, 54px); letter-spacing: -.02em; line-height: 1.1;
  margin: 0 0 20px;
}
.legal-date {
  font-size: 13px; color: var(--ink-faint); margin-bottom: 40px;
}
.legal-content h2 {
  font-family: var(--serif); font-size: 24px; font-weight: 500;
  margin: 48px 0 20px; padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
.legal-content h3 {
  font-family: var(--serif); font-size: 18px; font-weight: 500; margin: 30px 0 16px;
}
.legal-content p { color: var(--ink-muted); font-weight: 300; margin: 0 0 20px; }
.legal-content ul { color: var(--ink-muted); font-weight: 300; padding-left: 20px; margin-bottom: 24px; }
.legal-content li { margin-bottom: 8px; }
.legal-content a { color: var(--magenta); text-decoration: underline; }

/* Footer */
.footer { padding: 100px 0 40px; border-top: 1px solid var(--line); margin-top: 80px; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px;
  padding-bottom: 60px; border-bottom: 1px solid var(--line);
}
@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
}
.footer-brand {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 22px;
  background: #fbf8f3; border-radius: 22px;
  box-shadow: 0 6px 24px rgba(0,0,0,.22);
  margin-bottom: 28px;
}
.footer-brand img { height: 64px; width: auto; display: block; }
.footer-top > div > p { color: var(--ink-muted); line-height: 1.7; font-size: 14px; max-width: 40ch; font-weight: 300; margin: 0 0 14px; }
.footer-top h4 {
  font-size: 11px; letter-spacing: 2.4px; text-transform: uppercase;
  margin: 0 0 22px; opacity: .65;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-family: var(--serif); font-style: normal; font-weight: 800; font-size: 17px; transition: color .25s; text-decoration: none; color: inherit; }
.footer-links a:hover { color: var(--magenta); }
.footer-bottom {
  padding-top: 30px; font-size: 12px; letter-spacing: 1.4px; opacity: .55;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}

/* WhatsApp Float */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 20px 50px rgba(37, 211, 102, .5);
  transition: transform .35s var(--ease);
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 30px; height: 30px; }
