@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap");
#lovable-badge {
  display: none !important;
}
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  :root {
    /* Targo Green Theme */
    --background: 0 0% 100%;
    --foreground: 160 10% 15%;

    --card: 0 0% 100%;
    --card-foreground: 160 10% 15%;

    --popover: 0 0% 100%;
    --popover-foreground: 160 10% 15%;

    /* Targo primary green */
    --primary: 142 70% 45%;
    --primary-foreground: 0 0% 100%;

    --secondary: 145 40% 96%;
    --secondary-foreground: 160 10% 15%;

    --muted: 145 20% 96%;
    --muted-foreground: 160 10% 45%;

    --accent: 142 70% 45%;
    --accent-foreground: 0 0% 100%;

    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 0 0% 100%;

    --border: 145 20% 90%;
    --input: 145 20% 90%;
    --ring: 142 70% 45%;

    --radius: 0.75rem;

    /* Custom colors */
    --targo-green: 142 70% 45%;
    --targo-green-light: 142 60% 55%;
    --targo-green-dark: 142 75% 35%;
    --targo-gray: 160 5% 50%;
    --targo-dark: 228 15% 13%;

    --sidebar-background: 0 0% 98%;
    --sidebar-foreground: 160 10% 26%;
    --sidebar-primary: 142 70% 45%;
    --sidebar-primary-foreground: 0 0% 100%;
    --sidebar-accent: 145 40% 95%;
    --sidebar-accent-foreground: 160 10% 15%;
    --sidebar-border: 145 20% 91%;
    --sidebar-ring: 142 70% 45%;
  }

  .dark {
    --background: 160 15% 8%;
    --foreground: 145 20% 95%;

    --card: 160 15% 12%;
    --card-foreground: 145 20% 95%;

    --popover: 160 15% 10%;
    --popover-foreground: 145 20% 95%;

    --primary: 142 70% 50%;
    --primary-foreground: 160 15% 8%;

    --secondary: 160 15% 18%;
    --secondary-foreground: 145 20% 95%;

    --muted: 160 15% 18%;
    --muted-foreground: 145 15% 65%;

    --accent: 142 70% 50%;
    --accent-foreground: 160 15% 8%;

    --destructive: 0 62.8% 45%;
    --destructive-foreground: 145 20% 95%;

    --border: 160 15% 20%;
    --input: 160 15% 20%;
    --ring: 142 70% 50%;

    --targo-green: 142 70% 50%;
    --targo-green-light: 142 60% 60%;
    --targo-green-dark: 142 75% 40%;

    --sidebar-background: 160 15% 10%;
    --sidebar-foreground: 145 20% 95%;
    --sidebar-primary: 142 70% 50%;
    --sidebar-primary-foreground: 160 15% 8%;
    --sidebar-accent: 160 15% 15%;
    --sidebar-accent-foreground: 145 20% 95%;
    --sidebar-border: 160 15% 18%;
    --sidebar-ring: 142 70% 50%;
  }
}

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

  body {
    @apply bg-background text-foreground font-sans antialiased;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-family: "Space Grotesk", sans-serif;
  }
}

@layer utilities {
  .gradient-targo {
    background: linear-gradient(135deg, hsl(var(--targo-green)) 0%, hsl(var(--targo-green-dark)) 100%);
    background-size: 200% 200%;
    animation: gradient-shift 8s ease infinite;
  }

  @keyframes gradient-shift {
    0% {
      background-position: 0% 50%;
    }

    50% {
      background-position: 100% 50%;
    }

    100% {
      background-position: 0% 50%;
    }
  }

  .glass-card {
    @apply bg-white/70 backdrop-blur-md border border-white/20 shadow-xl;
  }

  .glass-card-dark {
    @apply bg-targo-dark/40 backdrop-blur-md border border-white/10 shadow-2xl;
  }

  .text-gradient-targo {
    background: linear-gradient(135deg, hsl(var(--targo-green)) 0%, hsl(var(--targo-green-light)) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    @apply font-bold;
  }

  .glow-targo {
    box-shadow: 0 0 30px hsl(var(--targo-green) / 0.2);
    transition: box-shadow 0.3s ease;
  }

  .glow-targo:hover {
    box-shadow: 0 0 50px hsl(var(--targo-green) / 0.4);
  }

  .fiber-line {
    background: linear-gradient(90deg, transparent 0%, hsl(var(--targo-green) / 0.3) 50%, transparent 100%);
    height: 1px;
  }
}

@layer base {
  html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
  }
}
