/* 帮助中心通用样式 */
.help-center-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
    color: #fff;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
}

/* 帮助中心标题样式 */
.help-center-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px 0;
    background: linear-gradient(135deg, #3a70b4, #204275);
    border-radius: 5px;
}

.help-center-icon {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 10px;
}

.help-center-title {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    margin: 0;
}

/* 导航栏样式 */
.help-center-nav {
    background-color: #1a2234;
    margin-bottom: 30px;
    border-radius: 5px;
}

.nav-items {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #2c3855;
}

.nav-item {
    padding: 15px 25px;
    position: relative;
}

.nav-item a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.nav-item.active a {
    color: #3a70b4;
}

.nav-item.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background-color: #3a70b4;
}

/* 主内容区域样式 */
.help-center-main {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

/* 侧边栏样式 */
.help-center-sidebar {
    width: 250px;
    flex-shrink: 0;
    background-color: #1a2234;
    border-radius: 5px;
    padding: 20px;
}

.help-center-sidebar h3 {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #2c3855;
}

.subcategory-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.subcategory-item {
    padding: 10px 0;
    border-bottom: 1px solid #2c3855;
    cursor: pointer;
}

.subcategory-item:last-child {
    border-bottom: none;
}

.subcategory-item a {
    color: #fff;
    text-decoration: none;
    display: block;
}

.subcategory-item.active a {
    color: #3a70b4;
    font-weight: bold;
}

/* 内容区域样式 */
.help-center-content {
    flex-grow: 1;
    background-color: #1a2234;
    border-radius: 5px;
    padding: 30px;
}

.help-center-content.full-width {
    width: 100%;
}

.help-center-content h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.category-intro, .subcategory-intro {
    margin-bottom: 30px;
}

/* 二级分类列表样式 */
.category-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.category-item {
    background-color: #1a2234;
    border-radius: 5px;
    padding: 20px;
    transition: transform 0.3s ease;
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-item h2 {
    margin-top: 0;
    font-size: 20px;
}

.category-item h2 a {
    color: #fff;
    text-decoration: none;
}

/* 问答样式 */
.qa-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    background-color: #2c3855;
}

.qa-question {
    padding: 15px;
    background-color: #2c3855;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.qa-question i {
    margin-right: 10px;
    font-size: 16px;
    color: #3a70b4;
}

.qa-question h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

.qa-answer {
    padding: 15px;
    background-color: #1e2638;
    border-top: 1px solid #2c3855;
}

/* 子分类内容容器样式 */
.subcategory-content-container {
    display: none;
}

.subcategory-content-container.active {
    display: block;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .help-center-main {
        flex-direction: column;
    }
    
    .help-center-sidebar {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .nav-items {
        flex-wrap: wrap;
    }
    
    .nav-item {
        padding: 10px 15px;
    }
    
    .category-list {
        grid-template-columns: 1fr;
    }
}
