/* --- SOCIAL PROOF TOAST --- */
.cro-toast {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    padding: 12px 15px;
    gap: 12px;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
    max-width: 320px;
    border-left: 4px solid var(--brand);
}

.cro-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.cro-toast-icon {
    width: 40px;
    height: 40px;
    background: #eff6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.cro-toast-text {
    font-size: 0.85rem;
    line-height: 1.3;
    color: var(--dark);
}

.cro-toast-time {
    font-size: 0.7rem;
    color: var(--label);
    margin-top: 4px;
    display: block;
}

/* --- EXIT INTENT POPUP --- */
.cro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cro-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cro-modal {
    background: #fff;
    width: 90%;
    max-width: 500px;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: all 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.cro-overlay.show .cro-modal {
    transform: scale(1);
}

.cro-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f1f5f9;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--label);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.cro-modal-close:hover {
    background: #e2e8f0;
    color: var(--dark);
}

.cro-modal-icon {
    font-size: 3.5rem;
    color: #f97316;
    margin-bottom: 20px;
    display: inline-block;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

.cro-modal h2 {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.2;
}

.cro-modal p {
    color: var(--label);
    font-size: 1rem;
    margin-bottom: 24px;
    line-height: 1.5;
}

.cro-modal-input {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    border: 2px solid var(--line);
    border-radius: 12px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 700;
    outline: none;
    transition: all 0.3s;
}

.cro-modal-input:focus {
    border-color: var(--brand);
}

.cro-modal-btn {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    background: var(--brand);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cro-modal-btn:hover {
    transform: translateY(-2px);
    background: var(--brand-dark);
}

@media (max-width: 768px) {
    .cro-toast {
        bottom: 80px;
        /* Above float CTA */
        left: 10px;
        right: 10px;
        max-width: none;
    }
}