/* Try Out Floating Action Button */
.try-out-fab {
    position: fixed;
    bottom: var(--try-out-spacing-xl);
    right: var(--try-out-spacing-xl);
    min-width: auto;
    height: 3rem;
    border-radius: 1.5rem;
    background-color: var(--try-out-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px var(--try-out-shadow-strong);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: var(--try-out-z-fab);
    border: none;
    font-size: var(--try-out-font-base);
    padding: 0 1rem;
    white-space: nowrap;
    overflow: hidden;
}

.fab-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.try-out-fab:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px var(--try-out-shadow-strong);
}

.try-out-fab:active {
    transform: scale(0.95);
}

.try-out-fab:focus {
    outline: 2px solid var(--try-out-primary);
    outline-offset: 2px;
}

.try-out-fab:focus:not(:focus-visible) {
    outline: none;
}

.try-out-fab .fab-icon {
    font-size: 1.3rem;
    display: inline-block;
    animation: rocket-float 2s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.try-out-fab:hover .fab-icon {
    animation: rocket-launch 0.6s ease-in-out;
}

.try-out-fab .fab-text {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

@keyframes rocket-float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-4px) rotate(-5deg);
    }
}

@keyframes rocket-launch {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    50% {
        transform: translateY(-8px) rotate(-15deg) scale(1.2);
    }
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .try-out-fab .fab-icon {
        animation: none;
    }
    
    .try-out-fab:hover .fab-icon {
        animation: none;
    }
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    .try-out-fab {
        bottom: var(--try-out-spacing-lg);
        right: var(--try-out-spacing-lg);
        height: 2.75rem;
        padding: 0 0.875rem;
    }
    
    .try-out-fab .fab-icon {
        font-size: 1.2rem;
    }
    
    .try-out-fab .fab-text {
        font-size: 0.9rem;
    }
}
