@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  :root {
    --background: 220 33% 98%;
    --foreground: 220 40% 2%;
    --card: 0 0% 100%;
    --card-foreground: 220 40% 2%;
    --popover: 0 0% 100%;
    --popover-foreground: 220 40% 2%;
    --primary: 220 90% 56%;
    --primary-foreground: 0 0% 100%;
    --secondary: 220 14% 90%;
    --secondary-foreground: 220 40% 2%;
    --muted: 220 14% 90%;
    --muted-foreground: 220 14% 40%;
    --accent: 220 14% 90%;
    --accent-foreground: 220 40% 2%;
    --destructive: 0 84% 60%;
    --destructive-foreground: 0 0% 100%;
    --border: 220 14% 85%;
    --input: 220 14% 85%;
    --ring: 220 90% 56%;
    --radius: 0.75rem;
  }

  .dark {
    --background: 224 71% 4%;
    --foreground: 213 31% 91%;
    --card: 224 71% 4%;
    --card-foreground: 213 31% 91%;
    --popover: 224 71% 4%;
    --popover-foreground: 213 31% 91%;
    --primary: 210 40% 98%;
    --primary-foreground: 222.2 47.4% 1.2%;
    --secondary: 222.2 47.4% 11.2%;
    --secondary-foreground: 210 40% 98%;
    --muted: 222.2 47.4% 11.2%;
    --muted-foreground: 215.4 16.3% 56.9%;
    --accent: 222.2 47.4% 11.2%;
    --accent-foreground: 210 40% 98%;
    --destructive: 0 63% 31%;
    --destructive-foreground: 210 40% 98%;
    --border: 222.2 47.4% 11.2%;
    --input: 222.2 47.4% 11.2%;
    --ring: 212.7 26.8% 83.9%;
  }
}

@layer base {
  * {
    @apply border-border;
  }
  body {
    @apply bg-background text-foreground antialiased;
    font-feature-settings: "rlig" 1, "calt" 1;
  }
}

@layer utilities {
  .glass {
    @apply bg-white/10 backdrop-blur-md border border-white/20;
  }
  .glass-dark {
    @apply bg-black/20 backdrop-blur-md border border-white/10;
  }
  .text-gradient {
    @apply bg-clip-text text-transparent bg-gradient-to-r from-primary to-blue-400;
  }
}
