/*
 * Design Tokens — Micrometry Automator
 * All colors, spacing, typography, and breakpoints in one place.
 */

:root {
  /* ─── Colors ─── */
  --color-primary:        #0A1628;
  --color-primary-light:  #1E3A5F;
  --color-primary-mid:    #152238;

  --color-accent:         #00D4FF;
  --color-accent-dim:     rgba(0, 212, 255, 0.15);
  --color-accent-glow:    rgba(0, 212, 255, 0.3);
  --color-accent-warm:    #FFB800;

  --color-surface:        #111827;
  --color-surface-light:  #1F2937;
  --color-surface-border: rgba(255, 255, 255, 0.06);

  --color-text:           #F9FAFB;
  --color-text-secondary: #9CA3AF;
  --color-text-muted:     #6B7280;

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

  /* ─── Gradients ─── */
  --gradient-cta:         linear-gradient(135deg, #00D4FF 0%, #0066FF 100%);
  --gradient-cta-hover:   linear-gradient(135deg, #00E5FF 0%, #0077FF 100%);
  --gradient-hero:        linear-gradient(180deg, #0A1628 0%, #111827 100%);
  --gradient-card:        linear-gradient(145deg,
                            rgba(30, 58, 95, 0.4) 0%,
                            rgba(17, 24, 39, 0.6) 100%);

  /* ─── Glass Effect ─── */
  --glass-bg:             rgba(30, 58, 95, 0.15);
  --glass-border:         rgba(255, 255, 255, 0.08);
  --glass-blur:           16px;

  /* ─── Typography ─── */
  --font-body:            'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:            'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

  --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:             1.875rem;   /* 30px */
  --text-4xl:             2.25rem;    /* 36px */
  --text-5xl:             3rem;       /* 48px */
  --text-6xl:             3.75rem;    /* 60px */

  --leading-tight:        1.2;
  --leading-normal:       1.6;
  --leading-relaxed:      1.8;

  --weight-normal:        400;
  --weight-medium:        500;
  --weight-semibold:      600;
  --weight-bold:          700;
  --weight-extrabold:     800;

  /* ─── Spacing ─── */
  --space-1:              0.25rem;    /* 4px */
  --space-2:              0.5rem;     /* 8px */
  --space-3:              0.75rem;    /* 12px */
  --space-4:              1rem;       /* 16px */
  --space-5:              1.25rem;    /* 20px */
  --space-6:              1.5rem;     /* 24px */
  --space-8:              2rem;       /* 32px */
  --space-10:             2.5rem;     /* 40px */
  --space-12:             3rem;       /* 48px */
  --space-16:             4rem;       /* 64px */
  --space-20:             5rem;       /* 80px */
  --space-24:             6rem;       /* 96px */

  /* ─── Border Radius ─── */
  --radius-sm:            0.375rem;   /* 6px */
  --radius-md:            0.5rem;     /* 8px */
  --radius-lg:            0.75rem;    /* 12px */
  --radius-xl:            1rem;       /* 16px */
  --radius-2xl:           1.5rem;     /* 24px */
  --radius-full:          9999px;

  /* ─── Shadows ─── */
  --shadow-sm:            0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md:            0 4px 6px -1px rgba(0, 0, 0, 0.3),
                          0 2px 4px -2px rgba(0, 0, 0, 0.2);
  --shadow-lg:            0 10px 15px -3px rgba(0, 0, 0, 0.4),
                          0 4px 6px -4px rgba(0, 0, 0, 0.3);
  --shadow-xl:            0 20px 25px -5px rgba(0, 0, 0, 0.5),
                          0 8px 10px -6px rgba(0, 0, 0, 0.3);
  --shadow-glow:          0 0 20px rgba(0, 212, 255, 0.15);
  --shadow-glow-strong:   0 0 40px rgba(0, 212, 255, 0.25);

  /* ─── Transitions ─── */
  --transition-fast:      150ms ease;
  --transition-base:      250ms ease;
  --transition-slow:      400ms ease;
  --transition-spring:    500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ─── Z-Index Scale ─── */
  --z-dropdown:           10;
  --z-sticky:             20;
  --z-fixed:              30;
  --z-modal-backdrop:     40;
  --z-modal:              50;
  --z-tooltip:            60;

  /* ─── Layout ─── */
  --container-max:        1200px;
  --container-padding:    var(--space-6);
  --nav-height:           72px;
}

/* ─── Breakpoint reference (used in media queries) ───
   Mobile:    < 640px
   Tablet:    640px – 1023px
   Desktop:   1024px – 1439px
   Wide:      ≥ 1440px
*/
