/**
 * Auralis AI - Design System Variables
 * AI-Modern Theme (Production)
 */

:root {
  /* ============================================
     COLOR PALETTE
     ============================================ */
  
  /* Primary Colors */
  --color-midnight: #0D1B2A;
  --color-navy: #1B263B;
  --color-slate: #415A77;
  --color-steel: #778DA9;
  --color-silver: #E0E1DD;
  
  /* Accent Colors */
  --color-gold: #FFB800;
  --color-gold-light: #FFD447;
  --color-gold-dark: #CC9300;
  
  /* Signal Colors */
  --color-signal-live: #00D9FF;
  --color-signal-profit: #00FF88;
  --color-signal-alert: #FF6B6B;
  --color-signal-pending: #8B5CF6;
  
  /* Semantic Colors */
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-error: #EF4444;
  --color-info: #3B82F6;
  
  /* Text Colors */
  --text-primary: #FFFFFF;
  --text-secondary: #E0E1DD;
  --text-muted: #778DA9;
  --text-inverse: #0D1B2A;
  --text-on-gold: #0D1B2A;
  
  /* Background Colors */
  --bg-primary: #0D1B2A;
  --bg-secondary: #1B263B;
  --bg-elevated: #2C3E5A;
  --bg-overlay: rgba(13, 27, 42, 0.95);
  --bg-glass: rgba(27, 38, 59, 0.8);
  --bg-card: rgba(27, 38, 59, 0.6);
  
  /* Border Colors */
  --border-subtle: rgba(119, 141, 169, 0.2);
  --border-default: rgba(119, 141, 169, 0.4);
  --border-strong: rgba(119, 141, 169, 0.6);
  
  /* ============================================
     TYPOGRAPHY
     ============================================ */
  
  /* Font Families */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Fira Code', 'SF Mono', Monaco, '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 */
  
  /* Font Weights */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;
  
  /* Line Heights */
  --line-tight: 1.2;
  --line-normal: 1.5;
  --line-relaxed: 1.75;
  
  /* Letter Spacing */
  --letter-tight: -0.02em;
  --letter-normal: 0;
  --letter-wide: 0.05em;
  
  /* ============================================
     SPACING
     ============================================ */
  
  --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 */
  
  /* ============================================
     SIZING
     ============================================ */
  
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  
  /* ============================================
     BORDERS
     ============================================ */
  
  --radius-sm: 0.25rem;   /* 4px */
  --radius-md: 0.5rem;    /* 8px */
  --radius-lg: 0.75rem;   /* 12px */
  --radius-xl: 1rem;      /* 16px */
  --radius-2xl: 1.5rem;   /* 24px */
  --radius-full: 9999px;
  
  --border-width: 1px;
  --border-width-2: 2px;
  --border-width-4: 4px;
  
  /* ============================================
     SHADOWS
     ============================================ */
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 20px rgba(255, 184, 0, 0.3);
  --shadow-signal: 0 0 20px rgba(0, 217, 255, 0.4);
  
  /* ============================================
     Z-INDEX
     ============================================ */
  
  --z-base: 0;
  --z-dropdown: 1000;
  --z-sticky: 1100;
  --z-fixed: 1200;
  --z-modal-backdrop: 1300;
  --z-modal: 1400;
  --z-popover: 1500;
  --z-tooltip: 1600;
  
  /* ============================================
     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: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  
  /* ============================================
     BREAKPOINTS (for JS usage)
     ============================================ */
  
  --breakpoint-xs: 375px;
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  --breakpoint-2xl: 1536px;
}

/* ============================================
   DARK MODE OVERRIDES (if light mode needed)
   ============================================ */

[data-theme="light"] {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F5F5F7;
  --bg-elevated: #FFFFFF;
  --bg-overlay: rgba(255, 255, 255, 0.95);
  --bg-glass: rgba(245, 245, 247, 0.8);
  --bg-card: rgba(255, 255, 255, 0.8);
  
  --text-primary: #0D1B2A;
  --text-secondary: #415A77;
  --text-muted: #778DA9;
  --text-inverse: #FFFFFF;
  
  --border-subtle: rgba(65, 90, 119, 0.15);
  --border-default: rgba(65, 90, 119, 0.3);
  --border-strong: rgba(65, 90, 119, 0.5);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
