@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  :root {
    --background: 0 0% 100%;
    --foreground: 222 47% 11%;

    --card: 0 0% 100%;
    --card-foreground: 222 47% 11%;

    --popover: 0 0% 100%;
    --popover-foreground: 222 47% 11%;

    --primary: 224 76% 48%;
    --primary-foreground: 0 0% 100%;

    --secondary: 230 25% 97%;
    --secondary-foreground: 222 47% 11%;

    --muted: 230 25% 97%;
    --muted-foreground: 215 16% 37%;

    --accent: 262 80% 58%;
    --accent-foreground: 0 0% 100%;

    --destructive: 0 84% 60%;
    --destructive-foreground: 0 0% 100%;

    --border: 214 32% 91%;
    --input: 214 32% 91%;
    --ring: 224 76% 48%;

    --radius: 0.75rem;

    --sidebar-background: 230 25% 97%;
    --sidebar-foreground: 222 47% 11%;
    --sidebar-primary: 224 76% 48%;
    --sidebar-primary-foreground: 0 0% 100%;
    --sidebar-accent: 230 25% 97%;
    --sidebar-accent-foreground: 222 47% 11%;
    --sidebar-border: 214 32% 91%;
    --sidebar-ring: 224 76% 48%;

    --chart-1: 224 76% 48%;
    --chart-2: 262 80% 58%;
    --chart-3: 160 84% 39%;
    --chart-4: 38 92% 50%;
    --chart-5: 0 84% 60%;

    --success: 160 84% 39%;
    --warning: 38 92% 50%;

    --section-alt: 230 33% 97%;
  }
}

@layer base {
  * {
    @apply border-border;
  }

  body {
    @apply bg-background text-foreground antialiased;
    font-family: 'DM Sans', system-ui, sans-serif;
  }

  h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', 'DM Sans', system-ui, sans-serif;
    @apply font-bold tracking-tight text-foreground;
  }

  code, .font-mono {
    font-family: 'JetBrains Mono', monospace;
  }
}

/* Utility classes */
.gradient-brand {
  background: hsl(224 76% 48%);
}

.gradient-brand-text {
  color: hsl(224 76% 48%);
  -webkit-text-fill-color: hsl(224 76% 48%);
}

.shadow-brand {
  box-shadow: 0 4px 24px -4px hsl(224 76% 48% / 0.25);
}

.shadow-soft {
  box-shadow: 0 1px 3px hsl(222 47% 11% / 0.04), 0 8px 24px hsl(222 47% 11% / 0.03);
}

.shadow-lift {
  box-shadow: 0 4px 16px hsl(222 47% 11% / 0.08), 0 12px 32px hsl(222 47% 11% / 0.04);
}

/* Magnetic button hover */
.magnetic-btn {
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.magnetic-btn:hover {
  transform: scale(1.03);
}
.magnetic-btn:active {
  transform: scale(0.98);
}
