/* ==========================================================================
   EPIK LEADERS - CSS VARIABLES
   Design tokens and CSS custom properties
   ========================================================================== */

:root {
    /* ==========================================================================
       COLOR PALETTE
       ========================================================================== */
    
    
    /* Primary Colors */
    --color-primary: #B5252C;
    --color-primary-dark: #8B0000;
    --color-primary-light: #EF4444;
    --color-primary-rgb: 181, 37, 44;
    
    /* Secondary Colors */
    --color-secondary: #004862;
    --color-secondary-dark: #002d5b;
    --color-secondary-light: #0066cc;
    --color-secondary-rgb: 0, 72, 98;
    
    /* Accent Colors */
    --color-accent-blue: #3B82F6;
    --color-accent-red: #EF4444;
    
    /* Neutral Colors */
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-gray-50: #F9FAFB;
    --color-gray-100: #F3F4F6;
    --color-gray-200: #E5E7EB;
    --color-gray-300: #D1D5DB;
    --color-gray-400: #9CA3AF;
    --color-gray-500: #6B7280;
    --color-gray-600: #4B5563;
    --color-gray-700: #374151;
    --color-gray-800: #1F2937;
    --color-gray-900: #111827;
    
    /* Success, Warning, Error Colors */
    --color-success: #10B981;
    --color-success-dark: #059669;
    --color-warning: #F59E0B;
    --color-error: #EF4444;
    
    /* ==========================================================================
       TYPOGRAPHY
       ========================================================================== */
    
    /* Font Families */
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    
    /* Font Weights */
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    /* Font Sizes */
    --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: 1.875rem;   /* 30px */
    --font-size-4xl: 2.25rem;    /* 36px */
    --font-size-5xl: 3rem;       /* 48px */
    --font-size-6xl: 3.75rem;    /* 60px */
    --font-size-7xl: 4.5rem;     /* 72px - Large screens */
    --font-size-8xl: 6rem;       /* 96px - 4K screens */
    --font-size-9xl: 8rem;       /* 128px - TV screens */
    
    /* Line Heights */
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    
    /* ==========================================================================
       SPACING
       ========================================================================== */
    
    --spacing-1: 0.25rem;   /* 4px */
    --spacing-2: 0.5rem;    /* 8px */
    --spacing-3: 0.75rem;   /* 12px */
    --spacing-4: 1rem;      /* 16px */
    --spacing-5: 1.25rem;   /* 20px */
    --spacing-6: 1.5rem;    /* 24px */
    --spacing-8: 2rem;      /* 32px */
    --spacing-10: 2.5rem;   /* 40px */
    --spacing-12: 3rem;     /* 48px */
    --spacing-16: 4rem;     /* 64px */
    --spacing-20: 5rem;     /* 80px */
    --spacing-24: 6rem;     /* 96px */
    
    /* ==========================================================================
       LAYOUT
       ========================================================================== */
    
    /* Container Widths */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-2xl: 1500px;

    /* Z-Index */
    --z-index-low: 10;
    --z-index-base: 1;
    --z-index-dropdown: 10;
    --z-index-sticky: 20;
    --z-index-fixed: 30;
    --z-index-modal-backdrop: 40;
    --z-index-modal: 50;
    --z-index-popover: 60;
    --z-index-tooltip: 70;
    --z-index-header: 100;
    
    /* ==========================================================================
       BORDER RADIUS
       ========================================================================== */
    
    --border-radius-none: 0;
    --border-radius-sm: 0.25rem;    /* 4px */
    --border-radius-base: 0.5rem;   /* 8px */
    --border-radius-md: 0.75rem;    /* 12px */
    --border-radius-lg: 1rem;       /* 16px */
    --border-radius-xl: 1.5rem;     /* 24px */
    --border-radius-2xl: 2rem;      /* 32px */
    --border-radius-3xl: 3rem;      /* 48px */
    --border-radius-full: 9999px;
    --border-radius-footer: 50px 50px 0px 0px;
    
    /* ==========================================================================
       BOX SHADOWS
       ========================================================================== */
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-base: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --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-custom: 0 20px 40px rgba(0, 0, 0, 0.15);
    
    /* ==========================================================================
       TRANSITIONS
       ========================================================================== */
    
    --transition-fast: 0.15s ease-in-out;
    --transition-base: 0.2s ease-in-out;
    --transition-slow: 0.3s ease-in-out;
    --transition-slower: 0.5s ease-in-out;
    
    /* Transition Timing Functions */
    --ease-out-cubic: cubic-bezier(0.33, 1, 0.68, 1);
    --ease-in-out-cubic: cubic-bezier(0.4, 0, 0.2, 1);
    
    /* ==========================================================================
       Z-INDEX LAYERS
       ========================================================================== */
    
    --z-index-base: 1;
    --z-index-dropdown: 10;
    --z-index-sticky: 20;
    --z-index-fixed: 30;
    --z-index-modal-backdrop: 40;
    --z-index-modal: 50;
    --z-index-popover: 60;
    --z-index-tooltip: 70;
    --z-index-header: 100;
    
    /* ==========================================================================
       GRADIENT DEFINITIONS
       ========================================================================== */
    
    --gradient-primary: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    --gradient-hero: linear-gradient(135deg, #004862 0%, #B5252C 100%);
    --gradient-card: linear-gradient(145deg, #ffffff, #f8fafc);
    --gradient-board: linear-gradient(135deg, #f093fb 0%, #f5576c 50%, #4facfe 100%);
    --gradient-modern: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-text: linear-gradient(to right, var(--color-accent-blue), var(--color-accent-red));
    --gradient-overlay: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%);
    
    /* ==========================================================================
       ANIMATION DURATIONS
       ========================================================================== */
    
    --animation-duration-fast: 0.15s;
    --animation-duration-base: 0.3s;
    --animation-duration-slow: 0.5s;
    --animation-duration-slower: 1s;
    
    /* ==========================================================================
       BREAKPOINTS (for reference in media queries)
       ========================================================================== */
    
    --breakpoint-sm: 640px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1280px;
    --breakpoint-2xl: 1536px;
    --breakpoint-3xl: 1920px;  /* Large desktop */
    --breakpoint-4k: 2560px;   /* 4K screens */
    --breakpoint-tv: 3840px;   /* TV displays & 8K */
}

/* ==========================================================================
   CSS VARIABLE UTILITY CLASSES
   ========================================================================== */

/* Background Color Utilities */
.bg-primary { background-color: var(--color-primary); }
.bg-secondary { background-color: var(--color-secondary); }
.bg-gray-100 { background-color: white; }

/* Text Color Utilities */
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-white { color: var(--color-white); }
.text-gray-600 { color: var(--color-gray-600); }

/* Font Family Utilities */
.font-primary { font-family: var(--font-primary); }
.font-secondary { font-family: var(--font-secondary); }

/* Shadow Utilities */
.shadow-custom { box-shadow: var(--shadow-custom); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* Border Radius Utilities */
.rounded-custom { border-radius: var(--border-radius-lg); }
.rounded-footer { border-radius: var(--border-radius-footer); }
