/* 后台产品专区样式 */
.backend-products {
    padding: 80px 0;
    background: #f8fafc;
    position: relative;
}

.backend-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 标题样式 */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}


.section-description {
    margin-top: 0.8rem;
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

/* 导航标签样式 */
.feature-nav {
    position: relative;
    margin-bottom: 30px;
}

.nav-track {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.nav-track::-webkit-scrollbar {
    display: none;
}

.nav-list {
    display: flex; /* 改为标准的 Flex 布局 */
    justify-content: space-between; /* 均匀分布 */
    width: 100%;
    padding-bottom: 15px;
    white-space: nowrap;
}

.nav-item {
    list-style: none;
    padding: 0 25px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.nav-item span {
    display: inline-block;
    padding: 8px 0;
    color: #666;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.65, 0, 0.35, 1);
}

.nav-item.active span {
    color: var(--primary-color);
    transform: scale(1.1);
}

.nav-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(0, 102, 204, 0.1);
}

.indicator-line {
    position: absolute;
    height: 100%;
    background: var(--primary-color);
    width: calc(100% / 6);
    left: 0;
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

/* 轮播内容区 */
.feature-carousel {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.carousel-inner {
    position: relative;
    height: 500px;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateX(20px);
}

.carousel-item.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 1;
}

.media-container {
    height: 80%;
    position: relative;
    overflow: hidden;
}

.desktop-video {
    /*display: none;*/
    object-fit: contain;
    object-position: center;
}

.desktop-video,
.mobile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-img {
    display: none;
}

.feature-desc {
    padding: 20px;
    text-align: center;
    font-size: 1rem;
    color: #555;
    background: white;
    margin: 0;
}

/* 移动端适配 */
@media (max-width: 480px) {
    .backend-products {
        padding: 50px 0;
    }

    .section-description,.feature-desc{
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .nav-item {
        padding: 0 15px;
    }

    .carousel-inner {
        height: 400px;
    }

    .desktop-video {
        /*display: none;*/
    }

    .mobile-img {
        display: block;
    }

    .mobile-pagination {
        display: flex;
        justify-content: center;
        padding: 15px 0;
        background: white;
    }
}