/* ========================================
   STICKY CTA BUTTON FOR MOBILE
   Fixed button at bottom of screen
   ======================================== */

.sticky-cta-mobile {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #66d9ff 0%, #00b8d4 100%);
    padding: 1rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sticky-cta-mobile.visible {
    transform: translateY(0);
}

.sticky-cta-mobile .cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.sticky-cta-mobile .cta-text {
    flex: 1;
    color: #0a1628;
}

.sticky-cta-mobile .cta-text strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.sticky-cta-mobile .cta-text span {
    font-size: 0.875rem;
    opacity: 0.9;
}

.sticky-cta-mobile .cta-button {
    flex-shrink: 0;
    padding: 0.75rem 1.5rem;
    background: #0a1628;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.sticky-cta-mobile .cta-button:hover {
    background: #162337;
    transform: scale(1.05);
}

/* Close button */
.sticky-cta-mobile .cta-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(10, 22, 40, 0.1);
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #0a1628;
    font-size: 1.25rem;
    line-height: 1;
    transition: background 0.3s ease;
}

.sticky-cta-mobile .cta-close:hover {
    background: rgba(10, 22, 40, 0.2);
}

/* Show only on mobile */
@media (max-width: 768px) {
    .sticky-cta-mobile {
        display: block;
    }
}

/* Hide when user is at waitlist section */
body.at-waitlist .sticky-cta-mobile {
    display: none;
}

/* Animation on scroll */
@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.sticky-cta-mobile.animate-in {
    animation: slideUp 0.3s ease forwards;
}

/* Spacing adjustment for page content */
@media (max-width: 768px) {
    body.has-sticky-cta {
        padding-bottom: 80px; /* Prevent content from being hidden */
    }
}
