/* ==========================================================================
   XESTUS BIZCRAFT - DESIGN TOKENS & THEME VARIABLES
   Ultra-luxurious, futuristic aesthetic with dark and light modes.
   ========================================================================== */

:root {
  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Menlo, monospace;

  /* Spacing Scale */
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* Border Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

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

  /* Brand Accents */
  --primary-500: #6366f1;
  --primary-600: #4f46e5;
  --primary-400: #818cf8;
  --violet-500: #8b5cf6;
  --cyan-500: #06b6d4;
  --emerald-500: #10b981;
  --amber-500: #f59e0b;
  --rose-500: #f43f5e;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
  --grad-primary-hover: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #db2777 100%);
  --grad-emerald: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --grad-cyan: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  --grad-amber: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --grad-dark-card: linear-gradient(180deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.85) 100%);
  --grad-glow: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
}

/* --------------------------------------------------------------------------
   DARK THEME (Default)
   -------------------------------------------------------------------------- */
[data-theme="dark"] {
  --bg-canvas: #090d16;
  --bg-surface-1: #0f172a;
  --bg-surface-2: #1e293b;
  --bg-surface-3: #334155;
  --bg-surface-hover: rgba(255, 255, 255, 0.05);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-focus: #6366f1;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #090d16;

  --glass-bg: rgba(15, 23, 42, 0.75);
  --glass-border: rgba(255, 255, 255, 0.09);
  --glass-blur: blur(16px);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px -8px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 24px rgba(99, 102, 241, 0.35);
  --shadow-glow-emerald: 0 0 24px rgba(16, 185, 129, 0.3);

  --paper-bg: #ffffff;
  --paper-text: #0f172a;
  --paper-border: #e2e8f0;
}

/* --------------------------------------------------------------------------
   LIGHT THEME
   -------------------------------------------------------------------------- */
[data-theme="light"] {
  --bg-canvas: #f8fafc;
  --bg-surface-1: #ffffff;
  --bg-surface-2: #f1f5f9;
  --bg-surface-3: #e2e8f0;
  --bg-surface-hover: rgba(0, 0, 0, 0.03);

  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-medium: rgba(0, 0, 0, 0.16);
  --border-focus: #4f46e5;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-inverse: #ffffff;

  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(0, 0, 0, 0.08);
  --glass-blur: blur(16px);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 16px -2px rgba(0, 0, 0, 0.06), 0 2px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 16px 32px -4px rgba(0, 0, 0, 0.08), 0 4px 12px -2px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 24px rgba(99, 102, 241, 0.2);
  --shadow-glow-emerald: 0 0 24px rgba(16, 185, 129, 0.2);

  --paper-bg: #ffffff;
  --paper-text: #0f172a;
  --paper-border: #e2e8f0;
}
