/**
 * QENEX UNIFIED DESIGN SYSTEM - DESIGN TOKENS
 * Version: 4.0.0 "Q-Infinity Elite"
 * Generated by build-tokens.py from tokens.json
 *
 * DO NOT EDIT MANUALLY — modify tokens.json and re-run build-tokens.py
 */

:root {

  /* Sovereign Black — authoritative foundation */
    --brand-primary: #05050A;
  /* RGB components of brand primary */
    --brand-primary-rgb: 5, 5, 10;
    --brand-primary-dark: #020205;
    --brand-primary-deep: #010103;
  /* Deep Navy — corporate sophistication */
    --brand-secondary: #1A1A2E;
    --brand-secondary-rgb: 26, 26, 46;
    --brand-secondary-light: #252540;
    --brand-tertiary: #2D2D4A;
    --brand-tertiary-rgb: 45, 45, 74;
  /* Quantum Indigo — refined primary accent */
    --brand-accent: #4A43D1;
    --brand-accent-rgb: 74, 67, 209;
    --brand-accent-dim: rgba(74, 67, 209, 0.7);
    --brand-accent-glow: rgba(74, 67, 209, 0.4);
    --brand-accent-subtle: rgba(74, 67, 209, 0.1);
    --brand-accent-hover: #5D56E0;
  /* Neural Cyan — professional accent */
    --brand-highlight: #06B6D4;
    --brand-highlight-rgb: 6, 182, 212;
    --brand-highlight-dim: rgba(6, 182, 212, 0.7);
    --brand-highlight-glow: rgba(6, 182, 212, 0.4);
    --brand-highlight-subtle: rgba(6, 182, 212, 0.1);

    --color-success: #10b981;
    --color-success-rgb: 16, 185, 129;
    --color-success-bg: rgba(16, 185, 129, 0.15);
    --color-success-border: rgba(16, 185, 129, 0.3);
    --color-error: #ef4444;
    --color-error-rgb: 239, 68, 68;
    --color-error-bg: rgba(239, 68, 68, 0.15);
    --color-error-border: rgba(239, 68, 68, 0.3);
    --color-warning: #f59e0b;
    --color-warning-rgb: 245, 158, 11;
    --color-warning-bg: rgba(245, 158, 11, 0.15);
    --color-info: #3b82f6;
    --color-info-rgb: 59, 130, 246;
    --color-info-bg: rgba(59, 130, 246, 0.15);

    --text-primary: #F0F0F0;
    --text-secondary: #E0E0E8;
    --text-muted: #A9A9C9;
    --text-dim: #8B8BA9;
    --text-inverse: #05050A;

  /* Page background — deep sovereign black */
    --surface-base: #05050A;
    --surface-raised: #0A0A12;
    --surface-elevated: rgba(26, 26, 46, 0.3);
    --surface-overlay: rgba(26, 26, 46, 0.4);
    --surface-glass: rgba(10, 10, 18, 0.8);
    --surface-card: rgba(10, 10, 18, 0.9);
    --surface-dark: #020205;
    --surface-darker: #010103;

  /* Frosted glass — subtle blur backdrop */
    --qi-surface-frosted: rgba(10, 10, 18, 0.85);
    --qi-surface-base: #05050A;
  /* Clean corporate elevation */
    --qi-shadow-elevated: 0 1px 3px rgba(0,0,0,0.2), 0 8px 24px rgba(0,0,0,0.15);
  /* Deep corporate shadow */
    --qi-shadow-corporate: 0 4px 12px rgba(0,0,0,0.25), 0 16px 48px rgba(0,0,0,0.2);
  /* Precision hairline border */
    --qi-border-hairline: 1px solid rgba(255,255,255,0.06);

    --border-subtle: rgba(74, 67, 209, 0.12);
    --border-default: rgba(74, 67, 209, 0.25);
    --border-strong: rgba(74, 67, 209, 0.4);
    --border-muted: rgba(255, 255, 255, 0.06);
    --border-static: #1A1A2E;

    --gradient-brand: linear-gradient(135deg, #1A1A2E 0%, #4A43D1 100%);
    --gradient-text: linear-gradient(135deg, #FFFFFF 0%, #4A43D1 40%, #8B5CF6 60%, #06B6D4 100%);
    --gradient-text-hero: linear-gradient(135deg, #FFFFFF 0%, #4A43D1 50%, #06B6D4 100%);
    --gradient-button: linear-gradient(135deg, #1A1A2E 0%, #4A43D1 100%);
    --gradient-button-hover: linear-gradient(135deg, #252540 0%, #5D56E0 100%);
    --gradient-hero: linear-gradient(180deg, #05050A 0%, #0A0A12 50%, #1A1A2E 100%);
  /* Subtle vertical surface gradient — corporate depth */
    --gradient-surface: linear-gradient(180deg, #05050A, #0C0C16);
    --gradient-card-hover: linear-gradient(145deg, rgba(26,26,46,0.5) 0%, rgba(10,10,18,0.7) 100%);

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.6);
  /* Subtle brand glow — replaces intense neon */
    --shadow-glow-subtle: 0 0 15px rgba(74, 67, 209, 0.15);
    --shadow-glow-accent: 0 0 20px rgba(74, 67, 209, 0.25);
    --shadow-card-hover: 0 1px 3px rgba(0,0,0,0.2), 0 12px 32px rgba(0,0,0,0.2);

    --glass-bg: rgba(10, 10, 18, 0.7);
    --glass-bg-light: rgba(26, 26, 46, 0.5);
    --glass-border: rgba(74, 67, 209, 0.15);
  /* Reduced from 20px — sophisticated restraint */
    --glass-blur: blur(8px);
    --glass-blur-strong: blur(12px);
    --glass-saturate: saturate(150%);

    --font-display: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'SF Mono', 'Fira Code', 'Monaco', 'Consolas', monospace;

  /* Q-Infinity crispness */
    --letter-spacing-qi: 0.01em;
  /* Q-Infinity Elite — tighter crispness */
    --letter-spacing-qi-elite: 0.005em;

  /* Ultra-deep black — even deeper than sovereign */
    --qi-elite-surface-ultra: #03030A;
  /* Platinum sheen — ultra-subtle corporate luster */
    --qi-elite-accent-platinum: rgba(200, 200, 220, 0.08);
  /* Prestige shadow — ultra-subtle corporate elevation */
    --qi-elite-shadow-prestige: 0 2px 8px rgba(0,0,0,0.05), 0 12px 36px rgba(0,0,0,0.08);
  /* Button gradient with platinum terminus */
    --qi-elite-gradient-platinum: linear-gradient(135deg, #1A1A2E 0%, #4A43D1 70%, rgba(200,200,220,0.15) 100%);
  /* Hero text gradient with platinum white endpoint */
    --qi-elite-gradient-hero-text: linear-gradient(135deg, #FFFFFF 0%, #4A43D1 40%, #8B5CF6 60%, #06B6D4 85%, rgba(240,240,255,0.9) 100%);

    --space-1: 4px;
    --space-1-5: 6px;
    --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-32: 128px;

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-7xl: 4.5rem;

    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;

    --leading-none: 1;
    --leading-tight: 1.15;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;

    --tracking-qi: 0.01em;
    --tracking-tight: -0.02em;
    --tracking-caps: 0.08em;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;

    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1200px;
    --container-2xl: 1400px;

    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-all-fast: all 150ms ease;
    --transition-all-base: all 200ms ease;
    --transition-colors: color 150ms ease, background-color 150ms ease, border-color 150ms ease;

    --z-below: -1;
    --z-sticky: 100;
    --z-fixed: 1000;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-tooltip: 1070;

    --nav-height: 64px;
    --nav-height-mobile: 56px;

  /* WCAG 2.5.5 minimum touch target */
    --touch-target-min: 44px;

    --btn-padding-x: 20px;
    --btn-padding-y: 10px;
    --btn-padding-x-sm: 16px;
    --btn-padding-y-sm: 8px;
    --btn-padding-x-lg: 28px;
    --btn-padding-y-lg: 14px;
    --btn-radius: 8px;

    --card-padding: 24px;
    --card-padding-lg: 32px;
    --card-radius: 12px;

    --input-padding-x: 16px;
    --input-padding-y: 10px;
    --input-radius: 8px;
    --input-border: 1px solid rgba(74, 67, 209, 0.2);
    --input-focus-ring: 0 0 0 3px rgba(74, 67, 209, 0.25);

    --modal-padding: 32px;
    --modal-radius: 16px;
    --modal-backdrop: rgba(0, 0, 0, 0.6);

    --glow-cyan: 0 0 15px rgba(6, 182, 212, 0.3);
    --glow-cyan-button: 0 0 20px rgba(6, 182, 212, 0.4);
    --glow-cyan-intense: 0 0 30px rgba(6, 182, 212, 0.5);
    --glow-magenta: 0 0 15px rgba(139, 92, 246, 0.3);
    --glow-magenta-sm: 0 0 10px rgba(139, 92, 246, 0.2);
}
