/* Book Demo Floating Button — MOBILE ONLY — same size + pulse as newsletter */

#book-demo-fab {
  display: none;

  position: fixed;
  right: 30px;
  bottom: 20px;        /* default */
  z-index: 999999;

  width: 56px;
  height: 56px;
  border-radius: 999px;

  background: #f2e677;
  color: #000;
  text-decoration: none;

  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  gap: 1px;

  box-shadow: 0 14px 35px rgba(0,0,0,0.20);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease, bottom .15s ease;
}

/* Mobile only */
@media (max-width: 767px) {
  #book-demo-fab {
    display: flex;
    right: 14px;
  }
}

/* ✅ UP 10px when near bottom */
#book-demo-fab.is-raised {
  bottom: 60px;
}

/* Pulse ring */
#book-demo-fab::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 2px solid rgba(17,17,17,0.28);
  animation: bookDemoPulse 1.8s ease-out infinite;
  pointer-events: none;
}

@keyframes bookDemoPulse {
  0% { transform: scale(0.92); opacity: 0.75; }
  70% { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}

/* Text */
#book-demo-fab .book-demo-line1,
#book-demo-fab .book-demo-line2 {
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}