@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

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

@layer base {
  :root {
    --background: 220 20% 7%;
    --foreground: 210 20% 92%;

    --card: 220 18% 10%;
    --card-foreground: 210 20% 92%;

    --popover: 220 18% 10%;
    --popover-foreground: 210 20% 92%;

    --primary: 38 92% 55%;
    --primary-foreground: 220 20% 7%;

    --secondary: 220 16% 16%;
    --secondary-foreground: 210 20% 85%;

    --muted: 220 14% 14%;
    --muted-foreground: 215 12% 55%;

    --accent: 200 80% 50%;
    --accent-foreground: 220 20% 7%;

    --destructive: 0 72% 51%;
    --destructive-foreground: 210 40% 98%;

    --success: 142 72% 42%;
    --success-foreground: 220 20% 7%;

    --border: 220 14% 18%;
    --input: 220 14% 18%;
    --ring: 38 92% 55%;

    --radius: 0.5rem;

    --sidebar-background: 220 18% 9%;
    --sidebar-foreground: 210 20% 85%;
    --sidebar-primary: 38 92% 55%;
    --sidebar-primary-foreground: 220 20% 7%;
    --sidebar-accent: 220 14% 14%;
    --sidebar-accent-foreground: 210 20% 85%;
    --sidebar-border: 220 14% 18%;
    --sidebar-ring: 38 92% 55%;
  }
}

@layer base {
  * {
    @apply border-border;
  }

  body {
    @apply bg-background text-foreground;
    font-family: 'Inter', system-ui, sans-serif;
  }

  h1, h2, h3, h4, h5, h6 {
    font-family: 'JetBrains Mono', monospace;
  }

  code, pre, .font-mono {
    font-family: 'JetBrains Mono', monospace;
  }
}

@layer utilities {
  .glow-primary {
    box-shadow: 0 0 20px hsl(38 92% 55% / 0.3), 0 0 60px hsl(38 92% 55% / 0.1);
  }

  .glow-accent {
    box-shadow: 0 0 20px hsl(200 80% 50% / 0.3), 0 0 60px hsl(200 80% 50% / 0.1);
  }

  .glow-success {
    box-shadow: 0 0 20px hsl(142 72% 42% / 0.3);
  }

  .glow-destructive {
    box-shadow: 0 0 20px hsl(0 72% 51% / 0.3);
  }

  .grid-industrial {
    background-image: 
      linear-gradient(hsl(220 14% 18% / 0.5) 1px, transparent 1px),
      linear-gradient(90deg, hsl(220 14% 18% / 0.5) 1px, transparent 1px);
    background-size: 20px 20px;
  }
}
