/* In-app browser gate + post-signup desktop gate (Cutflux) */
.vep-mf-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(4, 5, 12, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  overflow-y: auto;
}
.vep-mf-overlay--instant {
  animation: vep-mf-overlay-in 0.22s ease-out both;
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(90, 160, 255, 0.14), transparent 55%),
    rgba(4, 5, 12, 0.96);
}
@keyframes vep-mf-overlay-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes vep-mf-card-boom {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.vep-mf-card--enter {
  animation: vep-mf-card-boom 0.38s cubic-bezier(0.22, 1.15, 0.36, 1) both;
}
.vep-mf-card {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(165deg, #131a2c 0%, #0e1422 100%);
  border: 1px solid rgba(96, 142, 220, 0.28);
  border-radius: 18px;
  padding: 1.35rem 1.25rem 1.15rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  color: #e8eef8;
  font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
}
.vep-mf-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #f5a623;
  background: rgba(245, 166, 35, 0.12);
  border: 1px solid rgba(245, 166, 35, 0.28);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  margin-bottom: 0.85rem;
}
.vep-mf-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.vep-mf-sub {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #8a95ae;
}
.vep-mf-steps {
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
  counter-reset: vep-step;
}
.vep-mf-steps li {
  counter-increment: vep-step;
  position: relative;
  padding: 0.65rem 0 0.65rem 2.35rem;
  font-size: 0.86rem;
  line-height: 1.45;
  border-bottom: 1px solid rgba(96, 142, 220, 0.12);
}
.vep-mf-steps li:last-child {
  border-bottom: none;
}
.vep-mf-steps li::before {
  content: counter(vep-step);
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: rgba(74, 139, 232, 0.2);
  border: 1px solid rgba(74, 139, 232, 0.45);
  color: #7db0f0;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vep-mf-steps strong {
  color: #fff;
  font-weight: 700;
}
.vep-mf-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.vep-mf-btn {
  width: 100%;
  padding: 0.72rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(96, 142, 220, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: #e8eef8;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: filter 0.15s, transform 0.12s;
}
.vep-mf-btn:active {
  transform: scale(0.98);
}
.vep-mf-btn--primary {
  background: linear-gradient(135deg, #5aa0ff 0%, #3a6bff 100%);
  border-color: rgba(125, 176, 240, 0.5);
  color: #fff;
  box-shadow: 0 8px 28px rgba(58, 107, 255, 0.35);
  font-size: 0.95rem;
  padding: 0.82rem 1rem;
}
.vep-mf-btn--secondary {
  background: transparent;
  border-color: rgba(96, 142, 220, 0.22);
  color: #b6c2e6;
  font-weight: 500;
}
.vep-mf-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.vep-mf-msg {
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
  min-height: 1.2em;
  line-height: 1.45;
  text-align: center;
}
.vep-mf-msg--ok {
  color: #3fcb7e;
}
.vep-mf-msg--err {
  color: #f87171;
}
.vep-mf-icon-row {
  font-size: 2rem;
  margin-bottom: 0.35rem;
  line-height: 1;
}
.vep-mf-email-row {
  margin: 0.85rem 0 0.65rem;
}
.vep-mf-email-row label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: #8a95ae;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.vep-mf-email-row input {
  width: 100%;
  padding: 0.62rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(96, 142, 220, 0.28);
  background: #05060b;
  color: #e8eef8;
  font-size: 0.9rem;
  font-family: inherit;
}
body.vep-mf-inapp-locked {
  overflow: hidden;
}
body.vep-mf-inapp-locked .sb-bt-app,
body.vep-mf-inapp-locked .sb-bt-live-badge,
body.vep-mf-inapp-locked .sb-bt-toolbar,
body.vep-mf-inapp-locked .sb-bt-media-modal,
body.vep-mf-inapp-locked .sb-bt-settings-modal {
  visibility: hidden;
  pointer-events: none;
}

/* Hard mobile block: hide the editor before paint so mobile users never see the timeline. */
html.vep-mf-mobile-pregate body > *,
body.vep-mf-mobile-block > * {
  display: none !important;
}
html.vep-mf-mobile-pregate body > #vep-mf-desktop-nudge,
html.vep-mf-mobile-pregate body > .vep-mf-overlay,
body.vep-mf-mobile-block > #vep-mf-desktop-nudge,
body.vep-mf-mobile-block > .vep-mf-overlay {
  display: flex !important;
}
html.vep-mf-mobile-pregate body,
body.vep-mf-mobile-block {
  overflow: hidden;
  background: #04050c;
  margin: 0;
}

/* ── In-app browser guide gate ── */
.vep-mf-card--inapp {
  max-width: 380px;
  padding: 1.5rem 1.35rem 1.25rem;
  background: linear-gradient(180deg, #141c2f 0%, #0d1320 100%);
  border: 1px solid rgba(96, 142, 220, 0.18);
}
.vep-mf-eyebrow--muted {
  color: #7a86a3 !important;
  letter-spacing: 0.02em !important;
  font-size: 0.74rem !important;
  font-weight: 600 !important;
  text-transform: none !important;
  margin-bottom: 0.5rem;
}
.vep-mf-card--inapp .vep-mf-title {
  font-size: 1.4rem;
  margin-bottom: 0.45rem;
}
.vep-mf-card--inapp .vep-mf-lead {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  color: #a8b1c8;
  line-height: 1.5;
}

/* Phone mockup illustration */
.vep-mf-phone {
  position: relative;
  margin: 0.25rem auto 1.4rem;
  width: 220px;
  height: 140px;
}
.vep-mf-phone-frame {
  position: absolute;
  inset: 0 0 0 0;
  width: 200px;
  border-radius: 18px 18px 14px 14px;
  background: linear-gradient(180deg, #1c2640 0%, #131a2c 100%);
  border: 1.5px solid rgba(120, 160, 230, 0.22);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
.vep-mf-phone-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.7rem;
  background: rgba(8, 12, 22, 0.7);
  border-bottom: 1px solid rgba(120, 160, 230, 0.12);
}
.vep-mf-phone-url {
  font-size: 0.7rem;
  color: #8d9ab8;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.01em;
}
.vep-mf-phone-dots {
  display: inline-flex;
  gap: 3px;
  padding: 4px 6px;
  border-radius: 6px;
  background: rgba(90, 160, 255, 0.18);
  border: 1px solid rgba(90, 160, 255, 0.55);
  animation: vep-mf-phone-dots-pulse 1.8s ease-in-out infinite;
}
.vep-mf-phone-dots i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #5AA0FF;
  display: block;
}
@keyframes vep-mf-phone-dots-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(90, 160, 255, 0.45); }
  50%      { box-shadow: 0 0 0 6px rgba(90, 160, 255, 0); }
}
.vep-mf-phone-screen {
  height: 90px;
  background:
    linear-gradient(180deg, rgba(90, 160, 255, 0.04), transparent 60%),
    repeating-linear-gradient(0deg, rgba(120, 160, 230, 0.05) 0 8px, transparent 8px 16px);
}

/* The curved arrow points from below up to the dots in the top-right */
.vep-mf-phone-arrow {
  position: absolute;
  top: -4px;
  right: -28px;
  width: 90px;
  height: 90px;
  color: #5AA0FF;
  opacity: 0.92;
  pointer-events: none;
  filter: drop-shadow(0 0 6px rgba(90, 160, 255, 0.35));
}

.vep-mf-inapp-steps {
  list-style: none;
  counter-reset: vep-mf-step;
  padding: 0;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #c0c9df;
}
.vep-mf-inapp-steps li {
  counter-increment: vep-mf-step;
  position: relative;
  padding: 0.45rem 0 0.45rem 2.05rem;
  border-top: 1px solid rgba(120, 160, 230, 0.08);
}
.vep-mf-inapp-steps li:first-child {
  border-top: none;
}
.vep-mf-inapp-steps li::before {
  content: counter(vep-mf-step);
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(90, 160, 255, 0.14);
  color: #5AA0FF;
  font-size: 0.74rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.vep-mf-inapp-steps strong {
  color: #ffffff;
  font-weight: 700;
}
.vep-mf-inapp-alt {
  color: #7a86a3;
  font-size: 0.83rem;
}

/* ── Brand logo (desktop gate) ── */
.vep-mf-brand {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
}
.vep-mf-logo {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
  display: block;
  margin: 4px auto 0;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}
.vep-mf-brand--success .vep-mf-logo {
  box-shadow:
    0 12px 32px rgba(63, 203, 126, 0.2),
    0 0 0 1px rgba(63, 203, 126, 0.35);
}
.vep-mf-brand-check {
  position: absolute;
  right: -2px;
  bottom: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(145deg, #3fcb7e, #2aa864);
  border: 2px solid #0a0f1f;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(63, 203, 126, 0.45);
}
.vep-mf-brand-check svg {
  width: 14px;
  height: 14px;
  color: #fff;
}

/* ── Post-signup desktop gate (polished) ── */
.vep-mf-card--desktop {
  max-width: 400px;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: 22px;
  border: 1px solid rgba(90, 160, 255, 0.22);
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(90, 160, 255, 0.18), transparent 55%),
    linear-gradient(168deg, #12182e 0%, #0a0f1f 100%);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  text-align: center;
}
.vep-mf-desktop-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(90, 160, 255, 0.22), rgba(58, 107, 255, 0.08));
  border: 1px solid rgba(90, 160, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(58, 107, 255, 0.2);
}
.vep-mf-desktop-icon svg {
  width: 36px;
  height: 36px;
  color: #7db0f0;
}
.vep-mf-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5aa0ff;
}
.vep-mf-eyebrow--success {
  color: #3fcb7e;
}
.vep-mf-email-highlight {
  color: #fff;
  font-weight: 600;
}
.vep-mf-success-ring {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
}
.vep-mf-success-ring::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 24px;
  background: conic-gradient(from 180deg, rgba(90, 160, 255, 0.5), rgba(63, 203, 126, 0.35), rgba(90, 160, 255, 0.5));
  opacity: 0.55;
  animation: vep-mf-ring-spin 8s linear infinite;
}
.vep-mf-success-ring .vep-mf-desktop-icon {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 4px auto 0;
}
@keyframes vep-mf-ring-spin {
  to { transform: rotate(360deg); }
}
.vep-mf-card--desktop .vep-mf-title {
  margin: 0 0 0.65rem;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.2;
}
.vep-mf-lead {
  margin: 0 0 1.15rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #9aa8c8;
}
.vep-mf-features {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.vep-mf-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.84rem;
  color: #c8d4f0;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(96, 142, 220, 0.1);
}
.vep-mf-features li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5aa0ff;
  box-shadow: 0 0 8px rgba(90, 160, 255, 0.8);
}
.vep-mf-card--desktop .vep-mf-email-row {
  text-align: left;
  margin: 0 0 1rem;
}
.vep-mf-card--desktop .vep-mf-email-row input {
  border-radius: 12px;
  padding: 0.72rem 0.85rem;
  background: rgba(5, 6, 11, 0.85);
}
.vep-mf-foot {
  margin: 1rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #6b7898;
}
.vep-mf-card--desktop.vep-mf-card--sent .vep-mf-desktop-icon {
  background: linear-gradient(145deg, rgba(63, 203, 126, 0.2), rgba(63, 203, 126, 0.06));
  border-color: rgba(63, 203, 126, 0.4);
  box-shadow: 0 12px 32px rgba(63, 203, 126, 0.15);
}
.vep-mf-card--desktop.vep-mf-card--sent .vep-mf-desktop-icon svg {
  color: #3fcb7e;
}
