.page-faq {
  --faq-gap: clamp(44px, 6vw, 88px);
  --faq-line: rgba(255, 255, 255, .10);
  position: relative;
  overflow-x: clip;
}

/* ---------- 首屏 ---------- */
.page-faq .faq-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(24px, 4.4vw, 52px) 0 clamp(34px, 5vw, 62px);
}

.page-faq .faq-hero__glow,
.page-faq .faq-hero__wedge {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.page-faq .faq-hero__glow {
  inset: -46% -30% auto -30%;
  height: 200%;
  background:
    radial-gradient(56% 58% at 6% 10%, rgba(155, 107, 255, .34), transparent 68%),
    radial-gradient(42% 50% at 94% 4%, rgba(255, 61, 90, .24), transparent 70%),
    radial-gradient(52% 54% at 62% 98%, rgba(255, 197, 61, .18), transparent 72%);
}

.page-faq .faq-hero__wedge {
  top: clamp(120px, 20vw, 240px);
  right: -14%;
  width: min(66vw, 640px);
  aspect-ratio: 1 / 1;
  background: linear-gradient(142deg, rgba(255, 197, 61, .17), rgba(155, 107, 255, .10) 50%, rgba(10, 10, 18, 0) 76%);
  clip-path: polygon(24% 0%, 100% 0%, 100% 72%, 0% 100%);
}

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

.page-faq .faq-hero__body {
  max-width: 760px;
  margin-top: clamp(18px, 2.6vw, 30px);
}

.page-faq .faq-hero h1 {
  margin: 12px 0 0;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 7vw, 4.1rem);
  font-weight: 800;
  line-height: 1.09;
  letter-spacing: -.025em;
  color: var(--white);
}

.page-faq .faq-hl {
  color: var(--gold);
  text-shadow: 0 0 26px rgba(255, 197, 61, .45), 0 0 62px rgba(255, 197, 61, .18);
}

.page-faq .faq-hero .lede {
  margin-top: clamp(16px, 2.4vw, 24px);
  max-width: 44ch;
  font-size: clamp(1rem, 1.5vw, 1.08rem);
  line-height: 1.85;
  color: var(--mist);
}

.page-faq .faq-hero .btn-row {
  margin-top: clamp(22px, 3vw, 32px);
}

/* 六步缩略条 */
.page-faq .faq-strip {
  margin: clamp(28px, 4vw, 46px) 0 0;
  padding: 4px 2px 12px;
  list-style: none;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.page-faq .faq-strip li {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--faq-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  color: var(--white);
  font-size: .92rem;
  font-weight: 600;
  white-space: nowrap;
}

.page-faq .faq-strip li.is-key {
  border-color: rgba(255, 197, 61, .5);
  background: linear-gradient(180deg, rgba(255, 197, 61, .20), rgba(255, 197, 61, .05));
  box-shadow: 0 0 24px rgba(255, 197, 61, .22);
  color: var(--gold);
}

.page-faq .faq-strip__n {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: .74rem;
  font-weight: 800;
  color: var(--ink);
  background: linear-gradient(160deg, var(--gold), var(--gold-deep));
}

/* ---------- 主体布局 ---------- */
.page-faq .faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(56px, 8vw, 108px);
}

.page-faq .faq-main {
  display: grid;
  gap: var(--faq-gap);
  min-width: 0;
}

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

.page-faq .faq-section {
  scroll-margin-top: 116px;
  min-width: 0;
}

.page-faq .faq-sec-head {
  margin-bottom: clamp(20px, 3vw, 32px);
}

.page-faq .faq-sec-head h2 {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.6vw, 2.2rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -.02em;
  color: var(--white);
}

.page-faq .faq-sec-head p {
  margin: 12px 0 0;
  max-width: 46ch;
  color: var(--mist);
  font-size: .97rem;
  line-height: 1.85;
}

.page-faq .faq-sec-head a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 六步卡片 ---------- */
.page-faq .faq-path {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-faq .faq-path__item {
  position: relative;
  padding: 22px 20px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--faq-line);
  background: linear-gradient(180deg, rgba(20, 20, 31, .92), rgba(20, 20, 31, .66));
  overflow: hidden;
}

.page-faq .faq-path__item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), rgba(155, 107, 255, 0) 72%);
  opacity: .85;
}

.page-faq .faq-path__item.is-key {
  border-color: rgba(255, 197, 61, .42);
  background: linear-gradient(180deg, rgba(255, 197, 61, .13), rgba(20, 20, 31, .9));
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}

.page-faq .faq-path__item.is-key::before {
  background: linear-gradient(90deg, var(--gold), rgba(255, 197, 61, 0) 78%);
}

.page-faq .faq-path__num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
  color: var(--gold);
  text-shadow: 0 0 18px rgba(255, 197, 61, .38);
}

.page-faq .faq-path__name {
  margin: 12px 0 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.01em;
}

.page-faq .faq-path__text {
  margin: 8px 0 0;
  font-size: .93rem;
  line-height: 1.8;
  color: var(--mist);
}

/* ---------- 通用图框 ---------- */
.page-faq .faq-figure {
  margin: clamp(22px, 3.4vw, 36px) 0 0;
  border-radius: var(--radius);
  border: 1px solid var(--faq-line);
  background: rgba(20, 20, 31, .7);
  overflow: hidden;
}

.page-faq .faq-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.page-faq .faq-figure figcaption {
  padding: 12px 18px;
  font-size: .82rem;
  line-height: 1.7;
  color: var(--mist);
  border-top: 1px solid var(--faq-line);
}

/* ---------- 第 3 步放大舞台 ---------- */
.page-faq .faq-stage {
  position: relative;
  isolation: isolate;
  padding: clamp(24px, 3.6vw, 42px);
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(255, 197, 61, .28);
  background: linear-gradient(158deg, rgba(255, 197, 61, .11), rgba(155, 107, 255, .11) 48%, rgba(10, 10, 18, .55) 100%);
  overflow: hidden;
}

.page-faq .faq-stage__glow {
  position: absolute;
  z-index: -1;
  inset: -60% -20% auto -20%;
  height: 160%;
  pointer-events: none;
  background:
    radial-gradient(42% 46% at 18% 22%, rgba(255, 197, 61, .22), transparent 70%),
    radial-gradient(46% 50% at 86% 66%, rgba(155, 107, 255, .22), transparent 72%);
}

.page-faq .faq-stage h2 {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.4vw, 2.1rem);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -.02em;
  color: var(--white);
}

.page-faq .faq-stage__lede {
  margin: 14px 0 0;
  max-width: 46ch;
  font-size: .97rem;
  line-height: 1.85;
  color: var(--mist);
}

.page-faq .faq-stage__grid {
  margin-top: clamp(22px, 3vw, 32px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
}

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

.page-faq .faq-flow__step {
  position: relative;
  padding: 18px 18px 20px 58px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--faq-line);
  background: rgba(20, 20, 31, .86);
}

.page-faq .faq-flow__idx {
  position: absolute;
  left: 16px;
  top: 18px;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 800;
  color: var(--ink);
  background: linear-gradient(160deg, var(--gold), var(--gold-deep));
  box-shadow: 0 0 18px rgba(255, 197, 61, .3);
}

.page-faq .faq-flow__step h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--white);
}

.page-faq .faq-flow__step p {
  margin: 7px 0 0;
  font-size: .9rem;
  line-height: 1.75;
  color: var(--mist);
}

.page-faq .faq-shot {
  margin: 0;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .16);
  background: var(--slate);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.page-faq .faq-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-faq .faq-shot figcaption {
  padding: 12px 16px;
  font-size: .82rem;
  line-height: 1.7;
  color: var(--mist);
  border-top: 1px solid var(--faq-line);
}

.page-faq .faq-stage__after {
  margin: clamp(20px, 3vw, 28px) 0 0;
  padding-top: clamp(16px, 2.4vw, 22px);
  border-top: 1px dashed rgba(255, 197, 61, .28);
  font-size: .93rem;
  line-height: 1.85;
  color: var(--white);
}

/* ---------- 参数对照 ---------- */
.page-faq .faq-matrix {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.page-faq .faq-matrix__col {
  padding: 20px 18px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--faq-line);
  background: linear-gradient(180deg, rgba(20, 20, 31, .9), rgba(20, 20, 31, .6));
}

.page-faq .faq-matrix__col--alt {
  border-color: rgba(22, 199, 154, .3);
  background: linear-gradient(180deg, rgba(22, 199, 154, .09), rgba(20, 20, 31, .72));
}

.page-faq .faq-matrix__title {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.01em;
}

.page-faq .faq-matrix__col--alt .faq-matrix__title {
  color: var(--green);
}

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

.page-faq .faq-matrix__list li {
  display: grid;
  gap: 4px;
  padding: 11px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .035);
  border-left: 2px solid rgba(155, 107, 255, .6);
}

.page-faq .faq-matrix__col--alt .faq-matrix__list li {
  border-left-color: rgba(22, 199, 154, .6);
}

.page-faq .faq-matrix__k {
  font-size: .88rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .01em;
}

.page-faq .faq-matrix__col--alt .faq-matrix__k {
  color: var(--green);
}

.page-faq .faq-matrix__v {
  font-size: .87rem;
  line-height: 1.72;
  color: var(--mist);
}

.page-faq .faq-arrow {
  counter-reset: faq-arrow;
  list-style: none;
  margin: clamp(20px, 3vw, 30px) 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-faq .faq-arrow li {
  counter-increment: faq-arrow;
  position: relative;
  padding: 14px 18px 14px 54px;
  border-radius: 12px;
  border: 1px solid var(--faq-line);
  background: rgba(255, 255, 255, .03);
  font-size: .95rem;
  line-height: 1.65;
  color: var(--white);
}

.page-faq .faq-arrow li::before {
  content: counter(faq-arrow);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 800;
  color: var(--ink);
  background: linear-gradient(160deg, var(--gold), var(--gold-deep));
}

.page-faq .faq-arrow li + li::after {
  content: "";
  position: absolute;
  left: 27px;
  top: -13px;
  width: 1px;
  height: 13px;
  background: linear-gradient(180deg, rgba(255, 197, 61, .65), rgba(255, 197, 61, .12));
}

/* ---------- 折叠问答 ---------- */
.page-faq .faq-qa-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.page-faq .faq-qa {
  border: 1px solid var(--faq-line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(20, 20, 31, .92), rgba(20, 20, 31, .62));
  overflow: hidden;
  transition: border-color .2s ease;
}

.page-faq .faq-qa[open] {
  border-color: rgba(255, 197, 61, .38);
}

.page-faq .faq-qa > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  font-size: .96rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--white);
}

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

.page-faq .faq-qa > summary::marker {
  content: "";
}

.page-faq .faq-qa__icon {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: .74rem;
  font-weight: 800;
  color: var(--ink);
  background: linear-gradient(160deg, var(--gold), var(--gold-deep));
}

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

.page-faq .faq-qa__sign {
  flex: none;
  margin-left: auto;
  width: 20px;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1;
  color: var(--gold);
}

.page-faq .faq-qa__sign::before {
  content: "+";
  font-weight: 700;
}

.page-faq .faq-qa[open] .faq-qa__sign::before {
  content: "−";
}

.page-faq .faq-qa__a {
  padding: 0 18px 18px 54px;
  font-size: .92rem;
  line-height: 1.82;
  color: var(--mist);
}

.page-faq .faq-qa__a p {
  margin: 0;
}

/* ---------- 转人工 ---------- */
.page-faq .faq-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.page-faq .faq-contact__card {
  padding: 20px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--faq-line);
  background: linear-gradient(180deg, rgba(20, 20, 31, .9), rgba(20, 20, 31, .6));
}

.page-faq .faq-contact__card--alt {
  border-color: rgba(255, 61, 90, .32);
  background: linear-gradient(180deg, rgba(255, 61, 90, .1), rgba(20, 20, 31, .74));
}

.page-faq .faq-contact__label {
  margin: 0;
  font-size: .78rem;
  letter-spacing: .08em;
  color: var(--mist);
}

.page-faq .faq-contact__value {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.4vw, 1.14rem);
  font-weight: 700;
  color: var(--white);
  word-break: break-word;
}

.page-faq .faq-contact__card--alt .faq-contact__value {
  color: var(--gold);
  text-shadow: 0 0 20px rgba(255, 197, 61, .35);
}

.page-faq .faq-contact__note {
  margin: 6px 0 0;
  font-size: .82rem;
  line-height: 1.7;
  color: var(--mist);
}

.page-faq .faq-contact__tip {
  margin: clamp(16px, 2.4vw, 22px) 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  border-left: 3px solid var(--violet);
  background: rgba(155, 107, 255, .09);
  font-size: .91rem;
  line-height: 1.8;
  color: var(--white);
}

.page-faq .faq-contact .btn-row {
  margin-top: clamp(18px, 2.6vw, 26px);
}

/* ---------- 右侧目录（桌面） ---------- */
.page-faq .faq-toc__title {
  margin: 0 0 12px;
  font-size: .76rem;
  letter-spacing: .1em;
  color: var(--mist);
}

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

.page-faq .faq-toc__link {
  display: block;
  padding: 9px 12px;
  border-radius: 9px;
  border-left: 2px solid transparent;
  font-size: .87rem;
  color: var(--mist);
  text-decoration: none;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}

.page-faq .faq-toc__link:hover,
.page-faq .faq-toc__link.is-active {
  color: var(--gold);
  background: rgba(255, 197, 61, .09);
  border-left-color: var(--gold);
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-faq .faq-path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-faq .faq-matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .page-faq .faq-contact__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-faq .faq-contact__card--alt {
    grid-column: span 2;
  }
}

@media (min-width: 760px) {
  .page-faq .faq-qa-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .page-faq .faq-stage__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(22px, 3vw, 34px);
  }
}

@media (min-width: 1000px) {
  .page-faq .faq-layout {
    grid-template-columns: minmax(0, 1fr) 236px;
    gap: clamp(32px, 4vw, 60px);
    align-items: start;
  }

  .page-faq .faq-toc {
    display: block;
    position: sticky;
    top: clamp(96px, 13vh, 140px);
    padding: 18px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--faq-line);
    background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  }

  .page-faq .faq-path {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .page-faq .faq-path__item:nth-child(3n + 2) {
    margin-top: 20px;
  }

  .page-faq .faq-path__item:nth-child(3n + 3) {
    margin-top: 8px;
  }

  .page-faq .faq-contact__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-faq .faq-contact__card--alt {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-toc__link,
  .page-faq .faq-qa {
    transition: none;
  }
}
