/* help-page.css - 帮助中心专属样式 */
/* 帮助中心专属样式补充 */
.help-page {
    padding: 100px 0;
    background-color: #fff;
}

/* 帮助搜索栏 */
.help-search {
    max-width: 600px;
    margin: 0 auto 60px;
    position: relative;
}

.help-search input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border: 1px solid #e5e9f2;
    border-radius: 8px;
    font-size: 16px;
    background-color: #f9fbff;
}

.help-search input:focus {
    outline: none;
    border-color: #165dff;
    box-shadow: 0 0 0 2px rgba(22, 93, 255, 0.1);
}

.help-search .icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #999;
}

/* 帮助分类导航 */
.help-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 60px;
}

.help-category-item {
    padding: 12px 24px;
    background-color: #f9fbff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.help-category-item.active {
    background-color: #165dff;
    color: #fff;
}

.help-category-item:hover:not(.active) {
    border-color: #165dff;
    color: #165dff;
    transform: translateY(-2px);
}

/* 帮助内容区域 */
.help-content {
    max-width: 900px;
    margin: 0 auto;
}

/* 常见问题样式 */
.faq-item {
    border: 1px solid #e5e9f2;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background-color: #f9fbff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e8f0ff;
}

.faq-question .toggle-icon {
    font-size: 20px;
    color: #165dff;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question .toggle-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #666;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 1000px;
}

/* 联系客服模块 */
.contact-support {
    max-width: 900px;
    margin: 60px auto 0;
    padding: 30px;
    background: linear-gradient(135deg, #e8f0ff 0%, #f0f5ff 100%);
    border-radius: 12px;
    text-align: center;
}

.contact-support h3 {
    font-size: 24px;
    color: #1d2129;
    margin-bottom: 20px;
}

.contact-support p {
    color: #666;
    margin-bottom: 30px;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.contact-method .icon {
    font-size: 32px;
    color: #165dff;
    margin-bottom: 10px;
}

.contact-method h4 {
    font-size: 18px;
    color: #1d2129;
}

.contact-method p {
    margin: 0;
    font-size: 14px;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .help-categories {
        gap: 10px;
    }

    .help-category-item {
        padding: 10px 16px;
        font-size: 14px;
    }

    .contact-methods {
        gap: 20px;
    }
}