/* X-Digate CSS Variables - Color Palette & Design Tokens */

:root {
    /* Primary Colors - Based on original Digate.ai palette */
    --primary-color: #0A1628;
    --primary-light: #1d2a40;
    --primary-white: #FFFFFF;
    --primary-dark: #F8FAFC;
    --primary-light-bg: #edf3ff;
    
    /* Secondary Colors - Original Digate blue themes */
    --secondary-color: #007cba;
    --secondary-dark: #005a87;
    --secondary-light: #0693e3;
    
    /* Accent Colors - Keeping purple with original Digate colors */
    --accent-gradient-start: #324eff;
    --accent-gradient-end: #7a00df;
    --accent-purple: #7a00df;
    --accent-purple-light: #503AA8;
    --accent-cyan: #0693e3;
    --accent-green: #00d084;
    --accent-yellow: #FFEE58;
    --accent-pink: #F6CFF4;
    --accent-teal: #31cdcf;
    --accent-vivid-blue: #0693e3;
    --accent-dark-blue: #324eff;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --black: #000000;
    
    /* Text Colors - WCAG 2.1 AA Compliant */
    --text-primary: #111827;
    --text-secondary: #374151;
    --text-muted: #6B7280;
    --text-light: #FFFFFF;
    --text-on-primary: #111827;
    --text-on-secondary: #FFFFFF;
    
    /* Background Colors */
    --bg-primary: #FFFFFF;
    --bg-secondary: #edf3ff;
    --bg-tertiary: #F8FAFC;
    --bg-dark: #1d2a40;
    --bg-dark-alt: #485062;
    --bg-footer: #0A1628;
    
    /* Border Colors */
    --border-light: #E5E7EB;
    --border-medium: #D1D5DB;
    --border-dark: #485062;
    
    /* Gradients - Updated with Digate colors */
    --gradient-primary: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-purple) 100%);
    --gradient-hero: linear-gradient(180deg, var(--primary-white) 0%, var(--primary-dark) 100%);
    --gradient-card: linear-gradient(145deg, rgba(0, 124, 186, 0.1) 0%, rgba(122, 0, 223, 0.1) 100%);
    --gradient-text: linear-gradient(90deg, var(--secondary-color) 0%, var(--accent-purple) 100%);
    --gradient-digate: linear-gradient(135deg, #324eff 0%, #7a00df 50%, #0693e3 100%);
    --gradient-feature: linear-gradient(135deg, rgba(50, 74, 255, 0.1) 0%, rgba(122, 0, 223, 0.05) 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 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-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-glow: 0 0 40px rgba(0, 124, 186, 0.3);
    --shadow-glow-strong: 0 0 60px rgba(122, 0, 223, 0.5);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Font Sizes */
    --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-6xl: 3.75rem;
    
    /* Font Weights */
    --font-light: 300;
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
    
    /* Line Heights */
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;
    
    /* Spacing */
    --space-0: 0;
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
    --transition-slower: 500ms ease;
    
    /* Z-Index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;
    
    /* Container Widths */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-2xl: 1536px;
    
    /* Breakpoints (for reference in JS) */
    --breakpoint-sm: 640px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1280px;
    --breakpoint-2xl: 1536px;
}

/* Dark mode variables (applied to dark sections) */
[data-theme="dark"],
.dark-section {
    --text-primary: #F9FAFB;
    --text-secondary: #E5E7EB;
    --text-muted: #9CA3AF;
    --bg-primary: var(--primary-white);
    --bg-secondary: var(--primary-light);
    --border-light: #485062;
}
