@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  :root {
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    --background: 0 0% 100%;
    --foreground: 215 28% 17%;
    --card: 210 40% 98%;
    --card-foreground: 215 28% 17%;
    --popover: 0 0% 100%;
    --popover-foreground: 215 28% 17%;
    --primary: 123 53% 43%;
    --primary-foreground: 0 0% 100%;
    --secondary: 123 53% 93%;
    --secondary-foreground: 123 40% 20%;
    --muted: 210 20% 96%;
    --muted-foreground: 215 16% 47%;
    --accent: 123 53% 93%;
    --accent-foreground: 123 40% 20%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 0 0% 98%;
    --border: 214 20% 90%;
    --input: 214 20% 90%;
    --ring: 123 53% 43%;
    --chart-1: 216 100% 34%;
    --chart-2: 160 100% 80%;
    --chart-3: 197 37% 24%;
    --chart-4: 43 74% 66%;
    --chart-5: 27 87% 67%;
    --radius: 0.75rem;
    --sidebar-background: 0 0% 98%;
    --sidebar-foreground: 240 5.3% 26.1%;
    --sidebar-primary: 216 100% 34%;
    --sidebar-primary-foreground: 0 0% 98%;
    --sidebar-accent: 240 4.8% 95.9%;
    --sidebar-accent-foreground: 240 5.9% 10%;
    --sidebar-border: 220 13% 91%;
    --sidebar-ring: 216 100% 34%;
  }

  .dark {
    --background: 220 20% 6%;
    --foreground: 0 0% 95%;
    --card: 220 20% 10%;
    --card-foreground: 0 0% 95%;
    --popover: 220 20% 8%;
    --popover-foreground: 0 0% 95%;
    --primary: 216 100% 50%;
    --primary-foreground: 0 0% 100%;
    --secondary: 160 100% 40%;
    --secondary-foreground: 0 0% 100%;
    --muted: 220 15% 15%;
    --muted-foreground: 215 16% 60%;
    --accent: 160 100% 40%;
    --accent-foreground: 0 0% 100%;
    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 0 0% 98%;
    --border: 220 15% 20%;
    --input: 220 15% 20%;
    --ring: 216 100% 50%;
    --chart-1: 220 70% 50%;
    --chart-2: 160 60% 45%;
    --chart-3: 30 80% 55%;
    --chart-4: 280 65% 60%;
    --chart-5: 340 75% 55%;
    --sidebar-background: 220 20% 8%;
    --sidebar-foreground: 240 4.8% 95.9%;
    --sidebar-primary: 216 100% 50%;
    --sidebar-primary-foreground: 0 0% 100%;
    --sidebar-accent: 220 15% 15%;
    --sidebar-accent-foreground: 240 4.8% 95.9%;
    --sidebar-border: 220 15% 20%;
    --sidebar-ring: 216 100% 50%;
  }
}

@layer base {
  * {
    @apply border-border outline-ring/50;
  }
  body {
    @apply bg-background text-foreground font-body;
  }
  h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
  }
}

html {
  scroll-behavior: smooth;
}