/* ==========================================================================
   CSS VARIABLES - Your Brand Design System
   
   Why use CSS variables:
   - Change colors in one place, updates everywhere
   - Easy to maintain and modify
   - Can be changed dynamically with JavaScript
   - Makes your code more organized and professional
   ========================================================================== */

:root {
    /* ==========================================================================
       COLOR PALETTE - Based on your Mindroot Labs brand guide
       ========================================================================== */
    
    /* Primary Brand Colors */
    --color-primary: #2d5a87;          /* Primary Blue - main brand color */
    --color-primary-dark: #1a365d;     /* Dark Blue - headers, important text */
    --color-primary-light: #4a90e2;    /* Light Blue - interactive elements */
    --color-accent: #6bb6ff;           /* Accent Blue - highlights, CTAs */
    --color-bright: #60a5fa;           /* Bright Blue - hover states */
    
    /* Neutral Colors */
    --color-text-primary: #374151;     /* Dark Gray - main headings */
    --color-text-secondary: #6b7280;   /* Medium Gray - body text */
    --color-text-light: #9ca3af;       /* Light Gray - captions, meta text */
    --color-background: #ffffff;       /* White - main backgrounds */
    --color-background-light: #f8fafc; /* Very Light Gray - section backgrounds */
    --color-background-medium: #e2e8f0; /* Light Gray - cards, forms */
    
    /* Semantic Colors (for messages, alerts, etc.) */
    --color-success: #10b981;          /* Green - success messages */
    --color-warning: #f59e0b;          /* Orange - warnings */
    --color-error: #ef4444;            /* Red - errors */
    --color-info: var(--color-primary-light); /* Blue - info messages */
    
    /* ==========================================================================
       TYPOGRAPHY - Font families and sizes
       ========================================================================== */
    
    /* Font Families */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-monospace: 'Fira Code', 'Courier New', monospace; /* For code snippets */
    
    /* Font Weights */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Font Sizes - Using rem units for scalability */
    --font-size-xs: 0.75rem;    /* 12px - small captions */
    --font-size-sm: 0.875rem;   /* 14px - small text */
    --font-size-base: 1rem;     /* 16px - body text */
    --font-size-lg: 1.125rem;   /* 18px - large text */
    --font-size-xl: 1.25rem;    /* 20px - subheadings */
    --font-size-2xl: 1.5rem;    /* 24px - section titles */
    --font-size-3xl: 2rem;      /* 32px - page titles */
    --font-size-4xl: 2.5rem;    /* 40px - hero titles */
    --font-size-5xl: 3rem;      /* 48px - large hero titles */
    
    /* Line Heights */
    --line-height-tight: 1.25;   /* For headings */
    --line-height-normal: 1.5;   /* For body text */
    --line-height-relaxed: 1.7;  /* For long-form content */
    
    /* ==========================================================================
       SPACING SYSTEM - Consistent spacing throughout the site
       ========================================================================== */
    
    /* Base spacing unit - all spacing is multiple of this */
    --space-unit: 0.25rem; /* 4px */
    
    /* Spacing Scale */
    --space-1: calc(var(--space-unit) * 1);   /* 4px */
    --space-2: calc(var(--space-unit) * 2);   /* 8px */
    --space-3: calc(var(--space-unit) * 3);   /* 12px */
    --space-4: calc(var(--space-unit) * 4);   /* 16px */
    --space-5: calc(var(--space-unit) * 5);   /* 20px */
    --space-6: calc(var(--space-unit) * 6);   /* 24px */
    --space-8: calc(var(--space-unit) * 8);   /* 32px */
    --space-10: calc(var(--space-unit) * 10); /* 40px */
    --space-12: calc(var(--space-unit) * 12); /* 48px */
    --space-16: calc(var(--space-unit) * 16); /* 64px */
    --space-20: calc(var(--space-unit) * 20); /* 80px */
    --space-24: calc(var(--space-unit) * 24); /* 96px */
    --space-32: calc(var(--space-unit) * 32); /* 128px */
    
    /* ==========================================================================
       LAYOUT & SIZING
       ========================================================================== */
    
    /* Container Widths */
    --container-sm: 640px;      /* Small screens */
    --container-md: 768px;      /* Medium screens */
    --container-lg: 1024px;     /* Large screens */
    --container-xl: 1280px;     /* Extra large screens */
    --container-max: 1200px;    /* Maximum content width */
    
    /* Border Radius */
    --radius-sm: 0.375rem;      /* 6px - small elements */
    --radius-md: 0.5rem;        /* 8px - buttons, inputs */
    --radius-lg: 0.75rem;       /* 12px - cards */
    --radius-xl: 1rem;          /* 16px - large cards */
    --radius-2xl: 1.5rem;       /* 24px - hero sections */
    --radius-full: 9999px;      /* Full rounded - pills, avatars */
    
    /* ==========================================================================
       SHADOWS & EFFECTS
       ========================================================================== */
    
    /* Box 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);
    
    /* Brand-specific shadows using your colors */
    --shadow-primary: 0 10px 30px rgba(45, 90, 135, 0.3);
    --shadow-primary-lg: 0 20px 40px rgba(45, 90, 135, 0.2);
    
    /* ==========================================================================
       TRANSITIONS & ANIMATIONS
       ========================================================================== */
    
    /* Transition Durations */
    --transition-fast: 0.15s;
    --transition-normal: 0.3s;
    --transition-slow: 0.5s;
    
    /* Easing Functions */
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    
    /* Common Transitions */
    --transition-colors: color var(--transition-normal) var(--ease-in-out),
                        background-color var(--transition-normal) var(--ease-in-out),
                        border-color var(--transition-normal) var(--ease-in-out);
    
    --transition-transform: transform var(--transition-normal) var(--ease-in-out);
    --transition-shadow: box-shadow var(--transition-normal) var(--ease-in-out);
    --transition-all: all var(--transition-normal) var(--ease-in-out);
    
    /* ==========================================================================
       BREAKPOINTS - For responsive design
       ========================================================================== */
    
    --breakpoint-sm: 640px;     /* Small tablets */
    --breakpoint-md: 768px;     /* Large tablets */
    --breakpoint-lg: 1024px;    /* Small laptops */
    --breakpoint-xl: 1280px;    /* Large laptops */
    --breakpoint-2xl: 1536px;   /* Large monitors */
}

/* ==========================================================================
   DARK MODE VARIABLES (for future use)
   ========================================================================== */

/* 
   You can add dark mode later by using:
   @media (prefers-color-scheme: dark) { ... }
   
   For now, we'll focus on the light theme
*/

/* ==========================================================================
   EXAMPLE USAGE:
   
   In your other CSS files, you can use these variables like:
   
   .button {
       background-color: var(--color-primary);
       padding: var(--space-4) var(--space-6);
       border-radius: var(--radius-md);
       transition: var(--transition-all);
   }
   
   .button:hover {
       background-color: var(--color-primary-dark);
       box-shadow: var(--shadow-primary);
   }
   ========================================================================== */