/* EFFVIT RootPlayBook Exit Intent — self-contained, namespaced .rlxi-*
 * Visually a sibling of the .rpbfb-nudge card so the two never look like they
 * came from different products.
 *
 * z-index is deliberately the LOWEST of the feedback stack (tab 2147483000,
 * panel …001, nudge …002, arrow …003): if this CTA and the survey were ever on
 * screen at once, the survey wins — the thing we're trying to get the visitor
 * into is never covered by the thing asking them to go there.
 */

.rlxi-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  background: rgba(15, 20, 35, 0.5);
  backdrop-filter: blur(2px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: rlxi-fade 0.2s ease;
}
.rlxi-overlay.rlxi-on { display: flex; }
@keyframes rlxi-fade { from { opacity: 0; } to { opacity: 1; } }

.rlxi-card {
  position: relative;
  background: #fff;
  border-radius: 22px;
  max-width: 440px;
  width: 100%;
  padding: 32px 30px 26px;
  box-shadow: 0 30px 80px rgba(10, 15, 30, 0.4);
  text-align: center;
  font-family: inherit;
  animation: rlxi-pop 0.24s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
@keyframes rlxi-pop {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}

.rlxi-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: transparent;
  border: 0;
  color: #b6bcc5;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 6px;
  font-family: inherit;
}
.rlxi-close:hover { color: #6b7280; }

.rlxi-mark {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #35e0a8, #1fae82);
  box-shadow: 0 10px 26px -8px rgba(47, 211, 154, 0.9);
}
.rlxi-mark svg { width: 27px; height: 27px; display: block; color: #fff; }

.rlxi-eyebrow {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #1fae82;
  margin: 0 0 8px;
}
.rlxi-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: #14161a;
  margin: 0 0 10px;
  line-height: 1.28;
}
.rlxi-card p {
  font-size: 15px;
  color: #6b7280;
  margin: 0 0 22px;
  line-height: 1.55;
}

.rlxi-btn {
  width: 100%;
  background: #2554ff;
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, transform 0.15s ease;
}
.rlxi-btn:hover { background: #1b43cc; transform: translateY(-1px); }

.rlxi-dismiss {
  display: block;
  margin: 12px auto 0;
  background: transparent;
  border: 0;
  color: #9aa3ae;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}
.rlxi-dismiss:hover { color: #6b7280; }

@media (prefers-reduced-motion: reduce) {
  .rlxi-overlay, .rlxi-card { animation: none !important; }
  .rlxi-btn:hover { transform: none; }
}
