/* Design System Variables */
:root {
  /* Colors - Earthy Palette */
  --background: 38 30% 96%;
  --foreground: 30 15% 15%;
  --card: 38 30% 98%;
  --card-foreground: 30 15% 15%;
  --popover: 38 30% 98%;
  --popover-foreground: 30 15% 15%;
  --primary: 32 85% 55%;
  --primary-foreground: 0 0% 100%;
  --secondary: 28 40% 88%;
  --secondary-foreground: 30 15% 15%;
  --muted: 35 20% 90%;
  --muted-foreground: 30 10% 40%;
  --accent: 28 40% 88%;
  --accent-foreground: 30 15% 15%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 0 0% 98%;
  --border: 35 20% 85%;
  --input: 35 20% 85%;
  --ring: 32 85% 55%;
  --radius: 0.5rem;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, hsl(32, 85%, 55%), hsl(38, 80%, 65%));
  --gradient-subtle: linear-gradient(180deg, hsl(38, 30%, 96%), hsl(28, 40%, 88%));
  --gradient-overlay: linear-gradient(to top, hsla(30, 15%, 15%, 0.2), transparent);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-elegant: 0 10px 30px -10px hsla(32, 85%, 55%, 0.3);
  --shadow-glow: 0 0 40px hsla(38, 80%, 65%, 0.4);

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Breakpoints (for reference in media queries) */
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  --breakpoint-2xl: 1536px;

  /* Z-index layers */
  --z-base: 1;
  --z-dropdown: 10;
  --z-sticky: 100;
  --z-fixed: 1000;
  --z-modal: 10000;
}

.dark {
  --background: 30 15% 12%;
  --foreground: 38 30% 96%;
  --card: 30 15% 15%;
  --card-foreground: 38 30% 96%;
  --popover: 30 15% 15%;
  --popover-foreground: 38 30% 96%;
  --primary: 32 85% 55%;
  --primary-foreground: 0 0% 100%;
  --secondary: 30 10% 20%;
  --secondary-foreground: 38 30% 96%;
  --muted: 30 10% 25%;
  --muted-foreground: 35 20% 60%;
  --accent: 30 10% 20%;
  --accent-foreground: 38 30% 96%;
  --destructive: 0 62.8% 30.6%;
  --destructive-foreground: 0 0% 98%;
  --border: 30 10% 25%;
  --input: 30 10% 25%;
  --ring: 32 85% 55%;
}