/* ==========================================================================
   Global Design System Variables
   ========================================================================== */

:root {
  /* Primary Brand Colors */
  --color-primary: #388DF5;          /* Main brand color - blue */
  --color-primary-hover: #2571D4;    /* Darker on hover */
  --color-primary-light: #E7F1FD;    /* Very light tint */
  --color-primary-dark: #2563B3;     /* Darker shade */
  
  /* Secondary Brand Colors */
  --color-secondary: #FEA630;        /* Secondary brand color - orange */
  --color-secondary-hover: #E89A1C;  /* Darker on hover */
  --color-secondary-light: #FEF3E2;  /* Very light tint */
  --color-secondary-dark: #D88A14;   /* Darker shade */
  
  /* Neutral Colors */
  --color-black: #0A0A0A;            /* Almost black */
  --color-gray-900: #1A1A1A;         /* Very dark gray */
  --color-gray-800: #2D2D2D;         /* Dark gray */
  --color-gray-700: #404040;         /* Medium dark gray */
  --color-gray-600: #525252;         /* Medium gray */
  --color-gray-500: #6B7280;         /* Base gray */
  --color-gray-400: #9CA3AF;         /* Light gray */
  --color-gray-300: #D1D5DB;         /* Very light gray */
  --color-gray-200: #E5E7EB;         /* Extra light gray */
  --color-gray-100: #F3F4F6;         /* Near white */
  --color-gray-50: #F9FAFB;          /* Off white */
  --color-white: #FFFFFF;            /* Pure white */
  
  /* Semantic Colors */
  --color-success: #10B981;          /* Green */
  --color-success-light: #D1FAE5;    /* Light green */
  --color-error: #EF4444;            /* Red */
  --color-error-light: #FEE2E2;      /* Light red */
  --color-warning: #F59E0B;          /* Amber */
  --color-warning-light: #FEF3C7;    /* Light amber */
  --color-info: #3B82F6;             /* Blue */
  --color-info-light: #DBEAFE;       /* Light blue */
  
  /* Typography Scale */
  --font-family-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', system-ui, Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-family-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
  
  /* Font Sizes - Mobile First */
  --font-size-xs: 0.75rem;     /* 12px */
  --font-size-sm: 0.875rem;    /* 14px */
  --font-size-base: 1rem;      /* 16px */
  --font-size-lg: 1.125rem;    /* 18px */
  --font-size-xl: 1.25rem;     /* 20px */
  --font-size-2xl: 1.5rem;     /* 24px */
  --font-size-3xl: 1.875rem;   /* 30px */
  --font-size-4xl: 2.25rem;    /* 36px */
  --font-size-5xl: 3rem;       /* 48px */
  
  /* Font Weights */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Line Heights */
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
  
  /* Letter Spacing */
  --letter-spacing-tight: -0.025em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.025em;
  
  /* Border Radius */
  --radius-sm: 0.375rem;    /* 6px */
  --radius-md: 0.5rem;      /* 8px */
  --radius-lg: 0.75rem;     /* 12px */
  --radius-xl: 1rem;        /* 16px */
  --radius-2xl: 1.5rem;     /* 24px */
  --radius-full: 9999px;    /* Full round */
  
  /* Spacing Scale */
  --space-0: 0;
  --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 */
  
  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
  
  /* Focus States */
  --focus-ring: 0 0 0 3px rgba(56, 141, 245, 0.2);
  --focus-ring-error: 0 0 0 3px rgba(239, 68, 68, 0.2);
  --focus-ring-success: 0 0 0 3px rgba(16, 185, 129, 0.2);
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slower: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Z-Index Scale */
  --z-base: 0;
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}