/* ==========================================================================
   ENGTEC Design System — CSS Custom Properties
   ========================================================================== */

:root {
  /* ── Color Palette ─────────────────────────────────────────────────────── */
  --color-primary-dark: #0D2137;
  --color-primary: #1B5E8A;
  --color-primary-light: #2874A6;
  --color-secondary: #0E9AA7;
  --color-secondary-light: #12B5C4;
  --color-accent: #6CB4D9;
  --color-accent-light: #9ECAE1;

  --color-bg: #F5F8FA;
  --color-surface: #FFFFFF;
  --color-surface-alt: #EDF2F7;

  --color-text: #1A1A2E;
  --color-text-muted: #6B7B8D;
  --color-text-light: #9AACBC;
  --color-text-inverse: #FFFFFF;

  --color-border: #D1DCE5;
  --color-border-light: #E8EEF3;

  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-error: #EF4444;

  /* ── Typography ────────────────────────────────────────────────────────── */
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Scale ratio: 1.333 (Perfect Fourth) */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-md: 1.125rem;     /* 18px */
  --text-lg: 1.333rem;     /* ~21px */
  --text-xl: 1.777rem;     /* ~28px */
  --text-2xl: 2.369rem;    /* ~38px */
  --text-3xl: 3.157rem;    /* ~50px */
  --text-4xl: 4.209rem;    /* ~67px */

  --leading-tight: 1.1;
  --leading-snug: 1.3;
  --leading-normal: 1.6;
  --leading-relaxed: 1.8;

  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.05em;
  --tracking-wider: 0.1em;

  /* ── Spacing (8pt grid) ────────────────────────────────────────────────── */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.5rem;    /* 24px */
  --space-6: 2rem;      /* 32px */
  --space-8: 3rem;      /* 48px */
  --space-10: 4rem;     /* 64px */
  --space-12: 5rem;     /* 80px */
  --space-16: 8rem;     /* 128px */

  /* ── Border Radius (Sharp — Engineering precision) ─────────────────────── */
  --radius-none: 0;
  --radius-sm: 1px;
  --radius-md: 2px;
  --radius-lg: 4px;

  /* ── Shadows ───────────────────────────────────────────────────────────── */
  --shadow-sm: 0 1px 3px rgba(13, 33, 55, 0.06);
  --shadow-md: 0 4px 12px rgba(13, 33, 55, 0.08);
  --shadow-lg: 0 8px 30px rgba(13, 33, 55, 0.12);
  --shadow-xl: 0 16px 48px rgba(13, 33, 55, 0.16);
  --shadow-inset: inset 0 2px 4px rgba(13, 33, 55, 0.04);

  /* ── Transitions ───────────────────────────────────────────────────────── */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --duration-slower: 800ms;

  /* ── Layout ────────────────────────────────────────────────────────────── */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1200px;
  --container-max: 1440px;

  --header-height: 80px;

  /* ── Z-Index Scale ─────────────────────────────────────────────────────── */
  --z-base: 0;
  --z-above: 10;
  --z-nav: 100;
  --z-overlay: 200;
  --z-modal: 300;
  --z-toast: 400;
  --z-whatsapp: 500;
}
