/* =========================================================================
   UNIVERSAL DESIGN SYSTEM - DESIGN TOKENS
   =========================================================================
   STRICT RULE: Do not use hardcoded colors, spacing, or radius values
   in CSS. ALWAYS use these variables.
   ========================================================================= */

:root {
    /* 1. COLORS */
    
    /* Primary & Brand */
    --color-primary: #1D7C6E;
    --color-primary-hover: #145F55;
    
    /* Backgrounds */
    --bg-main: #0D1F1C;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --bg-input: rgba(0, 0, 0, 0.2);
    --bg-overlay: rgba(13, 31, 28, 0.8);
    
    /* Foreground / Text */
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);
    
    /* Borders */
    --border-light: rgba(255, 255, 255, 0.08);
    --border-focus: rgba(74, 222, 128, 0.3);
    
    /* Semantic Status Colors */
    --color-critical: #EF4444; /* Red */
    --color-critical-bg: rgba(239, 68, 68, 0.1);
    
    --color-warning: #F59E0B; /* Orange/Yellow */
    --color-warning-bg: rgba(245, 158, 11, 0.1);
    
    --color-success: #4ADE80; /* Green */
    --color-success-bg: rgba(74, 222, 128, 0.1);
    
    --color-info: #0EA5E9; /* Blue */
    --color-info-bg: rgba(14, 165, 233, 0.1);
    
    --color-ai: #A855F7; /* Purple */
    --color-ai-bg: rgba(168, 85, 247, 0.1);


    /* 2. TYPOGRAPHY */
    --font-family: 'Inter Tight', 'Inter', system-ui, -apple-system, sans-serif;
    
    --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: 2rem;       /* 32px */
    --font-size-4xl: 2.5rem;     /* 40px */
    --font-size-5xl: 3.5rem;     /* 56px */
    
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-black: 900;
    
    --line-height-none: 1;
    --line-height-tight: 1.25;
    --line-height-base: 1.5;
    --line-height-loose: 1.75;


    /* 3. SPACING */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;
    --space-24: 96px;


    /* 4. BORDER RADIUS */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px; /* Standard Card Radius */
    --radius-full: 9999px;


    /* 5. SHADOWS */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --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-glow: 0 0 20px rgba(74, 222, 128, 0.15);


    /* 6. ANIMATIONS */
    /* Strict rule: Max duration 300ms, hover 150ms */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);


    /* 7. LAYOUT & SIZING */
    --container-width: 1200px;
    --container-width-sm: 800px; /* For forms / narrow content */
    
    /* Card Sizes */
    --card-min-height: 120px;
    
    /* Button Sizes */
    --btn-height-sm: 36px;
    --btn-height-md: 44px;
    --btn-height-lg: 56px;
    --btn-px-sm: 16px;
    --btn-px-md: 24px;
    --btn-px-lg: 32px;


    /* 8. BREAKPOINTS (Reference Only, used in media queries) */
    /* 
       Mobile: < 768px
       Tablet: 768px - 1024px
       Desktop: > 1024px 
    */
}
