/*
  =========================================
  DESIGN SYSTEM & BASE STYLES
  =========================================
*/

:root {
  /* Core brand colors using HSL-friendly palettes for tech aesthetics */
  --brand-primary: #3b82f6; /* Electric Blue */
  --brand-dark: #0f172a;    /* Deep Navy */
  --brand-accent: #8b5cf6;  /* AI Purple */
}

/* Global resets and base typography */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Offset for fixed navbar */
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #020617; /* Slate 950 for deep contrast */
  color: #f8fafc;
}

/*
  =========================================
  UTILITY CLASSES (Custom Components)
  =========================================
*/

/* Glassmorphism: Frosted glass effect for cards and navigation */
.glass-effect {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gradient Text: Brand identity through typography */
.gradient-text {
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Interactive elements: Hover state for expertise cards */
.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-primary);
  box-shadow: 0 10px 30px -10px rgba(59, 130, 246, 0.3);
}

/* Brand Buttons: Distinctive primary action styling */
.btn-primary {
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

/*
  =========================================
  ANIMATIONS
  =========================================
*/

/* FadeIn upward effect for hero and section headers */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}