/* ── LEGAL PAGES SHARED STYLESHEET ── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #818CF8;
  --primary-dark: #6366F1;
  --accent: #F472B6;
  --bg: #060B18;
  --bg2: #0D1526;
  --card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(129, 140, 248, 0.3);
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Orbs */
.bg-orb { position: fixed; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: 0; }
.bg-orb-1 { width: 500px; height: 500px; top: -150px; left: -150px; background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 70%); }
.bg-orb-2 { width: 400px; height: 400px; bottom: -100px; right: -100px; background: radial-gradient(circle, rgba(244,114,182,0.10) 0%, transparent 70%); }

/* ── HEADER (Floating Pill — matches home page) ── */
header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1100px;
  z-index: 1000;
}

.nav-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 52px;
  padding: 0 20px;
  background: rgba(12, 21, 40, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
}

/* container used inside nav-pill needs no extra padding */
.container { max-width: 1100px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }
.logo { font-size: 19px; font-weight: 800; color: var(--text-primary); text-decoration: none; display: flex; align-items: center; gap: 9px; letter-spacing: -0.4px; }
.logo span { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { text-decoration: none; color: var(--text-secondary); font-weight: 500; font-size: 13.5px; padding: 7px 12px; border-radius: 9px; transition: all 0.2s; }
.nav-links a:hover { color: var(--text-primary); background: rgba(255,255,255,0.06); }

/* Push content below the fixed floating header */
body { padding-top: 92px; }

/* ── PAGE HERO ── */
.page-hero {
  padding: 64px 0 48px;
  text-align: center;
  position: relative; z-index: 1;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(99,102,241,0.06) 0%, transparent 100%);
}
.page-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px; background: rgba(129,140,248,0.08);
  border: 1px solid rgba(129,140,248,0.2); color: var(--primary);
  border-radius: 50px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px;
}
.page-hero h1 {
  font-size: clamp(28px, 5vw, 48px); font-weight: 800; letter-spacing: -1px; margin-bottom: 12px;
}
.page-hero p { color: var(--text-secondary); font-size: 16px; }
.page-date {
  display: inline-block; margin-top: 14px; padding: 4px 12px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  border-radius: 6px; font-size: 12px; color: var(--text-muted);
}

/* ── CONTENT AREA ── */
.legal-wrap {
  max-width: 780px; margin: 0 auto;
  padding: 56px 28px 100px;
  position: relative; z-index: 1;
}

.legal-section {
  margin-bottom: 48px;
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  backdrop-filter: blur(8px);
  transition: border-color 0.3s;
}
.legal-section:hover { border-color: var(--border-accent); }

.section-num {
  display: inline-block; padding: 3px 10px;
  background: rgba(99,102,241,0.12); color: var(--primary);
  border-radius: 6px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px;
}

.legal-section h2 {
  font-size: 20px; font-weight: 700; margin-bottom: 14px; color: var(--text-primary);
  display: flex; align-items: center; gap: 10px;
}
.legal-section h2 svg { color: var(--primary); flex-shrink: 0; }

.legal-section p {
  color: var(--text-secondary); font-size: 15px; margin-bottom: 12px; line-height: 1.75;
}
.legal-section p:last-child { margin-bottom: 0; }

.legal-section ul {
  list-style: none; padding: 0; margin: 0;
}
.legal-section ul li {
  color: var(--text-secondary); font-size: 15px; padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex; gap: 10px; align-items: flex-start;
}
.legal-section ul li:last-child { border-bottom: none; }
.legal-section ul li::before {
  content: ''; width: 6px; height: 6px; background: var(--primary);
  border-radius: 50%; margin-top: 7px; flex-shrink: 0;
}
.legal-section ul li strong { color: var(--text-primary); }

.highlight-box {
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(129,140,248,0.2);
  border-radius: 12px; padding: 16px 20px;
  margin: 14px 0;
  color: var(--text-secondary); font-size: 14px; line-height: 1.7;
}
.highlight-box strong { color: var(--text-primary); }

.contact-card {
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(124,58,237,0.1));
  border: 1px solid rgba(129,140,248,0.25);
  border-radius: 20px; padding: 32px;
  text-align: center;
}
.contact-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.contact-card p { color: var(--text-secondary); font-size: 14px; }
.contact-card a { color: var(--primary); text-decoration: none; font-weight: 600; }
.contact-card a:hover { text-decoration: underline; }

/* ── FOOTER ── */
footer { border-top: 1px solid var(--border); padding: 32px 0; position: relative; z-index: 1; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { color: var(--text-muted); font-size: 13px; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); font-size: 13px; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-primary); }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .legal-section { padding: 22px 18px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
