/**
 * ╔══════════════════════════════════════════════════════╗
 * ║           DESIGN TOKENS / CSS VARIABLES              ║
 * ║   Для смены темы — измени только этот файл           ║
 * ╚══════════════════════════════════════════════════════╝
 */

:root {

  /* ─── Цвета ─────────────────────────────────────── */
  --color-bg:           #080808;
  --color-bg-elevated:  #0f0f0f;
  --color-surface:      #111111;
  --color-surface-2:    #161616;
  --color-border:       #1f1f1f;
  --color-border-hover: #333333;

  --color-text:         #f0f0f0;
  --color-text-secondary: #888888;
  --color-text-muted:   #444444;

  --color-accent:       #ffffff;
  --color-accent-dim:   #cccccc;
  --color-accent-glow:  rgba(255, 255, 255, 0.07);

  /* ─── Типографика ────────────────────────────────── */
  --font-sans:    'Inter', 'Manrope', system-ui, -apple-system, sans-serif;

  --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.75rem;    /* 44px */
  --text-5xl:     3.75rem;    /* 60px */
  --text-6xl:     5rem;       /* 80px */

  --weight-regular: 400;
  --weight-medium:  500;
  --weight-semibold:600;
  --weight-bold:    700;

  --tracking-tight:  -0.03em;
  --tracking-normal:  0em;
  --tracking-wide:    0.08em;
  --tracking-widest:  0.2em;

  --leading-tight:  1.1;
  --leading-normal: 1.5;
  --leading-relaxed:1.7;

  /* ─── Отступы ────────────────────────────────────── */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* ─── Скругления ─────────────────────────────────── */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full:9999px;

  /* ─── Тени и свечение ────────────────────────────── */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.6);
  --glow-white: 0 0 40px rgba(255,255,255,0.05);
  --glow-card:  0 0 0 1px rgba(255,255,255,0.08);

  /* ─── Анимации ───────────────────────────────────── */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast:   150ms;
  --duration-normal: 300ms;
  --duration-slow:   500ms;

  /* ─── Сетка / Контейнер ──────────────────────────── */
  --container-max:  1200px;
  --container-pad:  clamp(1.25rem, 5vw, 3rem);

  /* ─── Z-индексы ──────────────────────────────────── */
  --z-base:   1;
  --z-nav:    100;
  --z-overlay:200;
  --z-modal:  300;
}
