/**
 * Brake IQ - Design Tokens & Custom Properties
 */

:root {
    /* Color Palette - Premium Dark Industrial Tech */
    --color-bg-primary: #080d1a;       /* Deep obsidian navy, main bg */
    --color-bg-secondary: #0f172a;     /* Deep slate, alternate sections */
    --color-bg-card: #1e293b;          /* Slate card, backdrop panels */
    --color-bg-card-hover: #334155;    /* Hover accent bg */
    
    /* Typography Colors */
    --color-text-primary: #f8fafc;     /* Off-white body text */
    --color-text-secondary: #94a3b8;   /* Muted slate text */
    --color-text-dim: #64748b;         /* Muted dark slate text */
    --color-text-heading: #ffffff;     /* Bright white for titles */
    
    /* Technical Accent Colors */
    --color-accent-primary: #00b4d8;    /* Electric Cyan - key elements / primary actions */
    --color-accent-secondary: #0077b6;  /* Deeper technical blue */
    --color-accent-hover: #90e0ef;      /* Highlight Cyan */
    --color-accent-glow: rgba(0, 180, 216, 0.25);
    
    /* Warning, Compliance & Alert Accents (Industrial Orange/Amber) */
    --color-accent-warning: #f59e0b;    /* Amber Orange - warning/attention labels */
    --color-accent-warning-hover: #fbbf24;
    --color-accent-warning-glow: rgba(245, 158, 11, 0.25);
    
    --color-accent-success: #10b981;    /* Emerald Green - passing status */
    --color-accent-danger: #ef4444;     /* Rose Red - failing status */
    
    /* Brand Accent Colors (Deep Blood Red / Industrial Red) */
    --color-accent-brand: #b91c1c;      /* Deep blood-red – rich yet vivid */
    --color-accent-brand-hover: #dc2626;
    --color-accent-brand-glow: rgba(185, 28, 28, 0.30);
    
    --color-bg-deep: #050810;           /* Pitch-black industrial background */
    
    /* Borders & Accents */
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(0, 180, 216, 0.35);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0077b6 0%, #00b4d8 100%);
    --gradient-warning: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    --gradient-dark: linear-gradient(180deg, #0f172a 0%, #080d1a 100%);
    --gradient-card: linear-gradient(145deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.8) 100%);
    
    /* Typography Tokens */
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Spacing System (4px baseline multiplier) */
    --space-xs: 0.25rem;    /* 4px */
    --space-sm: 0.5rem;     /* 8px */
    --space-md: 1rem;       /* 16px */
    --space-lg: 1.5rem;     /* 24px */
    --space-xl: 2.5rem;     /* 40px */
    --space-2xl: 4rem;      /* 64px */
    --space-3xl: 6rem;      /* 96px */
    
    /* Borders & Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 24px;
    --radius-round: 9999px;
    
    /* Box Shadows & Glows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.45);
    --shadow-glow-cyan: 0 0 15px var(--color-accent-glow);
    --shadow-glow-orange: 0 0 15px var(--color-accent-warning-glow);
    
    /* Layout Variables */
    --width-container: 1200px;
    --height-header: 80px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
