/* Import Inter font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Base styles */
body {
  font-family: 'Inter', sans-serif;
}

/* Custom animations */
@keyframes pulse-slow {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

.animate-pulse-slow {
  animation: pulse-slow 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-pulse-delay {
  animation: pulse-slow 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  animation-delay: 1s;
}

/* Custom gradient utilities */
.bg-gradient-radial {
  background: radial-gradient(var(--tw-gradient-stops));
}

/* Grid pattern background */
.grid-pattern {
  background-image: linear-gradient(rgba(239,68,68,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(239,68,68,0.03) 1px, transparent 1px);
  background-size: 100px 100px;
}

/* Custom hover effects */
.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, rgb(239 68 68), rgb(244 63 94));
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Button hover effects */
.btn-primary {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 50px -12px rgba(239, 68, 68, 0.5);
}

.btn-primary .btn-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(244 63 94), rgb(239 68 68), rgb(239 68 68));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover .btn-overlay {
  opacity: 1;
}

.btn-primary .btn-content {
  position: relative;
  z-index: 10;
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px) translateY(-4px);
}

/* Secondary button */
.btn-secondary {
  transition: all 0.3s ease;
  backdrop-filter: blur(16px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
}

/* Stats hover effects */
.stat-item {
  position: relative;
  transition: all 0.3s ease;
}

.stat-item .stat-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), transparent);
  border-radius: 16px;
  filter: blur(24px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-item:hover .stat-glow {
  opacity: 1;
}

/* Card effects */
.info-card {
  backdrop-filter: blur(32px);
  box-shadow: 0 25px 50px -12px rgba(239, 68, 68, 0.2);
}

.rating-badge {
  box-shadow: 0 25px 50px -12px rgba(239, 68, 68, 0.3);
}

/* Image container effects */
.image-container {
  backdrop-filter: blur(16px);
}

.image-glow {
  filter: blur(32px);
}

/* Hero background container with pseudo-element */
.hero-bg-container {
  position: relative;
  
}

.hero-bg-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)), 
                    url('https://images.pexels.com/photos/1319460/pexels-photo-1319460.jpeg?auto=compress&cs=tinysrgb&w=1200');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  filter: blur(0.5px) contrast(0.8) brightness(0.2) saturate(0);
  z-index: -1;
}

/* Mobile responsive adjustments */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 4rem;
    line-height: 0.9;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-description {
    font-size: 1.125rem;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}