:root {
    --primary-color: #4e54c8;
    --secondary-color: #8f94fb;
    --light-bg: #f8f9fa;
    --dark-bg: #e9ecef;
}

/* 固定导航容器 */
.tab-scroll-container {
    position: sticky;
    top: 0;
    z-index: 1020;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-top: 50px;
}

/* Tab导航样式 */
.scroll-tabs {
    background: linear-gradient(to right, #f8f9fa, white);
}

.scroll-tabs::-webkit-scrollbar {
    height: 6px;
}

.scroll-tabs::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.scroll-tabs::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.tab-item {
    display: inline-block;
    padding: 18px 30px;
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    border: none;
    background: none;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.tab-item:hover {
    color: var(--primary-color);
    background-color: rgba(78, 84, 200, 0.05);
}

.tab-item.active {
    color: var(--primary-color);
    font-weight: 600;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px 3px 0 0;
}

/* 内容区域 */
.content-block {
    min-height: 100vh;
    padding: 100px 20px 60px;
    margin-bottom: 0;
    scroll-margin-top: 80px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
opacity: 1;
transform: translateY(0);
    }
}

/* 不同板块的背景色 */
.content-block:nth-child(even) {
    background-color: var(--light-bg);
}

.content-block:nth-child(odd) {
    background-color: white;
}

/* 板块标题 */
.section-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(78, 84, 200, 0.1);
    position: relative;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    display: inline-block;
    padding-right: 20px;
    background: white;
}

.section-header .badge {
    font-size: 0.8rem;
    padding: 5px 12px;
    margin-left: 15px;
    vertical-align: middle;
}

/* 卡片样式 */
.feature-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 24px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .tab-item {
padding: 15px 20px;
font-size: 14px;
    }
    
    .content-block {
padding: 80px 15px 40px;
    }
    
    .section-header h2 {
font-size: 2rem;
    }
}

/* 滚动进度条 */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    z-index: 1030;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 0%;
    transition: width 0.2s ease;
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(78, 84, 200, 0.3);
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}