/* Premium underline for section headings */
.premium-underline {
  display: inline-block;
  position: relative;
}

.premium-underline::after {
  content: '';
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -6px;
  width: 60%;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #6D28D9 0%, #B794F4 100%);
  opacity: 0.7;
}

.bg-gradient-light {
  background: radial-gradient(circle at top right, #F3E8FF, #F6F3EE);
}

.bg-dark-gradient {
  background: radial-gradient(circle at top right, #3A1C6B, #0F0A1A);
}

/* Premium shiny glass effect for Zoho cards */
.zoho-premium-card {
  position: relative;
  overflow: hidden;
  background: rgba(251, 249, 246, 0.95);
  box-shadow: 0 18px 45px rgba(109, 40, 217, 0.10), 0 1.5px 8px rgba(255, 255, 255, 0.18) inset;
  border: 1.5px solid #6D28D922;
}

.zoho-premium-card::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -40%;
  width: 180%;
  height: 80%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 1;
  border-radius: 40px;
  transition: opacity 0.3s;
  will-change: opacity;
}

.zoho-premium-card:hover::before {
  opacity: 0.6;
}

.zoho-premium-card>* {
  position: relative;
  z-index: 2;
}

.error-msg {
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.3s ease;
}

.error-msg.show {
  opacity: 1;
  transform: translateY(0);
}

.shake {
  animation: shake 0.4s cubic-bezier(.36, .07, .19, .97) both;
}

@keyframes shake {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-3px, 0, 0); }
  40%, 60% { transform: translate3d(3px, 0, 0); }
}

/* Custom Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
