:root {
  --background: 48 45% 97%;
  --foreground: 145 28% 13%;
  --primary: 144 58% 24%;
  --primary-foreground: 0 0% 100%;
  --secondary: 43 94% 56%;
  --secondary-foreground: 145 32% 12%;
  --muted: 50 28% 91%;
  --muted-foreground: 145 10% 39%;
  --destructive: 5 76% 48%;
  --destructive-foreground: 0 0% 100%;
  --border: 48 24% 83%;
  --card: 0 0% 100%;
  --shadow-sm: 0 6px 18px hsl(145 35% 20% / 0.08);
  --shadow-md: 0 14px 36px hsl(145 35% 20% / 0.12);
  --shadow-lg: 0 22px 60px hsl(145 35% 20% / 0.18);
  --transition-fast: 160ms ease;
  --transition-smooth: 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
}

.dark {
  --background: 145 28% 8%;
  --foreground: 48 42% 94%;
  --primary: 139 48% 46%;
  --primary-foreground: 145 28% 8%;
  --secondary: 43 92% 58%;
  --secondary-foreground: 145 28% 8%;
  --muted: 145 22% 15%;
  --muted-foreground: 48 18% 72%;
  --destructive: 4 74% 60%;
  --destructive-foreground: 0 0% 100%;
  --border: 145 18% 22%;
  --card: 145 26% 11%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: hsl(var(--background));
}

button, input, a {
  transition: var(--transition-smooth);
}

.bg-hero {
  background:
    radial-gradient(circle at 86% 20%, hsl(var(--secondary) / 0.34), transparent 30%),
    radial-gradient(circle at 8% 10%, hsl(var(--primary) / 0.16), transparent 28%),
    linear-gradient(135deg, hsl(var(--card)), hsl(var(--muted)));
}

.toast-card {
  animation: toast-in 360ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.toast-success {
  border-left: 5px solid hsl(var(--primary));
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

::selection {
  background: hsl(var(--secondary) / 0.45);
}

input::placeholder {
  color: hsl(var(--muted-foreground) / 0.68);
}
