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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  overflow-x: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
}

.particle-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(99, 179, 237, 0.4);
  border-radius: 50%;
  animation: float linear infinite;
}

@keyframes float {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-100px) translateX(50px);
    opacity: 0;
  }
}

.particle:nth-child(2n) {
  background: rgba(72, 187, 120, 0.3);
  animation-duration: 12s;
}

.particle:nth-child(3n) {
  background: rgba(139, 92, 246, 0.3);
  animation-duration: 18s;
}

.smooth-scroll {
  scroll-behavior: smooth;
}

nav {
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

nav.scrolled {
  background-color: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.btn-hover {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-hover::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-hover:hover::before {
  width: 300px;
  height: 300px;
}

.fade-in {
  animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gradient-text {
  background: linear-gradient(135deg, #667eea 0%, #63b3ed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tech-icon {
  transition: transform 0.3s ease;
}

.tech-icon:hover {
  transform: scale(1.1) rotate(5deg);
}

.case-grid-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.case-grid-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.case-grid-item:hover::after {
  opacity: 1;
}

.stat-number {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
}

@media (max-width: 768px) {
  .particle {
    width: 2px;
    height: 2px;
  }
  
  .card-hover:hover {
    transform: translateY(-4px);
  }
}

.hero-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-padding {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 40px 0;
  }
  
  .hero-section {
    min-height: 60vh;
  }
}

.tech-tag {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(99, 179, 237, 0.1);
  border: 1px solid rgba(99, 179, 237, 0.3);
  border-radius: 20px;
  color: #2b6cb0;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.tech-tag:hover {
  background: rgba(99, 179, 237, 0.2);
  border-color: rgba(99, 179, 237, 0.5);
  transform: translateY(-2px);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.image-placeholder {
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #718096;
}