/* 内容页专属样式（隐私政策 / 服务条款 / 联系申请 / 帮助中心，与 landing.css 配合使用） */

/* 顶部导航移动端保留返回按钮（landing.css 在小屏会隐藏 .nav-actions） */
@media (max-width: 768px) {
  .docs-nav .nav-actions {
    display: flex;
    gap: 8px;
  }

  .docs-nav .nav-actions .btn {
    min-height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }

  .docs-cta {
    display: none;
  }
}

.docs-main {
  max-width: 840px;
  margin: 0 auto;
  padding: 148px 5% 80px;
}

.docs-hero {
  text-align: center;
  margin-bottom: 48px;
}

.docs-hero h1 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-main);
  margin-bottom: 12px;
}

.docs-hero .docs-meta {
  font-size: 13px;
  color: var(--text-light);
}

/* 法律 / 文章正文排版 */
.docs-prose h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin: 36px 0 12px;
}

.docs-prose h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin: 24px 0 8px;
}

.docs-prose p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 12px;
}

.docs-prose ul,
.docs-prose ol {
  margin: 0 0 16px;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.85;
}

.docs-prose li {
  margin-bottom: 6px;
}

.docs-prose strong {
  color: var(--text-main);
}

/* 文档双列目录导览（服务条款 / 法律文档等） */
.docs-has-toc {
  max-width: 1080px;
}

.docs-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.docs-toc {
  position: sticky;
  top: 104px;
  max-height: calc(100vh - 128px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 16px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  scrollbar-width: thin;
}

.docs-toc::-webkit-scrollbar {
  width: 4px;
}

.docs-toc::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 999px;
}

.docs-toc-header {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.5px;
  padding: 0 6px 10px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(37, 99, 235, 0.08);
}

.docs-toc-header svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
}

.docs-toc-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.docs-toc-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  border-left: 3px solid transparent;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  line-height: 1.4;
  transition: all var(--transition-fast);
}

.docs-toc-num {
  font-size: 10.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
  padding: 1px 5px;
  border-radius: 4px;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.docs-toc-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.docs-toc-link:hover {
  color: var(--text-main);
  background: rgba(37, 99, 235, 0.05);
  border-left-color: var(--primary);
}

.docs-toc-link:hover .docs-toc-num {
  background: var(--primary);
  color: #ffffff;
}

.docs-section {
  scroll-margin-top: 104px;
  margin-bottom: 28px;
}

.docs-section:target h2 {
  color: var(--primary);
  transition: color var(--transition-fast);
}

.docs-prose > .docs-section:first-child h2 {
  margin-top: 0;
}

/* 联系 / 申请邀请码页 */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-card h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.contact-card > p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-wrap: balance;
}

.qr-frame {
  width: 208px;
  height: 208px;
  margin: 0 auto;
  padding: 12px;
  border-radius: 22px;
  background: linear-gradient(135deg, #eef5ff 0%, #ffffff 55%, #f0fdfa 100%);
  border: 1px solid rgba(37, 99, 235, 0.16);
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.email-frame {
  width: 208px;
  height: 208px;
  margin: 0 auto;
  padding: 20px 16px;
  border-radius: 22px;
  background: linear-gradient(135deg, #eef5ff 0%, #ffffff 55%, #f0fdfa 100%);
  border: 1px solid rgba(37, 99, 235, 0.16);
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.email-frame-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.16);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.email-frame-icon svg {
  width: 24px;
  height: 24px;
}

.email-frame-address {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  text-decoration: none;
  word-break: break-all;
  line-height: 1.4;
  transition: color var(--transition-fast);
}

.email-frame-address:hover {
  color: var(--primary);
}

.email-frame-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--primary);
  border: 1px solid var(--primary);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  transition: all var(--transition-fast);
}

.email-frame-btn svg {
  width: 13px;
  height: 13px;
  transition: transform var(--transition-fast);
}

.email-frame-btn:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.email-frame-btn:hover svg {
  transform: translateX(2px);
}

.contact-value {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.16);
  color: var(--primary);
  font-weight: 700;
  font-size: 14.5px;
  word-break: break-all;
}

.contact-note {
  margin-top: 24px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: rgba(13, 148, 136, 0.05);
  border: 1px solid rgba(13, 148, 136, 0.16);
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.75;
}

.contact-note b {
  color: #0f766e;
}

/* 帮助中心：FAQ（原生 details/summary，无需 JS） */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  padding: 16px 44px 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: color var(--transition-fast);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-light);
  border-bottom: 2px solid var(--text-light);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--transition-fast);
}

.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq-item[open] summary {
  color: var(--primary);
}

.faq-item .faq-body {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* 响应式 */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .docs-main {
    padding: 118px 20px 56px;
  }

  .docs-hero h1 {
    font-size: 28px;
  }
}

/* ==========================================================================
   帮助中心页：现代居中知识库 + 即时搜索 + 阶段化时间轴流程 + 交互 FAQ
   ========================================================================== */

.docs-help {
  max-width: 960px;
  margin: 0 auto;
}

.help-hero {
  text-align: center;
  margin-bottom: 48px;
}

.help-hero h1 {
  margin-bottom: 12px;
}

.help-hero-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* 顶部搜索栏卡片 */
.help-search-box {
  max-width: 680px;
  margin: 0 auto;
}

.help-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid rgba(37, 99, 235, 0.2);
  border-radius: 999px;
  padding: 0 16px 0 20px;
  height: 54px;
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.08), 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: all var(--transition-fast);
}

.help-search-input-wrap:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15), 0 12px 36px rgba(37, 99, 235, 0.12);
  transform: translateY(-1px);
}

.help-search-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--primary);
  opacity: 0.85;
}

.help-search-input {
  flex: 1 1 auto;
  border: none;
  background: transparent;
  outline: none;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-main);
  padding: 0 14px;
  width: 100%;
}

.help-search-input::placeholder {
  color: var(--text-light);
  opacity: 0.75;
}

.help-search-clear {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(100, 116, 139, 0.12);
  color: var(--text-muted);
  cursor: pointer;
  display: none;
  place-items: center;
  padding: 0;
  transition: all var(--transition-fast);
}

.help-search-clear.visible {
  display: grid;
}

.help-search-clear:hover {
  background: rgba(225, 29, 72, 0.12);
  color: #e11d48;
}

.help-search-clear svg {
  width: 14px;
  height: 14px;
}

.help-search-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.help-tags-label {
  font-size: 12.5px;
  color: var(--text-light);
  font-weight: 500;
}

.help-search-tag {
  appearance: none;
  border: 1px solid rgba(37, 99, 235, 0.14);
  background: rgba(37, 99, 235, 0.05);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.help-search-tag:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* 搜索无结果空状态 */
.help-empty-state {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 56px 24px;
  background: var(--bg-card);
  border: 1px dashed rgba(37, 99, 235, 0.24);
  border-radius: var(--radius-lg);
  margin-bottom: 48px;
}

.help-empty-state.visible {
  display: flex;
}

.help-empty-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.help-empty-icon svg {
  width: 28px;
  height: 28px;
}

.help-empty-state h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.help-empty-state p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: 24px;
  line-height: 1.7;
}

.help-empty-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* 章节头部 */
.help-section {
  scroll-margin-top: 100px;
  margin-bottom: 64px;
}

.help-section-head {
  text-align: center;
  margin-bottom: 32px;
}

.help-section-head h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.3px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.help-section-head h2 span {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
  padding: 2px 10px;
  border-radius: 999px;
}

.help-section-head p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 auto;
  max-width: 560px;
  line-height: 1.6;
}

/* ==========================================================================
   快速上手：阶段化时间轴 (Timeline Stepper)
   ========================================================================== */

.help-timeline {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.help-stage {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 250, 252, 0.6) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 32px 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.help-stage:hover {
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: var(--shadow-md);
}

.help-stage-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px dashed rgba(226, 232, 240, 0.9);
}

.help-stage-badge {
  font-size: 11.5px;
  font-weight: 800;
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.1);
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.stage-badge-teal {
  color: #0f766e;
  background: rgba(13, 148, 136, 0.1);
}

.stage-badge-purple {
  color: #6b21a8;
  background: rgba(124, 58, 237, 0.1);
}

.help-stage-info h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.help-stage-info p {
  font-size: 13px;
  color: var(--text-light);
  margin: 0;
}

/* 时间轴步骤列表 */
.help-stage-cards {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 垂直引导线 */
.help-stage-cards::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 20px;
  width: 2px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.25) 0%, rgba(37, 99, 235, 0.08) 100%);
  z-index: 0;
}

.help-timeline-card {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: all var(--transition-fast);
}

.help-timeline-card:hover {
  transform: translateX(4px);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}

.help-timeline-node {
  flex: 0 0 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.help-timeline-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
  font-variant-numeric: tabular-nums;
  border: 2px solid #ffffff;
}

.help-stage[data-stage="daily"] .help-timeline-num {
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.3);
}

.help-stage[data-stage="review"] .help-timeline-num {
  background: linear-gradient(135deg, #7c3aed 0%, #6b21a8 100%);
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.3);
}

.help-timeline-body {
  flex: 1 1 auto;
}

.help-timeline-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}

.help-timeline-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

.help-timeline-body a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.help-timeline-body a:hover {
  color: #1d4ed8;
}

/* ==========================================================================
   常见问题 FAQ（卡片化手风琴）
   ========================================================================== */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.faq-item[open] {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.06);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.faq-item summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: color var(--transition-fast);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-category-pill {
  flex: 0 0 auto;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
  padding: 2px 8px;
  border-radius: 6px;
  line-height: 1.4;
}

.pill-teal {
  color: #0d9488;
  background: rgba(13, 148, 136, 0.08);
}

.pill-purple {
  color: #7c3aed;
  background: rgba(124, 58, 237, 0.08);
}

.faq-question {
  flex: 1 1 auto;
  padding-right: 24px;
}

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-light);
  border-bottom: 2px solid var(--text-light);
  transform: translateY(-65%) rotate(45deg);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.faq-item[open] summary::after {
  transform: translateY(-35%) rotate(-135deg);
  border-color: var(--primary);
}

.faq-item[open] summary {
  color: var(--primary);
}

.faq-item .faq-body {
  padding: 4px 20px 20px 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  border-top: 1px solid rgba(226, 232, 240, 0.5);
  margin-top: 2px;
  padding-top: 14px;
}

.faq-item .faq-body strong {
  color: var(--text-main);
}

.faq-item .faq-body a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

/* ==========================================================================
   底部联系客服横幅卡片
   ========================================================================== */

.help-contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 36px 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(13, 148, 136, 0.06) 100%);
  border: 1px solid rgba(37, 99, 235, 0.2);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.05);
}

.help-contact-content h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.help-contact-content p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  max-width: 540px;
  line-height: 1.7;
}

.help-contact-actions {
  flex: 0 0 auto;
}

/* 通用隐藏类 */
.is-hidden {
  display: none !important;
}

/* ==========================================================================
   响应式规则（尤其移动端 768px 与 375px/390px 视口）
   ========================================================================== */

@media (max-width: 768px) {
  .docs-help {
    padding-left: 16px;
    padding-right: 16px;
  }

  .help-hero {
    margin-bottom: 36px;
  }

  .help-hero-subtitle {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .help-search-input-wrap {
    height: 48px;
    padding: 0 12px 0 16px;
  }

  .help-search-input {
    font-size: 14px;
    padding: 0 10px;
  }

  .help-search-tags {
    gap: 6px;
  }

  .help-stage {
    padding: 20px 16px 20px;
    border-radius: var(--radius-md);
  }

  .help-stage-header {
    margin-bottom: 16px;
    padding-bottom: 12px;
  }

  .help-stage-cards::before {
    left: 17px;
  }

  .help-timeline-card {
    padding: 14px 14px;
    gap: 12px;
  }

  .help-timeline-node {
    flex: 0 0 34px;
    height: 34px;
  }

  .help-timeline-num {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .help-timeline-body h4 {
    font-size: 15px;
  }

  .help-timeline-body p {
    font-size: 13.5px;
    line-height: 1.7;
  }

  .faq-item summary {
    padding: 14px 14px;
    font-size: 14.5px;
    align-items: flex-start;
  }

  .faq-category-pill {
    margin-top: 2px;
  }

  .faq-item .faq-body {
    padding: 4px 14px 16px;
    font-size: 13.5px;
  }

  .help-contact-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
    gap: 20px;
  }

  .help-contact-actions {
    width: 100%;
  }

  .help-contact-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   404 页面
   ========================================================================== */

.nf-main {
  position: relative;
  min-height: calc(100vh - 220px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px 20px 96px;
}

.nf-main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 36%, rgba(37, 99, 235, 0.1), transparent 44%),
    radial-gradient(circle at 18% 72%, rgba(13, 148, 136, 0.06), transparent 40%),
    radial-gradient(circle at 82% 64%, rgba(79, 70, 229, 0.06), transparent 40%);
}

.nf-code {
  margin-bottom: 8px;
  font-size: clamp(96px, 18vw, 156px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 45%, var(--accent) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShine 6s linear infinite;
}

.nf-main h1 {
  margin-bottom: 12px;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-main);
}

.nf-main > p {
  max-width: 460px;
  margin-bottom: 32px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
}

.nf-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 24px;
}

.nf-link {
  font-size: 14px;
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.nf-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .nf-main {
    min-height: calc(100vh - 240px);
    padding: 132px 20px 72px;
  }

  .nf-actions .btn {
    width: 100%;
  }
}
