:root {
  /* Color System */
  --color-primary: #0071e3;
  --color-primary-light: #439eff;
  --color-primary-dark: #0058b0;
  
  --color-secondary: #86868b;
  --color-secondary-light: #a1a1a6;
  --color-secondary-dark: #6e6e73;
  
  --color-success: #34c759;
  --color-warning: #ff9500;
  --color-error: #ff3b30;
  
  /* Neutral Colors */
  --color-background: #ffffff;
  --color-surface: #f5f5f7;
  --color-card: #ffffff;
  
  --color-text-primary: #1d1d1f;
  --color-text-secondary: #515154;
  --color-text-tertiary: #86868b;
  --color-text-on-primary: #ffffff;
  
  --color-border: #d2d2d7;
  --color-border-light: #e5e5ea;
  
  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  
  --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-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  --line-height-tight: 1.2;    /* Headings */
  --line-height-normal: 1.5;   /* Body text */
  --line-height-loose: 1.75;   /* Larger body text */
  
  /* Spacing - 8px System */
  --space-1: 0.25rem;  /* 4px */
  --space-2: 0.5rem;   /* 8px */
  --space-3: 1rem;     /* 16px */
  --space-4: 1.5rem;   /* 24px */
  --space-5: 2rem;     /* 32px */
  --space-6: 3rem;     /* 48px */
  --space-7: 4rem;     /* 64px */
  --space-8: 6rem;     /* 96px */
  
  /* Borders */
  --border-radius-sm: 0.25rem;  /* 4px */
  --border-radius-md: 0.5rem;   /* 8px */
  --border-radius-lg: 0.75rem;  /* 12px */
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 350ms ease;
  
  /* Container */
  --container-max-width: 1200px;
  --container-padding: var(--space-4);
}

/* Dark Mode Variables */
@media (prefers-color-scheme: dark) {
  :root {
    --color-background: #1d1d1f;
    --color-surface: #2d2d2f;
    --color-card: #3d3d3f;
    
    --color-text-primary: #f5f5f7;
    --color-text-secondary: #a1a1a6;
    --color-text-tertiary: #6e6e73;
    
    --color-border: #3d3d3f;
    --color-border-light: #4d4d4f;
  }
}

/* Media Query Breakpoints */
:root {
  --breakpoint-sm: 640px;   /* Mobile */
  --breakpoint-md: 768px;   /* Tablet */
  --breakpoint-lg: 1024px;  /* Desktop */
  --breakpoint-xl: 1280px;  /* Large Desktop */
}