/* Ryan Arche Server — Design Tokens v2.0 */
/* Color system: Brand Blue + Cyan/Teal (replacing previous red accent) */
:root {
  /* Backgrounds */
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-tertiary: #1a1a22;
  --bg-card: #13131b;
  --bg-elevated: #1e1e28;

  /* Accent — Brand Blue + Cyan */
  --accent: #175FA3;
  --accent-hover: #1a6fbd;
  --accent-subtle: rgba(23, 95, 163, 0.12);
  --accent-glow: rgba(23, 95, 163, 0.25);
  --cyan: #00D4FF;
  --cyan-subtle: rgba(0, 212, 255, 0.10);
  --cyan-glow: rgba(0, 212, 255, 0.25);

  /* Product accents */
  --color-aero: #3b82f6;
  --color-aero-subtle: rgba(59, 130, 246, 0.12);
  --color-aero-glow: rgba(59, 130, 246, 0.20);
  --color-aqua: #06b6d4;
  --color-aqua-subtle: rgba(6, 182, 212, 0.12);
  --color-aqua-glow: rgba(6, 182, 212, 0.20);
  --color-cryo: #8b5cf6;
  --color-cryo-subtle: rgba(139, 92, 246, 0.12);
  --color-cryo-glow: rgba(139, 92, 246, 0.20);

  /* Comparison indicators */
  --color-good: #22c55e;
  --color-good-subtle: rgba(34, 197, 94, 0.12);
  --color-warn: #f59e0b;
  --color-warn-subtle: rgba(245, 158, 11, 0.12);
  --color-bad: #ef4444;
  --color-bad-subtle: rgba(239, 68, 68, 0.12);

  /* Text */
  --text-primary: #f5f5f5;
  --text-secondary: #a0a0a0;
  --text-tertiary: #666666;
  --text-accent: var(--cyan);

  /* Borders */
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.20);

  /* Typography */
  --font-primary: 'Inter', 'Pretendard', 'Apple SD Gothic Neo', system-ui, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Consolas', monospace;

  --text-hero: clamp(3rem, 8vw, 7rem);
  --text-h1: clamp(2rem, 4.5vw, 3.75rem);
  --text-h2: clamp(1.5rem, 3vw, 2.5rem);
  --text-h3: clamp(1.125rem, 1.5vw, 1.375rem);
  --text-body: 1rem;
  --text-small: 0.875rem;
  --text-xs: 0.75rem;
  --text-stat: clamp(2.5rem, 6vw, 5rem);

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;
  --weight-black: 900;

  --leading-tight: 1.05;
  --leading-snug: 1.2;
  --leading-normal: 1.5;
  --leading-relaxed: 1.7;

  --tracking-tighter: -0.04em;
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.04em;
  --tracking-wider: 0.08em;
  --tracking-widest: 0.12em;

  /* Spacing */
  --space-2xs: 0.125rem;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-section: clamp(4rem, 8vw, 6rem);

  --container-max: 1320px;
  --container-narrow: 960px;
  --container-padding: clamp(1.25rem, 4vw, 4rem);

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

  /* Transitions */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-expo: cubic-bezier(0.87, 0, 0.13, 1);
  --duration-fast: 0.15s;
  --duration-normal: 0.3s;
  --duration-slow: 0.6s;
  --duration-slower: 1s;

  /* Z-index */
  --z-base: 1;
  --z-nav: 100;
  --z-overlay: 200;
  --z-modal: 300;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.5);
  --shadow-elevated: 0 8px 48px rgba(0, 0, 0, 0.7);
  --shadow-glow-cyan: 0 0 40px var(--cyan-glow);
  --shadow-glow-accent: 0 0 40px var(--accent-glow);

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-blur: blur(16px);

  /* Grid background */
  --grid-color: rgba(255, 255, 255, 0.025);
  --grid-size: 40px;

  /* Ambient glow */
  --glow-primary: radial-gradient(circle at center, var(--accent-glow) 0%, transparent 70%);
  --glow-cyan: radial-gradient(circle at center, var(--cyan-glow) 0%, transparent 70%);

  /* Mesh gradient */
  --bg-mesh:
    radial-gradient(at 0% 0%, rgba(23, 95, 163, 0.06) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(0, 212, 255, 0.04) 0px, transparent 50%);
}
