/* ============================================================
   For Business — freemium B2B funnel additions
   Layers on top of models-for-masters.css (shares .mfm tokens).
   Self-contained; brand purple #7b5ea7 via theme tokens.
   ============================================================ */

/* Hero trust row */
.mfm .fb-trust {
    list-style: none;
    margin: 22px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
}
.mfm .fb-trust li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.95);
}
.mfm .fb-trust svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: #fff;
}

/* How leads work — numbered steps */
.mfm .fb-steps {
    list-style: none;
    counter-reset: fb;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.mfm .fb-steps li {
    background: #fff;
    border: 1px solid var(--mfm-line);
    border-radius: 16px;
    padding: 24px 20px;
    position: relative;
}
.mfm .fb-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--mfm-xlight);
    color: var(--mfm-primary-dark);
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 14px;
}
.mfm .fb-steps h3 { font-size: 17px; margin: 0 0 8px; font-weight: 700; }
.mfm .fb-steps p { color: var(--mfm-muted); margin: 0; font-size: 14px; }

/* Pricing plans */
.mfm .fb-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: start;
}
.mfm .fb-plan {
    background: #fff;
    border: 1px solid var(--mfm-line);
    border-radius: 18px;
    padding: 28px 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.mfm .fb-plan-featured {
    border-color: var(--mfm-primary-light);
    box-shadow: 0 14px 38px rgba(123, 94, 167, 0.16);
    transform: translateY(-4px);
}
.mfm .fb-plan-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--mfm-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 5px 14px;
    border-radius: 999px;
    white-space: nowrap;
}
.mfm .fb-plan-name {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--mfm-ink);
}
.mfm .fb-plan-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 10px;
}
.mfm .fb-plan-amount {
    font-size: 28px;
    font-weight: 800;
    color: var(--mfm-primary-dark);
    line-height: 1.1;
}
.mfm .fb-plan-period { font-size: 14px; color: var(--mfm-muted); }
.mfm .fb-plan-tagline {
    color: var(--mfm-muted);
    font-size: 14px;
    margin: 0 0 18px;
    min-height: 40px;
}
.mfm .fb-plan-features {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    flex: 1 1 auto;
}
.mfm .fb-plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--mfm-ink);
    margin-bottom: 12px;
}
.mfm .fb-plan-features svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: var(--mfm-primary);
    margin-top: 1px;
}

/* Plan CTAs sit on a light section: override the white hero button styling. */
.mfm .fb-plan-cta { width: 100%; text-align: center; }
.mfm .fb-plan-cta.mfm-btn-primary {
    background: var(--mfm-primary);
    color: #fff;
}
.mfm .fb-plan-cta.mfm-btn-primary:hover {
    background: var(--mfm-primary-dark);
    color: #fff;
    box-shadow: 0 8px 22px rgba(123, 94, 167, 0.28);
}
.mfm .fb-plan-cta.mfm-btn-ghost {
    background: transparent;
    color: var(--mfm-primary-dark);
    border-color: var(--mfm-primary-light);
}
.mfm .fb-plan-cta.mfm-btn-ghost:hover {
    background: var(--mfm-xlight);
    color: var(--mfm-primary-dark);
}
.mfm .fb-plans-note {
    text-align: center;
    color: var(--mfm-muted);
    font-size: 14px;
    margin: 22px 0 0;
}

/* FAQ accordion (native details) */
.mfm .fb-faq { max-width: 820px; margin: 0 auto; }
.mfm .fb-faq-item {
    background: #fff;
    border: 1px solid var(--mfm-line);
    border-radius: 14px;
    padding: 0 20px;
    margin-bottom: 12px;
}
.mfm .fb-faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 0;
    font-weight: 600;
    font-size: 16px;
    color: var(--mfm-ink);
    position: relative;
    padding-right: 28px;
}
.mfm .fb-faq-item summary::-webkit-details-marker { display: none; }
.mfm .fb-faq-item summary::after {
    content: "+";
    position: absolute;
    right: 2px;
    top: 16px;
    font-size: 22px;
    color: var(--mfm-primary);
    font-weight: 400;
    line-height: 1;
}
.mfm .fb-faq-item[open] summary::after { content: "\2013"; }
.mfm .fb-faq-answer {
    color: var(--mfm-muted);
    font-size: 15px;
    padding: 0 0 18px;
    line-height: 1.6;
}

/* Home page B2B band */
.home-b2b-band {
    background: linear-gradient(135deg, #5d3f8f 0%, #7b5ea7 60%, #9b7ec8 100%);
    color: #fff;
    padding: 48px 0;
}
.home-b2b-band .container { max-width: 1080px; }
.home-b2b-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}
.home-b2b-text { flex: 1 1 420px; }
.home-b2b-text h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px;
    color: #fff;
}
.home-b2b-text p {
    font-size: 17px;
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
}
.home-b2b-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.home-b2b-btn {
    display: inline-block;
    padding: 13px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.18s ease;
    border: 1.5px solid transparent;
}
.home-b2b-btn-primary { background: #fff; color: #5d3f8f; }
.home-b2b-btn-primary:hover { color: #5d3f8f; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18); }
.home-b2b-btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.home-b2b-btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }

/* Responsive */
@media (max-width: 900px) {
    .mfm .fb-steps { grid-template-columns: repeat(2, 1fr); }
    .mfm .fb-plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
    .mfm .fb-plan-featured { transform: none; }
    .mfm .fb-plan-tagline { min-height: 0; }
}
@media (max-width: 560px) {
    .mfm .fb-steps { grid-template-columns: 1fr; }
    .home-b2b-inner { flex-direction: column; align-items: flex-start; }
    .home-b2b-actions { width: 100%; }
    .home-b2b-btn { flex: 1 1 auto; text-align: center; }
}

/* ============================================================
   B2B SEO landing pages (SiteController::actionLanding)
   ============================================================ */
/* Benefits checklist rendered on a light section (not the dark hero) */
.mfm .fb-trust.fb-trust-list {
    flex-direction: column;
    gap: 12px;
    max-width: 760px;
    margin: 0 auto;
}
.mfm .fb-trust.fb-trust-list li {
    color: #2a2740;
    font-size: 16px;
    align-items: flex-start;
}
.mfm .fb-trust.fb-trust-list svg {
    color: #7b5ea7;
    margin-top: 2px;
}
/* Clickable solution cards (cross-links on the for-business hub) */
.mfm .mfm-card.mfm-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.mfm .mfm-card.mfm-card-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(80, 50, 140, .12);
    border-color: rgba(123, 94, 167, .35);
}
.mfm .mfm-card.mfm-card-link h3 {
    color: #7b5ea7;
}
.mfm .mfm-final-note {
    margin-top: 16px;
    font-size: 15px;
}
