/**
 * Evanet Design System - Core Tokens
 *
 * A high-contrast black & white design system with generous spacing
 * and subtle depth. Designed for clarity and readability.
 */

:root {
  /* ========================================
     COLORS - Monochrome Foundation
     ======================================== */

  /* Backgrounds - layered depth */
  --color-bg-base: #242424;        /* App background */
  --color-bg-surface: #1a1a1a;     /* Cards, panels */
  --color-bg-elevated: #000000;    /* Modals, dropdowns, hover states */
  --color-bg-overlay: rgba(0, 0, 0, 0.8);  /* Overlays, backdrops */

  /* Borders & Dividers */
  --color-border: #3a3a3a;         /* Default borders */
  --color-border-subtle: #2e2e2e;  /* Subtle separation */
  --color-border-strong: #4a4a4a;  /* Emphasized borders */

  /* Text */
  --color-text-primary: #f5f5f5;   /* Main content */
  --color-text-secondary: #888888; /* Labels, captions */
  --color-text-muted: #555555;     /* Disabled, placeholders */
  --color-text-inverse: #0a0a0a;   /* Text on white backgrounds */

  /* Accent - Pure white for emphasis */
  --color-accent: #ffffff;
  --color-accent-hover: #cccccc;
  --color-accent-muted: #888888;

  /* Status Colors - Minimal, desaturated */
  --color-success: #4ade80;        /* Green - confirmations */
  --color-warning: #fbbf24;        /* Amber - caution */
  --color-error: #f87171;          /* Red - errors */
  --color-info: #60a5fa;           /* Blue - informational */


  /* ========================================
     TYPOGRAPHY
     ======================================== */

  /* Font Families */
  --font-sans: Verdana, Geneva, sans-serif;
  --font-mono: Consolas, 'Cascadia Code', 'SF Mono', ui-monospace, monospace;

  /* Font Sizes - Large and readable */
  --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: 2rem;       /* 32px */
  --text-4xl: 2.5rem;     /* 40px */

  /* Font Weights */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;

  /* Line Heights */
  --leading-tight: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.75;

  /* Letter Spacing */
  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;


  /* ========================================
     SPACING - 8px base unit
     ======================================== */

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


  /* ========================================
     LAYOUT
     ======================================== */

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

  /* Shadows - Subtle depth */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.5);

  /* Glow - For accent elements */
  --glow-white: 0 0 20px rgba(255, 255, 255, 0.15);
  --glow-white-strong: 0 0 30px rgba(255, 255, 255, 0.25);


  /* ========================================
     TRANSITIONS
     ======================================== */

  --duration-fast: 100ms;
  --duration-normal: 200ms;
  --duration-slow: 300ms;
  --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);


  /* ========================================
     Z-INDEX SCALE
     ======================================== */

  --z-base: 0;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal: 300;
  --z-popover: 400;
  --z-toast: 500;
}
