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

:root {
  --bg: #0a0a14;
  --bg-alt: #0f0f1a;
  --bg-card: #13132a;
  --border: rgba(168, 85, 247, 0.15);
  --border-hover: rgba(168, 85, 247, 0.35);
  --text: #e2e2f0;
  --text-muted: #9494b8;
  --text-dim: #6b6b8a;
  --purple-400: #c084fc;
  --purple-500: #a855f7;
  --purple-700: #7c3aed;
  --gradient: linear-gradient(135deg, var(--purple-500), var(--purple-700));
  --radius: 12px;
  --header-h: 72px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--purple-400);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #e2d1ff;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(10, 10, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 100%;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--gradient);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
}

.logo-text {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.header-nav {
  margin-left: auto;
  display: flex;
  gap: 12px;
}

.header-nav a {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.header-nav a:hover {
  color: var(--text);
  background: rgba(168, 85, 247, 0.08);
}

/* ===== MAIN CONTENT ===== */
.page-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 60px) 24px 80px;
}

/* ===== HERO ===== */
.policy-hero {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.policy-hero::after {
  content: '';
  display: block;
  margin: 40px auto 0;
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.25), rgba(168, 85, 247, 0.4), rgba(236, 72, 153, 0.25), transparent);
}

.policy-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.gradient-text {
  background: linear-gradient(135deg, #e2d1ff, #c084fc, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.25));
}

.policy-hero .last-updated {
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* ===== POLICY SECTIONS ===== */
.policy-section {
  margin-bottom: 48px;
}

.policy-section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  color: var(--purple-400);
}

.policy-section h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 20px 0 10px;
  color: var(--text);
}

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

.policy-section ul {
  list-style: none;
  margin-bottom: 16px;
  padding-left: 8px;
}

.policy-section ul li {
  color: var(--text-muted);
  font-size: 0.95rem;
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
}

.policy-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple-500);
  opacity: 0.6;
}

/* ===== INFO CARD ===== */
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 20px 0;
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.4), transparent);
}

.info-card p {
  margin-bottom: 0;
}

/* ===== SECTION DIVIDERS ===== */
.section-divider {
  height: 1px;
  border: none;
  background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.15), rgba(168, 85, 247, 0.25), rgba(236, 72, 153, 0.15), transparent);
  margin: 48px 0;
}

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.25), rgba(168, 85, 247, 0.4), rgba(236, 72, 153, 0.25), transparent) 1;
  padding: 32px 0;
  text-align: center;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-inner p {
  color: var(--text-dim);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .page-wrapper {
    padding: calc(var(--header-h) + 40px) 16px 60px;
  }

  .policy-hero h1 {
    font-size: 1.8rem;
  }

  .header-nav {
    display: none;
  }
}
