/* ═══════════════════════════════════════════════════════════
   Sticky CTA — Partnership request floating button
   ═══════════════════════════════════════════════════════════ */

.sticky-partnership {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: var(--ijs-primary);
    color: #fff;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    text-decoration: none;
    box-shadow: 0 4px 24px rgba(208, 17, 100, 0.4);
    transition: all 0.3s ease;
    animation: stickyPulse 3s ease-in-out infinite;
}

.sticky-partnership i {
    font-size: 20px;
}

.sticky-partnership:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 32px rgba(208, 17, 100, 0.55);
    animation: none;
    color: #fff;
    text-decoration: none;
}

.sticky-partnership:active {
    transform: translateY(-1px) scale(1.02);
}

/* Footer avoidance — JS adds this class when nearing footer */
.sticky-partnership.sticky--near-footer {
    position: absolute;
    bottom: auto;
}

@keyframes stickyPulse {
    0%, 100% { box-shadow: 0 4px 24px rgba(208, 17, 100, 0.4); }
    50%      { box-shadow: 0 4px 36px rgba(208, 17, 100, 0.6); }
}

/* Dark mode */
[data-theme="dark"] .sticky-partnership {
    box-shadow: 0 4px 24px rgba(208, 17, 100, 0.3);
}

/* ═══════════════════════════════════════════════════════════
   Micro Conversion Banner — slide-up on scroll 60%
   ═══════════════════════════════════════════════════════════ */

.conversion-banner {
    position: fixed;
    bottom: -120px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 950;
    background: var(--ijs-bg, #fff);
    border: 1px solid var(--ijs-border-light);
    border-radius: var(--radius-xl);
    box-shadow: 0 12px 48px rgba(0,0,0,0.15);
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 620px;
    width: calc(100% - 32px);
    transition: bottom 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
}

.conversion-banner.conversion-banner--visible {
    bottom: 90px;
    opacity: 1;
}

.conversion-banner-text {
    flex: 1;
    min-width: 0;
}

.conversion-banner-title {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: var(--weight-bold);
    color: var(--ijs-text);
    margin: 0 0 4px;
    line-height: 1.3;
}

.conversion-banner-sub {
    font-size: var(--text-sm);
    color: var(--ijs-text-muted);
    margin: 0;
    line-height: 1.4;
}

.conversion-banner-cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    min-height: 44px;
    background: var(--ijs-primary);
    color: #fff;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.conversion-banner-cta:hover {
    background: var(--ijs-primary-dark, #b00e55);
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}

.conversion-banner-close {
    position: absolute;
    top: 4px;
    right: 4px;
    background: none;
    border: none;
    color: var(--ijs-text-muted);
    font-size: 18px;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.conversion-banner-close:hover {
    opacity: 1;
}

/* Dark mode */
[data-theme="dark"] .conversion-banner {
    background: var(--ijs-bg-card, #1e1e1e);
    border-color: rgba(255,255,255,0.08);
    box-shadow: 0 12px 48px rgba(0,0,0,0.4);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .sticky-partnership {
        right: 16px;
        bottom: 16px;
        padding: 12px 18px;
        min-height: 44px;
        font-size: var(--text-xs);
        gap: 6px;
    }
    .sticky-partnership i {
        font-size: 18px;
    }

    .conversion-banner {
        flex-direction: column;
        gap: 12px;
        padding: 16px 20px;
        text-align: center;
    }
    .conversion-banner.conversion-banner--visible {
        bottom: 70px;
    }
    .conversion-banner-title {
        font-size: var(--text-sm);
    }
    .conversion-banner-sub {
        font-size: var(--text-xs);
    }
    .conversion-banner-close {
        top: 6px;
        right: 8px;
    }
}

@media (max-width: 480px) {
    .sticky-partnership span {
        display: none;
    }
    .sticky-partnership {
        padding: 12px;
        border-radius: 50%;
    }
    .sticky-partnership i {
        font-size: 22px;
    }
}
