/* 页面标题 */
.help-header {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/beijing-1.png');
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    color: white;
    text-align: center;
}

.help-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-family: "STXingkai", "华文行楷", serif;
}

.help-header h1 i {
    margin-right: 15px;
}

.help-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

/* 搜索框 */
.help-search {
    max-width: 600px;
    margin: 0 auto;
}

.search-box {
    display: flex;
    gap: 10px;
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-box input {
    flex: 1;
    border: none;
    padding: 10px;
    font-size: 1rem;
    outline: none;
}

.search-box button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-box button:hover {
    background: var(--primary-dark);
}

.search-box button i {
    margin-right: 5px;
}

/* 主要内容 */
.help-container {
    padding: 40px 0;
    background: #f8f9fa;
}

.help-container .container {
    display: flex;
    gap: 30px;
}

/* 分类导航 */
.help-nav {
    width: 250px;
    flex-shrink: 0;
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 20px;
    height: fit-content;
}

.help-nav h2 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.help-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.help-nav li {
    margin-bottom: 15px;
}

.help-nav a {
    color: var(--text-color);
    text-decoration: none;
    display: block;
    padding: 8px 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.help-nav a:hover {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
}

.help-nav a.active {
    background: var(--primary-color);
    color: white;
}

/* 帮助内容 */
.help-content {
    flex: 1;
}

.help-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.help-section:last-child {
    margin-bottom: 0;
}

.help-section h2 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

/* 问答样式 */
.qa-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.qa-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.question {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    cursor: pointer;
}

.question i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.question h3 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin: 0;
}

.answer {
    padding-left: 35px;
}

.answer p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.answer p:last-child {
    margin-bottom: 0;
}

.answer ul, .answer ol {
    color: #666;
    padding-left: 20px;
    margin-bottom: 0;
}

.answer li {
    margin-bottom: 10px;
}

.answer li:last-child {
    margin-bottom: 0;
}

/* 联系客服 */
.help-contact {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.help-contact h2 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 20px;
}

.help-contact p {
    color: #666;
    margin-bottom: 30px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-info .info-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-radius: 8px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.contact-info .info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-info i {
    font-size: 2rem;
    color: var(--primary-color);
}

.info-content h3 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin: 0 0 10px 0;
}

.info-content p {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 5px 0;
}

.btn-contact {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    margin-top: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: var(--primary-dark);
}

/* 响应式调整 */
@media (max-width: 992px) {
    .help-container .container {
        flex-direction: column;
    }

    .help-nav {
        width: 100%;
        position: static;
        margin-bottom: 30px;
    }

    .help-nav ul {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .help-nav li {
        margin: 0;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .help-header h1 {
        font-size: 2rem;
    }

    .search-box {
        flex-direction: column;
    }

    .search-box button {
        width: 100%;
    }

    .help-section {
        padding: 20px;
    }

    .question {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .answer {
        padding-left: 0;
    }

    .contact-info .info-item {
        flex-direction: column;
        text-align: center;
    }
} 