/* ===========================================
   帮助中心页面 - 全新蓝色主题设计
   采用居中式布局、网格卡片、现代化交互
   =========================================== */

/* 主容器 */
.help-main {
    margin-top: 56px;
    background: white;
}

.help-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ===========================================
   英雄区域 - 居中式设计
   =========================================== */

.help-hero-section {
    padding: 100px 0 80px;
    background: linear-gradient(180deg, #f8f9fa 0%, white 100%);
    text-align: center;
}

.help-hero-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.1), rgba(0, 102, 255, 0.1));
    border: 1px solid rgba(0, 82, 204, 0.2);
    border-radius: 50px;
    color: #0052cc;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-badge i {
    font-size: 16px;
}

.help-hero-title {
    font-size: clamp(42px, 6vw, 64px);
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.2;
}

.help-hero-subtitle {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* 搜索框 */
.help-search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto 48px;
}

.help-search-box i.fa-search {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 18px;
}

.help-search-box input {
    width: 100%;
    padding: 18px 140px 18px 60px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    background: white;
    transition: all 0.3s ease;
}

.help-search-box input:focus {
    outline: none;
    border-color: #0052cc;
    box-shadow: 0 0 0 4px rgba(0, 82, 204, 0.1);
}

.help-search-box .search-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    padding: 12px 32px;
    background: linear-gradient(135deg, #0052cc, #0066ff);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.help-search-box .search-btn:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 82, 204, 0.3);
}

/* 统计数据 */
.help-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.help-stats .stat-item {
    text-align: center;
}

.help-stats .stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #0052cc;
    margin-bottom: 8px;
}

.help-stats .stat-label {
    font-size: 14px;
    color: #666;
}

/* ===========================================
   分类导航区域
   =========================================== */

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

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.section-description {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.category-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0052cc, #0066ff);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 82, 204, 0.15);
    border-color: #0052cc;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.1), rgba(0, 102, 255, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    background: linear-gradient(135deg, #0052cc, #0066ff);
    transform: scale(1.1);
}

.category-icon i {
    font-size: 28px;
    color: #0052cc;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon i {
    color: white;
}

.category-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.category-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0052cc;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-link:hover {
    gap: 12px;
}

.category-link i {
    font-size: 12px;
}

/* ===========================================
   热门文章区域
   =========================================== */

.help-popular-section {
    padding: 80px 0;
    background: linear-gradient(180deg, white 0%, #f8f9fa 100%);
}

.header-with-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.1), rgba(249, 115, 22, 0.1));
    border: 1px solid rgba(251, 146, 60, 0.3);
    border-radius: 50px;
    color: #ea580c;
    font-size: 13px;
    font-weight: 600;
}

.section-badge i {
    font-size: 14px;
}

.popular-articles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.article-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 82, 204, 0.15);
    border-color: #0052cc;
}

.article-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.05) 0%, rgba(0, 102, 255, 0.05) 100%);
    border: 2px solid rgba(0, 82, 204, 0.2);
}

.article-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: linear-gradient(135deg, #0052cc, #0066ff);
    border-radius: 50px;
    color: white;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
    align-self: flex-start;
}

.article-badge i {
    font-size: 12px;
}

.article-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.article-card h3 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-card h3 a:hover {
    color: #0052cc;
}

.article-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    flex-grow: 1;
}

.article-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #999;
    margin-bottom: 20px;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-meta i {
    font-size: 12px;
}

.article-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #0052cc, #0066ff);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.article-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 82, 204, 0.3);
}

.article-btn i {
    font-size: 12px;
}

/* ===========================================
   联系支持区域
   =========================================== */

.help-support-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.05) 0%, rgba(0, 102, 255, 0.05) 100%);
}

.support-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border: 2px solid rgba(0, 82, 204, 0.2);
    border-radius: 20px;
    padding: 60px;
    display: flex;
    gap: 60px;
    align-items: center;
}

.support-text {
    flex: 1;
}

.support-text h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.support-text > p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 24px;
}

.support-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.support-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #333;
}

.support-feature i {
    color: #10b981;
    font-size: 18px;
}

.support-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.support-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.support-btn.primary {
    background: linear-gradient(135deg, #0052cc, #0066ff);
    color: white;
    border: none;
}

.support-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 82, 204, 0.4);
}

.support-btn.secondary {
    background: white;
    color: #0052cc;
    border: 2px solid #0052cc;
}

.support-btn.secondary:hover {
    background: rgba(0, 82, 204, 0.05);
}

.support-btn i {
    font-size: 18px;
}

/* ===========================================
   响应式设计
   =========================================== */

@media (max-width: 1024px) {
    .help-hero-title {
        font-size: 48px;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .popular-articles {
        grid-template-columns: 1fr;
    }

    .article-card.featured {
        grid-column: span 1;
    }

    .support-content {
        flex-direction: column;
        gap: 40px;
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .help-hero-section {
        padding: 80px 0 60px;
    }

    .help-hero-title {
        font-size: 36px;
    }

    .help-hero-subtitle {
        font-size: 16px;
    }

    .help-search-box input {
        padding: 16px 120px 16px 50px;
        font-size: 14px;
    }

    .help-search-box i.fa-search {
        left: 20px;
        font-size: 16px;
    }

    .help-search-box .search-btn {
        padding: 10px 24px;
        font-size: 14px;
    }

    .help-stats {
        gap: 40px;
    }

    .help-stats .stat-number {
        font-size: 28px;
    }

    .help-categories-section,
    .help-popular-section,
    .help-support-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        padding: 24px;
    }

    .article-card {
        padding: 24px;
    }

    .support-content {
        padding: 32px 24px;
    }

    .support-text h2 {
        font-size: 24px;
    }

    .support-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .help-hero-title {
        font-size: 28px;
    }

    .help-search-box {
        max-width: 100%;
    }

    .help-search-box input {
        padding: 14px 110px 14px 45px;
        font-size: 13px;
    }

    .help-search-box .search-btn {
        padding: 8px 20px;
        font-size: 13px;
    }

    .help-stats {
        flex-direction: column;
        gap: 24px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 16px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-description {
        font-size: 14px;
    }
}
