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

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

:root {
  --background: hsl(220, 15%, 97%);
  --foreground: hsl(220, 13%, 18%);
  --muted: hsl(220, 14%, 94%);
  --muted-foreground: hsl(220, 9%, 46%);
  --popover: hsl(0, 0%, 100%);
  --popover-foreground: hsl(220, 13%, 18%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(220, 13%, 18%);
  --border: hsl(220, 13%, 87%);
  --input: hsl(220, 13%, 87%);
  --primary: hsl(142, 76%, 36%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(47, 96%, 53%);
  --secondary-foreground: hsl(0, 0%, 13%);
  --accent: hsl(210, 100%, 56%);
  --accent-foreground: hsl(0, 0%, 100%);
  --success: hsl(120, 100%, 25%);
  --success-foreground: hsl(0, 0%, 100%);
  --destructive: hsl(0, 84%, 60%);
  --destructive-foreground: hsl(0, 0%, 98%);
  --ring: hsl(142, 76%, 36%);
  --radius: 0.75rem;
}

.dark {
  --background: hsl(240, 10%, 4%);
  --foreground: hsl(0, 0%, 98%);
  --muted: hsl(240, 4%, 16%);
  --muted-foreground: hsl(240, 5%, 65%);
  --popover: hsl(240, 10%, 4%);
  --popover-foreground: hsl(0, 0%, 98%);
  --card: hsl(240, 10%, 4%);
  --card-foreground: hsl(0, 0%, 98%);
  --border: hsl(240, 4%, 16%);
  --input: hsl(240, 4%, 16%);
  --primary: hsl(104, 43%, 47%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(36, 100%, 50%);
  --secondary-foreground: hsl(0, 0%, 13%);
  --accent: hsl(207, 90%, 54%);
  --accent-foreground: hsl(0, 0%, 100%);
  --success: hsl(88, 50%, 53%);
  --success-foreground: hsl(0, 0%, 13%);
  --destructive: hsl(0, 62%, 31%);
  --destructive-foreground: hsl(0, 0%, 98%);
  --ring: hsl(240, 5%, 84%);
}

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

  body {
    @apply bg-background text-foreground antialiased;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-feature-settings: 'cv01', 'cv03', 'cv04', 'cv11';
    line-height: 1.6;
    letter-spacing: -0.011em;
  }

  h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.2;
  }

  .font-mono {
    font-family: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
  }

  .text-gradient {
    background: linear-gradient(135deg, hsl(142, 76%, 36%) 0%, hsl(210, 100%, 56%) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
}

@layer utilities {
  .gradient-bg {
    background: linear-gradient(135deg, hsl(142, 76%, 36%) 0%, hsl(210, 100%, 56%) 25%, hsl(120, 100%, 25%) 100%);
    box-shadow: 0 8px 32px rgba(34, 197, 94, 0.2);
  }
  
  .glass-effect {
    backdrop-filter: blur(16px) saturate(180%);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.125);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  }
  
  .pulse-animation {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  }

  .tech-shadow {
    box-shadow: 
      0 1px 3px rgba(0, 0, 0, 0.12),
      0 1px 2px rgba(0, 0, 0, 0.24),
      0 0 0 1px rgba(142, 76, 36, 0.1);
  }

  .health-gradient {
    background: linear-gradient(135deg, 
      hsl(142, 76%, 36%) 0%, 
      hsl(160, 84%, 39%) 25%, 
      hsl(210, 100%, 56%) 50%,
      hsl(142, 76%, 36%) 100%);
  }

  .data-viz-glow {
    filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.3));
  }

  .modern-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
      0 8px 32px rgba(0, 0, 0, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.5);
  }
}

@keyframes pulse {
  0%, 100% { 
    opacity: 1; 
  }
  50% { 
    opacity: 0.7; 
  }
}
