/* ==========================================================================
   智飞云培官网 - 帮助中心专属样式 (浅色商务风格)
   ========================================================================== */

.help-hero {
  padding: 130px 0 64px;
  background: var(--navy);
  color: #ffffff;
  text-align: center;
}

.help-hero h1 {
  font-size: clamp(30px, 3.8vw, 42px);
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -0.03em;
}

.help-hero p {
  font-size: 16px;
  color: #c7d2fe;
  max-width: 600px;
  margin: 0 auto 28px;
}

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

.help-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.help-search-input {
  width: 100%;
  height: 50px;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 15px;
  padding: 0 20px 0 50px;
  outline: none;
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
}

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

.help-search-input:focus {
  background: #ffffff;
  color: var(--ink);
  border-color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.help-search-input:focus + .help-search-icon {
  color: var(--primary);
}

/* 主体知识库布局 */
.help-main-section {
  padding: 64px 0 88px;
  background: #f8fafc;
}

.help-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  align-items: start;
}

/* 左侧分类侧边栏 */
.help-sidebar {
  position: sticky;
  top: 100px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.help-nav-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 12px;
  margin-bottom: 4px;
}

.help-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
}

.help-nav-item:hover {
  background: var(--surface);
  color: var(--primary);
}

.help-nav-item.active {
  background: var(--soft);
  color: var(--primary);
}

/* 右侧内容问答列表 */
.help-content-area {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.help-category-group {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}

.help-category-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.help-faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.help-faq-item {
  background: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: 12px;
  padding: 18px 20px;
  transition: border-color 0.2s ease;
}

.help-faq-item:hover {
  border-color: #cbd5e1;
}

.help-faq-q {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.q-badge {
  background: var(--soft);
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.help-faq-a {
  font-size: 14px;
  color: #475569;
  line-height: 1.7;
  margin: 0;
  padding-left: 28px;
}

@media (max-width: 900px) {
  .help-layout {
    grid-template-columns: 1fr;
  }
  .help-sidebar {
    position: static;
  }
}
