/* ==========================================================================
   SurfaceGPT Design Tokens ✨
   A scalable, themeable, AI-native design system.
   ========================================================================== */

:root {
  /* ---- Brand Gradients ---- */
  /* 🌈 Our signature gradient — purple to cyan, the colors of innovation 💜💙 */
  --grad-primary: linear-gradient(135deg, #a855f7 0%, #6366f1 50%, #06b6d4 100%);
  --grad-secondary: linear-gradient(135deg, #ec4899 0%, #a855f7 100%);
  --grad-text: linear-gradient(90deg, #c084fc 0%, #818cf8 35%, #22d3ee 70%, #f0abfc 100%);
  --grad-border: linear-gradient(135deg, rgba(168, 85, 247, 0.8), rgba(99, 102, 241, 0.4), rgba(6, 182, 212, 0.8));

  /* ---- Core Palette ---- */
  /* 🌌 Deep space background for that premium feel ✨ */
  --bg: #07041a;
  --bg-elevated: #0e0a2b;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);

  --text: #f5f3ff;
  --text-muted: #a5a3c9;
  --text-dim: #6b6890;

  --purple-400: #c084fc;
  --purple-500: #a855f7;
  --purple-600: #9333ea;
  --indigo-500: #6366f1;
  --cyan-400: #22d3ee;
  --cyan-500: #06b6d4;
  --pink-500: #ec4899;
  --green-400: #4ade80;
  --red-400: #f87171;
  --yellow-400: #facc15;

  /* ---- Glow / Shadow ---- */
  --glow-purple: 0 0 40px rgba(168, 85, 247, 0.45), 0 0 80px rgba(99, 102, 241, 0.25);
  --glow-cyan: 0 0 40px rgba(34, 211, 238, 0.4);
  --glow-gold: 0 0 36px rgba(250, 204, 21, 0.35), 0 0 80px rgba(245, 158, 11, 0.2);

  /* ---- Gold (featured) ---- */
  --gold-400: #facc15;
  --gold-500: #f59e0b;
  --grad-gold: linear-gradient(135deg, #fde68a 0%, #facc15 45%, #f59e0b 100%);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);

  /* ---- Glassmorphism ---- */
  /* 🪟 Glassmorphism — because flat design is so 2020 💎 */
  --glass-bg: rgba(255, 255, 255, 0.045);
  --glass-blur: blur(20px) saturate(160%);

  /* ---- Radii ---- */
  /* ⭕ Border radii — everything is rounder in the future 🔵 */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* ---- Spacing ---- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* ---- Typography ---- */
  /* 🔤 Typography — Inter, the font of champions 🏆 */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-md: 16px;
  --fs-lg: 18px;
  --fs-xl: 22px;
  --fs-2xl: 28px;
  --fs-3xl: 40px;
  --fs-4xl: clamp(40px, 7vw, 76px);

  /* ---- Motion ---- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 150ms;
  --dur-med: 300ms;
  --dur-slow: 600ms;

  /* ---- Layout ---- */
  --container: 1180px;
  --nav-h: 68px;
}
