/* ============================================================
   BASE — Reset, Variables, Typography
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #07070b;
  --bg-2: #101018;
  --text: #f5f5f7;
  --dim: #a1a1aa;
  --glass-bg: rgba(255,255,255,0.055);
  --glass-bd: rgba(255,255,255,0.12);
  --glass-hi: rgba(255,255,255,0.22);
  --c1: #ff4d4d;
  --c2: #ff8c42;
  --c3: #ffc93c;
  --c4: #4ade80;
  --c5: #22d3ee;
  --c6: #3b82f6;
  --radius: 22px;
  --nav-bg: rgba(20,20,26,0.55);
}

html.light {
  --bg: #f2f2f7;
  --bg-2: #e8e8ee;
  --text: #0a0a0f;
  --dim: #52525b;
  --glass-bg: rgba(255,255,255,0.55);
  --glass-bd: rgba(0,0,0,0.08);
  --glass-hi: rgba(255,255,255,0.9);
  --nav-bg: rgba(255,255,255,0.65);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Space Grotesk', 'Vazirmatn', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  cursor: none;
  line-height: 1.6;
  transition: background .5s, color .5s;
}

html[dir="rtl"] body {
  font-family: 'Vazirmatn', 'Space Grotesk', sans-serif;
}

a { color: inherit; text-decoration: none; }

button {
  font-family: inherit;
  cursor: none;
  border: none;
  background: none;
  color: inherit;
}

input, textarea {
  font-family: inherit;
  cursor: none;
}

/* موبایل: کرسر پیش‌فرض برگرده */
@media (hover: none), (max-width: 768px) {
  body, a, button, input, textarea { cursor: auto; }
}