/* Global AI Enablement promo banner — load on every marketing/product page */

:root {
    --zh-promo-banner-h: 44px;
    --brand-cyan: #2ad1ed;
    --brand-dark: #090d16;
    --radius-pill: 100px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 768px) {
    :root {
        --zh-promo-banner-h: 88px;
    }
}

.global-promo-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    background: linear-gradient(135deg, #090d16 0%, #311162 35%, #7a15a8 70%, #090d16 100%);
    background-size: 300% 300%;
    animation: zh-promo-gradientShift 8s ease infinite;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(107, 56, 251, 0.25);
    color: #ffffff;
    text-align: center;
    padding: 10px 20px;
    font-size: 13.5px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
}

@keyframes zh-promo-gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.global-promo-banner .promo-badge {
    background: var(--brand-cyan, #2ad1ed);
    color: var(--brand-dark, #090d16);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: var(--radius-pill, 100px);
    box-shadow: 0 0 10px rgba(42, 209, 237, 0.6);
    animation: zh-promo-pulseGlow 2s infinite;
    display: inline-flex;
    align-items: center;
}

@keyframes zh-promo-pulseGlow {
    0%, 100% { transform: scale(1); box-shadow: 0 0 8px rgba(42, 209, 237, 0.6); }
    50% { transform: scale(1.05); box-shadow: 0 0 16px rgba(42, 209, 237, 0.9); }
}

.global-promo-banner span.promo-text {
    opacity: 0.95;
    letter-spacing: 0.01em;
    color: #f8fafc;
}

.global-promo-banner a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 4px 14px;
    border-radius: var(--radius-pill, 100px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition-smooth, all 0.3s ease);
}

.global-promo-banner a:hover {
    background: #ffffff;
    color: var(--brand-dark, #090d16);
    border-color: #ffffff;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

.global-promo-banner a svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.global-promo-banner a:hover svg {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .global-promo-banner {
        flex-direction: column;
        gap: 8px;
        padding: 10px 16px;
        text-align: center;
        line-height: 1.4;
    }
}

/* Floating marketing header (site-chrome / home) sits below the banner */
header {
    top: calc(24px + var(--zh-promo-banner-h)) !important;
}

/* Sticky product headers (SiteOS / MindfulOS / SupportOS) sit flush under the banner */
header:has(.header-left),
header:has(.header-right) {
    top: var(--zh-promo-banner-h) !important;
}

@media (max-width: 768px) {
    header,
    header:has(.header-left),
    header:has(.header-right) {
        top: var(--zh-promo-banner-h) !important;
    }
}
