/* ─── RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── VARIABLES ──────────────────────────────────────── */
:root {
  --purple: #7C3AED;
  --purple-light: #A78BFA;
  --pink: #EC4899;
  --orange: #F97316;
  --blue: #3B82F6;
  --green: #10B981;
  --dark: #0D0D1A;
  --dark-2: #16162A;
  --white: #FFFFFF;
  --off-white: #F9F7FF;
  --text-muted: #6B7280;
  --radius: 20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
}

/* ─── NAV ────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(124,58,237,0.08);
}

.nav-logo {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

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

/* ─── BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-2px); opacity: 0.92; }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(124,58,237,0.35);
}
.btn-secondary {
  background: var(--off-white);
  color: var(--purple);
  border: 2px solid rgba(124,58,237,0.15);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }

/* ─── SECTION LABELS ─────────────────────────────────── */
.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.section-label-purple { color: var(--purple-light); }
.section-label-pink { color: var(--pink); }
.section-label-orange { color: var(--orange); }
.section-label-blue { color: #60A5FA; }

/* ─── POLICY HERO ────────────────────────────────────── */
.policy-hero {
  padding: 140px 24px 60px;
  background: var(--dark);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.policy-hero::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--purple);
  filter: blur(120px);
  opacity: 0.12;
  top: -150px;
  left: -100px;
  pointer-events: none;
}

.policy-hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--pink);
  filter: blur(120px);
  opacity: 0.08;
  bottom: -100px;
  right: -80px;
  pointer-events: none;
}

.policy-hero-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.policy-hero .section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--purple-light);
}

.policy-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.policy-hero .subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

.policy-hero .effective-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 8px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
}

/* ─── POLICY CONTENT ─────────────────────────────────── */
.policy {
  padding: 80px 24px 120px;
  background: var(--off-white);
}

.policy-inner {
  max-width: 740px;
  margin: 0 auto;
}

.policy-section {
  margin-bottom: 56px;
}

.policy-section h2 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(124,58,237,0.12);
}

.policy-section h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 28px;
  margin-bottom: 12px;
}

.policy-section p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.policy-section strong {
  color: var(--dark);
  font-weight: 600;
}

.policy-section ul,
.policy-section ol {
  margin: 12px 0 20px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

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

.policy-section a {
  color: var(--purple);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.15s;
}
.policy-section a:hover { opacity: 0.7; }

/* ─── DATA TABLE ─────────────────────────────────────── */
.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 0.88rem;
  border-radius: var(--radius);
  overflow: hidden;
}

.policy-table thead th {
  background: var(--dark);
  color: var(--white);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 16px;
  text-align: left;
}

.policy-table tbody td {
  padding: 12px 16px;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(124,58,237,0.06);
  vertical-align: top;
}

.policy-table tbody tr:nth-child(even) td {
  background: rgba(124,58,237,0.03);
}

.policy-table tbody tr:last-child td {
  border-bottom: none;
}

/* ─── HIGHLIGHT BOX ──────────────────────────────────── */
.policy-highlight {
  background: rgba(124,58,237,0.06);
  border: 1px solid rgba(124,58,237,0.12);
  border-radius: var(--radius);
  padding: 24px;
  margin: 20px 0 24px;
}

.policy-highlight p {
  margin-bottom: 8px;
  color: var(--dark);
  font-weight: 500;
}

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

/* ─── CONTACT CARD ───────────────────────────────────── */
.contact-card {
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  margin-top: 24px;
}

.contact-card p {
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
}

.contact-card a {
  color: var(--purple-light);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
}
.contact-card a:hover { opacity: 0.8; }

/* ─── FOOTER ──────────────────────────────────────────── */
footer {
  padding: 40px 40px;
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--purple-light), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}
.footer-links a:hover { color: rgba(255,255,255,0.7); }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.2); }

/* ─── ACCESSIBILITY ──────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--purple);
  color: white;
  padding: 12px 24px;
  border-radius: 0 0 12px 12px;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 200;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible {
  outline: 3px solid var(--purple-light);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ─── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  .nav-right .btn-secondary { display: none; }

  .policy-hero { padding: 110px 20px 48px; }

  .policy { padding: 56px 20px 80px; }

  .policy-table { font-size: 0.82rem; }
  .policy-table thead th { padding: 10px 12px; font-size: 0.72rem; }
  .policy-table tbody td { padding: 10px 12px; }

  footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .policy-table { display: block; overflow-x: auto; white-space: nowrap; }
}
