/* ==========================================================================
   آکادمی مشاوره کنکور نسل Z - سیستم متغیرهای کامل رنگ، تم و فونت (CSS Variables)
   ========================================================================== */

:root {
  /* Color Palette - Luxury Dark Navy & Metallic Gold */
  --bg-dark-900: #060b19;
  --bg-dark-800: #0a1128;
  --bg-dark-700: #101f42;
  --bg-dark-600: #192a56;
  --bg-dark-card: rgba(16, 31, 66, 0.6);

  --accent-gold-100: #fff4cc;
  --accent-gold-300: #ffe066;
  --accent-gold-500: #ffd700;
  --accent-gold-600: #f4c430;
  --accent-gold-700: #d4af37;
  --accent-gold-glow: rgba(255, 215, 0, 0.35);

  --accent-cyan: #38bdf8;
  --accent-blue: #4facfe;
  --accent-emerald: #10b981;
  --accent-rose: #f43f5e;

  /* Aliases for Design Tokens */
  --color-bg-base: var(--bg-dark-900);
  --color-bg-surface: var(--bg-dark-800);
  --color-bg-surface-elevated: var(--bg-dark-700);
  --color-primary: var(--accent-gold-500);
  --color-primary-light: var(--accent-gold-300);

  /* Typography & Robust Persian Font Fallbacks */
  --font-primary: 'Vazirmatn', 'Vazir', 'IRANSans', 'B Yekan', 'Segoe UI', Tahoma, system-ui, -apple-system, sans-serif;
  --font-family-base: var(--font-primary);
  --font-mono: 'Fira Code', monospace;

  /* Text Colors */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-gold: #ffd700;
  --color-text-main: var(--text-main);
  --color-text-muted: var(--text-muted);

  /* Glassmorphism Options */
  --glass-bg: rgba(16, 31, 66, 0.55);
  --glass-bg-hover: rgba(25, 42, 86, 0.75);
  --glass-border: rgba(255, 215, 0, 0.22);
  --glass-border-hover: rgba(255, 215, 0, 0.55);
  --glass-blur: blur(16px);
  --glass-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 0 20px 0 rgba(255, 215, 0, 0.1);

  --glass-background: var(--glass-bg);
  --glass-background-hover: var(--glass-bg-hover);

  /* Gradients */
  --gradient-gold: linear-gradient(135deg, #ffe066 0%, #ffd700 50%, #d4af37 100%);
  --gradient-gold-text: linear-gradient(135deg, #ffffff 0%, #ffd700 50%, #f4c430 100%);
  --gradient-card: linear-gradient(145deg, rgba(16, 31, 66, 0.8) 0%, rgba(10, 17, 40, 0.9) 100%);
  --gradient-hero-bg: radial-gradient(circle at 50% 0%, rgba(255, 215, 0, 0.15) 0%, rgba(6, 11, 25, 0) 70%);

  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;

  /* Border Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  /* Transition Speeds */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-Index Hierarchy */
  --z-negative: -1;
  --z-normal: 1;
  --z-dropdown: 100;
  --z-sticky: 500;
  --z-modal: 1000;
  --z-toast: 2000;
}
