/* Design System Variables */

:root {
  /* Fonts */
  --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'Space Mono', 'Source Code Pro', Courier, monospace;

  /* Color Palette - Dark Mode (Default) */
  --bg-primary: #0a0a0c;
  --bg-secondary: #121215;
  --bg-tertiary: #191920;
  --bg-blur: rgba(10, 10, 12, 0.75);
  
  --text-primary: #f5f5f7;
  --text-secondary: #a1a1aa;
  --text-muted: #6b7280;
  
  --accent: #00d2c4;
  --accent-rgb: 0, 210, 196;
  --accent-hover: #00b4a8;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-hover: rgba(255, 255, 255, 0.16);

  /* Spacing Scale */
  --space-xs: clamp(0.5rem, 1vw, 0.75rem);
  --space-sm: clamp(0.75rem, 1.5vw, 1rem);
  --space-md: clamp(1.25rem, 2.5vw, 1.75rem);
  --space-lg: clamp(2rem, 4vw, 3rem);
  --space-xl: clamp(4rem, 8vw, 6rem);
  --space-xxl: clamp(6rem, 12vw, 10rem);

  /* Borders & Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-medium: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);

  /* Z-Indices */
  --z-back: -10;
  --z-base: 1;
  --z-navbar: 100;
  --z-menu: 200;
  --z-cursor: 9999;
}

/* Light Theme Variables */
[data-theme="light"] {
  --bg-primary: #f8f9fa;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f3f5;
  --bg-blur: rgba(248, 249, 250, 0.75);

  --text-primary: #121215;
  --text-secondary: #495057;
  --text-muted: #868e96;

  --accent: #00a89c;
  --accent-rgb: 0, 168, 156;
  --accent-hover: #008f84;

  --border-color: rgba(0, 0, 0, 0.08);
  --border-color-hover: rgba(0, 0, 0, 0.16);
}

/* Reduced Motion Settings */
@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-fast: 0s !important;
    --transition-medium: 0s !important;
    --transition-slow: 0s !important;
  }
}
