/* ==========================================================================
   SYNAPSE PLATFORM - ASIMOV ACADEMY THEME DESIGN TOKENS
   Authentic Asimov Hub Colors, Typography & Precision Tokens
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Inter:wght@300;400;500;600;700;800&family=Geist+Mono:wght@300;400;500;600;700&display=swap');

:root {
  /* Font Families */
  --font-sans: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', var(--font-sans);
  --font-mono: 'Geist Mono', 'Fira Code', monospace;

  /* Typography Scale */
  --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: 1.875rem;  /* 30px */
  --text-4xl: 2.25rem;   /* 36px */

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

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

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   ASIMOV DARK THEME (Default: Authentic #0E1014)
   ========================================================================== */
:root, [data-theme="dark"] {
  --bg-app: #0E1014;
  --bg-solid: #0E1014;
  --bg-solid-raised: #13161C;
  --bg-header: rgba(14, 16, 20, 0.88);
  --bg-surface: #13161C;
  --bg-surface-raised: #181B23;
  --bg-surface-hover: #20242E;
  --bg-surface-active: #282D3A;

  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-medium: rgba(255, 255, 255, 0.10);
  --border-highlight: rgba(255, 255, 255, 0.16);

  --text-white: #FAFAFA;
  --text-primary: #FFFFFF;
  --text-secondary: #CBD5E1;
  --text-muted: #8E96A4;
  --text-faint: #5A6270;

  /* Primary Refined Teal Accent (Asimov Academy Standard) */
  --ui-accent: #00D2B4;
  --ui-accent-dark: #00A890;
  --ui-accent-light: #4EE4CF;
  --ui-accent-subtle: rgba(0, 210, 180, 0.08);
  --ui-accent-border: rgba(0, 210, 180, 0.20);
  --accent-cyan: #00D2B4;
  --accent-cyan-glow: rgba(0, 210, 180, 0.15);
  --accent-cyan-subtle: rgba(0, 210, 180, 0.08);

  /* Secondary Natural Accents */
  --accent-blue: #3B82F6;
  --accent-blue-subtle: rgba(59, 130, 246, 0.08);
  --accent-purple: #8B5CF6;
  --accent-purple-glow: rgba(139, 92, 246, 0.15);
  --accent-purple-subtle: rgba(139, 92, 246, 0.08);
  --accent-emerald: #10B981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.15);
  --accent-emerald-subtle: rgba(16, 185, 129, 0.08);
  --accent-amber: #F59E0B;
  --accent-amber-subtle: rgba(245, 158, 11, 0.08);
  --accent-rose: #EF4444;
  --accent-rose-subtle: rgba(239, 68, 68, 0.08);

  /* Glassmorphism Tokens */
  --glass-bg: rgba(16, 20, 26, 0.72);
  --glass-bg-hover: rgba(22, 28, 38, 0.85);
  --glass-bg-thick: rgba(14, 18, 24, 0.88);
  --glass-bg-subtle: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-light: rgba(255, 255, 255, 0.16);
  --glass-blur: blur(20px) saturate(180%);
  --glass-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.15);

  /* Player & Code */
  --player-bg: #000000;
  --code-bg: #0D0F14;
  --code-border: rgba(255, 255, 255, 0.07);

  /* Highlight Colors */
  --hl-yellow: rgba(250, 204, 21, 0.25);
  --hl-cyan: rgba(0, 210, 180, 0.25);
  --hl-green: rgba(34, 197, 94, 0.25);
}