/* Mobile Download Banner - Bottom Sticky Bar */
/* High-conversion CTA for mobile users */

.mobile-download-banner {
    display: none; /* Hidden by default, shown only on mobile */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 16px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    animation: slideUpBanner 0.4s ease-out;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@keyframes slideUpBanner {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.mobile-download-banner__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    gap: 12px;
}

.mobile-download-banner__text {
    flex: 1;
    min-width: 0; /* Allow text truncation */
}

.mobile-download-banner__title {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 2px 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-download-banner__subtitle {
    font-size: 11px;
    margin: 0;
    opacity: 0.9;
    line-height: 1.2;
}

.mobile-download-banner__cta {
    background: white;
    color: #667eea;
    border: none;
    padding: 10px 20px;
    border-radius: 24px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-download-banner__cta:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #667eea;
}

.mobile-download-banner__cta i {
    font-size: 16px;
}

.mobile-download-banner__close {
    background: transparent;
    border: none;
    color: white;
    font-size: 24px;
    line-height: 1;
    padding: 4px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s ease;
    margin-left: 8px;
    flex-shrink: 0;
}

.mobile-download-banner__close:hover {
    opacity: 1;
}

/* Show only on mobile devices */
@media (max-width: 768px) {
    .mobile-download-banner {
        display: block;
    }
}

/* Hidden state when user closes banner */
.mobile-download-banner.hidden {
    display: none !important;
}

/* Adjust body padding to prevent content being hidden behind banner */
body.mobile-banner-visible {
    padding-bottom: 70px;
}

/* Variant for AgendaAI (different color scheme) */
.mobile-download-banner.agenda-theme {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.mobile-download-banner.agenda-theme .mobile-download-banner__cta {
    color: #f5576c;
}
