/* Design Tokens - Aligned with Portfolio Aesthetic */
:root {
  /* Colors - Custom Palette */
  --color-text: #1a1a1a;
  --color-text-secondary: #5c5e75;
  --color-background: #fffefc;
  --color-surface: #ffffff;
  --color-border: #e8e3f0;
  --color-accent: #7438f5;
  --color-accent-hover: #5c2bc2;
  --color-accent-secondary: #ed2c78;
  --color-accent-secondary-hover: #c91f61;

  /* State Colors */
  --color-success: #10b981;
  --color-success-hover: #059669;
  --color-success-bg: #d1fae5;
  --color-error: #ef4444;
  --color-error-hover: #dc2626;
  --color-error-bg: #fee2e2;
  --color-warning: #f59e0b;
  --color-warning-bg: #fef3c7;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-weight-thin: 100;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;

  /* Font Sizes */
  --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: 3rem;        /* 48px */

  /* Spacing */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */

  /* Layout */
  --max-width: 1200px;
  --nav-height: 60px;

  /* Borders */
  --border-width: 1px;
  --border-radius: 4px;
  --border-radius-lg: 8px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --transition: all 0.2s ease;
  --transition-fast: all 0.15s ease;
}

/* Dark Mode */
[data-theme="dark"] {
  --color-text: #f5f5f5;
  --color-text-secondary: #a8a8b8;
  --color-background: #1c1c24;
  --color-surface: #24242f;
  --color-border: #3a3a4a;
  --color-accent: #8f5dff;
  --color-accent-hover: #a47aff;
  --color-accent-secondary: #ff4d99;
  --color-accent-secondary-hover: #ff70ad;

  /* State Colors - Dark Mode */
  --color-success: #34d399;
  --color-success-hover: #6ee7b7;
  --color-success-bg: #064e3b;
  --color-error: #f87171;
  --color-error-hover: #fca5a5;
  --color-error-bg: #7f1d1d;
  --color-warning: #fbbf24;
  --color-warning-bg: #78350f;
}
