.page-faq {
  --faq-gap: clamp(20px, 3vw, 32px);
  position: relative;
  overflow-x: clip;
  padding-bottom: calc(var(--xc-rule-h) + 28px);
}

/* ===== 面包屑 ===== */
.page-faq .xc-breadcrumb {
  padding: clamp(88px, 12vw, 118px) 0 6px;
}

/* ===== 首屏 ===== */
.page-faq .faq-hero {
  position: relative;
  padding: clamp(16px, 3.5vw, 34px) 0 clamp(48px, 7vw, 84px);
  overflow: hidden;
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  top: -22%;
  right: -18%;
  width: min(760px, 120vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(75, 79, 224, 0.42), rgba(139, 124, 246, 0.16) 46%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.page-faq .faq-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(28px, 5vw, 54px);
  align-items: center;
}

.page-faq .faq-hero__eyebrow {
  margin: 0 0 16px;
  font-family: var(--xc-font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--xc-data);
}

.page-faq .faq-hero__title {
  margin: 0 0 20px;
  font-size: clamp(38px, 8.4vw, 84px);
  line-height: 1.03;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--xc-star);
}

.page-faq .faq-hero__title span {
  display: block;
  background: linear-gradient(96deg, var(--xc-aurora), var(--xc-data) 58%, var(--xc-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-faq .faq-hero__lead {
  margin: 0 0 26px;
  max-width: 40em;
  font-size: 16px;
  line-height: 1.9;
  color: var(--xc-mist);
}

.page-faq .faq-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-faq .faq-hero__orbit {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  justify-self: center;
}

.page-faq .faq-hero__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid var(--xc-line);
  transform: translate(-50%, -50%);
}

.page-faq .faq-hero__ring--a {
  width: 100%;
  height: 100%;
  animation: faq-breathe 11s ease-in-out infinite;
}

.page-faq .faq-hero__ring--b {
  width: 72%;
  height: 72%;
  border-color: var(--xc-line-strong);
  animation: faq-breathe 11s ease-in-out infinite 0.9s;
}

.page-faq .faq-hero__ring--c {
  width: 44%;
  height: 44%;
  border-style: dashed;
  border-color: rgba(53, 224, 208, 0.38);
}

.page-faq .faq-hero__core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18%;
  height: 18%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 32% 30%, var(--xc-gold), var(--xc-nebula) 72%);
  box-shadow: 0 0 52px rgba(75, 79, 224, 0.55);
}

@keyframes faq-breathe {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

/* ===== 区块标题组 ===== */
.page-faq .faq-blockhead {
  margin: 0 0 var(--faq-gap);
}

.page-faq .faq-blockhead__idx {
  margin: 0 0 10px;
  font-family: var(--xc-font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--xc-gold);
}

.page-faq .faq-blockhead__title {
  margin: 0 0 12px;
  font-size: clamp(26px, 4.4vw, 40px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--xc-star);
}

.page-faq .faq-blockhead__lead {
  margin: 0;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.85;
  color: var(--xc-mist);
}

/* ===== 高频问答九宫格 ===== */
.page-faq .faq-hot {
  padding: clamp(30px, 5vw, 58px) 0;
}

.page-faq .faq-hot__grid {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr);
}

.page-faq .faq-hot__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px 18px;
  border-radius: var(--xc-r-md);
  border: 1px solid var(--xc-line);
  background: linear-gradient(160deg, rgba(43, 47, 122, 0.5), rgba(23, 26, 74, 0.78));
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.page-faq .faq-hot__card:hover {
  transform: translateY(-3px);
  border-color: rgba(53, 224, 208, 0.5);
  background: linear-gradient(160deg, rgba(43, 47, 122, 0.72), rgba(23, 26, 74, 0.88));
}

.page-faq .faq-hot__num {
  font-family: var(--xc-font-mono);
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: rgba(139, 124, 246, 0.78);
}

.page-faq .faq-hot__q {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--xc-star);
}

.page-faq .faq-hot__a {
  margin: 0;
  flex: 1;
  font-size: 14px;
  line-height: 1.85;
  color: var(--xc-mist);
}

.page-faq .faq-hot__link {
  align-self: flex-start;
  font-family: var(--xc-font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--xc-data);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(53, 224, 208, 0.35);
  transition: color 0.16s ease, border-color 0.16s ease;
}

.page-faq .faq-hot__link:hover {
  color: var(--xc-gold);
  border-color: rgba(245, 185, 59, 0.6);
}

/* ===== 主题分组 ===== */
.page-faq .faq-groups {
  padding: clamp(30px, 5vw, 58px) 0 clamp(38px, 6vw, 76px);
}

.page-faq .faq-groups__visual {
  margin: 0 0 var(--faq-gap);
  border-radius: var(--xc-r-lg);
  border: 1px solid var(--xc-line);
  background: linear-gradient(120deg, rgba(43, 47, 122, 0.5), rgba(10, 11, 46, 0.24));
  overflow: hidden;
}

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

/* 标签条 */
.page-faq .faq-tabs__list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.page-faq .faq-tabs__tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: var(--xc-r-pill);
  border: 1px solid var(--xc-line);
  background: rgba(23, 26, 74, 0.62);
  color: var(--xc-mist);
  font-family: var(--xc-font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.page-faq .faq-tabs__tab:hover {
  color: var(--xc-star);
  border-color: rgba(139, 124, 246, 0.55);
}

.page-faq .faq-tabs__tab:focus-visible {
  outline: 2px solid var(--xc-data);
  outline-offset: 2px;
}

.page-faq .faq-tabs__tab[aria-selected="true"] {
  background: var(--xc-nebula);
  border-color: var(--xc-nebula);
  color: #FFFFFF;
}

.page-faq .faq-tabs__badge {
  font-family: var(--xc-font-mono);
  font-size: 12px;
  line-height: 1.6;
  padding: 0 8px;
  border-radius: var(--xc-r-pill);
  border: 1px solid rgba(53, 224, 208, 0.5);
  color: var(--xc-data);
}

.page-faq .faq-tabs__tab[aria-selected="true"] .faq-tabs__badge {
  border-color: rgba(255, 255, 255, 0.62);
  color: #FFFFFF;
}

/* 面板 */
.page-faq .faq-tabs__panels {
  margin-top: clamp(20px, 3vw, 30px);
}

.page-faq .faq-tabs__figure {
  margin: 0 0 clamp(20px, 3vw, 28px);
  border-radius: var(--xc-r-md);
  border: 1px solid var(--xc-line);
  overflow: hidden;
  background: rgba(23, 26, 74, 0.55);
}

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

.page-faq .faq-tabs__figure figcaption {
  margin: 0;
  padding: 10px 14px;
  font-family: var(--xc-font-mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--xc-mist);
  border-top: 1px solid var(--xc-line);
}

/* 两栏问答列表 */
.page-faq .faq-qa {
  border-top: 1px solid var(--xc-line);
}

.page-faq .faq-qa__item {
  display: grid;
  gap: 10px;
  padding: 22px 0;
  border-bottom: 1px solid var(--xc-line);
}

.page-faq .faq-qa__q {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--xc-star);
}

.page-faq .faq-qa__q::before {
  content: "Q";
  display: inline-block;
  margin-right: 8px;
  vertical-align: 1px;
  font-family: var(--xc-font-mono);
  font-size: 13px;
  color: var(--xc-gold);
}

.page-faq .faq-qa__body p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--xc-mist);
}

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

/* 步骤序号 */
.page-faq .faq-steps {
  counter-reset: faq-step;
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-faq .faq-steps li {
  counter-increment: faq-step;
  position: relative;
  padding-left: 34px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--xc-star);
}

.page-faq .faq-steps li::before {
  content: counter(faq-step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--xc-gold);
  color: var(--xc-gold);
  font-family: var(--xc-font-mono);
  font-size: 12px;
  line-height: 20px;
  text-align: center;
}

.page-faq .faq-steps li::after {
  content: "";
  position: absolute;
  left: 10.5px;
  top: 26px;
  bottom: -10px;
  width: 1px;
  background: rgba(245, 185, 59, 0.28);
}

.page-faq .faq-steps li:last-child::after {
  display: none;
}

/* ===== 还没解决 ===== */
.page-faq .faq-help {
  padding: clamp(30px, 5vw, 58px) 0 clamp(24px, 4vw, 44px);
}

.page-faq .faq-help__inner {
  display: grid;
  gap: clamp(22px, 3.5vw, 36px);
  padding: clamp(24px, 4vw, 42px);
  border-radius: var(--xc-r-lg);
  border: 1px solid var(--xc-line-strong);
  background: linear-gradient(140deg, rgba(43, 47, 122, 0.62), rgba(10, 11, 46, 0.56));
}

.page-faq .faq-help__title {
  margin: 0 0 12px;
  font-size: clamp(24px, 3.8vw, 34px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--xc-star);
}

.page-faq .faq-help__lead {
  margin: 0 0 22px;
  max-width: 42em;
  font-size: 16px;
  line-height: 1.9;
  color: var(--xc-mist);
}

.page-faq .faq-help__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-faq .faq-help__contact {
  padding: clamp(18px, 2.6vw, 24px);
  border-radius: var(--xc-r-md);
  background: rgba(10, 11, 46, 0.52);
  border: 1px solid var(--xc-line);
}

.page-faq .faq-help__note {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--xc-mist);
}

/* ===== 断点 ===== */
@media (min-width: 680px) {
  .page-faq .faq-hot__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-faq .faq-hero__inner {
    grid-template-columns: minmax(0, 1.18fr) minmax(260px, 0.82fr);
  }

  .page-faq .faq-hero__orbit {
    justify-self: end;
  }
}

@media (min-width: 1060px) {
  .page-faq .faq-hot__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .page-faq .faq-qa__item {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.6fr);
    gap: 30px;
    padding: 28px 0;
  }

  .page-faq .faq-help__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    align-items: center;
  }
}

@media (min-width: 1180px) {
  .page-faq .faq-tabs__panel {
    padding-left: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-hero__ring {
    animation: none;
    opacity: 0.78;
  }

  .page-faq .faq-hot__card {
    transition: none;
  }

  .page-faq .faq-hot__card:hover {
    transform: none;
  }
}
