/* BYO CE Library Visibility Enhancements */

/* Navigation link styling */
.byo-nav-item {
    background: linear-gradient(135deg, #7b1fa2, #9c27b0) !important;
    border-radius: 4px !important;
    margin-left: 4px !important;
}
.byo-nav-item .byo-nav-link {
    color: #fff !important;
    font-weight: 600 !important;
    white-space: nowrap;
    padding: 8px 14px !important;
    font-size: 13px !important;
}
.byo-nav-item .byo-nav-link:hover {
    background: linear-gradient(135deg, #9c27b0, #ba68c8) !important;
    color: #fff !important;
}
.byo-badge {
    color: #ffd600;
    margin-right: 4px;
    font-size: 14px;
}

/* Homepage BYO Hero Banner */
.byo-hero-banner {
    background: linear-gradient(135deg, #4a148c 0%, #7b1fa2 40%, #9c27b0 100%);
    color: #fff;
    padding: 40px 20px;
    margin-bottom: 30px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}
.byo-hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}
.byo-hero-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}
.byo-hero-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}
.byo-hero-banner h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 12px;
    color: #fff;
}
.byo-hero-banner .byo-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 24px;
    line-height: 1.5;
}
.byo-hero-tiers {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.byo-tier-chip {
    background: rgba(255,255,255,0.15);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.2);
}
.byo-tier-chip.featured {
    background: rgba(255,214,0,0.25);
    border-color: #ffd600;
    color: #ffd600;
}
.byo-hero-cta {
    display: inline-block;
    background: #ffd600;
    color: #4a148c !important;
    padding: 14px 36px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.byo-hero-cta:hover {
    background: #ffea00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    color: #4a148c !important;
    text-decoration: none;
}
.byo-hero-note {
    font-size: 13px;
    opacity: 0.7;
    margin-top: 16px;
}

/* Footer BYO link highlight */
.byo-footer-link {
    color: #ce93d8 !important;
    font-weight: 600;
}
.byo-footer-link:hover {
    color: #f3e5f5 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .byo-hero-banner {
        padding: 30px 16px;
    }
    .byo-hero-banner h2 {
        font-size: 24px;
    }
    .byo-hero-banner .byo-subtitle {
        font-size: 15px;
    }
    .byo-hero-tiers {
        gap: 8px;
    }
    .byo-tier-chip {
        font-size: 12px;
        padding: 6px 12px;
    }
    .byo-hero-cta {
        padding: 12px 28px;
        font-size: 16px;
    }
    .byo-nav-item {
        margin-left: 0 !important;
    }
}

/* Fix chat widget overlapping pricing tiers */
.pricing-tiers {
    position: relative;
    z-index: 10;
}

/* Make pricing tier cards clickable with visual feedback */
.pricing-tiers a {
    text-decoration: none !important;
    display: block;
}
.pricing-tiers a:hover > div {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Push Zoho SalesIQ chat widget to bottom-right, out of pricing tier area */
.zsiq_floatmain,
#zsiq_float {
    bottom: 20px !important;
    right: 20px !important;
    top: auto !important;
    left: auto !important;
    position: fixed !important;
    z-index: 999 !important;
}
.zsiq_cnt,
#titlediv {
    bottom: 20px !important;
    right: 90px !important;
    top: auto !important;
    left: auto !important;
    position: fixed !important;
}
