/* SolyntraAI Design System - CSS Custom Properties */

:root {
  /* Color Palette - Base (keeping existing) */
  --color-primary: #88c0d0;
  --color-primary-hover: #8fbcbb;
  --color-dark-bg: #0b0e14;
  --color-gradient-start: #090c11;
  --color-gradient-end: #1f262d;
  --color-surface: #1e293b;
  --color-surface-hover: rgba(136, 192, 208, 0.2);
  --color-text-primary: #f5f5f5;
  --color-text-secondary: #e5e9f0;
  --color-text-muted: #767f9f;
  
  /* New Accent Colors */
  --color-cyber-teal: #0ee7f0;
  --color-neon-violet: #7b61ff;
  --color-soft-light: #f5f5f7;
  --color-success: #3bea7a;
  --color-warning: #ffc857;
  --color-danger: #ff5e57;
  
  /* Typography */
  --font-family-primary: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 50px;
  
  /* Shadows - Metallic 3D */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.25);
  --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  
  /* Metallic Shadows */
  --shadow-metallic: 
    0 1px 2px rgba(136, 192, 208, 0.1),
    0 4px 8px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(245, 245, 247, 0.1);
  
  --shadow-metallic-hover:
    0 2px 4px rgba(136, 192, 208, 0.15),
    0 8px 16px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(245, 245, 247, 0.15);
  
  --shadow-glow:
    0 0 20px rgba(14, 231, 240, 0.3),
    0 0 40px rgba(14, 231, 240, 0.1);
  
  /* Gradients - Metallic */
  --gradient-metallic: linear-gradient(135deg, 
    rgba(136, 192, 208, 0.9) 0%, 
    rgba(143, 188, 187, 0.8) 25%, 
    rgba(136, 192, 208, 0.9) 50%, 
    rgba(143, 188, 187, 0.8) 75%, 
    rgba(136, 192, 208, 0.9) 100%);
    
  --gradient-background: linear-gradient(135deg, var(--color-gradient-start) 0%, var(--color-gradient-end) 100%);
  
  --gradient-hero: radial-gradient(circle at top left, rgba(136, 192, 208, 0.3), transparent 60%), 
                   radial-gradient(circle at bottom right, rgba(94, 129, 172, 0.3), transparent 60%);
  
  --gradient-button: linear-gradient(135deg, 
    var(--color-primary) 0%, 
    var(--color-primary-hover) 50%, 
    var(--color-primary) 100%);
  
  --gradient-accent: linear-gradient(135deg, 
    var(--color-cyber-teal) 0%, 
    var(--color-neon-violet) 100%);
  
  /* Z-Index Scale */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  --z-toast: 1080;
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Animation Easing */
  --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);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  :root {
    /* Enhanced contrast for dark mode */
    --color-text-primary: #ffffff;
    --color-soft-light: #f8f9fa;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-fast: 0ms;
    --transition-normal: 0ms;
    --transition-slow: 0ms;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}