/* ============ HOSTING POPUP ============ */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9997;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}
.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}
.popup-box {
  background: var(--white);
  border-radius: 28px;
  max-width: 540px;
  width: 100%;
  overflow: hidden;
  position: relative;
  transform: translateY(30px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.25);
}
.popup-overlay.active .popup-box {
  transform: translateY(0) scale(1);
}
.popup-header {
  background: linear-gradient(135deg, #ff6b35 0%, #f27421 50%, #ffc114 100%);
  padding: 36px 40px 28px;
  position: relative;
  overflow: hidden;
}
.popup-header::before {
  content: "HOST";
  position: absolute;
  right: -10px;
  bottom: -20px;
  font-family: var(--font-black);
  font-weight: 900;
  font-size: 100px;
  color: rgba(255, 255, 255, 0.1);
  letter-spacing: -4px;
  line-height: 1;
  pointer-events: none;
}
.popup-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 5px 14px;
  border-radius: 20px;
  font-family: var(--font-heavy);
  font-weight: 800;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white);
  margin-bottom: 14px;
}
.popup-header h3 {
  font-family: var(--font-black);
  font-weight: 900;
  font-size: 28px;
  color: var(--white);
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 8px;
}
.popup-header p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}
.popup-body {
  padding: 28px 40px 36px;
}
.popup-price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff8f0;
  border: 2px solid rgba(242, 116, 33, 0.2);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 20px;
}
.popup-price-from {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--grey);
}
.popup-price-val {
  font-family: var(--font-black);
  font-weight: 900;
  font-size: 32px;
  color: var(--orange);
  line-height: 1;
}
.popup-price-per {
  font-size: 12px;
  color: var(--grey);
  font-weight: 600;
}
.popup-price-tag {
  margin-left: auto;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-heavy);
  font-weight: 800;
  font-size: 11px;
  padding: 6px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.popup-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 24px;
}
.popup-perk {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--grey);
}
.popup-perk::before {
  content: "✓";
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: #f1f8e9;
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
}
.popup-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.popup-cta-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-heavy);
  font-weight: 900;
  font-size: 14px;
  border-radius: 50px;
  text-decoration: none;
  transition:
    background 0.3s,
    transform 0.2s;
  box-shadow: 0 8px 24px rgba(242, 116, 33, 0.35);
}
.popup-cta-main:hover {
  background: var(--red);
  transform: scale(1.02);
}
.popup-cta-skip {
  text-align: center;
  font-size: 12px;
  color: var(--grey);
  cursor: none;
  padding: 6px;
  transition: color 0.2s;
  background: none;
  border: none;
  font-family: var(--font-book);
  width: 100%;
}
.popup-cta-skip:hover {
  color: var(--orange);
}

.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--white);
  transition: background 0.2s;
  line-height: 1;
  font-weight: 300;
}
.popup-close:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* Popup visit counter pill */
.popup-seen-note {
  text-align: center;
  font-size: 10px;
  color: rgba(0, 0, 0, 0.2);
  margin-top: 12px;
  font-family: var(--font-book);
}

/* ============ WHATSAPP FLOAT ============ */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.wa-bubble-wrap {
  position: relative;
}
.wa-tooltip {
  position: absolute;
  right: 64px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--black);
  color: var(--white);
  font-family: var(--font-heavy);
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: 24px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-50%) translateX(8px);
  transition:
    opacity 0.25s,
    transform 0.25s;
}
.wa-tooltip::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--black);
  border-right: none;
}
.wa-bubble-wrap:hover .wa-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.wa-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: none;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  position: relative;
}
.wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.55);
}
.wa-btn svg {
  width: 30px;
  height: 30px;
}
/* Pulse ring */
.wa-btn::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.4);
  animation: waPulse 2.5s ease-out infinite;
}
.wa-btn::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.2);
  animation: waPulse 2.5s 0.6s ease-out infinite;
}
@keyframes waPulse {
  0% {
    transform: scale(0.9);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}
/* Notification dot */
.wa-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid var(--white);
  animation: waDotPop 0.4s 3s ease both;
}
@keyframes waDotPop {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .popup-header {
    padding: 28px 24px 22px;
  }
  .popup-header h3 {
    font-size: 22px;
  }
  .popup-body {
    padding: 22px 24px 28px;
  }
  .popup-perks {
    grid-template-columns: 1fr;
  }
  .wa-float {
    bottom: 20px;
    right: 16px;
  }
  .wa-btn {
    width: 52px;
    height: 52px;
  }
  .wa-tooltip {
    display: none;
  }
}
