/* ==========================================================================
   PDFW.COM - 帮助中心 (Help Center) 专属设计系统
   Executive Light Aurora & Knowledge Hub
   ========================================================================== */

/* 页面根作用域 */
.help-page {
  background-color: var(--bg-body, #f8fafc);
  color: var(--text-main, #0f172a);
  overflow-x: hidden;
}

/* ==========================================================================
   1. 极光光晕知识搜索首屏 (Hero & Search Area)
   ========================================================================== */
.help-hero {
  position: relative;
  background: radial-gradient(circle at 50% -10%, #ffffff 0%, #f0f6ff 48%, #eaf2fc 100%);
  padding: 82px 0 88px;
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid #e2e8f0;
}

.help-hero-bg-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.help-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(22, 119, 255, 0.08) 1px, transparent 1px),
    linear-gradient(to right, rgba(22, 119, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(22, 119, 255, 0.02) 1px, transparent 1px);
  background-size: 32px 32px, 96px 96px, 96px 96px;
  background-position: center top;
  opacity: 0.8;
}

.help-aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.help-aurora-1 {
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 780px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.24) 0%, rgba(99, 102, 241, 0.12) 50%, transparent 70%);
}

.help-aurora-2 {
  top: 12%;
  left: 6%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, transparent 68%);
}

.help-aurora-3 {
  top: 16%;
  right: 6%;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 68%);
}

.help-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* 顶部流光胶囊徽章 */
.help-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 20px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid #dbeafe;
  box-shadow: 0 4px 14px rgba(22, 119, 255, 0.08), inset 0 1px 0 #ffffff;
  margin-bottom: 22px;
  transition: var(--transition);
}

.help-pill:hover {
  border-color: #93c5fd;
  box-shadow: 0 6px 18px rgba(22, 119, 255, 0.12);
  transform: translateY(-1px);
}

.help-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary, #1677ff);
  box-shadow: 0 0 10px rgba(22, 119, 255, 0.6);
  animation: pulse-dot 2s infinite ease-in-out;
}

.help-pill-text {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.02em;
}

/* 核心大标题与副标题 */
.help-hero-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.3;
  color: #0b192c;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}

.help-hero-gradient {
  background: linear-gradient(135deg, #0ea5e9 0%, #1677ff 50%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.help-hero-subtitle {
  font-size: clamp(0.98rem, 1.8vw, 1.15rem);
  line-height: 1.8;
  color: #475569;
  max-width: 680px;
  margin: 0 auto 34px;
}

/* 搜索交互框 */
.help-search-form {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin: 0 auto 20px;
}

.help-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid #bfdbfe;
  border-radius: 9999px;
  padding: 8px 10px 8px 24px;
  box-shadow: 0 12px 32px rgba(22, 119, 255, 0.12), 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: var(--transition);
}

.help-search-input-wrap:focus-within {
  border-color: #1677ff;
  box-shadow: 0 16px 38px rgba(22, 119, 255, 0.22), 0 0 0 4px rgba(22, 119, 255, 0.12);
}

.help-search-icon {
  font-size: 1.25rem;
  color: #1677ff;
  margin-right: 14px;
  flex-shrink: 0;
}

.help-search-input {
  flex-grow: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 1.05rem;
  color: #0f172a;
  padding: 8px 0;
  font-family: inherit;
}

.help-search-input::placeholder {
  color: #94a3b8;
}

.help-search-btn {
  background: linear-gradient(135deg, #1677ff 0%, #0958d9 100%);
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  padding: 12px 28px;
  font-size: 0.96rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(22, 119, 255, 0.3);
  transition: var(--transition);
  flex-shrink: 0;
}

.help-search-btn:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #1677ff 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(22, 119, 255, 0.4);
}

/* 热门搜索标签 */
.help-hot-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.help-hot-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.help-hot-tag {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 9999px;
  background: #ffffff;
  color: #334155;
  border: 1px solid #e2e8f0;
  transition: var(--transition);
}

.help-hot-tag:hover {
  color: #1677ff;
  border-color: #93c5fd;
  background: #f0f7ff;
  transform: translateY(-1px);
}

/* ==========================================================================
   2. 帮助分类全景导航网格 (Categories Grid)
   ========================================================================== */
.help-category-section {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.help-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.help-cat-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl, 24px);
  padding: 32px 28px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  text-decoration: none;
  overflow: hidden;
}

.help-cat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0ea5e9, #1677ff);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.help-cat-card:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: 0 16px 36px rgba(22, 119, 255, 0.1);
}

.help-cat-card:hover::before {
  opacity: 1;
}

.help-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.help-cat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: var(--transition);
}

.cat-icon-blue {
  background: #eff6ff;
  color: #2563eb;
}

.cat-icon-emerald {
  background: #ecfdf5;
  color: #059669;
}

.cat-icon-purple {
  background: #faf5ff;
  color: #7c3aed;
}

.cat-icon-amber {
  background: #fffbeb;
  color: #d97706;
}

.cat-icon-cyan {
  background: #ecfeff;
  color: #0891b2;
}

.cat-icon-rose {
  background: #fff1f2;
  color: #e11d48;
}

.help-cat-badge {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 9999px;
  background: #f1f5f9;
  color: #475569;
}

.help-cat-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.help-cat-card h3 a {
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.help-cat-card h3 i {
  font-size: 0.85rem;
  color: #94a3b8;
  transition: transform 0.25s ease, color 0.25s ease;
}

.help-cat-card:hover h3 i {
  color: #1677ff;
  transform: translateX(4px);
}

.help-cat-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #64748b;
  flex-grow: 1;
  max-height: 45px;
  margin-bottom: 20px;
}

.help-cat-topics {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px dashed #e2e8f0;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.help-cat-topics a {
  color: inherit;
  text-decoration: none;
}

.help-cat-topics a:hover {
  color: #1677ff;
}

.help-cat-topics li {
  font-size: 0.84rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 8px;
}

.help-cat-topics li i {
  font-size: 0.7rem;
  color: #1677ff;
}

/* ==========================================================================
   3. 高频热门指引与核心场景 (Popular Articles & Scenarios)
   ========================================================================== */
.help-hot-section {
  background: #f8fafc;
}

.help-hot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.help-hot-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg, 16px);
  padding: 26px 24px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  text-decoration: none;
  transition: var(--transition);
}

.help-hot-card:hover {
  transform: translateY(-3px);
  border-color: #93c5fd;
  box-shadow: 0 14px 28px rgba(22, 119, 255, 0.09);
}

.help-hot-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eff6ff;
  color: #1677ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.help-hot-body {
  flex-grow: 1;
}

.help-hot-tag-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: #eff6ff;
  color: #1d4ed8;
  margin-bottom: 8px;
}

.help-hot-body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.45;
  margin-bottom: 8px;
}

.help-hot-body p {
  font-size: 0.86rem;
  line-height: 1.65;
  color: #64748b;
  margin-bottom: 12px;
}

.help-hot-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #94a3b8;
}

.help-hot-link-text {
  color: #1677ff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   4. 多维技术与客服支持渠道 (Support Channels)
   ========================================================================== */
.help-support-section {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
}

.help-support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.help-support-card {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl, 24px);
  padding: 34px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
}

.help-support-card:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: 0 16px 36px rgba(22, 119, 255, 0.08);
}

.help-support-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: #ffffff;
  color: #1677ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(22, 119, 255, 0.12);
}

.help-support-card h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.help-support-card p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: #64748b;
  margin-bottom: 20px;
  flex-grow: 1;
}

.help-support-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
}

.btn-support-blue {
  background: #1677ff;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(22, 119, 255, 0.25);
}

.btn-support-blue:hover {
  background: #0958d9;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-support-outline {
  background: #ffffff;
  color: var(--primary);
  border: 1px solid #bfdbfe;
}

.btn-support-outline:hover {
  background: #eff6ff;
  border-color: #93c5fd;
}

/* ==========================================================================
   5. 响应式媒体查询 (Responsive)
   ========================================================================== */
@media (max-width: 1024px) {
  .help-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .help-support-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

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

  .help-hero-title {
    font-size: 2rem;
  }

  .help-hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 26px;
  }

  .help-search-input-wrap {
    padding: 6px 8px 6px 14px;
  }

  .help-search-icon {
    font-size: 1.1rem;
    margin-right: 10px;
  }

  .help-search-input {
    font-size: 1rem;
  }

  .help-search-btn {
    padding: 10px 18px;
    font-size: 0.88rem;
  }

  .help-categories-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .help-hot-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .help-hot-tags {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 2px 4px 8px;
    scrollbar-width: none;
  }

  .help-hot-tags::-webkit-scrollbar {
    display: none;
  }

  .help-hot-label,
  .help-hot-tag {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

/* ==========================================================================
   6. 通用面包屑导航 (Help Center Breadcrumb)
   ========================================================================== */
.help-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 22px;
}

.help-bc-link {
  color: #64748b;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.help-bc-link:hover {
  color: var(--primary, #1677ff);
}

.help-bc-sep {
  color: #cbd5e1;
  font-size: 0.72rem;
  display: inline-flex;
  align-items: center;
}

.help-bc-current {
  color: #0f172a;
  font-weight: 600;
}

/* ==========================================================================
   7. 帮助列表页专属样式 (Help List Page Styles)
   ========================================================================== */
.help-list-hero {
  padding: 60px 0 68px;
}

.help-list-title-wrap {
  margin-bottom: 24px;
}

.help-search-form-compact {
  max-width: 680px;
  width: 100%;
  margin-bottom: 0;
}

/* 分类切换胶囊导航条 */
.help-filter-section {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 14px 0;
  position: sticky;
  top: 72px;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.help-filter-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px 0;
}

.help-filter-bar::-webkit-scrollbar {
  display: none;
}

.help-filter-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.help-filter-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.help-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 9999px;
  font-size: 0.86rem;
  font-weight: 500;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.help-filter-pill:hover {
  background: #eff6ff;
  color: #1677ff;
  border-color: #bfdbfe;
}

.help-filter-pill.active {
  background: linear-gradient(135deg, #1677ff 0%, #0958d9 100%);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(22, 119, 255, 0.28);
  border-color: transparent;
}

.help-filter-pill.active i {
  color: #ffffff;
}

/* 指南卡片网格 */
.help-list-content-section {
  padding: 48px 0 64px;
}

.help-articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.help-article-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  transition: all 0.28s ease;
  display: flex;
  flex-direction: column;
}

.help-article-card:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: 0 16px 36px rgba(22, 119, 255, 0.09);
}

.help-article-card-inner {
  padding: 26px 26px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.help-article-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.help-article-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #1677ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.help-article-badges {
  display: flex;
  align-items: center;
  gap: 8px;
}

.help-badge-cat {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 9999px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #dbeafe;
}

.help-badge-featured {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 9999px;
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fef3c7;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.help-article-card-body {
  flex-grow: 1;
  margin-bottom: 20px;
}

.help-article-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.45;
  margin-bottom: 10px;
}

.help-article-title a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.help-article-title a:hover {
  color: #1677ff;
}

.help-article-summary {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.help-article-card-footer {
  border-top: 1px dashed #e2e8f0;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.help-article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.8rem;
  color: #94a3b8;
}

.help-article-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.help-article-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #1677ff;
  text-decoration: none;
  transition: all 0.2s ease;
}

.help-article-link i {
  transition: transform 0.2s ease;
}

.help-article-link:hover {
  color: #0958d9;
}

.help-article-link:hover i {
  transform: translateX(4px);
}

/* 分页控件美化 */
.help-pagination-wrap {
  margin-top: 48px;
}

.pagination {
  display: flex;
  justify-content: center;
}

.pagination-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination-item {
  display: inline-flex;
}

.pagination-link,
.pagination-prev,
.pagination-next {
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.pagination-link:hover,
.pagination-prev:hover,
.pagination-next:hover {
  border-color: #93c5fd;
  color: #1677ff;
  background: #eff6ff;
}

.pagination-link.active {
  background: #1677ff !important;
  color: #ffffff !important;
  border-color: #1677ff !important;
  box-shadow: 0 4px 12px rgba(22, 119, 255, 0.3);
}

.pagination-dots {
  color: #94a3b8;
  padding: 0 8px;
  font-size: 0.95rem;
}

button.pagination-prev[disabled],
button.pagination-next[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #94a3b8;
}

/* 空状态页面 */
.help-empty-state {
  text-align: center;
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 24px;
  padding: 64px 32px;
  max-width: 620px;
  margin: 0 auto;
}

.help-empty-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #eff6ff;
  color: #1677ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 22px;
}

.help-empty-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}

.help-empty-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #64748b;
  margin-bottom: 28px;
}

.help-empty-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* 热门常查板块 */
.help-popular-section {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
}

.help-popular-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.help-popular-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px;
  display: flex;
  gap: 16px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.help-popular-card:hover {
  transform: translateY(-3px);
  border-color: #93c5fd;
  box-shadow: 0 12px 24px rgba(22, 119, 255, 0.08);
  background: #ffffff;
}

.help-popular-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eff6ff;
  color: #1677ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.help-popular-card-body {
  flex-grow: 1;
}

.help-popular-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  color: #94a3b8;
  margin-bottom: 8px;
}

.help-popular-cat {
  color: #1d4ed8;
  font-weight: 600;
}

.help-popular-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.45;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.help-popular-desc {
  font-size: 0.84rem;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.help-popular-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1677ff;
}

/* ==========================================================================
   8. 帮助详情页专属样式 (Help Details Page Styles)
   ========================================================================== */
.help-detail-hero {
  padding: 56px 0 52px;
  text-align: left;
}

.help-detail-hero-inner {
  max-width: 1200px;
  align-items: flex-start;
  text-align: left;
}

.help-detail-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.help-badge-cat-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.84rem;
  font-weight: 600;
  border: 1px solid #dbeafe;
  text-decoration: none;
  transition: all 0.2s ease;
}

.help-badge-cat-link:hover {
  background: #dbeafe;
  transform: translateY(-1px);
}

.help-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 9999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 500;
}

.help-detail-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.35;
  color: #0b192c;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}

/* 引言摘要卡片 */
.help-detail-summary-card {
  position: relative;
  background: linear-gradient(135deg, #f0f7ff 0%, #f8fafc 100%);
  border: 1px solid #bfdbfe;
  border-left: 4px solid #1677ff;
  border-radius: 12px;
  padding: 18px 24px 18px 50px;
  margin-bottom: 24px;
  max-width: 900px;
}

.help-summary-quote-icon {
  position: absolute;
  left: 18px;
  top: 18px;
  font-size: 1.25rem;
  color: #3b82f6;
  opacity: 0.85;
}

.help-detail-summary-card p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: #334155;
  margin: 0;
}

/* 元信息栏 */
.help-detail-meta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.86rem;
  color: #64748b;
  padding-top: 4px;
}

.help-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.help-meta-item i {
  color: #1677ff;
}

/* 详情双栏布局 */
.help-detail-body-section {
  padding: 44px 0 68px;
}

.help-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 36px;
  align-items: start;
}

/* 主内容容器 */
.help-detail-main {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 38px 40px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

/* 步骤流模块 */
.help-steps-block {
  margin-bottom: 36px;
}

.help-steps-header {
  padding-bottom: 16px;
  border-bottom: 1px dashed #e2e8f0;
  margin-bottom: 28px;
}

.help-steps-badge {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.help-steps-badge i {
  color: #1677ff;
}

.help-steps-tip {
  font-size: 0.86rem;
  color: #64748b;
  margin-top: 6px;
}

.help-steps-timeline {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.help-step-card {
  display: flex;
  gap: 20px;
  position: relative;
}

.help-step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1677ff 0%, #0ea5e9 100%);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(22, 119, 255, 0.35);
}

.step-line {
  flex-grow: 1;
  width: 2px;
  background: #e2e8f0;
  margin-top: 10px;
}

.help-step-card:last-child .step-line {
  display: none;
}

.help-step-body {
  flex-grow: 1;
  padding-bottom: 8px;
}

.help-step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.55;
  margin-bottom: 14px;
}

.step-title-num {
  color: #1677ff;
}

.help-step-img-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
  cursor: pointer;
  background: #f8fafc;
  transition: all 0.25s ease;
}

.help-step-img-wrap:hover {
  border-color: #93c5fd;
  box-shadow: 0 12px 28px rgba(22, 119, 255, 0.12);
}

.help-step-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.help-step-img-wrap:hover .help-step-img {
  transform: scale(1.015);
}

.help-step-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  opacity: 0;
  backdrop-filter: blur(2px);
  transition: opacity 0.25s ease;
}

.help-step-img-wrap:hover .help-step-img-overlay {
  opacity: 1;
}

/* 富文本排版 */
.help-rich-content-block {
  margin-top: 24px;
  margin-bottom: 32px;
}

.help-article-prose {
  font-size: 1rem;
  line-height: 1.85;
  color: #334155;
}

.help-article-prose p {
  margin-bottom: 18px;
}

.help-article-prose strong {
  color: #0f172a;
  font-weight: 700;
}

.help-article-prose h2,
.help-article-prose h3 {
  color: #0f172a;
  font-weight: 800;
  margin: 32px 0 16px;
  line-height: 1.4;
}

.help-article-prose h2 {
  font-size: 1.45rem;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 10px;
}

.help-article-prose h3 {
  font-size: 1.2rem;
}

.help-article-prose ul,
.help-article-prose ol {
  margin: 16px 0 20px 24px;
  padding: 0;
}

.help-article-prose li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.help-article-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  margin: 14px 0 22px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.help-article-prose img:hover {
  border-color: #93c5fd;
  box-shadow: 0 8px 22px rgba(22, 119, 255, 0.12);
}

.help-article-prose blockquote {
  border-left: 4px solid #1677ff;
  background: #f8fafc;
  padding: 14px 20px;
  margin: 20px 0;
  border-radius: 0 8px 8px 0;
  color: #475569;
  font-style: normal;
}

/* 视频播放器外壳 */
.help-video-block {
  margin: 28px 0 36px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  background: #000000;
}

.help-video-header {
  padding: 12px 18px;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.help-video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.help-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* 满意度评价卡片 */
.help-feedback-card {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  border: 1px solid #dbeafe;
  border-radius: 16px;
  padding: 24px 28px;
  margin: 36px 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.help-feedback-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.help-feedback-subtitle {
  font-size: 0.84rem;
  color: #64748b;
  margin: 0;
}

.help-feedback-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-feedback {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-feedback-yes {
  background: #ffffff;
  color: #1677ff;
  border-color: #bfdbfe;
}

.btn-feedback-yes:hover {
  background: #1677ff;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(22, 119, 255, 0.25);
}

.btn-feedback-no {
  background: #ffffff;
  color: #64748b;
  border-color: #cbd5e1;
}

.btn-feedback-no:hover {
  background: #f1f5f9;
  color: #334155;
  transform: translateY(-2px);
}

.help-feedback-thanks {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #059669;
}

/* 正文底部导航 */
.help-article-footer-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

.btn-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  padding: 9px 20px;
  border-radius: 9999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.btn-detail-back:hover {
  background: #eff6ff;
  color: #1677ff;
  border-color: #bfdbfe;
  transform: translateX(-2px);
}

.btn-detail-share {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1677ff;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  padding: 9px 20px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-detail-share:hover {
  background: #dbeafe;
  transform: translateY(-1px);
}

.btn-detail-share.is-copied {
  background: #ecfdf5;
  color: #059669;
  border-color: #a7f3d0;
}

/* 详情侧边栏 */
.help-detail-sidebar {
  position: sticky;
  top: 96px;
}

.help-sidebar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

.help-sidebar-cat-card {
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
  border-color: #dbeafe;
}

.sidebar-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.sidebar-cat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  color: #1677ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(22, 119, 255, 0.12);
  flex-shrink: 0;
}

.sidebar-card-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
}

.sidebar-cat-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
}

.sidebar-cat-desc {
  font-size: 0.86rem;
  line-height: 1.65;
  color: #64748b;
  margin-bottom: 16px;
}

.sidebar-cat-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #bfdbfe;
  color: #1677ff;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.sidebar-cat-btn:hover {
  background: #1677ff;
  color: #ffffff;
  border-color: #1677ff;
  box-shadow: 0 4px 14px rgba(22, 119, 255, 0.25);
}

.sidebar-card-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #e2e8f0;
}

.sidebar-widget-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.sidebar-related-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sidebar-related-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-decoration: none;
  padding: 10px;
  border-radius: 12px;
  transition: background 0.2s ease;
}

.sidebar-related-item:hover {
  background: #f8fafc;
}

.related-item-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #eff6ff;
  color: #1677ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.related-item-content {
  flex-grow: 1;
}

.related-item-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.45;
  margin-bottom: 4px;
  transition: color 0.2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sidebar-related-item:hover .related-item-title {
  color: #1677ff;
}

.related-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  color: #94a3b8;
}

.related-item-more {
  color: #1677ff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* 侧栏客服通道卡片 */
.help-sidebar-support-card {
  background: #ffffff;
}

.sidebar-support-header {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.sidebar-support-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #eff6ff;
  color: #1677ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.sidebar-support-tip {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 2px;
}

.sidebar-support-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-support-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-primary-gradient {
  background: linear-gradient(135deg, #1677ff 0%, #0958d9 100%);
  box-shadow: 0 4px 12px rgba(22, 119, 255, 0.25);
}

.btn-primary-gradient:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(22, 119, 255, 0.35);
  color: #ffffff;
}

.sidebar-support-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.sidebar-support-tel:hover {
  background: #eff6ff;
  color: #1677ff;
  border-color: #bfdbfe;
}

/* ==========================================================================
   9. 高清图片灯箱模态框 (Lightbox Modal)
   ========================================================================== */
.help-lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.help-lightbox-modal.is-open {
  display: flex;
  opacity: 1;
}

.help-lightbox-wrapper {
  position: relative;
  max-width: 92vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: lightboxPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes lightboxPop {
  from {
    transform: scale(0.92);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.help-lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.help-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: rotate(90deg);
}

.help-lightbox-img-box {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  max-height: 82vh;
  display: flex;
}

.help-lightbox-img {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
  display: block;
}

.help-lightbox-caption {
  margin-top: 14px;
  color: #e2e8f0;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  max-width: 800px;
}

/* ==========================================================================
   10. 响应式布局适配 (Responsive Breakpoints)
   ========================================================================== */
@media (max-width: 1024px) {
  .help-detail-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .help-detail-sidebar {
    position: static;
  }

  .help-popular-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .help-articles-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .help-popular-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .help-detail-main {
    padding: 24px 20px;
    border-radius: 16px;
  }

  .help-detail-hero {
    padding: 40px 0 36px;
  }

  .help-detail-title {
    font-size: 1.55rem;
  }

  .help-detail-summary-card {
    padding: 16px 18px 16px 42px;
  }

  .help-summary-quote-icon {
    left: 14px;
    top: 14px;
  }

  .help-step-card {
    gap: 14px;
  }

  .step-num {
    width: 32px;
    height: 32px;
    font-size: 0.84rem;
  }

  .help-step-title {
    font-size: 1rem;
  }

  .help-feedback-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .help-feedback-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .help-article-footer-nav {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .btn-detail-back,
  .btn-detail-share {
    justify-content: center;
  }

  .help-detail-main img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
  }

  .help-detail-main table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
