/* ===== PRIVACY POLICY STYLES ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #05050f;
  --card: #0f0f24;
  --card2: #13132e;
  --border: rgba(120, 100, 220, 0.18);
  --primary: #7c5cfc;
  --primary-glow: rgba(124, 92, 252, 0.35);
  --accent: #a78bfa;
  --accent2: #c4b5fd;
  --text: #e8e4f8;
  --muted: #8b85a8;
  --white: #ffffff;
  --font: 'Inter', 'Segoe UI', sans-serif;
  --font-display: 'Georgia', 'Times New Roman', serif;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== STARS ===== */
.stars-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 15% 10%, rgba(80, 40, 160, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 85%, rgba(40, 20, 100, 0.12) 0%, transparent 55%),
    var(--bg);
}
.stars-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 8%  12%, rgba(255,255,255,0.5)  0%, transparent 100%),
    radial-gradient(1px 1px at 22% 38%, rgba(255,255,255,0.35) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 45% 6%,  rgba(255,255,255,0.6)  0%, transparent 100%),
    radial-gradient(1px 1px at 60% 60%, rgba(255,255,255,0.4)  0%, transparent 100%),
    radial-gradient(1px 1px at 75% 20%, rgba(255,255,255,0.45) 0%, transparent 100%),
    radial-gradient(2px 2px at 90% 75%, rgba(200,180,255,0.55) 0%, transparent 100%),
    radial-gradient(1px 1px at 33% 70%, rgba(200,180,255,0.45) 0%, transparent 100%),
    radial-gradient(1px 1px at 55% 90%, rgba(255,255,255,0.3)  0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 18% 55%, rgba(200,180,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 80% 40%, rgba(255,255,255,0.35) 0%, transparent 100%);
}

/* ===== NAV ===== */
nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
  background: rgba(5, 5, 15, 0.65);
  backdrop-filter: blur(14px);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}
.nav-back {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s;
}
.nav-back:hover { color: var(--accent); }

/* ===== PAGE WRAPPER ===== */
.page-wrap {
  position: relative;
  z-index: 1;
  flex: 1;
  padding: 4rem 1.5rem 6rem;
}

.container {
  max-width: 780px;
  margin: 0 auto;
}

/* ===== HEADER ===== */
.page-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.page-badge {
  display: inline-block;
  background: rgba(124, 92, 252, 0.1);
  border: 1px solid rgba(124, 92, 252, 0.25);
  border-radius: 99px;
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.15;
}
.page-header .meta {
  font-size: 0.85rem;
  color: var(--muted);
}
.divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), #e879f9);
  border-radius: 99px;
  margin: 1.5rem auto 0;
}

/* ===== TOC ===== */
.toc {
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  margin-bottom: 3rem;
}
.toc h2 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 600;
}
.toc ol {
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.toc li { font-size: 0.88rem; }
.toc a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.toc a:hover { color: var(--accent2); }

/* ===== CONTENT ===== */
.policy-section {
  margin-bottom: 2.75rem;
  scroll-margin-top: 5rem;
}
.policy-section h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--white);
  margin-bottom: 0.9rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.policy-section h2 .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: rgba(124, 92, 252, 0.15);
  border: 1px solid rgba(124, 92, 252, 0.3);
  border-radius: 8px;
  font-size: 0.75rem;
  font-family: var(--font);
  font-weight: 700;
  color: var(--accent);
}
.policy-section p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0.9rem;
}
.policy-section p:last-child { margin-bottom: 0; }

.policy-section ul, .policy-section ol {
  padding-left: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}
.policy-section li {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}
.policy-section strong { color: var(--accent2); font-weight: 600; }

.policy-section a {
  color: var(--accent);
  text-decoration: none;
}
.policy-section a:hover { text-decoration: underline; }

/* highlight box */
.info-box {
  background: rgba(124, 92, 252, 0.06);
  border: 1px solid rgba(124, 92, 252, 0.2);
  border-left: 3px solid var(--primary);
  border-radius: 0 12px 12px 0;
  padding: 1rem 1.25rem;
  margin-bottom: 0.9rem;
}
.info-box p { color: var(--text); font-size: 0.9rem; margin: 0; }

/* ===== CONTACT CARD ===== */
.contact-card {
  background: linear-gradient(135deg, rgba(124, 92, 252, 0.08) 0%, rgba(167, 139, 250, 0.04) 100%);
  border: 1px solid rgba(124, 92, 252, 0.22);
  border-radius: 18px;
  padding: 2rem;
  text-align: center;
  margin-top: 3rem;
}
.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.contact-card p { color: var(--muted); font-size: 0.9rem; margin-bottom: 1rem; }
.contact-card a.email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--primary);
  color: var(--white);
  padding: 0.65rem 1.5rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
}
.contact-card a.email-link:hover {
  background: #6b4ee8;
  box-shadow: 0 4px 20px var(--primary-glow);
}

/* ===== FOOTER ===== */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 1.75rem 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
}
.footer-inner {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}
.footer-logo { font-size: 1rem; font-weight: 700; color: var(--white); }
footer a { color: var(--accent); text-decoration: none; }
footer a:hover { text-decoration: underline; }
