.page-faq {
  --faq-radius: 3px;
  --faq-top-gap: calc(var(--bar-h) + 96px);
  background:
    radial-gradient(1100px 520px at 92% -10%, rgba(34, 230, 210, .10), transparent 62%),
    radial-gradient(880px 460px at 2% 8%, rgba(255, 122, 47, .06), transparent 60%);
}

/* ---------- 首屏 ---------- */
.page-faq .faq-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(22px, 4vw, 48px);
  padding-bottom: clamp(18px, 3vw, 34px);
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  top: -22%;
  right: -14%;
  width: min(600px, 78vw);
  height: min(600px, 78vw);
  background: repeating-linear-gradient(115deg, rgba(143, 163, 184, .10) 0 1px, transparent 1px 28px);
  -webkit-mask-image: radial-gradient(circle at 62% 38%, #000, transparent 72%);
  mask-image: radial-gradient(circle at 62% 38%, #000, transparent 72%);
  pointer-events: none;
}

.page-faq .faq-hero .container {
  position: relative;
  z-index: 1;
}

.page-faq .faq-hero__grid {
  display: grid;
  gap: clamp(20px, 3vw, 36px);
  align-items: end;
  margin-top: clamp(14px, 2.4vw, 24px);
}

.page-faq h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(33px, 7vw, 62px);
  line-height: 1.02;
  letter-spacing: -.015em;
  margin: .16em 0 .3em;
  color: var(--white);
  text-wrap: balance;
}

.page-faq .faq-hero__lead {
  margin: 0;
  max-width: 46ch;
  color: var(--steel);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.75;
}

.page-faq .faq-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: clamp(18px, 2.6vw, 26px) 0 0;
  padding: 14px 0 0;
  list-style: none;
  border-top: 1px solid var(--line-soft);
}

.page-faq .faq-hero__meta li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--steel);
}

.page-faq .faq-hero__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 22px;
  line-height: 1;
  color: var(--cyan);
}

.page-faq .faq-hero__media {
  margin: 0;
  position: relative;
  border: 1px solid var(--line-soft);
}

.page-faq .faq-hero__media img,
.page-faq .faq-contact__media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

/* ---------- 筛选浮岛 ---------- */
.page-faq .faq-filter {
  position: sticky;
  top: calc(var(--bar-h) + 10px);
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: clamp(16px, 2.6vw, 26px) 0 clamp(20px, 3vw, 32px);
  padding: 8px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(12, 37, 66, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 32px rgba(5, 11, 20, .45);
}

.page-faq .faq-filter__label {
  flex: 0 0 auto;
  color: var(--teal);
  padding-left: 4px;
}

.page-faq .faq-filter .filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0;
  scrollbar-width: none;
}

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

.page-faq .filter-btn {
  flex: 0 0 auto;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: transparent;
  color: var(--steel);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1;
  padding: 8px 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: color 140ms ease, background 140ms ease, border-color 140ms ease;
}

.page-faq .filter-btn:hover {
  color: var(--white);
  border-color: var(--line-cyan);
}

.page-faq .filter-btn[aria-pressed="true"] {
  color: var(--deep);
  background: var(--cyan);
  border-color: var(--cyan);
}

.page-faq .filter-btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* ---------- 主体两栏 ---------- */
.page-faq .faq-body {
  display: grid;
  gap: clamp(20px, 3vw, 40px);
  padding-bottom: clamp(34px, 5vw, 64px);
}

.page-faq .faq-toc {
  padding-bottom: 4px;
}

.page-faq .faq-toc__caption {
  margin: 0;
  color: var(--teal);
}

.page-faq .faq-toc__list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  border-left: 1px solid var(--line-soft);
}

.page-faq .faq-toc__link {
  display: flex;
  gap: 10px;
  margin-left: -1px;
  padding: 9px 0 9px 14px;
  border-left: 2px solid transparent;
  color: var(--steel);
  font-size: 14px;
  text-decoration: none;
  transition: color 140ms ease, border-color 140ms ease;
}

.page-faq .faq-toc__link:hover,
.page-faq .faq-toc__link:focus-visible {
  color: var(--white);
  border-left-color: var(--cyan);
}

.page-faq .faq-toc__link:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.page-faq .faq-toc__no {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--teal);
  padding-top: 3px;
}

.page-faq .faq-toc__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.page-faq .faq-toc__quick .btn {
  font-size: 12px;
  padding: 8px 12px;
}

/* ---------- 问题分组 ---------- */
.page-faq .faq-group {
  scroll-margin-top: calc(var(--bar-h) + 108px);
  margin-bottom: clamp(22px, 3vw, 34px);
}

.page-faq .faq-group__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}

.page-faq .faq-group__no {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 24px;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--teal);
}

@supports (-webkit-text-stroke: 1px #000) {
  .page-faq .faq-group__no {
    color: transparent;
    -webkit-text-stroke: 1px rgba(34, 230, 210, .55);
  }
}

.page-faq .faq-group__head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(19px, 2.6vw, 26px);
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--white);
}

.page-faq .faq-group__note {
  margin: 6px 0 0;
  color: var(--steel);
  font-size: 13px;
  line-height: 1.6;
}

/* ---------- 手风琴 ---------- */
.page-faq .faq-q {
  border: 1px solid var(--line-soft);
  border-radius: var(--faq-radius);
  background: rgba(12, 37, 66, .72);
  margin-bottom: 8px;
  transition: border-color 150ms ease, background 150ms ease;
}

.page-faq .faq-q summary {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--white);
  transition: color 140ms ease;
}

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

.page-faq .faq-q summary:hover {
  color: var(--cyan);
}

.page-faq .faq-q summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
}

.page-faq .faq-q__no {
  flex: 0 0 34px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--teal);
  padding-top: 4px;
}

.page-faq .faq-q__q {
  flex: 1 1 auto;
}

.page-faq .faq-q__sign {
  position: relative;
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  margin-top: 5px;
  margin-left: 4px;
}

.page-faq .faq-q__sign::before,
.page-faq .faq-q__sign::after {
  content: "";
  position: absolute;
  background: var(--cyan);
  transition: transform 160ms ease, opacity 160ms ease;
}

.page-faq .faq-q__sign::before {
  left: 0;
  top: 5px;
  width: 12px;
  height: 2px;
}

.page-faq .faq-q__sign::after {
  left: 5px;
  top: 0;
  width: 2px;
  height: 12px;
}

.page-faq .faq-q[open] {
  border-color: rgba(34, 230, 210, .42);
  background: rgba(14, 110, 112, .16);
}

.page-faq .faq-q[open] .faq-q__sign::after {
  transform: scaleY(0);
  opacity: 0;
}

.page-faq .faq-q__a {
  position: relative;
  padding: 0 16px 16px 28px;
}

.page-faq .faq-q__a::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 2px;
  bottom: 16px;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan), rgba(34, 230, 210, 0));
}

.page-faq .faq-q__a p {
  margin: 0;
  color: var(--steel);
  font-size: 14.5px;
  line-height: 1.75;
}

.page-faq .faq-q__a a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 本地保存路线图 ---------- */
.page-faq .faq-route {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 12px;
  padding: 14px;
  border: 1px dashed var(--line-cyan);
  border-radius: var(--faq-radius);
  background: rgba(5, 11, 20, .32);
}

.page-faq .faq-route__node {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border-left: 2px solid var(--teal);
  background: rgba(12, 37, 66, .7);
}

.page-faq .faq-route__node strong {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--mist);
  line-height: 1.5;
}

.page-faq .faq-route__node--end {
  border-left-color: var(--cyan);
}

.page-faq .faq-route__arrow {
  align-self: center;
  width: 2px;
  height: 12px;
  background: linear-gradient(180deg, var(--cyan), transparent);
}

/* ---------- 联系客服 ---------- */
.page-faq .faq-contact {
  margin-top: clamp(24px, 3.5vw, 40px);
}

.page-faq .faq-contact__panel {
  position: relative;
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  padding: clamp(20px, 3.2vw, 34px);
  border: 1px solid var(--line-orange);
  border-top: 2px solid var(--orange);
  background: linear-gradient(150deg, rgba(12, 37, 66, .96), rgba(7, 24, 46, .96) 58%, rgba(5, 11, 20, .98));
  overflow: hidden;
}

.page-faq .faq-contact__panel::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 122, 47, .22), transparent 70%);
  pointer-events: none;
}

.page-faq .faq-contact__copy {
  position: relative;
  z-index: 1;
}

.page-faq .faq-contact__copy h2 {
  margin: .2em 0 .5em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3.4vw, 34px);
  line-height: 1.14;
  letter-spacing: -.01em;
  color: var(--white);
}

.page-faq .faq-contact__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-faq .faq-contact__row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  border-left: 2px solid var(--orange);
  background: rgba(255, 122, 47, .07);
}

.page-faq .faq-contact__label {
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--amber);
}

.page-faq .faq-contact__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  line-height: 1.55;
  color: var(--white);
  word-break: break-word;
}

.page-faq .faq-contact__row:last-child .faq-contact__value {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--mist);
}

.page-faq .faq-contact__note {
  margin: 12px 0 0;
  color: var(--steel);
  font-size: 12.5px;
  line-height: 1.7;
}

.page-faq .faq-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.page-faq .faq-contact__media {
  margin: 0;
  position: relative;
  border: 1px solid var(--line-soft);
  align-self: start;
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-faq .faq-route {
    flex-direction: row;
    align-items: stretch;
    padding: 16px;
  }

  .page-faq .faq-route__node {
    flex: 1 1 0;
  }

  .page-faq .faq-route__arrow {
    align-self: center;
    width: 18px;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), transparent);
  }

  .page-faq .faq-contact__panel {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    align-items: start;
  }
}

@media (min-width: 900px) {
  .page-faq .faq-hero__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  }
}

@media (min-width: 1000px) {
  .page-faq .faq-body {
    grid-template-columns: 244px minmax(0, 1fr);
    align-items: start;
  }

  .page-faq .faq-toc {
    position: sticky;
    top: var(--faq-top-gap);
  }

  .page-faq .faq-toc__quick {
    flex-direction: column;
  }

  .page-faq .faq-toc__quick .btn {
    width: 100%;
    text-align: center;
  }
}

@media (min-width: 1180px) {
  .page-faq .faq-q summary {
    font-size: 15.5px;
    padding: 16px 18px;
  }

  .page-faq .faq-q__a {
    padding: 0 18px 18px 30px;
  }
}

@media (max-width: 560px) {
  .page-faq .faq-filter {
    border-radius: 16px;
    padding: 8px;
  }

  .page-faq .faq-filter__label {
    display: none;
  }

  .page-faq .faq-hero__meta {
    gap: 8px 18px;
  }

  .page-faq .faq-hero__num {
    font-size: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .filter-btn,
  .page-faq .faq-q,
  .page-faq .faq-q summary,
  .page-faq .faq-q__sign::before,
  .page-faq .faq-q__sign::after,
  .page-faq .faq-toc__link {
    transition: none;
  }
}
