.page-faq {
  --faq-idx: 22px;
  --faq-sticky-top: calc(var(--bar-h) + 88px);
  background: var(--blue-deep);
  color: var(--white-cool);
  overflow-x: hidden;
}

.page-faq img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ---------- 首屏 ---------- */

.page-faq .faq-hero {
  position: relative;
  padding: 44px 0 56px;
  overflow: hidden;
}

.page-faq .faq-hero__slice {
  position: absolute;
  top: -14%;
  right: -16%;
  width: 74%;
  height: 128%;
  background: linear-gradient(152deg, rgba(27, 46, 99, 0.85), rgba(10, 22, 51, 0));
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.page-faq .faq-hero__glow {
  position: absolute;
  top: 16%;
  right: 6%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 255, 158, 0.16), transparent 68%);
  filter: blur(12px);
  pointer-events: none;
}

.page-faq .faq-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.page-faq .faq-hero__text .breadcrumbs {
  margin-bottom: 20px;
}

.page-faq .faq-hero__text .eyebrow {
  display: block;
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}

.page-faq .faq-hero h1 {
  margin: 0 0 22px;
  font-size: clamp(32px, 6.6vw, 62px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 18ch;
}

.page-faq .faq-hero__lead {
  margin: 0;
  max-width: 40ch;
  font-size: 16px;
  line-height: 1.8;
  color: var(--blue-mist);
}

.page-faq .faq-hero__facts {
  list-style: none;
  margin: 30px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--blue-line);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 18px;
}

.page-faq .faq-hero__facts li {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.page-faq .faq-hero__facts .data-num {
  font-size: 22px;
  font-weight: 600;
  color: var(--white-cool);
  letter-spacing: 0.02em;
}

.page-faq .faq-hero__facts em {
  font-style: normal;
  font-size: 12px;
  color: var(--blue-mist);
}

.page-faq .faq-hero__figure {
  margin: 0;
}

/* ---------- 分类命令条 ---------- */

.page-faq .faq-tabs {
  position: sticky;
  top: var(--bar-h);
  z-index: 6;
  background: rgba(10, 22, 51, 0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--blue-line);
  border-bottom: 1px solid var(--blue-line);
}

.page-faq .faq-tabs__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 0;
}

.page-faq .faq-tabs__label {
  display: none;
  flex: none;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--blue-mist);
}

.page-faq .faq-tabs__list {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 2px 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

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

.page-faq .faq-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--blue-line);
  color: var(--blue-mist);
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

.page-faq .faq-tab:hover,
.page-faq .faq-tab:focus-visible {
  color: var(--white-cool);
  border-color: var(--orange);
  background: rgba(255, 106, 26, 0.08);
}

.page-faq .faq-tab__n {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--orange);
}

/* ---------- 主体两栏 ---------- */

.page-faq .faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}

.page-faq .faq-index {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-faq .faq-index__title {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-mist);
}

.page-faq .faq-index__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.page-faq .faq-index__list a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  border-left: 2px solid transparent;
  color: var(--blue-mist);
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.page-faq .faq-index__list a:hover,
.page-faq .faq-index__list a:focus-visible {
  color: var(--white-cool);
  background: var(--blue-night);
  border-left-color: var(--orange);
}

.page-faq .faq-index__n {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--orange);
}

.page-faq .faq-index__list em {
  display: none;
  font-style: normal;
  font-size: 11px;
  color: var(--blue-mist);
  margin-left: auto;
  opacity: 0.7;
}

.page-faq .faq-index__ask {
  border: 1px solid var(--blue-line);
  border-radius: 16px;
  padding: 15px 16px;
  background: linear-gradient(150deg, rgba(16, 31, 69, 0.9), rgba(10, 22, 51, 0.35));
}

.page-faq .faq-index__ask p {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--blue-mist);
}

.page-faq .faq-index__ask a {
  color: var(--orange);
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 106, 26, 0.4);
}

/* ---------- 内容区 ---------- */

.page-faq .faq-content {
  display: flex;
  flex-direction: column;
  gap: 52px;
  min-width: 0;
}

.page-faq .faq-group {
  scroll-margin-top: calc(var(--bar-h) + 92px);
}

.page-faq .faq-group__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--blue-line);
}

.page-faq .faq-group__index {
  flex: none;
  padding-top: 7px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--orange);
  letter-spacing: 0.06em;
}

.page-faq .faq-group__title {
  margin: 0 0 8px;
  font-size: clamp(22px, 3.4vw, 30px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.01em;
}

.page-faq .faq-group__lead {
  margin: 0;
  max-width: 48ch;
  font-size: 15px;
  line-height: 1.72;
  color: var(--blue-mist);
}

.page-faq .faq-group__lead a {
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 106, 26, 0.35);
}

.page-faq .faq-figure {
  margin: 0 0 26px;
}

/* ---------- 折叠问答 ---------- */

.page-faq .faq-list {
  border-bottom: 1px solid var(--blue-line);
}

.page-faq .faq-item {
  border-top: 1px solid var(--blue-line);
}

.page-faq .faq-q {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 17px 4px;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--white-cool);
  transition: color 0.2s var(--ease-out);
}

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

.page-faq .faq-q:hover {
  color: var(--orange-soft);
}

.page-faq .faq-q:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

.page-faq .faq-q__dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-mist);
  transform: translateY(-3px);
  transition: background 0.24s var(--ease-out), box-shadow 0.24s var(--ease-out);
}

.page-faq .faq-item[open] .faq-q__dot {
  background: var(--orange);
  box-shadow: 0 0 10px rgba(255, 106, 26, 0.7);
}

.page-faq .faq-q::after {
  content: "+";
  margin-left: auto;
  padding-left: 12px;
  font-family: var(--font-mono);
  font-size: 19px;
  line-height: 1;
  color: var(--orange);
}

.page-faq .faq-item[open] .faq-q::after {
  content: "−";
}

.page-faq .faq-a {
  padding: 0 4px 22px 25px;
  font-size: 15px;
  line-height: 1.78;
  color: var(--blue-mist);
}

.page-faq .faq-a > p {
  margin: 0 0 12px;
  max-width: 46ch;
}

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

.page-faq .faq-a a {
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 106, 26, 0.35);
}

.page-faq .faq-item[open] .faq-a {
  animation: faqAnswerIn 0.3s var(--ease-out) both;
}

@keyframes faqAnswerIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 步骤路径 ---------- */

.page-faq .steps {
  list-style: none;
  counter-reset: faqstep;
  position: relative;
  margin: 4px 0 16px;
  padding: 0;
}

.page-faq .steps::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 10px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(180deg, var(--orange), rgba(255, 106, 26, 0));
}

.page-faq .steps li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 13px;
  max-width: 46ch;
}

.page-faq .steps li:last-child {
  margin-bottom: 0;
}

.page-faq .steps li::before {
  counter-increment: faqstep;
  content: counter(faqstep, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue-night);
  border: 1px solid var(--orange);
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 10px;
}

/* ---------- 联系引导 ---------- */

.page-faq .faq-ask {
  position: relative;
  overflow: hidden;
  padding: 26px 22px;
  border: 1px solid var(--blue-line);
  border-radius: var(--radius-card);
  background: linear-gradient(160deg, rgba(16, 31, 69, 0.95), rgba(10, 22, 51, 0.55));
}

.page-faq .faq-ask::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--green-neon), transparent);
}

.page-faq .faq-ask__list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-faq .faq-ask__list li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 13px;
  border-top: 1px solid var(--blue-line);
}

.page-faq .faq-ask__list strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--white-cool);
}

.page-faq .faq-ask__list span {
  font-size: 13px;
  line-height: 1.66;
  color: var(--blue-mist);
}

.page-faq .faq-ask__note {
  margin: 0 0 20px;
  max-width: 54ch;
  font-size: 14px;
  line-height: 1.75;
  color: var(--blue-mist);
}

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

/* ---------- 响应式 ---------- */

@media (min-width: 700px) {
  .page-faq .faq-tabs__label {
    display: block;
  }

  .page-faq .faq-ask {
    padding: 30px 28px;
  }

  .page-faq .faq-ask__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

@media (min-width: 900px) {
  .page-faq .faq-hero {
    padding: 60px 0 72px;
  }

  .page-faq .faq-hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 52px;
  }

  .page-faq .faq-layout {
    gap: 48px;
  }

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

@media (min-width: 1000px) {
  .page-faq .faq-layout {
    grid-template-columns: 246px minmax(0, 1fr);
    gap: 60px;
  }

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

  .page-faq .faq-index__list {
    flex-direction: column;
    gap: 2px;
    overflow: visible;
  }

  .page-faq .faq-index__list a {
    white-space: normal;
  }

  .page-faq .faq-index__list em {
    display: inline;
  }
}

@media (max-width: 480px) {
  .page-faq .faq-hero__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-faq .faq-a {
    padding-left: 21px;
  }

  .page-faq .faq-q {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-item[open] .faq-a {
    animation: none;
  }

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