/* 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 {
  visibility: hidden;
  pointer-events: none;
}

/* ── 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;
}
