/* ==========================================================================
   Makler Match Funnel — Frontend Styles
   ========================================================================== */

:root {
    --mmf-primary: #0b91df;
    --mmf-primary-light: #e8f4fd;
    --mmf-primary-dark: #0878b8;
    --mmf-navy: #2f3b54;
    --mmf-bg: #f5f8fc;
    --mmf-text: #22293b;
    --mmf-text-gray: #666666;
    --mmf-text-light: #999999;
    --mmf-green: #2dbf93;
    --mmf-green-dark: #24a67e;
    --mmf-green-light: #eafaf4;
    --mmf-border: #e2e8f0;
    --mmf-white: #ffffff;
    --mmf-shadow: 0 4px 24px rgba(47, 59, 84, 0.08);
    --mmf-shadow-lg: 0 8px 40px rgba(47, 59, 84, 0.12);
    --mmf-radius: 14px;
    --mmf-radius-sm: 10px;
    --mmf-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset within funnel */
.mmf-funnel *,
.mmf-funnel *::before,
.mmf-funnel *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   ELEMENTOR KIT OVERRIDE — ID-BASED SPECIFICITY
   Elementor Kit uses .elementor-kit-XXX button {} which has specificity (0,1,1).
   Using #mmf-funnel gives us (1,0,0) which ALWAYS wins over any class selector.
   ========================================================================== */
#mmf-funnel button,
#mmf-funnel button:hover,
#mmf-funnel button:focus,
#mmf-funnel button:active,
#mmf-funnel button:visited {
    border-style: none !important;
    border-width: 0 !important;
    border-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    text-decoration: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    background-color: transparent !important;
    color: inherit !important;
    font-family: 'Inter', sans-serif !important;
    min-height: 0 !important;
    line-height: normal !important;
    white-space: normal !important;
}

#mmf-funnel input,
#mmf-funnel input:hover,
#mmf-funnel textarea,
#mmf-funnel textarea:hover {
    border-style: solid !important;
    border-width: 2px !important;
    border-color: #e2e8f0 !important;
    outline: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    box-shadow: none !important;
}

#mmf-funnel input:focus,
#mmf-funnel textarea:focus {
    border-color: #0b91df !important;
    box-shadow: 0 0 0 3px rgba(11, 145, 223, 0.12) !important;
}

/* ==========================================================================
   Container
   ========================================================================== */

.mmf-funnel {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    max-width: 680px;
    width: 100%;
    margin: 40px auto;
    background: var(--mmf-white);
    border-radius: var(--mmf-radius);
    padding: 48px;
    box-shadow: var(--mmf-shadow);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    transition: min-height 0.3s ease;
}

/* ==========================================================================
   Progress Bar
   ========================================================================== */

.mmf-progress {
    margin-bottom: 36px;
}

.mmf-progress__label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.mmf-progress__step-text {
    font-size: 13px;
    font-weight: 500;
    color: var(--mmf-text-gray);
    letter-spacing: 0.02em;
}

.mmf-progress__bar {
    display: flex;
    gap: 6px;
    height: 6px;
}

.mmf-progress__segment {
    flex: 1;
    background: var(--mmf-border);
    border-radius: 3px;
    transition: background 0.4s ease-in-out;
    overflow: hidden;
    position: relative;
}

.mmf-progress__segment--active {
    background: #0b91df !important;
}

.mmf-progress__segment--active::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: mmf-shimmer 2s ease-in-out infinite;
}

@keyframes mmf-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ==========================================================================
   Steps
   ========================================================================== */

.mmf-step {
    display: none;
    animation: mmf-fadeIn 0.4s ease;
}

.mmf-step--active {
    display: block;
}

@keyframes mmf-fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes mmf-fadeOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-20px);
    }
}

.mmf-step--slide-out {
    animation: mmf-fadeOut 0.25s ease forwards;
}

.mmf-step--slide-in-reverse {
    animation: mmf-slideInReverse 0.4s ease;
}

@keyframes mmf-slideInReverse {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mmf-step__heading {
    font-family: 'Rubik', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--mmf-navy);
    line-height: 1.3;
    margin-bottom: 8px;
}

.mmf-step__subtitle {
    font-size: 15px;
    color: var(--mmf-text-gray);
    line-height: 1.5;
    margin-bottom: 28px;
}

/* ==========================================================================
   Path Cards (Step 1)
   ========================================================================== */

#mmf-funnel .mmf-cards--two {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
    max-width: 100%;
}

/* Side-by-side only on wide screens where funnel has enough room */
@media (min-width: 680px) {
    #mmf-funnel .mmf-cards--two {
        grid-template-columns: 1fr 1fr;
    }
}

#mmf-funnel .mmf-card--path {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px 20px !important;
    background: #ffffff !important;
    border: 2px solid #e2e8f0 !important;
    border-style: solid !important;
    border-radius: 10px !important;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    color: #22293b !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

#mmf-funnel .mmf-card--path:hover {
    border-color: #0b91df !important;
    background: #e8f4fd !important;
    box-shadow: 0 4px 16px rgba(11, 145, 223, 0.12) !important;
    transform: translateY(-2px);
}

#mmf-funnel .mmf-card--path.mmf-card--selected {
    border-color: #0b91df !important;
    background: #e8f4fd !important;
    box-shadow: 0 4px 16px rgba(11, 145, 223, 0.18) !important;
}

.mmf-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #e8f4fd !important;
    color: #0b91df !important;
    transition: all var(--mmf-transition);
}

.mmf-card--path:hover .mmf-card__icon,
.mmf-card--path.mmf-card--selected .mmf-card__icon {
    background: #0b91df !important;
    color: #ffffff !important;
}

#mmf-funnel .mmf-card__title {
    font-family: 'Rubik', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #2f3b54;
    white-space: normal !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
}

#mmf-funnel .mmf-card__subtitle {
    font-size: 13px;
    color: #666666;
    line-height: 1.4;
    width: 100%;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal !important;
    text-overflow: unset !important;
}

/* ==========================================================================
   Option Tiles (Steps 2-4)
   ========================================================================== */

.mmf-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#mmf-funnel .mmf-option {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 60px;
    padding: 14px 20px !important;
    background: #ffffff !important;
    border: 2px solid #e2e8f0 !important;
    border-style: solid !important;
    border-radius: 10px !important;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    color: #22293b !important;
    text-align: left;
    -webkit-appearance: none !important;
    appearance: none !important;
}

#mmf-funnel .mmf-option:hover {
    border-color: #0b91df !important;
    background: #e8f4fd !important;
    box-shadow: 0 2px 8px rgba(11, 145, 223, 0.15) !important;
}

#mmf-funnel .mmf-option--selected {
    border-color: #0b91df !important;
    background: #0b91df !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(11, 145, 223, 0.25) !important;
}

#mmf-funnel .mmf-option--selected:hover {
    background: #0878b8 !important;
    border-color: #0878b8 !important;
    color: #ffffff !important;
}

.mmf-option__icon {
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
}

.mmf-option__label {
    font-weight: 500;
}

/* ==========================================================================
   Contact Form (Step 5)
   ========================================================================== */

.mmf-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mmf-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.mmf-form__field--full {
    grid-column: 1 / -1;
}

.mmf-form__label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--mmf-text);
    margin-bottom: 6px;
    letter-spacing: 0.01em;
}

.mmf-form__input,
.mmf-form__textarea {
    width: 100%;
    height: 48px;
    padding: 12px 16px;
    border: 2px solid var(--mmf-border);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--mmf-text);
    background: var(--mmf-white);
    transition: all var(--mmf-transition);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.mmf-form__textarea {
    height: auto;
    min-height: 80px;
    resize: vertical;
}

.mmf-form__input::placeholder,
.mmf-form__textarea::placeholder {
    color: var(--mmf-text-light);
}

.mmf-form__input:focus,
.mmf-form__textarea:focus {
    border-color: #0b91df !important;
    box-shadow: 0 0 0 3px rgba(11, 145, 223, 0.12) !important;
}

.mmf-form__input--error,
.mmf-form__textarea--error {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.mmf-form__error {
    display: block;
    font-size: 12px;
    color: #e53e3e;
    margin-top: 4px;
    min-height: 0;
    transition: all 0.2s ease;
}

/* Checkbox */
.mmf-form__checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--mmf-text-gray);
    cursor: pointer;
    line-height: 1.5;
    position: relative;
    padding-left: 32px;
}

.mmf-form__checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.mmf-form__checkmark {
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    border: 2px solid var(--mmf-border);
    border-radius: 4px;
    transition: all var(--mmf-transition);
    flex-shrink: 0;
}

.mmf-form__checkbox:checked + .mmf-form__checkmark {
    background: #0b91df !important;
    border-color: #0b91df !important;
}

.mmf-form__checkbox:checked + .mmf-form__checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.mmf-form__checkbox-label a {
    color: #0b91df !important;
    text-decoration: underline;
}

/* Shake animation for validation errors */
@keyframes mmf-shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
    20%, 40%, 60%, 80% { transform: translateX(4px); }
}

.mmf-shake {
    animation: mmf-shake 0.5s ease;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.mmf-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--mmf-border);
}

.mmf-nav--hidden {
    display: none;
}

.mmf-nav__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px !important;
    background: transparent !important;
    border: none !important;
    border-style: none !important;
    color: #666666 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px !important;
}

.mmf-nav__back:hover {
    color: #22293b !important;
    background: #f5f8fc !important;
}

#mmf-funnel .mmf-nav__next {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 28px !important;
    background: #0b91df !important;
    color: #ffffff !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer;
    border-radius: 8px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: auto;
    text-decoration: none !important;
}

#mmf-funnel .mmf-nav__next:hover {
    background: #0878b8 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(11, 145, 223, 0.3) !important;
    text-decoration: none !important;
}

#mmf-funnel .mmf-nav__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px !important;
    background: #2dbf93 !important;
    color: #ffffff !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer;
    border-radius: 10px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: auto;
    min-width: 260px;
    text-align: center;
    text-decoration: none !important;
}

#mmf-funnel .mmf-nav__submit:hover {
    background: #24a67e !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(45, 191, 147, 0.35) !important;
    text-decoration: none !important;
}

.mmf-nav__submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Spinner */
.mmf-spinner {
    width: 20px;
    height: 20px;
    animation: mmf-spin 0.8s linear infinite;
}

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

/* ==========================================================================
   Success State
   ========================================================================== */

.mmf-success {
    text-align: center;
    padding: 20px 0 10px;
}

.mmf-success__icon {
    margin-bottom: 24px;
}

.mmf-success__checkmark {
    width: 80px;
    height: 80px;
}

.mmf-success__circle {
    stroke: var(--mmf-green);
    stroke-width: 2;
    stroke-dasharray: 157;
    stroke-dashoffset: 157;
    animation: mmf-circle 0.6s ease-in-out forwards;
}

.mmf-success__check {
    stroke: var(--mmf-green);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    animation: mmf-check 0.4s 0.4s ease-in-out forwards;
}

@keyframes mmf-circle {
    to { stroke-dashoffset: 0; }
}

@keyframes mmf-check {
    to { stroke-dashoffset: 0; }
}

.mmf-success__heading {
    font-family: 'Rubik', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--mmf-navy);
    margin-bottom: 10px;
}

.mmf-success__message {
    font-size: 16px;
    color: var(--mmf-text-gray);
    line-height: 1.6;
}

/* Confetti */
.mmf-step--success::before,
.mmf-step--success::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 2px;
}

.mmf-step--success::before {
    background: var(--mmf-primary);
    top: 20px;
    left: 15%;
    animation: mmf-confetti-1 1.5s ease-out forwards;
}

.mmf-step--success::after {
    background: var(--mmf-green);
    top: 30px;
    right: 15%;
    animation: mmf-confetti-2 1.5s ease-out 0.2s forwards;
}

@keyframes mmf-confetti-1 {
    0% { opacity: 1; transform: translateY(0) rotate(0); }
    100% { opacity: 0; transform: translateY(-60px) rotate(200deg) translateX(-30px); }
}

@keyframes mmf-confetti-2 {
    0% { opacity: 1; transform: translateY(0) rotate(0); }
    100% { opacity: 0; transform: translateY(-80px) rotate(-150deg) translateX(20px); }
}

/* ==========================================================================
   Trust Elements
   ========================================================================== */

.mmf-trust {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--mmf-border);
    flex-wrap: wrap;
}

.mmf-trust__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--mmf-text-gray);
    font-weight: 500;
}

.mmf-trust__item svg {
    color: var(--mmf-green);
    flex-shrink: 0;
}

.mmf-social-proof {
    text-align: center;
    font-size: 12px;
    color: var(--mmf-text-light);
    margin-top: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 680px) {
    .mmf-funnel {
        margin: 16px;
        padding: 28px 22px;
        border-radius: 12px;
    }

    .mmf-cards--two {
        grid-template-columns: 1fr;
    }

    .mmf-card--path {
        padding: 24px 16px;
    }

    .mmf-step__heading {
        font-size: 20px;
    }

    .mmf-form__row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .mmf-nav__submit {
        min-width: auto;
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
    }

    .mmf-nav__next {
        padding: 12px 20px;
    }

    .mmf-nav {
        flex-wrap: wrap;
        gap: 12px;
    }

    .mmf-trust {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .mmf-option {
        padding: 12px 16px;
        min-height: 52px;
    }
}

@media (max-width: 400px) {
    .mmf-funnel {
        margin: 8px;
        padding: 20px 16px;
    }

    .mmf-step__heading {
        font-size: 18px;
    }

    .mmf-step__subtitle {
        font-size: 14px;
    }
}

/* ==========================================================================
   Feature A: PLZ Autocomplete Dropdown
   ========================================================================== */

.mmf-plz-autocomplete {
    position: relative;
    width: 100%;
}

.mmf-plz-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 2px solid #0b91df;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.mmf-plz-item {
    padding: 10px 16px;
    font-size: 14px;
    color: #22293b;
    cursor: pointer;
    transition: background 0.15s ease;
    font-family: 'Inter', sans-serif;
    border-bottom: 1px solid #f0f0f0;
}

.mmf-plz-item:last-child {
    border-bottom: none;
}

.mmf-plz-item:hover,
.mmf-plz-item.mmf-plz-item--active {
    background: #e8f4fd;
    color: #0b91df;
}

/* ==========================================================================
   Feature C: Micro-Animations
   ========================================================================== */

/* Card hover lift */
#mmf-funnel .mmf-card--path {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

#mmf-funnel .mmf-card--path:hover {
    transform: translateY(-3px);
}

#mmf-funnel .mmf-card--path:active {
    transform: translateY(0) scale(0.98);
}

/* Option tile smooth transition */
#mmf-funnel .mmf-option {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Checkmark pop animation on selection */
@keyframes mmf-pop {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

.mmf-card--path.mmf-card--selected .mmf-card__icon {
    animation: mmf-pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Progress segment fill animation */
.mmf-progress__segment {
    transition: background 0.4s ease-in-out;
}

/* Button pulse on CTA */
@keyframes mmf-pulse-shadow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(45, 191, 147, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(45, 191, 147, 0); }
}

#mmf-funnel .mmf-nav__submit {
    animation: mmf-pulse-shadow 2s ease-in-out infinite;
}

#mmf-funnel .mmf-nav__submit:hover {
    animation: none;
}

/* Smooth step content entrance */
.mmf-step--active .mmf-options {
    animation: mmf-staggerIn 0.4s ease both;
}

@keyframes mmf-staggerIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Feature D: Exit-Intent Popup
   ========================================================================== */

.mmf-exit-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.mmf-exit-overlay--visible {
    opacity: 1;
    visibility: visible;
}

.mmf-exit-popup {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 32px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mmf-exit-overlay--visible .mmf-exit-popup {
    transform: scale(1) translateY(0);
}

.mmf-exit-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none !important;
    border: none !important;
    font-size: 28px;
    color: #999 !important;
    cursor: pointer;
    line-height: 1;
    padding: 4px !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
}

.mmf-exit-close:hover {
    color: #333 !important;
}

.mmf-exit-icon {
    font-size: 48px;
    margin-bottom: 16px;
    line-height: 1;
}

.mmf-exit-title {
    font-family: 'Rubik', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #2f3b54;
    margin-bottom: 10px;
}

.mmf-exit-text {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 24px;
}

#mmf-funnel .mmf-exit-btn,
.mmf-exit-overlay .mmf-exit-btn {
    display: inline-block;
    padding: 14px 36px !important;
    background: #0b91df !important;
    color: #ffffff !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: 10px !important;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
    width: auto;
}

#mmf-funnel .mmf-exit-btn:hover,
.mmf-exit-overlay .mmf-exit-btn:hover {
    background: #0878b8 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* ==========================================================================
   Feature E: Social Proof Toast
   ========================================================================== */

.mmf-toast {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background: #ffffff;
    border-radius: 12px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    z-index: 99998;
    max-width: 380px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #22293b;
    opacity: 0;
    transform: translateY(20px) translateX(-20px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-left: 4px solid #2dbf93;
}

.mmf-toast--visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

.mmf-toast__icon {
    font-size: 18px;
    flex-shrink: 0;
}

.mmf-toast__text {
    line-height: 1.4;
}

.mmf-toast__text strong {
    font-weight: 600;
    color: #2f3b54;
}

@media (max-width: 480px) {
    .mmf-toast {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
    }

    .mmf-exit-popup {
        padding: 32px 24px;
    }
}
