/**
 * AllToolsNow.com Design System - Tokens & Variables
 * Elevated modern palette, category accents, shadows, and typography.
 */

:root {
  /* Brand Core Palette */
  --color-primary: #2563EB;
  --color-primary-hover: #1D4ED8;
  --color-primary-active: #1E40AF;
  --color-primary-light: #EFF6FF;
  --color-primary-border: #BFDBFE;

  --color-dark-blue: #1E40AF;
  
  --color-text-main: #0F172A;
  --color-text-secondary: #475569;
  --color-text-muted: #64748B;
  --color-text-inverse: #FFFFFF;

  --color-bg-page: #FFFFFF;
  --color-bg-soft: #F8FAFC;
  --color-bg-alt: #F1F5F9;
  --color-bg-card: #FFFFFF;
  
  --color-border: #E2E8F0;
  --color-border-hover: #CBD5E1;
  --color-border-focus: #2563EB;

  /* Category Specific Accents */
  --cat-pdf: #DC2626;
  --cat-pdf-bg: #FEF2F2;
  --cat-pdf-border: #FECACA;

  --cat-image: #059669;
  --cat-image-bg: #ECFDF5;
  --cat-image-border: #A7F3D0;

  --cat-doc: #2563EB;
  --cat-doc-bg: #EFF6FF;
  --cat-doc-border: #BFDBFE;

  --cat-file: #D97706;
  --cat-file-bg: #FFFBEB;
  --cat-file-border: #FDE68A;

  --cat-text: #7C3AED;
  --cat-text-bg: #F5F3FF;
  --cat-text-border: #DDD6FE;

  --cat-calc: #0891B2;
  --cat-calc-bg: #ECFEFF;
  --cat-calc-border: #A5F3FC;

  /* Feedback Colors */
  --color-success: #15803D;
  --color-success-bg: #F0FDF4;
  --color-success-border: #BBF7D0;

  --color-error: #B91C1C;
  --color-error-bg: #FEF2F2;
  --color-error-border: #FECACA;

  --color-warning: #B45309;
  --color-warning-bg: #FFFBEB;
  --color-warning-border: #FDE68A;

  --color-info: #1D4ED8;
  --color-info-bg: #EFF6FF;
  --color-info-border: #BFDBFE;

  /* Typography Font Stacks */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-sans-ja: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Type Scale */
  --font-size-xs: 0.75rem;     /* 12px */
  --font-size-sm: 0.875rem;    /* 14px */
  --font-size-base: 1rem;      /* 16px */
  --font-size-lg: 1.125rem;    /* 18px */
  --font-size-xl: 1.25rem;     /* 20px */
  --font-size-2xl: 1.5rem;     /* 24px */
  --font-size-3xl: 1.875rem;   /* 30px */
  --font-size-4xl: 2.25rem;    /* 36px */
  --font-size-5xl: 3.25rem;    /* 52px */

  --line-height-tight: 1.2;
  --line-height-snug: 1.375;
  --line-height-base: 1.6;
  --line-height-relaxed: 1.75;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  /* Borders & Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.08), 0 1px 2px -1px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.18);

  /* Layout Widths */
  --container-max: 1200px;
  --container-narrow: 840px;
  --container-tool: 980px;

  /* Transitions */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.25s ease-in-out;

  /* Focus Ring */
  --focus-ring: 0 0 0 3px rgba(37, 99, 235, 0.35);
}
