/* Floating CTA Button - Premium Styles */

.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 200;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 14px 24px;
    background: var(--gradient-accent);
    color: var(--bg-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;

    border-radius: var(--radius-full);
    box-shadow:
        0 4px 20px rgba(168, 85, 247, 0.4),
        0 0 40px rgba(168, 85, 247, 0.15);

    /* Initially hidden */
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8) translateY(20px);
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.floating-cta.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

.floating-cta:hover {
    filter: brightness(1.1);
    box-shadow:
        0 6px 30px rgba(168, 85, 247, 0.5),
        0 0 60px rgba(168, 85, 247, 0.25);
}

.floating-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-cta-icon svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.floating-cta:hover .floating-cta-icon svg {
    transform: scale(1.1);
}

.floating-cta-text {
    transition: transform 0.3s ease;
}

.floating-cta:hover .floating-cta-text {
    transform: translateX(2px);
}

/* Pulse ring animation */
.floating-cta::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    background: var(--gradient-accent);
    opacity: 0;
    z-index: -1;
    animation: ctaPulse 2s infinite;
}

@keyframes ctaPulse {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0;
        transform: scale(1.3);
    }

    100% {
        opacity: 0;
        transform: scale(1.3);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .floating-cta {
        bottom: 20px;
        right: 20px;
        padding: 12px 18px;
        font-size: 0.875rem;
    }

    .floating-cta-text {
        display: none;
    }

    .floating-cta-icon svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .floating-cta {
        bottom: 16px;
        right: 16px;
        padding: 14px;
        border-radius: 50%;
        width: 56px;
        height: 56px;
        justify-content: center;
    }

    .floating-cta-icon svg {
        width: 22px;
        height: 22px;
    }
}