/* ═══════ Adlyft Legal Pages — Shared Styles ═══════ */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap');

:root {
  --bg-deep: #06060c;
  --bg-surface: #0c0c16;
  --border-subtle: rgba(255,255,255,0.06);
  --text-primary: #f0f0f8;
  --text-secondary: #8b8ba0;
  --text-muted: #5a5a72;
  --accent: #818cf8;
  --accent-bright: #a78bfa;
  --violet: #7c3aed;
  --violet-glow: rgba(124,58,237,0.2);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
  z-index: 9999;
}

/* Nav */
.nav {
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(6,6,12,0.8);
  backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--violet), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #fff;
  box-shadow: 0 2px 12px var(--violet-glow);
}
.nav-back {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.nav-back:hover { color: var(--accent); }

/* Content */
.legal-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

.legal-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}
.legal-header::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, var(--violet-glow) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(60px);
  opacity: 0.5;
}

.legal-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
  position: relative;
}
.legal-header .date {
  font-size: 0.85rem;
  color: var(--text-muted);
  position: relative;
}

h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-bright);
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
  letter-spacing: -0.01em;
}

p {
  color: var(--text-secondary);
  margin-bottom: 0.9rem;
  font-weight: 300;
  font-size: 0.95rem;
}

ul {
  padding-left: 1.2rem;
  margin-bottom: 0.9rem;
}
li {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-size: 0.93rem;
  font-weight: 300;
}
li strong {
  color: var(--text-primary);
  font-weight: 500;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-bright); }

.info-box {
  background: rgba(129,140,248,0.04);
  border: 1px solid rgba(129,140,248,0.12);
  border-radius: 14px;
  padding: 1.5rem 1.8rem;
  margin: 2rem 0;
}
.info-box h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Footer */
.legal-footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.legal-footer a { color: var(--text-muted); }
.legal-footer a:hover { color: var(--accent); }

@media (max-width: 480px) {
  .legal-container { padding: 2.5rem 1.2rem 4rem; }
  .legal-footer { flex-direction: column; gap: 0.5rem; text-align: center; }
}
