/* ===== 页面：帮助中心 / page-faq ===== */
.page-faq {
  background-color: #F2F6FA;
  color: #0A1128;
  padding: 136px 0 64px;
}

/* 面包屑 */
.page-faq .faq-breadcrumb {
  margin-bottom: 20px;
}

/* Hero */
.page-faq .faq-hero {
  position: relative;
  padding: 24px 0 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid #D8E2EC;
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 120px;
  height: 4px;
  background: #FF6B35;
  transform: skewX(-24deg);
  transform-origin: left top;
}

.page-faq .faq-hero h1 {
  font-family: var(--font-heading);
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 12px 0 14px;
  font-weight: 700;
  color: #0A1128;
}

.page-faq .faq-hero__lead {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.75;
  color: #3D4A5C;
  margin-bottom: 22px;
}

.page-faq .faq-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-faq .tag {
  background: #FFFFFF;
  border: 1px solid #D8E2EC;
  color: #0B1D3A;
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
}

.page-faq .tag--accent {
  background: #0A1128;
  border-color: #0A1128;
  color: #00FF88;
}

/* 左右布局 */
.page-faq .faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

/* 目录 */
.page-faq .faq-toc {
  background: #FFFFFF;
  border: 1px solid #D8E2EC;
  border-left: 3px solid #00FF88;
  border-radius: var(--radius-card);
  padding: 20px;
  box-shadow: 0 2px 12px rgba(10, 17, 40, 0.04);
}

.page-faq .faq-toc__title {
  font-family: var(--font-heading);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #A7B8C9;
  margin: 0 0 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.page-faq .faq-toc__title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #E8EFF4;
}

.page-faq .faq-toc__list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.page-faq .faq-toc__list li + li {
  border-top: 1px solid #F0F3F7;
}

.page-faq .faq-toc__list a {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 12px 4px;
  text-decoration: none;
  color: #0A1128;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.page-faq .faq-toc__list a:hover,
.page-faq .faq-toc__list a:focus-visible {
  color: #0B1D3A;
  padding-left: 10px;
  outline: none;
}

.page-faq .faq-toc__num {
  font-family: var(--font-mono);
  color: #FF6B35;
  font-size: 13px;
  font-weight: 600;
  min-width: 24px;
}

.page-faq .faq-toc__links {
  border-top: 1px dashed #E0E8F0;
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-faq .faq-toc__links a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 4px;
  font-size: 14px;
  color: #0B1D3A;
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-faq .faq-toc__links a:hover,
.page-faq .faq-toc__links a:focus-visible {
  color: #FF6B35;
  outline: none;
}

.page-faq .faq-toc__arrow {
  color: #00C853;
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1;
}

/* 主内容 */
.page-faq .faq-main {
  min-width: 0;
}

/* 卡片 */
.page-faq .faq-section {
  background: #FFFFFF;
  border: 1px solid #E0E8F0;
  border-radius: var(--radius-card);
  padding: 24px 18px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(10, 17, 40, 0.04);
  scroll-margin-top: 120px;
}

.page-faq .faq-section__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #E8EFF4;
}

.page-faq .faq-section__num {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  background: #0A1128;
  color: #FF6B35;
  padding: 10px 12px;
  border-radius: 8px;
  transform: rotate(-2deg);
  flex-shrink: 0;
  letter-spacing: -0.03em;
}

.page-faq .faq-section__titlebox {
  min-width: 0;
}

.page-faq .faq-section__tag {
  display: block;
  font-family: var(--font-heading);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #A7B8C9;
  margin-bottom: 4px;
}

.page-faq .faq-section h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1.3;
  margin: 0;
  color: #0A1128;
  font-weight: 700;
}

/* 折叠面板 */
.page-faq .faq-details .faq-item {
  border: 1px solid #E0E8F0;
  border-radius: 10px;
  background: #FBFCFD;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.page-faq .faq-details .faq-item:hover {
  border-color: #B6C8DC;
}

.page-faq .faq-item[open] {
  border-color: #00FF88;
  background: #FFFFFF;
}

.page-faq .faq-item summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
  color: #0A1128;
  line-height: 1.4;
  user-select: none;
}

.page-faq .faq-item summary::-webkit-details-marker {
  display: none;
}

.page-faq .faq-item summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #FF6B35;
  border-bottom: 2px solid #FF6B35;
  transform: rotate(45deg) translateY(-2px);
  margin-left: auto;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.page-faq .faq-item[open] summary::after {
  transform: rotate(225deg) translateY(-1px);
}

.page-faq .faq-item__icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #0A1128;
  color: #00FF88;
}

.page-faq .faq-item__icon--calendar {
  background: #0B1D3A;
  color: #FFB300;
}

.page-faq .faq-item__icon--chart,
.page-faq .faq-item__icon--data,
.page-faq .faq-item__icon--filter {
  background: #0A1128;
  color: #00FF88;
}

.page-faq .faq-item__icon--user,
.page-faq .faq-item__icon--export,
.page-faq .faq-item__icon--shield {
  background: #0B1D3A;
  color: #FF6B35;
}

.page-faq .faq-item__icon--archive,
.page-faq .faq-item__icon--star,
.page-faq .faq-item__icon--exchange {
  background: #0A1128;
  color: #00FF88;
}

.page-faq .faq-item__icon--globe,
.page-faq .faq-item__icon--history {
  background: #0B1D3A;
  color: #FFB300;
}

.page-faq .faq-item__text {
  flex: 1;
  min-width: 0;
}

.page-faq .faq-answer {
  padding: 0 14px 16px 60px;
  margin-top: -4px;
}

.page-faq .faq-answer p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: #3D4A5C;
}

.page-faq .faq-answer a {
  color: #0A1128;
  text-decoration: underline;
  text-decoration-color: #FF6B35;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.page-faq .faq-answer a:hover,
.page-faq .faq-answer a:focus-visible {
  color: #FF6B35;
  outline: none;
}

/* 图片：数据同步 */
.page-faq .faq-section__body--split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-faq .faq-figure--sync {
  margin: 0;
  border: 1px solid #E0E8F0;
  border-radius: 10px;
  background: #0B1D3A;
  overflow: hidden;
}

.page-faq .faq-figure--sync img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-faq .faq-figure--sync figcaption {
  padding: 12px 16px;
  font-size: 13px;
  color: #A7B8C9;
  border-top: 1px solid #1F3A5F;
  font-family: var(--font-mono);
}

/* 帮助文档深色区 */
.page-faq .faq-section--doc {
  background: #0A1128;
  color: #E8F0F8;
  border: none;
  background-image: linear-gradient(135deg, #0A1128 0%, #0B1D3A 100%);
}

.page-faq .faq-section--doc .faq-section__head {
  border-bottom-color: #1F3A5F;
}

.page-faq .faq-section--doc .faq-section__num {
  background: #00FF88;
  color: #0A1128;
}

.page-faq .faq-section--doc .faq-section__tag {
  color: #00FF88;
}

.page-faq .faq-section--doc h2 {
  color: #E8F0F8;
}

.page-faq .faq-doc {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-faq .faq-doc__intro p {
  color: #A7B8C9;
  line-height: 1.8;
  margin: 0 0 18px;
  font-size: 15px;
}

.page-faq .faq-doc__list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.page-faq .faq-doc__list li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid rgba(31, 58, 95, 0.7);
  font-size: 14px;
  color: #E8F0F8;
}

.page-faq .faq-doc__list li span {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #00FF88;
  min-width: 66px;
  flex-shrink: 0;
}

.page-faq .faq-doc__figure {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #1F3A5F;
  background: #0D1B2A;
}

.page-faq .faq-doc__figure img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-faq .faq-doc__figure figcaption {
  padding: 12px 16px;
  font-size: 13px;
  color: #A7B8C9;
  border-top: 1px solid #1F3A5F;
  font-family: var(--font-mono);
}

/* 底部CTA */
.page-faq .faq-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  background: #FFFFFF;
  border: 1px solid #E0E8F0;
  border-left: 4px solid #FF6B35;
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: 0 2px 12px rgba(10, 17, 40, 0.04);
}

.page-faq .faq-cta__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #3D4A5C;
}

/* 按钮（作用域内微调） */
.page-faq .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 10px 22px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.page-faq .btn--orange {
  background: #FF6B35;
  color: #0A1128;
  border: 1px solid #FF6B35;
}

.page-faq .btn--orange:hover,
.page-faq .btn--orange:focus-visible {
  background: #FF8A5E;
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.35);
  transform: translateY(-2px);
  outline: none;
}

/* 响应式增强 */
@media (min-width: 768px) {
  .page-faq .faq-hero {
    padding: 32px 0 48px;
  }

  .page-faq .faq-hero h1 {
    font-size: 56px;
  }

  .page-faq .faq-hero__lead {
    font-size: 18px;
  }

  .page-faq .faq-section {
    padding: 32px 32px;
  }

  .page-faq .faq-section__body--split {
    grid-template-columns: 1fr 220px;
    align-items: start;
  }

  .page-faq .faq-doc {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
  }

  .page-faq .faq-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .page-faq .faq-cta__text {
    max-width: 540px;
  }
}

@media (min-width: 992px) {
  .page-faq .faq-layout {
    grid-template-columns: 280px 1fr;
    gap: 48px;
  }

  .page-faq .faq-toc {
    position: sticky;
    top: 120px;
  }

  .page-faq .faq-section__body--split {
    grid-template-columns: 1fr 260px;
  }

  .page-faq .faq-figure--sync {
    position: sticky;
    top: 180px;
  }
}
