/* Floating Button Styles */
@keyframes pulse-animation {
    0% { 
        box-shadow: 0 0 0 0 rgba(168, 255, 0, 0.7); 
    }
    70% { 
        box-shadow: 0 0 0 15px rgba(168, 255, 0, 0); 
    }
    100% { 
        box-shadow: 0 0 0 0 rgba(168, 255, 0, 0); 
    }
}

.floating-cta {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #a8ff00;
    color: #1a1a1a;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    text-decoration: none;
    animation: pulse-animation 2s infinite;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.5);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.floating-cta i {
    margin-right: 0;
}

.floating-cta.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.floating-cta:hover {
    transform: scale(1.1);
    animation-play-state: paused;
    color: #1a1a1a;
    text-decoration: none;
}

.floating-cta:active {
    transform: scale(0.95);
}

.cta-tooltip {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #2d2d2d;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.cta-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: #2d2d2d;
}

.floating-cta:hover .cta-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .floating-cta {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 20px;
    }
    
    .cta-tooltip {
        display: none;
    }
}

@media (max-width: 480px) {
    .floating-cta {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
}

/* Tablet Responsive */
@media (min-width: 769px) and (max-width: 1024px) {
    .floating-cta {
        bottom: 22px;
        right: 22px;
        width: 58px;
        height: 58px;
        font-size: 22px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .floating-cta {
        animation: none;
    }
    
    .floating-cta {
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .floating-cta {
        background-color: #000000;
        color: #ffffff;
        border: 2px solid #ffffff;
    }
    
    .cta-tooltip {
        background-color: #000000;
        color: #ffffff;
        border: 1px solid #ffffff;
    }
    
    .cta-tooltip::after {
        border-left-color: #000000;
    }
}


