/* ==========================================================================
   EarthlingAidTech Design System - CSS Variables
   Premium Tech × Subtle Futurism
   ========================================================================== */

:root {
  /* ===== Color Palette ===== */
  
  /* Primary Colors - Dark Mode */
  --color-bg-primary: #0B0D10;
  --color-bg-secondary: #111318;
  --color-bg-elevated: #1A1D24;
  --color-bg-card: rgba(26, 29, 36, 0.6);
  
  /* Text Colors */
  --color-text-primary: #E6E8EB;
  --color-text-secondary: rgba(230, 232, 235, 0.7);
  --color-text-muted: rgba(230, 232, 235, 0.5);
  
  /* Accent - Muted Electric Blue (AI, trust, intelligence) */
  --color-accent: #4A9EFF;
  --color-accent-hover: #6BB3FF;
  --color-accent-subtle: rgba(74, 158, 255, 0.15);
  --color-accent-glow: rgba(74, 158, 255, 0.3);
  
  /* Secondary Accent - Soft Cyan (automation, robotics) */
  --color-secondary: #5ECFCF;
  --color-secondary-subtle: rgba(94, 207, 207, 0.15);
  
  /* Subtle UI Colors */
  --color-border: rgba(230, 232, 235, 0.1);
  --color-border-hover: rgba(230, 232, 235, 0.2);
  --color-overlay: rgba(11, 13, 16, 0.8);
  
  /* ===== Typography ===== */
  
  /* Font Families */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', var(--font-primary);
  
  /* Font Sizes - Desktop */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.5rem;      /* 24px */
  --text-3xl: 2rem;        /* 32px */
  --text-4xl: 2.5rem;      /* 40px */
  --text-5xl: 3.5rem;      /* 56px */
  --text-6xl: 4.5rem;      /* 72px */
  
  /* Line Heights */
  --leading-none: 1;
  --leading-tight: 1.15;
  --leading-snug: 1.3;
  --leading-normal: 1.5;
  --leading-relaxed: 1.7;
  
  /* Font Weights */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  
  /* Letter Spacing */
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.02em;
  --tracking-wider: 0.05em;
  
  /* ===== Spacing (8px grid system) ===== */
  --space-1: 0.25rem;      /* 4px */
  --space-2: 0.5rem;       /* 8px */
  --space-3: 0.75rem;      /* 12px */
  --space-4: 1rem;         /* 16px */
  --space-5: 1.25rem;      /* 20px */
  --space-6: 1.5rem;       /* 24px */
  --space-8: 2rem;         /* 32px */
  --space-10: 2.5rem;      /* 40px */
  --space-12: 3rem;        /* 48px */
  --space-16: 4rem;        /* 64px */
  --space-20: 5rem;        /* 80px */
  --space-24: 6rem;        /* 96px */
  --space-32: 8rem;        /* 128px */
  
  /* ===== Layout ===== */
  --container-max: 1200px;
  --container-narrow: 800px;
  --section-padding: var(--space-24);
  --section-padding-mobile: var(--space-16);
  
  /* ===== Effects ===== */
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px var(--color-accent-glow);
  
  /* ===== Transitions ===== */
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;
  --duration-slower: 600ms;
  
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* ===== Z-Index Scale ===== */
  --z-base: 0;
  --z-dropdown: 10;
  --z-sticky: 100;
  --z-overlay: 200;
  --z-modal: 300;
  --z-tooltip: 400;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
  :root {
    --text-5xl: 2.5rem;
    --text-6xl: 3rem;
    --section-padding: var(--space-16);
  }
}
