/* ========================================= */
/* ПЕРЕМЕННЫЕ ДИЗАЙН-СИСТЕМЫ */
/* Inspired by Notion/Linear minimalism */
/* ========================================= */

:root {
  /* === ЦВЕТА === */
  --color-primary: #2563eb;
  --color-primary-hover: #1d4ed8;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  
  --color-text: #1f2937;
  --color-text-light: #6b7280;
  --color-text-muted: #9ca3af;
  
  --color-bg: #ffffff;
  --color-bg-soft: #f9fafb;
  --color-bg-section: #f8fafc;
  
  --color-border: #e5e7eb;
  --color-border-light: #f3f4f6;
  
  /* === РАДИУСЫ === */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;
  
  /* === ТЕНИ === */
  --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);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* === ПЕРЕХОДЫ === */
  --transition-fast: all 0.15s ease;
  --transition-base: all 0.2s ease;
  --transition-slow: all 0.3s ease;
  
  /* === ОТСТУПЫ (адаптивные) === */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  
  /* === КОНТЕЙНЕРЫ === */
  --container-max: min(90vw, 1200px);
  --section-padding: clamp(3rem, 8vw, 5rem) 0;
  
  /* === ТИПОГРАФИКА === */
  --font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Адаптивные размеры */
  --text-xs: clamp(0.75rem, 1.5vw, 0.875rem);
  --text-sm: clamp(0.875rem, 2vw, 0.95rem);
  --text-base: clamp(0.95rem, 2.5vw, 1rem);
  --text-lg: clamp(1.1rem, 3vw, 1.25rem);
  --text-xl: clamp(1.25rem, 3.5vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 4vw, 2rem);
  --text-3xl: clamp(2rem, 5vw, 3rem);
  --text-4xl: clamp(2.5rem, 6vw, 4rem);
}
