/* ==========================================================================
   عَزْم — AZM ATHLETIC & NUTRITION | Design Tokens & CSS Variables
   ========================================================================== */

:root {
  /* Brand Color Palette */
  --color-graphite: #202426;
  --color-graphite-elevated: #2A2F33;
  --color-graphite-card: #252A2D;
  --color-graphite-subtle: #191C1E;

  --color-misty-white: #F5F6F3;
  --color-pure-white: #FFFFFF;
  --color-sand-light: #EDEFEA;
  --color-silver-light: #D8DEDF;
  --color-silver-subtle: #E8ECEC;

  --color-brick-red: #B44032;
  --color-brick-red-hover: #983327;
  --color-brick-red-light: rgba(180, 64, 50, 0.12);
  --color-brick-red-focus: rgba(180, 64, 50, 0.35);

  --color-slate-green: #50615B;
  --color-slate-green-dark: #3B4843;
  --color-slate-green-light: rgba(80, 97, 91, 0.12);

  /* Functional Status Colors */
  --color-success: #2A734C;
  --color-success-bg: #E8F5EE;
  --color-warning: #B37400;
  --color-warning-bg: #FFF8E6;
  --color-error: #B44032;
  --color-error-bg: #FBECEB;
  --color-info: #355E6B;
  --color-info-bg: #EBF3F5;

  /* Typography */
  --font-heading: 'Alexandria', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-md: 1.125rem;   /* 18px */
  --font-size-lg: 1.25rem;    /* 20px */
  --font-size-xl: 1.5rem;     /* 24px */
  --font-size-2xl: 1.875rem;  /* 30px */
  --font-size-3xl: 2.25rem;   /* 36px */
  --font-size-4xl: 3rem;      /* 48px */
  --font-size-5xl: 3.75rem;   /* 60px */

  --line-height-tight: 1.2;
  --line-height-snug: 1.35;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.8;

  /* Spacing Scale */
  --space-1: 0.25rem;  /* 4px */
  --space-2: 0.5rem;   /* 8px */
  --space-3: 0.75rem;  /* 12px */
  --space-4: 1rem;     /* 16px */
  --space-5: 1.25rem;  /* 20px */
  --space-6: 1.5rem;   /* 24px */
  --space-8: 2rem;     /* 32px */
  --space-10: 2.5rem;  /* 40px */
  --space-12: 3rem;    /* 48px */
  --space-16: 4rem;    /* 64px */
  --space-20: 5rem;    /* 80px */
  --space-24: 6rem;    /* 96px */

  /* Layout */
  --container-max-width: 1280px;
  --container-reading-width: 760px;
  --header-height: 76px;
  --header-height-mobile: 68px;

  /* Borders & Radius */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --border-width: 1px;
  --border-color-light: #D8DEDF;
  --border-color-dark: rgba(216, 222, 223, 0.16);

  /* Shadows (subtle, physical, non-blurry SaaS tells) */
  --shadow-sm: 0 1px 2px rgba(32, 36, 38, 0.05);
  --shadow-md: 0 4px 12px rgba(32, 36, 38, 0.08);
  --shadow-lg: 0 12px 28px rgba(32, 36, 38, 0.12);
  --shadow-dark-md: 0 6px 20px rgba(0, 0, 0, 0.35);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-Index */
  --z-base: 1;
  --z-sticky: 100;
  --z-header: 500;
  --z-drawer: 800;
  --z-modal: 1000;
  --z-toast: 1100;
}
