/* ================================================
   BaMa Pro – Mobile Floating CTA Button
   ================================================ */

/* Mobil lebegő ajánlatkérő gomb */
.mobile-floating-cta {
    position: fixed !important;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999 !important;
    display: none;
    width: calc(100% - 32px);
    max-width: 380px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-floating-cta.visible {
    opacity: 1;
    pointer-events: auto;
}

.mobile-floating-cta__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 24px;
    background: var(--gradient-accent);
    background-size: 200% 200%;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: var(--fw-bold);
    text-decoration: none;
    text-align: center;
    border-radius: var(--radius-full);
    box-shadow: 0 8px 32px rgba(45, 122, 246, 0.4),
                0 4px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-floating-cta__button:active {
    transform: scale(0.96);
}

.mobile-floating-cta__icon {
    font-size: 1.25rem;
    animation: pulse 2s ease-in-out infinite;
}

/* Lebegő CTA elrejtve - helyette header CTA */
@media (max-width: 1024px) {
    .mobile-floating-cta {
        display: none !important;
    }
}

/* Pulzáló animáció az ikonhoz */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

/* Ha a felhasználó lejjebb görget, a gomb feljebb csúszik ha cookie banner látható */
body.cookie-consent-visible .mobile-floating-cta {
    bottom: 140px;
    transition: bottom 0.3s ease, opacity 0.3s ease;
}

/* Tablet és nagyobb mobil */
@media (max-width: 768px) {
    .mobile-floating-cta {
        max-width: calc(100% - 32px);
        bottom: 12px;
    }
    
    .mobile-floating-cta__button {
        padding: 14px 20px;
        font-size: 0.95rem;
    }
}

/* Kis mobil */
@media (max-width: 480px) {
    .mobile-floating-cta {
        bottom: 12px;
        width: calc(100% - 40px);
    }
    
    .mobile-floating-cta__button {
        padding: 13px 18px;
        font-size: 0.9rem;
    }
}
