/* ===== Privacy Policy — Material Media Player ===== */

@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  --color-bg: #0f0f13;
  --color-surface: #1a1a22;
  --color-surface-alt: #22222e;
  --color-border: rgba(255, 255, 255, 0.06);
  --color-text: #e4e4ed;
  --color-text-muted: #9c9cb0;
  --color-heading: #ffffff;
  --color-accent: #a78bfa;
  --color-accent-glow: rgba(167, 139, 250, 0.12);
  --radius-lg: 24px;
  --radius-md: 16px;
  --font: 'Rubik', system-ui, -apple-system, sans-serif;
  --max-w: 780px;
  --transition: 0.25s cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
}

/* subtle radial glow behind the page */
body::before {
  content: '';
  position: fixed;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ---------- Layout ---------- */
.wrapper {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 24px 80px;
}

/* ---------- Header ---------- */
.header {
  text-align: center;
  margin-bottom: 56px;
}

.header__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--color-accent) 0%, #7c5ce7 100%);
  margin-bottom: 24px;
  box-shadow: 0 8px 32px rgba(167, 139, 250, 0.25);
}

.header__icon svg {
  width: 36px;
  height: 36px;
  fill: #fff;
}

.header__title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-heading);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.header__subtitle {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

.header__badge {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 18px;
  border-radius: 999px;
  background: var(--color-accent-glow);
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* ---------- Sections / Cards ---------- */
.section {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin-bottom: 24px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.section:hover {
  border-color: rgba(167, 139, 250, 0.18);
  box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.06);
}

.section__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--color-accent-glow);
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.section__heading {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section__subheading {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-accent);
  margin: 22px 0 10px;
  letter-spacing: 0;
}

.section p {
  margin-bottom: 14px;
  color: var(--color-text);
}

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

/* ---------- Lists ---------- */
.section ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 14px;
}

.section ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--color-text);
}

.section ul li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.55;
}

/* ---------- Highlight Box ---------- */
.highlight {
  background: var(--color-surface-alt);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 18px 22px;
  margin: 18px 0;
  font-size: 0.95rem;
  color: var(--color-text);
}

/* ---------- Contact Link ---------- */
.contact-link {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}

.contact-link:hover {
  border-color: var(--color-accent);
}

/* ---------- Footer ---------- */
.footer {
  text-align: center;
  padding-top: 40px;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.footer__divider {
  width: 48px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-accent), #7c5ce7);
  margin: 0 auto 20px;
  opacity: 0.5;
}

.footer p {
  margin-bottom: 4px;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .wrapper {
    padding: 32px 16px 64px;
  }

  .header__title {
    font-size: 1.65rem;
  }

  .section {
    padding: 28px 22px;
    border-radius: 20px;
  }

  .section__heading {
    font-size: 1.15rem;
  }
}