/* ===== 页面作用域：.page-faq ===== */
.page-faq {
  background: var(--c-pearl);
  color: var(--c-dark);
  font-family: var(--font-body);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* ===== 顶部 Hero ===== */
.page-faq .faq-hero {
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 84, 0, 0.18) 0%, transparent 340px),
    linear-gradient(160deg, #0B1020 0%, #131A30 68%, #0B1020 100%);
  padding: 28px 0 84px;
  position: relative;
  overflow: hidden;
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 200px;
  height: 200px;
  background: var(--c-orange);
  opacity: 0.14;
  transform: rotate(24deg);
  clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%);
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 28px;
  background: var(--c-pearl);
  clip-path: polygon(calc(100% - 96px) 0, 100% 100%, 0 100%, 0 0);
  z-index: 2;
}

.page-faq .faq-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
  color: rgba(245, 247, 250, 0.6);
  font-size: 14px;
}

.page-faq .faq-hero .crumb-link {
  color: rgba(245, 247, 250, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.page-faq .faq-hero .crumb-link:hover {
  color: var(--c-orange);
}

.page-faq .faq-hero .crumb-sep {
  color: rgba(245, 247, 250, 0.35);
}

.page-faq .faq-hero .crumb-current {
  color: var(--c-pearl);
  font-weight: 600;
}

.page-faq .faq-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.page-faq .faq-hero__kicker {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-orange);
}

.page-faq .faq-hero__content h1 {
  margin: 0 0 18px;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.16;
  letter-spacing: -0.03em;
  color: var(--c-pearl);
  font-weight: 900;
  max-width: 820px;
}

.page-faq .faq-hero__lead {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(245, 247, 250, 0.74);
  max-width: 720px;
}

.page-faq .faq-hero__btn {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 1px solid rgba(255, 84, 0, 0.8);
  color: var(--c-orange);
  clip-path: var(--clip-btn);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.page-faq .faq-hero__btn:hover {
  background: var(--c-orange);
  color: var(--c-pearl);
}

.page-faq .faq-hero__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: end;
}

.page-faq .faq-stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--c-orange);
  padding: 14px 12px;
  min-width: 0;
}

.page-faq .faq-stat__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 700;
  color: var(--c-pearl);
  line-height: 1.2;
}

.page-faq .faq-stat__label {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: rgba(245, 247, 250, 0.58);
}

/* ===== 主体布局 ===== */
.page-faq .faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 0 24px 72px;
  margin-top: -48px;
  position: relative;
  z-index: 3;
}

/* ===== 左侧问讯索引 ===== */
.page-faq .faq-index__card {
  background: var(--c-night);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
  padding: 22px 20px 18px;
  position: relative;
  overflow: hidden;
}

.page-faq .faq-index__card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--c-orange) 0%, var(--c-lava) 100%);
}

.page-faq .faq-index__title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--c-pearl);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-faq .faq-index__card .signal-line {
  margin: 14px 0 6px;
  font-size: 13px;
  color: rgba(245, 247, 250, 0.6);
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-faq .faq-index__card .signal-line .mono {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-gold);
}

.page-faq .faq-index__list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.page-faq .faq-index__list li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 8px;
  color: rgba(245, 247, 250, 0.76);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s, padding-left 0.2s, color 0.2s;
  font-size: 15px;
}

.page-faq .faq-index__list li a:last-child {
  border-bottom: none;
}

.page-faq .faq-index__list li a:hover {
  color: var(--c-pearl);
  padding-left: 16px;
  background: rgba(255, 84, 0, 0.12);
}

.page-faq .faq-index__num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--c-gold);
  min-width: 28px;
}

.page-faq .faq-index__foot {
  display: flex;
  gap: 8px;
  margin: 20px 0 0;
  flex-wrap: wrap;
}

.page-faq .faq-index__trust {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(245, 247, 250, 0.56);
  font-size: 13px;
}

/* ===== 右侧问答主区 ===== */
.page-faq .faq-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.page-faq .faq-section {
  background: #fff;
  border: 1px solid rgba(11, 16, 32, 0.08);
  border-top: 3px solid var(--c-orange);
  box-shadow: var(--shadow-sm);
  padding: 24px 18px 26px;
  position: relative;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.page-faq .faq-section__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(11, 16, 32, 0.1);
  margin-bottom: 22px;
}

.page-faq .faq-section__index {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: var(--c-orange);
  flex-shrink: 0;
  letter-spacing: -0.04em;
}

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

.page-faq .faq-section__tit h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--c-dark);
}

.page-faq .faq-section__desc {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-smoke);
}

.page-faq .faq-section__head .flag {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 12px;
}

/* ===== 图片（图文区） ===== */
.page-faq .faq-art {
  margin: 0 0 20px;
  position: relative;
}

.page-faq .faq-art img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--c-night);
  background: var(--c-navy);
  object-fit: cover;
}

.page-faq .faq-art--banner img {
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}

.page-faq .faq-art--portrait img {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 0 100%);
}

.page-faq .faq-art figcaption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--c-smoke);
  text-align: right;
}

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

/* ===== 折叠面板 ===== */
.page-faq .acc-panel {
  background: var(--c-pearl);
  border: 1px solid #E3E7EF;
  border-left: 4px solid transparent;
  margin-bottom: 10px;
  transition: border-left-color 0.2s, box-shadow 0.2s;
}

.page-faq .acc-panel:hover {
  border-left-color: var(--c-orange);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.page-faq .acc-trigger {
  width: 100%;
  border: none;
  background: transparent;
  padding: 16px 16px 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  text-align: left;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--c-dark);
  margin: 0;
  transition: color 0.2s;
}

.page-faq .acc-trigger:hover {
  color: var(--c-lava);
}

.page-faq .acc-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
  background: rgba(255, 84, 0, 0.12);
  transition: background 0.2s;
}

.page-faq .acc-icon::before,
.page-faq .acc-icon::after {
  content: "";
  position: absolute;
  background: var(--c-orange);
  transition: transform 0.2s;
}

.page-faq .acc-icon::before {
  left: 5px;
  right: 5px;
  top: 10px;
  height: 2px;
}

.page-faq .acc-icon::after {
  top: 5px;
  bottom: 5px;
  left: 10px;
  width: 2px;
}

.page-faq .acc-panel[data-open] .acc-icon {
  background: var(--c-orange);
}

.page-faq .acc-panel[data-open] .acc-icon::before {
  background: #fff;
}

.page-faq .acc-panel[data-open] .acc-icon::after {
  transform: translateY(0);
  opacity: 0;
}

.page-faq .acc-content__inner {
  padding: 0 18px 18px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-dark);
}

.page-faq .acc-content__inner p {
  margin: 0 0 10px;
}

.page-faq .acc-content__inner p:last-child {
  margin-bottom: 0;
}

.page-faq .acc-content__inner a {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(29, 155, 240, 0.4);
  transition: border-color 0.2s;
}

.page-faq .acc-content__inner a:hover {
  border-bottom-color: var(--c-cyber);
}

/* ===== 数据规模横带 ===== */
.page-faq .faq-data-band {
  background: var(--c-night);
  padding: 18px 18px;
  margin-bottom: 16px;
  color: var(--c-pearl);
  position: relative;
  clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
}

.page-faq .faq-data-band .signal-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-gold);
  margin-bottom: 8px;
}

.page-faq .faq-data-band .signal-line .mono {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(245, 247, 250, 0.6);
  font-weight: 400;
}

.page-faq .faq-data-band__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(245, 247, 250, 0.84);
}

/* ===== 联系支持 ===== */
.page-faq .faq-section--support .faq-section__head {
  align-items: center;
}

.page-faq .faq-support__btn {
  margin-left: auto;
  flex-shrink: 0;
  text-decoration: none;
  font-size: 13px;
  padding: 8px 14px;
  clip-path: var(--clip-btn);
}

.page-faq .faq-support-panel {
  background: var(--c-night);
  border-radius: 0;
}

.page-faq .faq-support-panel .console-panel__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 14px;
}

.page-faq .faq-support-panel .console-panel__title {
  color: var(--c-pearl);
  font-weight: 700;
}

.page-faq .faq-support-panel .score-display {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--c-orange);
}

.page-faq .faq-support-panel__lead {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(245, 247, 250, 0.82);
}

.page-faq .faq-support-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.page-faq .faq-support-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-left: 2px solid var(--c-orange);
  padding: 12px 14px;
  min-width: 0;
}

.page-faq .faq-support-card .contact-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(245, 247, 250, 0.55);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.page-faq .faq-support-card .contact-value {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--c-pearl);
  word-break: break-all;
  text-decoration: none;
}

.page-faq .faq-support-note {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  font-size: 13px;
  color: rgba(245, 247, 250, 0.78);
}

/* ===== 结尾跳转 ===== */
.page-faq .faq-outro {
  padding: 18px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-smoke);
  text-align: center;
}

.page-faq .faq-outro a {
  color: var(--c-cyber);
  text-decoration: none;
  border-bottom: 1px solid rgba(29, 155, 240, 0.35);
}

.page-faq .faq-outro a:hover {
  border-bottom-color: var(--c-cyber);
}

/* ===== 响应式 ===== */
@media (min-width: 768px) {
  .page-faq .faq-hero__grid {
    grid-template-columns: 1fr 320px;
    align-items: end;
  }

  .page-faq .faq-hero__meta {
    grid-template-columns: 1fr;
  }

  .page-faq .faq-stat {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
  }

  .page-faq .faq-stat__label {
    margin-top: 0;
    text-align: right;
  }

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

  .page-faq .faq-section__tit h2 {
    font-size: 26px;
  }

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

  .page-faq .faq-art--portrait {
    margin-top: 0;
  }

  .page-faq .faq-support-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .page-faq .faq-layout {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
  }

  .page-faq .faq-index__card {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}
