/* pp-conversion-boost.css
   Styles for: early CTA (after the 3 insight cards), folded testimonial strip
   (inside the offer card), and the exit-intent modal.
   Palette matches the existing cream/green Pace Perfect design. */

/* ---------- Early CTA (shortcut for people already sold) ---------- */
.pp-early-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: #fbf9f3;
  border: 1px solid #ddd6c6;
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  margin: 1rem 0 1.5rem;
}
.pp-early-cta p {
  margin: 0;
  font-size: 0.92rem;
  color: #6b7265;
}
.pp-early-cta-btn {
  background: #1f4a33;
  color: #fff;
  border: none;
  border-radius: 9px;
  padding: 0.65rem 1.1rem;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
}
.pp-early-cta-btn:hover { background: #163826; }

/* ---------- Folded testimonials inside the offer card ---------- */
.pp-offer-proof {
  display: flex;
  gap: 10px;
  margin: 1rem 0;
  flex-wrap: wrap;
}
.pp-offer-proof-item {
  flex: 1;
  min-width: 200px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
}
.pp-offer-proof-item .pp-op-stars {
  font-size: 0.75rem;
  color: #f2c94c;
  margin-bottom: 0.3rem;
}
.pp-offer-proof-item p {
  font-size: 0.82rem;
  line-height: 1.4;
  color: #f2efe6;
  margin: 0 0 0.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pp-offer-proof-item .pp-op-attr {
  font-size: 0.75rem;
  color: #cfc9b8;
}
.pp-offer-proof-item .pp-op-attr strong {
  color: #f2efe6;
  font-weight: 600;
}

/* ---------- Exit-intent modal ---------- */
.pp-exit-overlay {
  position: fixed;
  inset: 0;
  background: rgba(31, 40, 33, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.18s ease;
}
.pp-exit-overlay.pp-visible { opacity: 1; }
.pp-exit-modal {
  background: #f5f1e8;
  border-radius: 16px;
  max-width: 420px;
  width: 100%;
  padding: 1.75rem;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  transform: translateY(8px) scale(0.98);
  transition: transform 0.18s ease;
}
.pp-exit-overlay.pp-visible .pp-exit-modal { transform: translateY(0) scale(1); }
.pp-exit-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.3rem;
  line-height: 1;
  color: #9a9788;
  cursor: pointer;
  padding: 6px;
}
.pp-exit-close:hover { color: #22301f; }
.pp-exit-modal h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: #1f4a33;
  font-size: 1.3rem;
  margin: 0 0 0.5rem;
}
.pp-exit-modal p {
  font-size: 0.92rem;
  color: #6b7265;
  margin: 0 0 1.1rem;
}
.pp-exit-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pp-exit-form input {
  flex: 1;
  min-width: 180px;
  padding: 0.65rem 0.8rem;
  border: 1px solid #ddd6c6;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
}
.pp-exit-form button {
  background: #1f4a33;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.65rem 1.1rem;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
}
.pp-exit-form button:hover { background: #163826; }
.pp-exit-confirm {
  font-size: 0.92rem;
  color: #1f4a33;
  font-weight: 600;
  display: none;
}
.pp-exit-modal.pp-submitted .pp-exit-form,
.pp-exit-modal.pp-submitted p { display: none; }
.pp-exit-modal.pp-submitted .pp-exit-confirm { display: block; }
