/* 统一导航栏样式 - 用于关于我们、联系我们、服务条款、隐私协议、帮助中心 */

/* 导航栏容器 */
.nav-tab-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(60, 126, 229, 0.08);
    margin: 20px auto 30px;
    overflow: hidden;
    border: 1px solid rgba(60, 126, 229, 0.1);
}

/* 导航列表 */
.nav-tab {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 60px;
}

.nav-tab a {
    flex: 1;
    text-decoration: none;
    display: block;
    position: relative;
}

.nav-tab a:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 24px;
    background: linear-gradient(180deg, transparent, rgba(60, 126, 229, 0.2), transparent);
}

.nav-tab li {
    height: 60px;
    line-height: 60px;
    text-align: center;
    font-size: 15px;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.nav-tab li:hover {
    color: #3c7ee5;
    background: rgba(60, 126, 229, 0.06);
}

.nav-tab li.active {
    color: #3c7ee5;
    background: linear-gradient(135deg, rgba(60, 126, 229, 0.12) 0%, rgba(90, 156, 255, 0.08) 100%);
    font-weight: 600;
    position: relative;
}

.nav-tab li.active::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 3px;
    background: linear-gradient(90deg, #3c7ee5, #5a9cff);
    border-radius: 3px 3px 0 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-tab-container {
        margin: 15px auto 20px;
        border-radius: 8px;
    }
    
    .nav-tab {
        height: auto;
        flex-wrap: wrap;
    }
    
    .nav-tab a {
        flex: 0 0 33.333%;
    }
    
    .nav-tab a::after {
        display: none;
    }
    
    .nav-tab li {
        height: 50px;
        line-height: 50px;
        font-size: 14px;
        border-bottom: 2px solid transparent;
    }
    
    .nav-tab li.active::before {
        left: 15%;
        right: 15%;
        height: 2px;
    }
}

@media (max-width: 480px) {
    .nav-tab a {
        flex: 0 0 50%;
    }
    
    .nav-tab li {
        font-size: 13px;
        height: 46px;
        line-height: 46px;
    }
}
