/* ============================================================
   THEME: Blue (default)
   Design tokens — modern premium palette
   ============================================================ */

:root {
  /* ─── Brand ─── */
  --color-primary: #2563eb;
  --color-primary-hover: #1d4ed8;
  --color-primary-soft: #eff6ff;
  --color-primary-surface: #bfdbfe;
  --color-primary-text: #1e40af;

  --color-accent: #f59e0b;
  --color-accent-hover: #d97706;
  --color-accent-soft: #fffbeb;
  --color-accent-text: #92400e;

  /* ─── Neutral ─── */
  --color-text: #0f172a;
  --color-text-secondary: #475569;
  --color-text-tertiary: #94a3b8;
  --color-text-inverse: #ffffff;

  --color-bg: #ffffff;
  --color-bg-secondary: #f8fafc;
  --color-bg-tertiary: #f1f5f9;

  --color-surface: #ffffff;
  --color-surface-hover: #f8fafc;

  --color-border: #e2e8f0;
  --color-border-light: #f1f5f9;

  /* ─── Semantic ─── */
  --color-success: #10b981;
  --color-success-soft: #f0fdf4;
  --color-warning: #f59e0b;
  --color-warning-soft: #fffbeb;
  --color-danger: #ef4444;
  --color-danger-soft: #fef2f2;
  --color-info: #3b82f6;
  --color-info-soft: #eff6ff;

  /* ─── Price ─── */
  --color-price: #059669;
  --color-price-soft: #f0fdf4;

  /* ─── Layout ─── */
  --color-header-bg: rgba(255, 255, 255, 0.92);
  --color-header-border: rgba(226, 232, 240, 0.8);
  --color-footer-bg: #0f172a;
  --color-footer-text: #94a3b8;
  --color-footer-heading: #f1f5f9;
  --color-footer-border: #1e293b;

  --color-hero-gradient: linear-gradient(135deg, #eff6ff 0%, #dbeafe 50%, #f8fafc 100%);

  /* ─── Shadows ─── */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 12px rgba(0, 0, 0, 0.06), 0 3px 6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.08), 0 6px 12px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.1), 0 12px 24px rgba(0, 0, 0, 0.06);

  /* ─── Border Radius ─── */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* ─── Typography ─── */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Unbounded', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;

  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
  --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --text-3xl: clamp(2rem, 1.6rem + 2vw, 3rem);
  --text-4xl: clamp(2.5rem, 2rem + 2.5vw, 4rem);

  --leading-tight: 1.2;
  --leading: 1.6;
  --leading-relaxed: 1.75;

  --tracking-tight: -0.025em;
  --tracking: 0;
  --tracking-wide: 0.025em;

  /* ─── Spacing ─── */
  --space-2xs: clamp(0.125rem, 0.1rem + 0.125vw, 0.25rem);
  --space-xs: clamp(0.25rem, 0.2rem + 0.25vw, 0.5rem);
  --space-sm: clamp(0.5rem, 0.4rem + 0.5vw, 0.75rem);
  --space-md: clamp(0.75rem, 0.6rem + 0.75vw, 1.25rem);
  --space-lg: clamp(1.25rem, 1rem + 1.25vw, 2rem);
  --space-xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
  --space-2xl: clamp(3rem, 2rem + 5vw, 5rem);
  --space-3xl: clamp(4rem, 3rem + 8vw, 8rem);

  /* ─── Layout ─── */
  --content-max: 1200px;
  --content-wide: 1400px;
  --content-padding: clamp(1rem, 0.5rem + 2.5vw, 2rem);

  /* ─── Transitions ─── */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 250ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ─── Z-index ─── */
  --z-header: 100;
  --z-overlay: 900;
  --z-modal: 1000;
  --z-toast: 1100;
}
