@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");
body {
  font-family: "Inter", sans-serif;
}

.hero-bg {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  position: relative;
  overflow: hidden;
}
.hero-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgb(230, 229, 229);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--tw-gradient-stops));
}
.pricing-card:hover {
  transform: translateY(-12px) rotateX(5deg);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.15);
  border-color: rgba(14, 165, 233, 0.3);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  z-index: 20;
  animation: float 3s ease-in-out infinite;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.pricing-card.with-badge {
  padding-top: 3.5rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--tw-gradient-stops));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
  transition: transform 0.3s ease;
  margin-top: 0.5rem;
}
.pricing-card:hover .feature-icon {
  transform: scale(1.1) rotate(10deg);
}

.cta-button {
  background: linear-gradient(135deg, var(--tw-gradient-stops)) !important;
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.cta-button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}
.cta-button:hover::after {
  width: 300px;
  height: 300px;
}
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.4);
}

.section-header {
  animation: fade-slide 0.8s ease-out;
}
.section-header i {
  animation: glow-pulse 2s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.5));
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes glowPulse {
  0%,
  100% {
    text-shadow: 0 0 5px rgba(139, 92, 246, 0.5);
  }
  50% {
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.8),
      0 0 30px rgba(139, 92, 246, 0.4);
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateX(-50%) translateY(0px);
  }
  50% {
    transform: translateX(-50%) translateY(-3px);
  }
}

.divider-wave {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    #e5e7eb,
    #10b981,
    #e5e7eb,
    transparent
  );
  position: relative;
  margin: 2rem 0;
}
.divider-wave::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: #10b981;
  border-radius: 2px;
  animation: glowPulse 2s ease-in-out infinite;
}

/* Hero Section Styles */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  color: white;
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.2;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: fadeSlide 1s ease-out;
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  display: block;
}
.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.5rem;
}

/* Price Range Addition */
.price-range {
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  border-radius: 12px;
  padding: 0.75rem;
  margin: 1rem 0;
  text-align: center;
  font-weight: 600;
  color: #374151;
  font-size: 0.875rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}
.pricing-card:hover .price-range {
  transform: scale(1.02);
}

/* List items refinement */
.pricing-card ul li {
  transition: all 0.2s ease;
  border-radius: 8px;
  padding: 0.25rem;
  font-size: 0.75rem;
}
.pricing-card ul li:hover {
  background: rgba(16, 185, 129, 0.05);
  transform: translateX(4px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .grid-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-cols-2 {
    grid-template-columns: 1fr;
  }
  .hero-section {
    padding: 4rem 0 2rem;
  }
  .stat-number {
    font-size: 2rem;
  }
  .popular-badge {
    font-size: 0.7rem;
    padding: 0.375rem 1rem;
    top: -10px;
  }
  .pricing-card.with-badge {
    padding-top: 3rem;
  }
}
@media (max-width: 480px) {
  .grid-cols-4,
  .grid-cols-3,
  .grid-cols-2 {
    grid-template-columns: 1fr;
  }
  .popular-badge {
    position: static !important;
    transform: none !important;
    display: block !important;
    margin: 0 auto 1rem auto !important;
    width: fit-content !important;
    text-align: center !important;
    left: 0 !important;
    right: 0 !important;
  }
  .pricing-card.with-badge {
    padding-top: 2rem;
  }
}

.delay-100 {
  animation-delay: 0.1s;
}
.delay-200 {
  animation-delay: 0.2s;
}
.delay-300 {
  animation-delay: 0.3s;
}
.delay-400 {
  animation-delay: 0.4s;
}

.section-header p {
  font-size: 0.8rem;
}
.pricing-card h3 {
  font-size: 1.125rem;
}
.pricing-card ul {
  font-size: 0.75rem;
}
