/* ==================== 帮助中心样式 ==================== */
.help-section {
    padding: 40px 0 80px;
    background: var(--bg-secondary);
}

/* 搜索框 */
.help-search {
    max-width: 700px;
    margin: 0 auto 50px;
}

.search-box-large {
    display: flex;
    align-items: center;
    background: var(--bg-primary);
    border-radius: 50px;
    padding: 20px 30px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.search-box-large:focus-within {
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2);
}

.search-box-large i {
    font-size: 24px;
    color: var(--text-secondary);
    margin-right: 15px;
}

.search-box-large input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    background: transparent;
    color: var(--text-primary);
}

.search-box-large input::placeholder {
    color: var(--text-light);
}

/* 快速入口 */
.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.quick-link-card {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.quick-link-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.quick-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quick-link-card:hover .quick-icon {
    transform: rotateY(180deg);
}

.quick-icon i {
    font-size: 32px;
    color: white;
}

.quick-link-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.quick-link-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* FAQ分类 */
.faq-categories {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.category-section h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--border-color);
}

.category-section h2 i {
    color: var(--primary-color);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--bg-primary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(102, 126, 234, 0.05);
}

.faq-question h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
}

.faq-question i {
    font-size: 14px;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 800px;
}

.faq-answer-content {
    padding: 0 25px 25px;
}

.faq-answer p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.faq-answer ol,
.faq-answer ul {
    padding-left: 25px;
    margin-bottom: 15px;
}

.faq-answer li {
    font-size: 14px;
    line-height: 2;
    color: var(--text-secondary);
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
}

.faq-answer a:hover {
    color: var(--primary-dark);
}

/* 联系客服 */
.contact-section {
    margin-top: 60px;
    padding: 50px;
    background: var(--bg-primary);
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.contact-section h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.contact-section h2 i {
    color: var(--primary-color);
    margin-right: 10px;
}

.contact-section > p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.contact-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 35px 25px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.contact-card i {
    font-size: 48px;
    margin-bottom: 20px;
}

.contact-card i.fa-qq {
    color: #12b7f5;
}

.contact-card i.fa-envelope {
    color: var(--primary-color);
}

.contact-card i.fa-weixin {
    color: #07c160;
}

.contact-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.contact-card p {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.contact-card .time {
    font-size: 13px;
    color: var(--text-light);
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 768px) {
    .search-box-large {
        padding: 15px 20px;
    }

    .search-box-large i {
        font-size: 20px;
    }

    .search-box-large input {
        font-size: 15px;
    }

    .quick-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .quick-link-card {
        padding: 20px 15px;
    }

    .quick-icon {
        width: 60px;
        height: 60px;
    }

    .quick-icon i {
        font-size: 28px;
    }

    .category-section h2 {
        font-size: 20px;
    }

    .faq-question {
        padding: 15px 20px;
    }

    .faq-question h3 {
        font-size: 15px;
    }

    .contact-section {
        padding: 40px 25px;
    }

    .contact-section h2 {
        font-size: 24px;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .quick-links {
        grid-template-columns: 1fr;
    }

    .quick-link-card {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 20px;
        padding: 20px;
    }

    .quick-icon {
        margin: 0;
        width: 50px;
        height: 50px;
        flex-shrink: 0;
    }

    .quick-icon i {
        font-size: 24px;
    }

    .quick-link-card h3 {
        margin-bottom: 5px;
    }
}
