/* ════════════════════════════════════════════════════
   Prompt Geni — Design Tokens & CSS Variables
════════════════════════════════════════════════════ */

:root {
  /* Brand */
  --primary: #6366F1;
  --primary-hover: #4F46E5;
  --primary-faint: rgba(99, 102, 241, 0.12);
  --secondary: #8B5CF6;
  --accent: #06B6D4;
  --accent-faint: rgba(6, 182, 212, 0.12);

  /* Status */
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-error: #EF4444;

  /* Backgrounds */
  --bg-app: #07070F;
  --bg-surface: rgba(255, 255, 255, 0.03);
  --bg-elevated: rgba(255, 255, 255, 0.06);
  --bg-hover: rgba(255, 255, 255, 0.08);

  /* Borders */
  --border: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(99, 102, 241, 0.5);

  /* Text */
  --text-primary: #E2E8F0;
  --text-secondary: rgba(226, 232, 240, 0.65);
  --text-muted: rgba(226, 232, 240, 0.35);
  --text-error: #F87171;

  /* Sidebar */
  --sidebar-width: 240px;
  --sidebar-bg: #0B0B18;
  --sidebar-border: rgba(255, 255, 255, 0.07);

  /* Top bar */
  --topbar-height: 60px;
  --topbar-bg: rgba(7, 7, 15, 0.85);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* Typography */
  --font-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fs-xs: 0.72rem;
  --fs-sm: 0.82rem;
  --fs-base: 0.93rem;
  --fs-md: 1rem;
  --fs-lg: 1.15rem;
  --fs-xl: 1.35rem;
  --fs-2xl: 1.65rem;
  --fs-3xl: 2.2rem;
  --fs-4xl: 3rem;
  --fs-hero: clamp(2.4rem, 5vw, 4rem);

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.2);

  /* Transitions */
  --transition: 0.2s ease;
  --transition-md: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-index */
  --z-sidebar: 100;
  --z-overlay: 90;
  --z-topbar: 80;
  --z-modal: 200;
  --z-toast: 300;
}
