:root {
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --background: 46 100% 96%;
  --foreground: 214 40% 13%;
  --card: 0 0% 100%;
  --card-foreground: 214 40% 13%;
  --popover: 0 0% 100%;
  --popover-foreground: 214 40% 13%;
  --primary: 354 78% 43%;
  --primary-foreground: 0 0% 100%;
  --secondary: 51 100% 52%;
  --secondary-foreground: 214 40% 13%;
  --muted: 43 55% 89%;
  --muted-foreground: 214 18% 38%;
  --accent: 139 48% 32%;
  --accent-foreground: 0 0% 100%;
  --destructive: 0 73% 43%;
  --destructive-foreground: 0 0% 100%;
  --success: 142 55% 34%;
  --success-foreground: 0 0% 100%;
  --warning: 35 92% 42%;
  --warning-foreground: 214 40% 13%;
  --info: 207 76% 39%;
  --info-foreground: 0 0% 100%;
  --border: 39 38% 78%;
  --input: 39 38% 78%;
  --ring: 354 78% 43%;
  --radius: 0.625rem;
  --shadow-sm: 0 1px 2px hsl(var(--foreground) / 0.05);
  --shadow-md: 0 4px 12px hsl(var(--foreground) / 0.08);
  --shadow-lg: 0 12px 32px hsl(var(--foreground) / 0.12);
  --shadow-elegant: 0 16px 48px hsl(var(--primary) / 0.20);
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.dark {
  --background: 214 36% 10%;
  --foreground: 46 72% 94%;
  --card: 214 32% 14%;
  --card-foreground: 46 72% 94%;
  --popover: 214 32% 14%;
  --popover-foreground: 46 72% 94%;
  --primary: 354 74% 56%;
  --primary-foreground: 0 0% 100%;
  --secondary: 50 95% 55%;
  --secondary-foreground: 214 40% 13%;
  --muted: 214 28% 20%;
  --muted-foreground: 43 28% 76%;
  --accent: 139 44% 45%;
  --accent-foreground: 0 0% 100%;
  --destructive: 0 72% 55%;
  --destructive-foreground: 0 0% 100%;
  --success: 142 48% 48%;
  --success-foreground: 0 0% 100%;
  --warning: 38 92% 58%;
  --warning-foreground: 214 40% 13%;
  --info: 207 76% 58%;
  --info-foreground: 214 40% 13%;
  --border: 214 22% 28%;
  --input: 214 22% 28%;
  --ring: 50 95% 55%;
}

* { box-sizing: border-box; }
html { font-family: var(--font-sans); background: hsl(var(--background)); color: hsl(var(--foreground)); }
body { margin: 0; min-height: 100vh; background: hsl(var(--background)); color: hsl(var(--foreground)); }
button, input, select, textarea { font: inherit; }
input, textarea, select { font-size: max(16px, 1rem); }
.safe-bottom { padding-bottom: calc(5rem + env(safe-area-inset-bottom)); }
.bottom-nav-safe { padding-bottom: env(safe-area-inset-bottom); }
.hero-pattern { background-image: radial-gradient(circle at 20% 20%, hsl(var(--secondary) / 0.45), transparent 28%), radial-gradient(circle at 80% 10%, hsl(var(--primary) / 0.18), transparent 28%), linear-gradient(135deg, hsl(var(--card)), hsl(var(--muted))); }
