/* 帮助中心样式变量 */
:root {
    --help-primary: #3494E6;
    --help-primary-dark: #2980b9;
    --help-primary-light: #E6F2FF;
    --help-secondary: #6c757d;
    --help-dark: #333333;
    --help-light: #f8f9fa;
    --help-gradient: linear-gradient(135deg, #3494E6, #EC6EAD);
    --help-accent: #3182CE;      /* 强调蓝色 */
    --help-success: #38A169;     /* 成功绿色 */
    --help-warning: #DD6B20;     /* 警告橙色 */
    --help-danger: #E53E3E;      /* 错误红色 */
    --help-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08); /* 阴影效果 */
    --help-transition: all 0.3s ease; /* 过渡效果 */
    --help-radius: 8px; /* 圆角半径 */
}

/* 帮助中心 - 全局样式 */
.help-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.help-section {
    padding: 80px 0;
}

.help-section-title {
    text-align: center;
    margin-bottom: 50px;
}

.help-section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--help-dark);
    margin-bottom: 16px;
}

.help-section-title p {
    font-size: 18px;
    color: var(--help-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.help-btn {
    display: inline-block;
    background: var(--help-primary);
    color: white;
    padding: 12px 24px;
    border-radius: var(--help-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--help-transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.help-btn:hover {
    background: #1E4E8C;
    transform: translateY(-2px);
    box-shadow: var(--help-shadow);
}

.help-btn-outline {
    background: transparent;
    color: var(--help-primary);
    border: 2px solid var(--help-primary);
}

.help-btn-outline:hover {
    background: var(--help-primary);
    color: white;
}

.help-card {
    background: white;
    border-radius: var(--help-radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: var(--help-transition);
    overflow: hidden;
}

.help-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--help-shadow);
}

/* 响应式布局 */
@media (max-width: 992px) {
    .help-section {
        padding: 60px 0;
    }
    
    .help-section-title h2 {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .help-section {
        padding: 40px 0;
    }
    
    .help-section-title h2 {
        font-size: 26px;
    }
    
    .help-section-title p {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .help-section-title h2 {
        font-size: 24px;
    }
}

/* 帮助中心页面动画 */
.help-fade-in {
    animation: helpFadeIn 0.6s ease forwards;
}

.help-slide-up {
    animation: helpSlideUp 0.8s ease forwards;
}

@keyframes helpFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes helpSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 帮助中心样式 */
.help-center-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
}

/* 搜索导航区 */
.help-search-section {
    background: linear-gradient(135deg, #3494E6, #EC6EAD);
    padding: 40px 20px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.help-search-title {
    color: #fff;
    font-size: 28px;
    margin-bottom: 20px;
}

.help-search-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.help-search-input {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.help-search-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    background: #3494E6;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.help-search-btn:hover {
    background: #2980b9;
}

.help-search-suggestions {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 100;
    display: none;
}

.suggestion-item {
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.suggestion-item:hover {
    background: #f9f9f9;
}

/* 内容区块通用样式 */
.help-section {
    background: white;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #3494E6;
}

.section-desc {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* 内容卡片样式 */
.content-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.content-card {
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.card-img {
    height: 160px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.content-card:hover .card-img img {
    transform: scale(1.05);
}

.card-content {
    padding: 15px;
}

.card-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-link {
    color: #3494E6;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.card-link i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.card-link:hover i {
    transform: translateX(3px);
}

/* 联系支持区块样式 */
.support-section {
    text-align: center;
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    padding: 40px;
    border-radius: 8px;
}

.support-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.support-desc {
    color: #555;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.support-btn {
    background: #3494E6;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
}

.support-btn i {
    margin-right: 8px;
}

.support-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .help-search-section {
        padding: 30px 15px;
    }
    
    .help-search-title {
        font-size: 24px;
    }
    
    .help-section {
        padding: 20px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .content-cards {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
} 