/* ═══════════════════════════════════════════════════════════
   business-functions.css — Beam-inspired Carousel Experience (Dark Theme)
   ═══════════════════════════════════════════════════════════ */

.biz-sec {
    width: 100%;
    background: transparent !important;
    padding: 60px 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.biz-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ── HEADER ── */
.biz-header {
    text-align: center;
    margin-bottom: 28px;
}

.biz-eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--color-text-cream-muted);
    margin-bottom: 12px;
}

.biz-sec h2.biz-title,
.biz-title {
    font-family: var(--font-primary);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 300;
    color: var(--ink) !important;
    letter-spacing: -0.03em;
}

/* ── CAROUSEL NAV ── */
.biz-carousel-nav {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.biz-carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 32px;
    position: relative;
    width: 100%;
}

.biz-carousel-wrapper .biz-control-btn {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px !important;
    color: var(--ink);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.biz-carousel-wrapper .biz-control-btn:hover {
    background: var(--pink);
    color: white !important;
    border-color: var(--pink);
}

.biz-nav-track {
    display: flex;
    background: rgba(255, 255, 255, 0.04) !important;
    padding: 6px;
    border-radius: 50px !important;
    gap: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.biz-nav-item {
    position: relative;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-soft);
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 50px !important;
    cursor: pointer;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.biz-nav-item.active {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 4px 15px rgba(255, 61, 138, 0.15) !important;
    color: #ffffff !important;
}

.biz-nav-item.active .nav-text-base {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.nav-text-base {
    position: relative;
    padding: 12px 32px;
    z-index: 1;
}

.biz-nav-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--pink) !important;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.nav-text-active {
    display: none !important;
}

.biz-stage {
    position: relative;
    flex: 1;
    min-width: 0;
    height: 480px;
    border-radius: 16px !important;
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
}

.biz-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform: translateX(40px);
}

.biz-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Slide Background */
.slide-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 6s ease;
}

.biz-slide.active .slide-bg img {
    transform: scale(1.08);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(23, 11, 42, 0.4) 50%, #17112a 100%),
        linear-gradient(to right, rgba(255, 77, 148, 0.3) 0%, rgba(255, 179, 107, 0.15) 50%, transparent 100%);
    pointer-events: none;
}

/* Slide Content */
.slide-content {
    position: relative;
    z-index: 10;
    height: 100%;
    padding: 40px;
    padding-bottom: 48px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    max-width: 600px;
}

.slide-title {
    font-family: var(--font-primary);
    font-size: 32px;
    font-weight: 300;
    color: var(--ink);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.slide-desc {
    font-family: var(--font-primary);
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.6;
    margin-bottom: 12px;
    max-width: 500px;
}

/* Feature Pills */
.slide-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    max-width: 500px;
}

.s-pill {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 18px;
    border-radius: 50px !important;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    white-space: nowrap;
}

/* CTA */
.slide-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--grad-cta) !important;
    padding: 12px 24px;
    border-radius: 50px !important;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 700;
    color: white !important;
    text-decoration: none;
    width: fit-content;
    transition: all 0.3s ease;
    border: none !important;
}

.slide-cta:hover {
    background: linear-gradient(135deg, #ff9aaa 0%, #ffe07a 100%) !important;
    color: #050510 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 61, 138, 0.35);
}

.cta-arrow {
    transition: transform 0.3s ease;
}

.slide-cta:hover .cta-arrow {
    transform: translateX(4px);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .biz-stage {
        height: 500px;
    }

    .slide-content {
        padding: 50px 40px;
    }

    .slide-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .biz-carousel-nav {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .biz-carousel-nav::-webkit-scrollbar {
        display: none;
    }

    .biz-nav-track {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }
    .biz-nav-item {
        width: 100%;
        justify-content: flex-start;
        text-align: left;
    }

    .biz-stage {
        height: auto;
        min-height: 480px;
        border-radius: 16px;
    }

    .slide-content {
        padding: 40px 20px;
        text-align: left;
        align-items: flex-start;
    }

    .slide-overlay {
        background: linear-gradient(135deg, rgba(23, 11, 42, 0.85) 0%, #17112a 100%);
    }

    .slide-title {
        font-size: clamp(22px, 6vw, 28px);
    }

    .slide-desc {
        font-size: 14px;
    }

    .slide-pills {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .s-pill {
        justify-content: center;
    }

    .slide-cta {
        width: 100%;
        justify-content: center;
    }
}

a.s-pill {
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

a.s-pill:hover {
    background: rgba(255, 61, 138, 0.08);
    border-color: rgba(255, 61, 138, 0.35);
    color: var(--pink);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 61, 138, 0.15);
}
