/* Modern Service Cards with Glassmorphism Design */

.service-card-modern {
  position: relative;
  background: linear-gradient(145deg, #fef9fb 0%, #ffeef1 100%);
  backdrop-filter: blur(18px) saturate(110%);
  border-radius: 24px;
  border: 1px solid rgba(255, 182, 193, 0.2);
  box-shadow: 
    0 10px 36px rgba(255, 182, 193, 0.06),
    0 6px 18px rgba(255, 192, 203, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
  height: 100%;
  min-height: 280px;
  color: #2c3e50;
}

.service-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 182, 193, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(255, 228, 225, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.service-card-modern:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 20px 60px rgba(255, 182, 193, 0.1),
    0 8px 24px rgba(255, 192, 203, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
  border-color: rgba(255, 182, 193, 0.3);
  background: linear-gradient(145deg, #ffffff 0%, #fff5f7 100%);
}

.service-card-modern-inner {
  position: relative;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.service-icon-wrapper-modern {
  position: relative;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

.service-icon-modern {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #ff6b9d 0%, #ffa726 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  box-shadow: 
    0 4px 20px rgba(255, 107, 157, 0.3),
    0 2px 8px rgba(255, 167, 38, 0.2);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.service-card-modern:hover .service-icon-modern {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 
    0 6px 30px rgba(255, 107, 157, 0.25),
    0 3px 12px rgba(255, 167, 38, 0.15);
}

.service-icon-modern svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.5;
}

.service-glow-modern {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.service-card-modern:hover .service-glow-modern {
  opacity: 1;
}

.service-content-modern {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.service-content-modern h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #ff6b9d 0%, #ffa726 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.service-card-modern:hover .service-content-modern h3 {
  transform: scale(1.05);
}

.service-content-modern p {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
  transition: color 0.3s ease;
}

.service-card-modern:hover .service-content-modern p {
  color: #555;
}

.service-features-modern {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-tag-modern {
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.1) 0%, rgba(255, 167, 38, 0.1) 100%);
  color: #ff6b9d;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(255, 107, 157, 0.2);
  transition: all 0.3s ease;
}

.service-card-modern:hover .feature-tag-modern {
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.15) 0%, rgba(255, 167, 38, 0.15) 100%);
  border-color: rgba(255, 107, 157, 0.3);
  transform: translateY(-1px);
}

.status-pill-modern {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 0.5rem;
  backdrop-filter: blur(10px);
}

.status-pill-paused {
  background: rgba(255, 193, 7, 0.2);
  color: #b8860b;
  border: 1px solid rgba(255, 193, 7, 0.3);
}

.status-pill-active {
  background: rgba(76, 175, 80, 0.2);
  color: #2e7d32;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.status-pill-coming-soon {
  background: rgba(156, 39, 176, 0.2);
  color: #6a1b9a;
  border: 1px solid rgba(156, 39, 176, 0.3);
}

.service-cta-btn-modern {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: linear-gradient(135deg, #ff6b9d 0%, #ffa726 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(255, 107, 157, 0.3);
  transition: all 0.3s ease;
  z-index: 3;
}

.service-cta-btn-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(255, 107, 157, 0.4);
}

.service-overlay-modern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.4) 0%, transparent 55%),
                radial-gradient(circle at 70% 80%, rgba(255, 248, 250, 0.3) 0%, transparent 55%),
                linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
  border-radius: 24px;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card-modern:hover .service-overlay-modern {
  opacity: 0.3;
}

/* Responsive design */
@media (max-width: 768px) {
  .service-card-modern {
    min-height: 240px;
  }
  
  .service-card-modern-inner {
    padding: 1.5rem;
  }
  
  .service-icon-modern {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  
  .service-icon-modern svg {
    width: 24px;
    height: 24px;
  }
  
  .service-content-modern h3 {
    font-size: 1.25rem;
  }
  
  .service-content-modern p {
    font-size: 0.9rem;
  }
  
  .service-cta-btn-modern {
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
  }
}

/* Dark mode support - disabled for service cards to maintain light powder pink theme */
@media (prefers-color-scheme: dark) {
  .service-card-modern {
    background: linear-gradient(145deg, #fef9fb 0%, #ffeef1 100%);
    border-color: rgba(255, 182, 193, 0.2);
    color: #2c3e50;
  }
  
  .service-card-modern:hover {
    border-color: rgba(255, 182, 193, 0.3);
    background: linear-gradient(145deg, #ffffff 0%, #fff5f7 100%);
  }
  
  .service-content-modern h3 {
    color: #2c3e50;
  }
  
  .service-content-modern p {
    color: #666;
  }
  
  .service-card-modern:hover .service-content-modern p {
    color: #555;
  }
}

/* Animation for page load */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card-modern {
  animation: fadeInUp 0.6s ease-out forwards;
}

.service-card-modern:nth-child(1) { animation-delay: 0.1s; }
.service-card-modern:nth-child(2) { animation-delay: 0.2s; }
.service-card-modern:nth-child(3) { animation-delay: 0.3s; }
.service-card-modern:nth-child(4) { animation-delay: 0.4s; }
.service-card-modern:nth-child(5) { animation-delay: 0.5s; }
.service-card-modern:nth-child(6) { animation-delay: 0.6s; }
.service-card-modern:nth-child(7) { animation-delay: 0.7s; }
.service-card-modern:nth-child(8) { animation-delay: 0.8s; }