/* ===== Variables & Base ===== */
:root {
  --bg: #0f1419;
  --bg-card: #1a222d;
  --accent: #2dd4bf;
  --accent-dim: rgba(45, 212, 191, 0.15);
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --border: #334155;
  --radius: 16px;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', var(--font-sans);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

/* ===== 404 / Under development page ===== */
.page-404 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-404::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 20%, var(--accent-dim) 0%, transparent 50%);
  pointer-events: none;
}

.page-404 .content {
  position: relative;
  z-index: 1;
  max-width: 420px;
}

.page-404 .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.page-404 h1 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
}

.page-404 p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.page-404 .links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.page-404 .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.page-404 .btn-primary {
  background: var(--accent);
  color: var(--bg);
}

.page-404 .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 212, 191, 0.35);
}

.page-404 .btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}

.page-404 .btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ===== Privacy page ===== */
.page-privacy {
  min-height: 100vh;
  padding: 3rem 1.5rem 4rem;
}

.privacy-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.privacy-header {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.privacy-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.privacy-header .effective {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.privacy-header .back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: opacity 0.2s;
}

.privacy-header .back:hover {
  opacity: 0.85;
}

.privacy-body {
  font-size: 1rem;
  color: var(--text);
}

.privacy-body section {
  margin-bottom: 2.5rem;
}

.privacy-body h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.privacy-body p {
  margin-bottom: 0.75rem;
  color: var(--text);
}

.privacy-body ul {
  margin: 0.75rem 0 1rem 1.5rem;
}

.privacy-body li {
  margin-bottom: 0.35rem;
}

.privacy-body .highlight {
  background: var(--accent-dim);
  padding: 0.2em 0.4em;
  border-radius: 6px;
  color: var(--accent);
}

.privacy-body strong {
  color: var(--text);
}
