/* ===== DESIGN TOKENS ===== */
:root {
  /* Light Mode Colors */
  --color-primary: #0a1628;
  --color-primary-light: #162a4a;
  --color-surface: #fafaf8;
  --color-surface-alt: #f0efe9;
  --color-accent: #c9a96e;
  --color-accent-hover: #b8953a;
  --color-accent-light: rgba(201,169,110,0.12);
  --color-text: #1a1a2e;
  --color-text-secondary: #4a4a5a;
  --color-muted: #6b7280;
  --color-border: #e5e5e0;
  --color-card: #ffffff;
  --color-card-hover: #f8f7f2;
  --color-overlay: rgba(10,22,40,0.6);
  --color-hero-gradient: linear-gradient(135deg, #0a1628 0%, #1a2d4a 50%, #0f1f35 100%);
  --color-success: #22c55e;
  --color-error: #ef4444;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 24px 60px rgba(0,0,0,0.16);
  --glass-bg: rgba(255,255,255,0.8);
  --glass-border: rgba(255,255,255,0.3);
  --glass-blur: 20px;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-heading-ar: 'Noto Naskh Arabic', serif;
  --font-body-ar: 'IBM Plex Sans Arabic', sans-serif;
  --fs-hero: clamp(2.5rem, 5vw, 4.5rem);
  --fs-h1: clamp(2rem, 4vw, 3.5rem);
  --fs-h2: clamp(1.6rem, 3vw, 2.5rem);
  --fs-h3: clamp(1.2rem, 2vw, 1.75rem);
  --fs-h4: clamp(1rem, 1.5vw, 1.25rem);
  --fs-body: clamp(0.95rem, 1.1vw, 1.1rem);
  --fs-small: 0.875rem;
  --fs-xs: 0.75rem;
  --lh-heading: 1.2;
  --lh-body: 1.7;
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-section: clamp(4rem, 8vw, 8rem);
  --container-max: 1280px;
  --container-narrow: 900px;

  /* Borders & Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 200ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-heavy: 600ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Z-index */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-whatsapp: 500;
}

/* ===== DARK MODE ===== */
[data-theme="dark"] {
  --color-primary: #e8e0d0;
  --color-primary-light: #c9a96e;
  --color-surface: #0b1120;
  --color-surface-alt: #111827;
  --color-accent: #c9a96e;
  --color-accent-hover: #dfc08a;
  --color-accent-light: rgba(201,169,110,0.15);
  --color-text: #e8e0d0;
  --color-text-secondary: #b0a898;
  --color-muted: #9ca3af;
  --color-border: #1f2937;
  --color-card: #131c2e;
  --color-card-hover: #1a2540;
  --color-overlay: rgba(0,0,0,0.7);
  --color-hero-gradient: linear-gradient(135deg, #050a14 0%, #0b1628 50%, #071020 100%);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
  --shadow-xl: 0 24px 60px rgba(0,0,0,0.6);
  --glass-bg: rgba(11,17,32,0.85);
  --glass-border: rgba(201,169,110,0.15);
}

/* ===== RTL SUPPORT ===== */
[dir="rtl"] {
  --font-heading: var(--font-heading-ar);
  --font-body: var(--font-body-ar);
}
