/**
 * IQHost Design System Variables
 * Tailwind-inspired variable system for consistent design
 */

:root {
  /* === COLORS === */
  
  /* Brand Colors */
  --color-primary: #0056b3;
  --color-primary-50: #e8f4ff;
  --color-primary-100: #cce7ff;
  --color-primary-200: #99cfff;
  --color-primary-300: #66b7ff;
  --color-primary-400: #339fff;
  --color-primary-500: #0087ff;
  --color-primary-600: #0077e6;
  --color-primary-700: #0056b3;
  --color-primary-800: #004494;
  --color-primary-900: #003575;
  
  --color-secondary: #ff6600;
  --color-secondary-50: #fff4e6;
  --color-secondary-100: #ffe9cc;
  --color-secondary-200: #ffcc99;
  --color-secondary-300: #ffb366;
  --color-secondary-400: #ff9933;
  --color-secondary-500: #ff6600;
  --color-secondary-600: #e55a00;
  --color-secondary-700: #cc5200;
  --color-secondary-800: #b34700;
  --color-secondary-900: #993d00;
  
  /* Neutrals */
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;
  
  /* Semantic Colors */
  --color-success: #10b981;
  --color-success-light: #6ee7b7;
  --color-success-dark: #065f46;
  
  --color-warning: #f59e0b;
  --color-warning-light: #fcd34d;
  --color-warning-dark: #92400e;
  
  --color-error: #ef4444;
  --color-error-light: #fca5a5;
  --color-error-dark: #991b1b;
  
  --color-info: #3b82f6;
  --color-info-light: #93c5fd;
  --color-info-dark: #1e40af;
  
  /* === SPACING === */
  --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 */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */
  --space-32: 8rem;     /* 128px */
  
  /* === TYPOGRAPHY === */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
  
  /* Font Sizes */
  --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: 1.875rem;   /* 30px */
  --text-4xl: 2.25rem;    /* 36px */
  --text-5xl: 3rem;       /* 48px */
  --text-6xl: 3.75rem;    /* 60px */
  
  /* Line Heights */
  --leading-none: 1;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;
  
  /* Font Weights */
  --font-thin: 100;
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;
  --font-black: 900;
  
  /* === BORDERS === */
  --border-width: 1px;
  --border-width-2: 2px;
  --border-width-4: 4px;
  --border-width-8: 8px;
  
  --rounded-none: 0;
  --rounded-sm: 0.125rem;  /* 2px */
  --rounded: 0.25rem;      /* 4px */
  --rounded-md: 0.375rem;  /* 6px */
  --rounded-lg: 0.5rem;    /* 8px */
  --rounded-xl: 0.75rem;   /* 12px */
  --rounded-2xl: 1rem;     /* 16px */
  --rounded-3xl: 1.5rem;   /* 24px */
  --rounded-full: 9999px;
  
  /* === SHADOWS === */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 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);
  
  /* === TRANSITIONS === */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;
  
  /* === Z-INDEX === */
  --z-0: 0;
  --z-10: 10;
  --z-20: 20;
  --z-30: 30;
  --z-40: 40;
  --z-50: 50;
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  
  /* === BREAKPOINTS (for reference) === */
  /* sm: 640px */
  /* md: 768px */
  /* lg: 1024px */
  /* xl: 1280px */
  /* 2xl: 1536px */
  
  /* === DARK MODE OVERRIDES === */
  --color-bg: var(--color-gray-50);
  --color-bg-alt: #ffffff;
  --color-text: var(--color-gray-900);
  --color-text-light: var(--color-gray-600);
  --color-text-muted: var(--color-gray-400);
  --color-border: var(--color-gray-200);
  --color-border-light: var(--color-gray-100);
}

[data-theme="dark"], .dark {
  --color-bg: var(--color-gray-900);
  --color-bg-alt: var(--color-gray-800);
  --color-text: var(--color-gray-100);
  --color-text-light: var(--color-gray-300);
  --color-text-muted: var(--color-gray-500);
  --color-border: var(--color-gray-700);
  --color-border-light: var(--color-gray-600);
}