/* Sticky CTA Button */
.sticky-cta {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999;
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.sticky-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.sticky-cta-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #D97000 0%, #FF8C00 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 20px rgba(217, 112, 0, 0.4);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.sticky-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(217, 112, 0, 0.5);
    background: linear-gradient(135deg, #FF8C00 0%, #D97000 100%);
}

.sticky-cta-btn:active {
    transform: translateY(0);
}

.sticky-cta-icon {
    font-size: 1.2em;
    line-height: 1;
}

.sticky-cta-text {
    font-size: 1rem;
    line-height: 1;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .sticky-cta {
        bottom: 15px;
        left: 15px;
    }

    .sticky-cta-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .sticky-cta-icon {
        font-size: 1.1em;
    }

    .sticky-cta-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .sticky-cta {
        bottom: 10px;
        left: 10px;
        right: auto;
    }

    .sticky-cta-btn {
        justify-content: center;
        width: 100%;
        padding: 14px 20px;
    }
}

/* Hide when chat is open */
.chat-panel:not([style*="display: none"]) ~ .sticky-cta {
    opacity: 0;
    pointer-events: none;
}

/* Hide when form is visible */
@media (max-width: 768px) {
    .sticky-cta.hide-on-form {
        opacity: 0;
        pointer-events: none;
    }
}
