/* ==========================================================================
   GenZdukan — Design Tokens (CSS Custom Properties)
   All design decisions live here for single-source-of-truth consistency.
   Theme: Premium Modern Marketplace (Pearl / Deep Navy / Light Gold / Soft Sky Blue)
   ========================================================================== */

:root {
  /* ── Colors ─────────────────────────────────────────────────────────── */
  /* Primary: Deep Navy & Charcoal */
  --color-primary-dark: #0f172a;
  --color-primary: #1e293b;
  --color-primary-light: #334155;

  /* Accent: Light Gold */
  --color-accent: #d97706;
  --color-accent-hover: #b45309;
  --color-accent-light: rgba(217, 119, 6, 0.12);
  --color-gold: #d4af37;
  --color-gold-light: #fef3c7;

  /* Secondary: Soft Sky Blue */
  --color-secondary: #0284c7;
  --color-secondary-hover: #0369a1;
  --color-secondary-light: #e0f2fe;

  /* Status Colors */
  --color-success: #10b981;
  --color-danger: #ef4444;
  --color-info: #0284c7;

  /* Backgrounds: Pearl / Off-White & Clean White */
  --color-bg: #f8f9fa;
  --color-bg-alt: #f1f5f9;
  --color-white: #ffffff;
  --color-card-bg: #ffffff;

  /* Text */
  --color-text: #0f172a;
  --color-text-secondary: #475569;
  --color-text-muted: #94a3b8;

  /* Borders */
  --color-border: #e2e8f0;
  --color-border-light: #f1f5f9;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --gradient-accent: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --gradient-gold: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
  --gradient-promo: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #334155 100%);

  /* Glassmorphism */
  --glass-bg: rgba(15, 23, 42, 0.95);
  --glass-bg-dark: rgba(15, 23, 42, 0.98);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-shadow: 0 8px 32px rgba(15, 23, 42, 0.25);
  --glass-blur: blur(16px);

  /* ── Spacing Scale ──────────────────────────────────────────────────── */
  --space-2xs: 0.125rem;   /* 2px */
  --space-xs: 0.25rem;     /* 4px */
  --space-sm: 0.5rem;      /* 8px */
  --space-md: 1rem;        /* 16px */
  --space-lg: 1.5rem;      /* 24px */
  --space-xl: 2rem;        /* 32px */
  --space-2xl: 3rem;       /* 48px */
  --space-3xl: 4rem;       /* 64px */
  --space-4xl: 6rem;       /* 96px */
  --space-5xl: 8rem;       /* 128px */

  /* ── Typography ─────────────────────────────────────────────────────── */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Manrope', 'Inter', -apple-system, sans-serif;

  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.5rem;      /* 24px */
  --text-3xl: 2rem;        /* 32px */
  --text-4xl: 2.5rem;      /* 40px */
  --text-5xl: 3.5rem;      /* 56px */

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;

  --leading-tight: 1.2;
  --leading-normal: 1.6;
  --leading-relaxed: 1.8;

  /* ── Shadows ────────────────────────────────────────────────────────── */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.1);
  --shadow-xl: 0 20px 50px rgba(15, 23, 42, 0.14);
  --shadow-2xl: 0 25px 70px rgba(15, 23, 42, 0.18);
  --shadow-glow-accent: 0 0 20px rgba(217, 119, 6, 0.25);
  --shadow-glow-gold: 0 0 20px rgba(212, 175, 55, 0.3);
  --shadow-card: 0 4px 20px rgba(15, 23, 42, 0.04);
  --shadow-card-hover: 0 12px 36px rgba(15, 23, 42, 0.1);

  /* ── Border Radius (12px to 16px for cards) ─────────────────────────── */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 50%;
  --radius-pill: 9999px;

  /* ── Transitions ────────────────────────────────────────────────────── */
  --transition-fast: 150ms ease;
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-spring: 600ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ── Z-Index Scale ──────────────────────────────────────────────────── */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-overlay: 350;
  --z-modal: 400;
  --z-toast: 500;

  /* ── Layout ─────────────────────────────────────────────────────────── */
  --container-max: 1280px;
  --container-narrow: 960px;
  --container-padding: 1.5rem;
  --header-height: 76px;
  --footer-min-height: 400px;
}
