/* Fixed Book Free Trial Button - Bottom Left Design */
.fixed-trial-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9998;
    background: linear-gradient(135deg, #f39c12 0%, #e74c3c 100%);
    color: white;
    padding: 0px 15px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(243, 156, 18, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    white-space: nowrap;
}

.fixed-trial-button:hover {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    box-shadow: 0 6px 30px rgba(231, 76, 60, 0.5);
    transform: translateY(-3px);
}

.fixed-trial-button:active {
    transform: translateY(-1px);
}

.fixed-trial-button .icon {
    font-size: 22px;
    display: inline-block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .fixed-trial-button {
        padding: 14px 24px;
        font-size: 16px;
        bottom: 15px;
        left: 15px;
    }
    
    .fixed-trial-button .icon {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .fixed-trial-button {
        padding: 0px 15px;
        font-size: 14px;
        bottom: 10px;
        left: 10px;
    }
    
    .fixed-trial-button .icon {
        font-size: 18px;
    }
}

/* Ensure it doesn't overlap with scroll-to-top button */
.scroll-to-top {
    bottom: 90px !important;
    right: 20px !important;
}

/* Animation on page load */
@keyframes slideInFromLeft {
    0% {
        left: -200px;
        opacity: 0;
    }
    100% {
        left: 20px;
        opacity: 1;
    }
}

.fixed-trial-button {
    animation: slideInFromLeft 0.6s ease-out 0.5s both;
}

/* Pulse animation to draw attention */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(243, 156, 18, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(243, 156, 18, 0.8), 0 0 0 8px rgba(243, 156, 18, 0.1);
    }
}

.fixed-trial-button {
    animation: slideInFromLeft 0.6s ease-out 0.5s both, pulse 2s ease-in-out 2s infinite;
}

/* Stop pulse on hover */
.fixed-trial-button:hover {
    animation: none;
}

/* Accessibility - Focus state */
.fixed-trial-button:focus {
    outline: 3px solid #ffd700;
    outline-offset: 3px;
}

/* Print - hide the button when printing */
@media print {
    .fixed-trial-button {
        display: none !important;
    }
}

/* Smooth entrance for better UX */
@media (prefers-reduced-motion: reduce) {
    .fixed-trial-button {
        animation: none;
    }
}
