/* 
 * Lumzea Design System Variables & Theme Config
 * Inspired by premium dark tech aesthetics (Stripe, Linear, Vercel)
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Fonts */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Accent Base Colors (Shared) */
  --color-blue: #3b82f6;
  --color-blue-rgb: 59, 130, 246;
  --color-purple: #8b5cf6;
  --color-purple-rgb: 139, 92, 246;
  --color-cyan: #06b6d4;
  --color-cyan-rgb: 6, 182, 212;
  --color-indigo: #6366f1;
  --color-indigo-rgb: 99, 102, 241;
  
  /* Gradient Combinations */
  --gradient-indigo-purple: linear-gradient(135deg, var(--color-indigo), var(--color-purple));
  --gradient-purple-cyan: linear-gradient(135deg, var(--color-purple), var(--color-cyan));
  --gradient-blue-cyan: linear-gradient(135deg, var(--color-blue), var(--color-cyan));
  --gradient-text: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%);
  --gradient-glow: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.05) 50%, transparent 100%);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Borders & Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Default Theme Settings: Dark Theme */
  --bg-primary: #06060c;
  --bg-secondary: #0b0b14;
  --bg-tertiary: #101020;
  
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  
  --border-color: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.14);
  
  --glass-bg: rgba(6, 6, 12, 0.7);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  
  --glow-opacity: 0.15;
  --card-glow: rgba(99, 102, 241, 0.04);
}

/* Light Theme Variables */
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  
  --border-color: rgba(15, 23, 42, 0.08);
  --border-hover: rgba(15, 23, 42, 0.15);
  
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(15, 23, 42, 0.06);
  --glass-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.05);
  
  --gradient-text: linear-gradient(135deg, #0f172a 30%, #4338ca 100%);
  --glow-opacity: 0.05;
  --card-glow: rgba(99, 102, 241, 0.02);
}

/* Global resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

li {
  list-style: none;
}

/* Selection colors */
::selection {
  background-color: var(--color-indigo);
  color: #ffffff;
}
