/* ==========================================================================
   Jagged Tools - Design System Custom Properties
   ==========================================================================
   This file defines all CSS custom properties for the Jagged Tools site.
   All colors, typography, spacing, and other design tokens live here.
   No hard-coded values should appear in component stylesheets.
   ========================================================================== */

:root {

  /* ========================================================================
     Colors - Green Palette
     ======================================================================== */
  --color-green-100: #7FEB57; /* Lightest */
  --color-green-200: #5FE72C;
  --color-green-300: #3EE500; /* Primary */
  --color-green-400: #35C300;
  --color-green-500: #299800; /* Darkest */

  /* Semantic color aliases */
  --color-primary: var(--color-green-300);
  --color-primary-light: var(--color-green-100);
  --color-primary-dark: var(--color-green-500);
  --color-primary-hover: var(--color-green-200);
  --color-primary-active: var(--color-green-400);

  /* ========================================================================
     Colors - Dark Theme Backgrounds
     ======================================================================== */
  --color-bg: #0a0a0a;
  --color-surface: #1a1a1a;
  --color-surface-light: #2a2a2a;

  /* ========================================================================
     Colors - Text
     ======================================================================== */
  --color-text-primary: #f0f0f0;
  --color-text-secondary: #a0a0a0;
  --color-text-muted: #666666;

  /* ========================================================================
     Colors - Borders & Dividers
     ======================================================================== */
  --color-border: #333333;
  --color-border-light: #444444;

  /* ========================================================================
     Colors - State
     ======================================================================== */
  --color-success: var(--color-green-300);
  --color-error: #e55050;
  --color-warning: #e5a700;
  --color-focus-ring: var(--color-green-300);

  /* ========================================================================
     Typography - Font Families
     ======================================================================== */
  --font-family-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --font-family-mono: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono",
    "Cascadia Code", Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;

  /* ========================================================================
     Typography - 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: 2rem;     /* 32px */
  --font-size-3xl: 2.5rem;   /* 40px */
  --font-size-4xl: 3rem;     /* 48px */
  --font-size-5xl: 3.5rem;   /* 56px */

  /* ========================================================================
     Typography - Font Weights
     ======================================================================== */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* ========================================================================
     Typography - Line Heights
     ======================================================================== */
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;

  /* ========================================================================
     Typography - Letter Spacing
     ======================================================================== */
  --letter-spacing-tight: -0.02em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.05em;
  --letter-spacing-wider: 0.1em;

  /* ========================================================================
     Spacing Scale
     ======================================================================== */
  --space-0: 0;
  --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
     ======================================================================== */
  --container-max-width: 1200px;
  --container-padding: var(--space-4);

  /* ========================================================================
     Border Radius
     ======================================================================== */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* ========================================================================
     Shadows
     ======================================================================== */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 15px rgba(62, 229, 0, 0.3);

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

  /* ========================================================================
     Z-Index Scale
     ======================================================================== */
  --z-below: -1;
  --z-base: 0;
  --z-above: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;

}

/* ==========================================================================
   Breakpoints (reference comments - CSS cannot use custom properties here)
   ---------------------------------------------------------------------------
   Mobile:  375px  and up (default, no media query needed)
   Tablet:  768px  and up  ->  @media (min-width: 768px)
   Desktop: 1200px and up  ->  @media (min-width: 1200px)
   Wide:    1440px and up  ->  @media (min-width: 1440px)
   ========================================================================== */
