/* ==========================================================================
   CSS CUSTOM PROPERTIES / PROFESSIONAL DESIGN SYSTEM TOKENS
   Pompano Leak Detection Pros
   ========================================================================== */

:root {
  /* ------------------------------------------------------------------------
     Brand & UI Colors - Formal, High-End Engineering Aesthetic
     ------------------------------------------------------------------------ */
  --color-primary: #0F172A;          /* Slate 900 - Authoritative Midnight Slate */
  --color-primary-dark: #020617;     /* Slate 950 - Deepest contrast */
  --color-primary-light: #1E293B;    /* Slate 800 - Header & dark surfaces */
  
  --color-accent: #0284C7;           /* Sky 600 - Precision Technical Cyan/Blue */
  --color-accent-hover: #0369A1;     /* Sky 700 - Hover state */
  --color-accent-light: #F0F9FF;     /* Sky 50 - Subtle background tint */
  --color-accent-border: #BAE6FD;    /* Sky 200 - Clean accent border */
  
  --color-secondary: #0F766E;        /* Teal 700 - Verification & diagnostics */
  --color-secondary-light: #F0FDFA;  /* Teal 50 */
  
  --color-warning: #B45309;          /* Amber 700 - Symptom indicator */
  --color-warning-light: #FFFBEB;    /* Amber 50 */
  --color-warning-border: #FDE68A;   /* Amber 200 */
  
  --color-success: #047857;          /* Emerald 700 */
  --color-success-light: #ECFDF5;

  /* Neutral Spectrum */
  --color-text-main: #0F172A;        /* Crisp, deep contrast reading text */
  --color-text-muted: #334155;       /* Slate 700 - High-legibility editorial text */
  --color-text-light: #64748B;       /* Slate 500 - Metadata & captions */
  --color-text-inverse: #FFFFFF;     /* Pure white */

  --color-bg-body: #FFFFFF;
  --color-bg-subtle: #F8FAFC;        /* Slate 50 - Ultra-clean alternate surface */
  --color-bg-surface: #FFFFFF;       /* Pure white card surface */
  --color-bg-alt: #F1F5F9;           /* Slate 100 */
  
  --color-border-subtle: #E2E8F0;    /* Slate 200 - Hairline borders */
  --color-border-strong: #CBD5E1;    /* Slate 300 - Input & container borders */

  /* ------------------------------------------------------------------------
     Typography System (Clean, Geometric System Sans)
     ------------------------------------------------------------------------ */
  --font-family-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-family-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-family-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Font Sizes */
  --font-size-xs: 0.75rem;     /* 12px */
  --font-size-sm: 0.875rem;    /* 14px */
  --font-size-base: 1rem;      /* 16px */
  --font-size-md: 1.125rem;    /* 18px */
  --font-size-lg: 1.25rem;     /* 20px */
  --font-size-xl: 1.5rem;      /* 24px */
  --font-size-2xl: 1.875rem;   /* 30px */
  --font-size-3xl: 2.25rem;    /* 36px */
  --font-size-4xl: 2.75rem;    /* 44px */

  /* Font Weights */
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  /* Line Heights */
  --line-height-tight: 1.2;
  --line-height-snug: 1.35;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.75;

  /* ------------------------------------------------------------------------
     Spacing System
     ------------------------------------------------------------------------ */
  --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 */

  /* ------------------------------------------------------------------------
     Layout & Container Limits
     ------------------------------------------------------------------------ */
  --container-max-width: 1200px;
  --container-narrow-width: 840px;
  --container-gutter: 1.5rem;

  /* ------------------------------------------------------------------------
     Border Radii & Shadows (Subtle, Crisp, Non-Exaggerated)
     ------------------------------------------------------------------------ */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-pill: 9999px;

  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.06), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
  --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);

  /* ------------------------------------------------------------------------
     Transitions & Motion
     ------------------------------------------------------------------------ */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);

  /* ------------------------------------------------------------------------
     Z-Index Hierarchy
     ------------------------------------------------------------------------ */
  --z-header: 100;
  --z-modal-backdrop: 200;
}
