/* UX NEXT — WhatsApp CTA Boost (safe add-on)
   - Highlights existing wa.me buttons/links
   - Optional floating WhatsApp pill (JS injects)
*/

/* Works on links tagged by JS */
.mind-wa-cta{
  position: relative;
  color: #F2F2F2 !important; /* force white text */
  border-color: rgba(68,166,65,.45) !important;
  box-shadow: 0 0 0 rgba(68,166,65,0);
  overflow: hidden;
  transition: transform .18s ease, filter .18s ease, box-shadow .22s ease, border-color .22s ease;
}

.mind-wa-cta:hover{
  transform: translateY(-2px);
  filter: brightness(1.08);
  border-color: rgba(68,166,65,.65) !important;
}

.mind-wa-cta::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(260px 140px at 25% 10%, rgba(68,166,65,.28), transparent 60%),
              radial-gradient(260px 140px at 75% 90%, rgba(7,140,3,.20), transparent 60%);
  opacity:0;
  transition: opacity .22s ease;
  pointer-events:none;
  filter: blur(10px);
}

.mind-wa-cta:hover::before{ opacity:1; }

/* Pulse ring (subtle) */
.mind-wa-cta.mind-pulse{
  animation: mindPulseRing 2.4s ease-in-out infinite;
}
@keyframes mindPulseRing{
  0%,100%{ box-shadow: 0 0 0 rgba(68,166,65,0); }
  50%{ box-shadow: 0 0 22px rgba(68,166,65,.22); }
}

/* Click ripple */
.mind-ripple{
  position:absolute;
  border-radius:999px;
  transform: scale(0);
  opacity: .35;
  background: rgba(242,242,242,.55);
  pointer-events:none;
  animation: mindRipple .55s ease-out forwards;
}
@keyframes mindRipple{
  to{ transform: scale(12); opacity: 0; }
}

/* Floating WhatsApp pill injected by JS */
.mind-wa-float{
  position: fixed;
  right: 18px;
  bottom: 84px; /* above back-to-top button */
  z-index: 99999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(68,166,65,.32);
  background: rgba(0,0,0,.52);
  backdrop-filter: blur(12px);
  color: #F2F2F2;
  text-decoration: none;
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
  transition: transform .18s ease, filter .18s ease, border-color .22s ease, opacity .22s ease;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.mind-wa-float.is-on{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mind-wa-float:hover{
  transform: translateY(-2px);
  filter: brightness(1.08);
  border-color: rgba(68,166,65,.55);
}

.mind-wa-float .mind-wa-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #44A641;
  box-shadow: 0 0 18px rgba(68,166,65,.55);
}

.mind-wa-float .mind-wa-label{
  font-weight: 650;
  letter-spacing: .2px;
  font-size: 14px;
  line-height: 1;
}

.mind-wa-float .mind-wa-sub{
  font-size: 12px;
  opacity: .78;
  line-height: 1.1;
}

@media (max-width: 420px){
  .mind-wa-float .mind-wa-sub{ display:none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .mind-wa-cta, .mind-wa-float{ transition:none; }
  .mind-wa-cta.mind-pulse{ animation:none; }
  .mind-ripple{ animation:none; display:none; }
}
