/* ==========================================================================
   Venderflow /onboarding/ 2026 Fast-Loading Trial Checkout
   Scoped under .vfo so Webflow global rules cannot bleed in and nothing leaks
   out to the site header or footer.
   ========================================================================== */

.vfo {
  --vfo-green: #079f4b;
  --vfo-green-dark: #057a39;
  --vfo-emerald: #10b981;
  --vfo-ink: #0f172a;
  --vfo-ink-2: #334155;
  --vfo-ink-3: #64748b;
  --vfo-line: #e2e8f0;
  --vfo-mint: #f2faf6;
  --vfo-mint-2: #e3f6eb;

  display: block;
  overflow-x: clip;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--vfo-ink);
  background:
    radial-gradient(ellipse 90% 420px at 15% 0%, rgba(7, 159, 75, 0.08) 0%, transparent 70%),
    linear-gradient(180deg, #f5fbf7 0%, #ffffff 34%, #f8fafc 100%);
  padding: 40px 20px 76px;
  -webkit-font-smoothing: antialiased;
  text-align: left;
}

.vfo *, .vfo *::before, .vfo *::after {
  box-sizing: border-box;
}

.vfo :where(h1, h2, h3, p, ul, ol, li) {
  margin: 0;
  padding: 0;
}

.vfo :where(ul, ol) {
  list-style: none;
}

.vfo-wrap {
  max-width: 1220px;
  margin: 0 auto;
}

.vfo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
  gap: 44px;
  align-items: start;
}

/* ---------- Left Column: Value, Plan Guide & Onboarding Reassurance ---------- */
.vfo-info {
  padding-top: 6px;
}

.vfo-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--vfo-mint-2);
  border: 1px solid #c5ead5;
  color: var(--vfo-green-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}

.vfo-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--vfo-green);
}

.vfo-h1 {
  margin-bottom: 14px;
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--vfo-ink);
}

.vfo-h1 span {
  color: var(--vfo-green);
}

.vfo-lead {
  margin-bottom: 24px;
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--vfo-ink-2);
  max-width: 560px;
}

/* Compact Plan Selector Guide (mirrors the 3 radio plans inside GHL form) */
.vfo-plans {
  margin-bottom: 24px;
  background: #ffffff;
  border: 1px solid var(--vfo-line);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 10px 28px -22px rgba(15, 23, 42, 0.25);
}

.vfo-plans__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.vfo-toggle-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: #edf2f7;
  border: 1px solid #e2e8f0;
  width: 100%;
}

.vfo-toggle-btn {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 14px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #475569;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.vfo-toggle-btn[aria-pressed="true"] {
  background: #ffffff;
  color: var(--vfo-ink);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.vfo-save-pill {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--vfo-green);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.vfo-plan__price-wrap {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.vfo-plan__save {
  font-size: 11px;
  font-weight: 700;
  color: #b91c1c;
  white-space: nowrap;
}

.vfo-plan.is-selected {
  border-color: var(--vfo-green);
  box-shadow: 0 0 0 2px rgba(7, 159, 75, 0.15);
}

.vfo-plans__title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--vfo-ink-3);
}

.vfo-plans__link {
  font-size: 13px;
  font-weight: 700;
  color: var(--vfo-green-dark);
  text-decoration: none;
}

.vfo-plans__link:hover {
  text-decoration: underline;
}

.vfo-plan-list {
  display: grid;
  gap: 10px;
}

.vfo-plan {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 14px;
  align-items: center;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid #eef2f6;
  background: #f8fafc;
}

.vfo-plan--popular {
  background: #f2faf6;
  border-color: #98ddb5;
}

.vfo-plan__name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  color: var(--vfo-ink);
}

.vfo-plan__tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--vfo-green);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.vfo-plan__price {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--vfo-ink);
  white-space: nowrap;
}

.vfo-plan__price small {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--vfo-ink-3);
}

.vfo-plan__desc {
  grid-column: 1 / -1;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--vfo-ink-2);
}

/* Dark-Emerald Guided Onboarding & What Happens Next Box */
.vfo-setup {
  margin-bottom: 24px;
  padding: 22px 22px 20px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 90% 15%, rgba(16, 185, 129, 0.22) 0%, transparent 50%),
    linear-gradient(155deg, #061811 0%, #0b281c 60%, #071b13 100%);
  border: 1px solid rgba(74, 222, 128, 0.28);
  box-shadow: 0 18px 36px -22px rgba(6, 24, 17, 0.6);
  color: #f8fafc;
}

.vfo-setup__eyebrow {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #6ee7b7;
  margin-bottom: 6px;
}

.vfo-setup__title {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 14px;
}

.vfo-steps {
  display: grid;
  gap: 11px;
}

.vfo-step {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 14px;
  line-height: 1.5;
  color: #e2e8f0;
}

.vfo-step__num {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: #079f4b;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.vfo-step strong {
  color: #ffffff;
}

.vfo-setup__cta {
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.5;
}

.vfo-setup__cta a {
  color: #4ade80;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Clean Feature Checklist */
.vfo-features-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--vfo-ink-3);
  margin-bottom: 12px;
}

.vfo-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  margin-bottom: 18px;
}

.vfo-feature {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--vfo-ink-2);
  font-weight: 500;
}

.vfo-feature svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--vfo-green);
}

.vfo-footnote {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--vfo-ink-3);
}

/* ---------- Right Column: Fast-Loading Checkout Card ---------- */
.vfo-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #dbe5df;
  border-radius: 22px;
  box-shadow:
    0 24px 56px -28px rgba(15, 23, 42, 0.28),
    0 4px 14px -6px rgba(7, 159, 75, 0.12);
  overflow: hidden;
}

.vfo-card__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 22px;
  background: #f8fbf9;
  border-bottom: 1px solid #e6eee9;
}

.vfo-card__bar-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--vfo-ink);
}

.vfo-card__bar-left svg {
  width: 16px;
  height: 16px;
  color: var(--vfo-green);
  flex-shrink: 0;
}

.vfo-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--vfo-mint-2);
  color: var(--vfo-green-dark);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.vfo-embed-shell {
  position: relative;
  min-height: 760px;
  padding: 0;
  background: #ffffff;
}

/* Animated Form Skeleton */
.vfo-skeleton {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #ffffff;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: opacity 0.25s ease;
}

.vfo-card.is-ready .vfo-skeleton {
  opacity: 0;
  pointer-events: none;
}

.vfo-skel-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 6px 0 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--vfo-ink-2);
}

.vfo-spinner {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2.5px solid #d7ebdf;
  border-top-color: var(--vfo-green);
  animation: vfo-spin 0.75s linear infinite;
}

@keyframes vfo-spin {
  to { transform: rotate(360deg); }
}

.vfo-skel-field,
.vfo-skel-box {
  border-radius: 10px;
  background: linear-gradient(90deg, #f1f5f9 25%, #e6f0ea 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: vfo-shimmer 1.3s ease-in-out infinite;
}

.vfo-skel-field {
  height: 46px;
  width: 100%;
}

.vfo-skel-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 6px;
}

.vfo-skel-box {
  height: 92px;
}

.vfo-skel-pay {
  height: 170px;
  margin-top: 4px;
}

.vfo-skel-btn {
  height: 50px;
  width: 100%;
  border-radius: 12px;
  background: linear-gradient(90deg, #dff3e8 25%, #cbead8 50%, #dff3e8 75%);
  background-size: 200% 100%;
  animation: vfo-shimmer 1.3s ease-in-out infinite;
}

@keyframes vfo-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.vfo-form-pane {
  position: relative;
  z-index: 1;
}

.vfo-form-pane[hidden] {
  display: none !important;
}

.vfo-iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 760px;
  border: none;
  border-radius: 0;
  display: block;
}

.vfo-fallback {
  margin-top: 14px;
  text-align: center;
  font-size: 13.5px;
  color: var(--vfo-ink-3);
}

.vfo-fallback a {
  color: var(--vfo-green-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Mobile header burger icon safety */
#burger-menu .close-menu,
#header.nav-display #burger-menu .menu {
  display: none;
}
#header.nav-display #burger-menu .close-menu {
  display: block;
}

@media screen and (max-width: 1020px) {
  .vfo-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .vfo-info {
    padding-top: 0;
  }
  .vfo-lead {
    max-width: none;
  }
}

@media screen and (max-width: 640px) {
  .vfo {
    padding: 24px 14px 52px;
  }
  .vfo-features {
    grid-template-columns: 1fr;
  }
  .vfo-card__bar {
    padding: 13px 16px;
  }
  .vfo-embed-shell {
    padding: 4px 2px 10px;
  }
  .vfo-skel-plans {
    grid-template-columns: 1fr;
  }
}
