/* CSS Custom Properties - Core Design System */

:root {

  /* Color Palette */

  --color-primary: #3b82f6;

  --color-primary-dark: #2563eb;

  --color-primary-light: #60a5fa;

  --color-accent: #f59e0b;

  --color-accent-dark: #d97706;

  

  /* Background Colors */

  --color-bg-primary: #0a0a0a;

  --color-bg-secondary: #111111;

  --color-bg-tertiary: #1a1a1a;

  --color-bg-overlay: rgba(0, 0, 0, 0.8);

  --color-bg-card: rgba(255, 255, 255, 0.05);

  --color-bg-card-hover: rgba(255, 255, 255, 0.08);

  

  /* Text Colors */

  --color-text-primary: #ffffff;

  --color-text-secondary: #f9fafb;

  --color-text-muted: #e5e7eb;

  --color-text-accent: #60a5fa;

  

  /* Border Colors */

  --color-border-primary: rgba(255, 255, 255, 0.1);

  --color-border-secondary: rgba(255, 255, 255, 0.05);

  --color-border-accent: rgba(59, 130, 246, 0.3);

  

  /* Gradient Definitions */

  --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);

  --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);

  --gradient-text: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);

  --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);

  

  /* Typography */

  --font-family-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --font-family-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

  

  /* 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 */

  

  /* Font Weights */

  --font-weight-light: 300;

  --font-weight-normal: 400;

  --font-weight-medium: 500;

  --font-weight-semibold: 600;

  --font-weight-bold: 700;

  

  /* Line Heights */

  --line-height-tight: 1.25;

  --line-height-normal: 1.5;

  --line-height-relaxed: 1.75;

  

  /* Spacing Scale */

  --space-xs: 0.25rem;   /* 4px */

  --space-sm: 0.5rem;    /* 8px */

  --space-md: 0.75rem;   /* 12px */

  --space-lg: 1rem;      /* 16px */

  --space-xl: 1.5rem;    /* 24px */

  --space-2xl: 2rem;     /* 32px */

  --space-3xl: 2.5rem;   /* 40px */

  --space-4xl: 3rem;     /* 48px */

  --space-5xl: 4rem;     /* 64px */

  --space-6xl: 5rem;     /* 80px */

  --space-7xl: 6rem;     /* 96px */

  --space-8xl: 8rem;     /* 128px */

  

  /* Border Radius */

  --radius-sm: 0.25rem;   /* 4px */

  --radius-md: 0.375rem;  /* 6px */

  --radius-lg: 0.5rem;    /* 8px */

  --radius-xl: 0.75rem;   /* 12px */

  --radius-2xl: 1rem;     /* 16px */

  --radius-3xl: 1.5rem;   /* 24px */

  --radius-full: 9999px;

  

  /* Shadows */

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);

  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);

  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);

  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 10px 10px -5px rgba(0, 0, 0, 0.3);

  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.7);

  --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.3);

  --shadow-glow-lg: 0 0 50px rgba(59, 130, 246, 0.4);

  

  /* Animation Durations */

  --duration-fast: 150ms;

  --duration-normal: 250ms;

  --duration-slow: 350ms;

  --duration-slower: 500ms;

  

  /* Animation Easings */

  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);

  --ease-in: cubic-bezier(0.4, 0, 1, 1);

  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);

  

  /* Z-Index Scale */

  --z-behind: -1;

  --z-base: 0;

  --z-raised: 10;

  --z-floating: 100;

  --z-overlay: 1000;

  --z-modal: 1100;

  --z-toast: 1200;

  --z-tooltip: 1300;

  

  /* Layout */

  --container-max-width: 1200px;

  --container-padding: var(--space-xl);

  --navbar-height: 4rem;

  

  /* Breakpoints (for reference in JS) */

  --breakpoint-sm: 640px;

  --breakpoint-md: 768px;

  --breakpoint-lg: 1024px;

  --breakpoint-xl: 1280px;

  --breakpoint-2xl: 1536px;

  

  /* Special Effects */

  --blur-sm: blur(4px);

  --blur-md: blur(8px);

  --blur-lg: blur(16px);

  --blur-xl: blur(24px);

  

  /* Background Pattern */

  --bg-grid-size: 40px;

  --bg-dot-size: 2px;

}



/* Mobile-specific container padding adjustments */

@media (max-width: 640px) {

  :root {

    --container-padding: var(--space-sm); /* 8px on mobile */

  }

}



/* Dark mode adjustments (if needed later) */

@media (prefers-color-scheme: dark) {

  :root {

    /* Already optimized for dark mode */

  }

}



/* Reduced motion preferences */

@media (prefers-reduced-motion: reduce) {

  :root {

    --duration-fast: 0ms;

    --duration-normal: 0ms;

    --duration-slow: 0ms;

    --duration-slower: 0ms;

  }

}