.page-faq {
  --faq-y: 56px;
  --faq-ink-line: rgba(11, 27, 58, .14);
  --faq-ink-line-soft: rgba(11, 27, 58, .08);
  background: var(--zb-mist);
  color: var(--zb-body);
  font-family: var(--zb-font-body);
}

.page-faq [id] {
  scroll-margin-top: 104px;
}

/* ---------- 首屏 ---------- */
.page-faq .faq-hero {
  position: relative;
  overflow: hidden;
  background: var(--zb-deep);
  color: #cbd7ec;
  padding: 36px 0 52px;
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, .08) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -170px;
  top: -230px;
  background: radial-gradient(circle, rgba(255, 107, 53, .32), rgba(255, 107, 53, 0) 68%);
  pointer-events: none;
}

.page-faq .faq-hero > .zb-shell {
  position: relative;
  z-index: 1;
}

.page-faq .faq-hero .zb-crumbs {
  color: rgba(203, 215, 236, .72);
  font-size: 13px;
}

.page-faq .faq-hero .zb-crumbs a {
  color: var(--zb-cyan);
}

.page-faq .faq-hero__grid {
  display: grid;
  gap: 32px;
  margin-top: 28px;
}

.page-faq .faq-hero .zb-eyebrow {
  color: var(--zb-cyan);
  letter-spacing: .22em;
}

.page-faq .faq-hero h1 {
  margin: 12px 0 0;
  color: var(--zb-white);
  font-family: var(--zb-font-head);
  font-weight: 800;
  font-size: clamp(32px, 6.4vw, 68px);
  line-height: 1.06;
  letter-spacing: -.02em;
}

.page-faq .faq-hero .zb-lead {
  margin: 20px 0 0;
  max-width: 46em;
  color: #b9c7e2;
  font-size: 16px;
  line-height: 1.7;
}

.page-faq .faq-hero__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-faq .faq-hero__acts .zb-btn {
  text-decoration: none;
}

.page-faq .faq-panel {
  align-self: start;
  border: 1px solid rgba(0, 229, 255, .26);
  background: linear-gradient(180deg, rgba(0, 229, 255, .10), rgba(0, 229, 255, .02));
  padding: 20px 20px 8px;
}

.page-faq .faq-panel__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  color: var(--zb-cyan);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.page-faq .faq-panel__dot {
  width: 8px;
  height: 8px;
  background: var(--zb-orange);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, .18);
}

.page-faq .faq-panel__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid rgba(0, 229, 255, .16);
}

.page-faq .faq-panel__k {
  color: #93a5c4;
  font-size: 14px;
}

.page-faq .faq-panel__v {
  color: var(--zb-white);
  font-family: var(--zb-font-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -.01em;
}

/* ---------- 通用区块 ---------- */
.page-faq .faq-sec {
  padding: var(--faq-y) 0;
}

.page-faq .faq-sec--white {
  background: var(--zb-white);
}

.page-faq .faq-sec--paper {
  background: var(--zb-paper);
}

.page-faq .faq-sec--deep {
  background: var(--zb-deep);
  color: #b9c7e2;
}

.page-faq .faq-sec .zb-marker {
  margin-bottom: 14px;
}

.page-faq .faq-h2--dark,
.page-faq .faq-sec--deep .zb-h3 {
  color: var(--zb-white);
}

.page-faq .faq-lead {
  max-width: 52em;
  margin-top: 8px;
}

.page-faq .faq-lead--dark {
  color: #b2c1dd;
}

.page-faq .faq-marker--dark .zb-marker__num {
  color: var(--zb-orange);
}

.page-faq .faq-marker--dark .zb-marker__label {
  color: var(--zb-cyan);
}

/* ---------- 版本变更 ---------- */
.page-faq .faq-vcard {
  display: grid;
  gap: 28px;
  margin-top: 32px;
  background: var(--zb-white);
  border: 1px solid var(--faq-ink-line);
  border-left: 4px solid var(--zb-orange);
  padding: 24px 20px;
}

.page-faq .faq-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.page-faq .faq-timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--zb-orange), rgba(0, 229, 255, .45));
}

.page-faq .faq-timeline > li {
  position: relative;
  padding: 0 0 28px 40px;
}

.page-faq .faq-timeline > li:last-child {
  padding-bottom: 0;
}

.page-faq .faq-timeline > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  background: var(--zb-white);
  border: 2px solid var(--zb-orange);
}

.page-faq .faq-timeline > li:first-child::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--zb-orange);
}

.page-faq .faq-timeline__title {
  margin: 10px 0 6px;
}

.page-faq .faq-timeline .zb-text {
  margin: 0;
}

.page-faq .faq-shot {
  margin: 0;
  border: 1px solid var(--faq-ink-line);
  background: var(--zb-mist);
  overflow: hidden;
}

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

.page-faq .faq-shot__cap {
  padding: 12px 16px;
  border-top: 1px solid var(--faq-ink-line-soft);
  color: var(--zb-slate);
  font-size: 13px;
  line-height: 1.6;
}

.page-faq .faq-code {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding: 22px 20px;
  border: 1px dashed rgba(0, 229, 255, .42);
  background: rgba(0, 229, 255, .06);
}

.page-faq .faq-code--light {
  border-color: rgba(11, 27, 58, .22);
  background: rgba(0, 229, 255, .08);
}

.page-faq .faq-code__k {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--zb-teal);
}

.page-faq .faq-code__value {
  margin: 0;
  font-family: var(--zb-font-head);
  font-weight: 800;
  font-size: clamp(22px, 4.6vw, 34px);
  letter-spacing: .02em;
  color: var(--zb-white);
}

.page-faq .faq-code--light .faq-code__value {
  color: var(--zb-deep);
}

.page-faq .faq-code__note {
  margin: 10px 0 0;
  max-width: 40em;
  font-size: 14px;
  line-height: 1.65;
  color: #a8b8d6;
}

.page-faq .faq-code--light .faq-code__note {
  color: var(--zb-body);
}

/* ---------- 通用两列 ---------- */
.page-faq .faq-cols {
  display: grid;
  gap: 32px;
  margin-top: 28px;
}

/* ---------- 密码找回 ---------- */
.page-faq .faq-steps {
  list-style: none;
  counter-reset: faqstep;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
}

.page-faq .faq-steps > li {
  position: relative;
  counter-increment: faqstep;
  padding-left: 56px;
}

.page-faq .faq-steps > li::before {
  content: counter(faqstep, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  font-family: var(--zb-font-head);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -.02em;
  color: var(--zb-orange);
}

.page-faq .faq-steps > li::after {
  content: "";
  position: absolute;
  left: 31px;
  top: 34px;
  bottom: -20px;
  width: 1px;
  background: var(--faq-ink-line);
}

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

.page-faq .faq-steps .zb-h3 {
  margin: 0 0 6px;
}

.page-faq .faq-steps .zb-text {
  margin: 0;
}

.page-faq .faq-steps--dark > li::after {
  background: rgba(0, 229, 255, .24);
}

.page-faq .faq-note {
  margin-top: 30px;
  padding: 20px;
  background: var(--zb-white);
  border-left: 4px solid var(--zb-teal);
}

.page-faq .faq-note__title {
  margin: 0 0 10px;
  font-family: var(--zb-font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--zb-deep);
}

/* ---------- 列表 ---------- */
.page-faq .faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-faq .faq-list > li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.7;
}

.page-faq .faq-list > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 2px;
  background: var(--zb-orange);
}

.page-faq .faq-list strong {
  color: var(--zb-ink);
}

.page-faq .faq-list--dark > li {
  color: #b9c7e2;
}

.page-faq .faq-list--dark strong {
  color: var(--zb-white);
}

.page-faq .faq-list--cards > li {
  padding: 16px 16px 16px 32px;
  background: var(--zb-white);
  border: 1px solid var(--faq-ink-line);
  line-height: 1.65;
}

.page-faq .faq-list--cards > li::before {
  left: 16px;
  top: 26px;
  width: 10px;
  height: 3px;
}

/* ---------- 折叠面板 ---------- */
.page-faq .faq-acc {
  margin-top: 28px;
}

.page-faq .faq-acc .zb-acc__item {
  border-top: 1px solid var(--faq-ink-line);
}

.page-faq .faq-acc .zb-acc__item:last-child {
  border-bottom: 1px solid var(--faq-ink-line);
}

.page-faq .faq-acc .zb-acc__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--zb-font-head);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.45;
  letter-spacing: -.01em;
  color: var(--zb-ink);
}

.page-faq .faq-acc .zb-acc__trigger:hover {
  color: var(--zb-teal);
}

.page-faq .faq-acc .zb-acc__sign {
  flex: none;
  position: relative;
  width: 18px;
  height: 18px;
  border: 1px solid var(--zb-line-strong);
}

.page-faq .faq-acc .zb-acc__sign::before,
.page-faq .faq-acc .zb-acc__sign::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--zb-orange);
  transform: translate(-50%, -50%);
}

.page-faq .faq-acc .zb-acc__sign::before {
  width: 10px;
  height: 2px;
}

.page-faq .faq-acc .zb-acc__sign::after {
  width: 2px;
  height: 10px;
}

.page-faq .faq-acc .zb-acc__trigger[aria-expanded="true"] .zb-acc__sign::after {
  opacity: 0;
}

.page-faq .faq-acc .zb-acc__panel {
  padding: 0 0 22px;
}

.page-faq .faq-acc .zb-acc__panel .zb-text {
  margin: 0;
  max-width: 46em;
}

/* ---------- 版本切换深色区 ---------- */
.page-faq .faq-switch .faq-sec,
.page-faq .faq-switch__block .zb-h3 {
  margin-top: 0;
}

.page-faq .faq-switch__more {
  margin: 26px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: #a8b8d6;
}

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

/* ---------- 账号安全 ---------- */
.page-faq .faq-safety__tips .zb-h3 {
  margin-top: 0;
}

.page-faq .faq-safety .faq-list--cards {
  margin-top: 18px;
}

/* ---------- 收藏与联系 ---------- */
.page-faq .faq-collect {
  background: var(--zb-mist);
  border-top: 1px solid var(--faq-ink-line);
}

.page-faq .faq-collect__grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.page-faq .faq-collect__card {
  display: grid;
  gap: 10px;
  padding: 24px 20px;
  background: var(--zb-white);
  border: 1px solid var(--faq-ink-line);
  border-left: 4px solid var(--zb-deep);
  text-decoration: none;
  color: var(--zb-body);
  transition: transform .28s var(--zb-ease), border-color .28s var(--zb-ease);
}

.page-faq .faq-collect__card--act {
  border-left-color: var(--zb-orange);
  background: linear-gradient(160deg, rgba(255, 107, 53, .10), rgba(255, 255, 255, 1) 62%);
}

.page-faq .faq-collect__card:hover {
  transform: translateY(-3px);
  border-color: var(--zb-line-strong);
}

.page-faq .faq-collect__label {
  font-family: var(--zb-font-head);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -.01em;
  color: var(--zb-deep);
}

.page-faq .faq-collect__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--zb-body);
}

.page-faq .faq-collect__go {
  justify-self: start;
  padding-bottom: 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--zb-teal);
  border-bottom: 2px solid var(--zb-orange);
}

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

.page-faq .faq-links .zb-btn {
  text-decoration: none;
}

.page-faq .faq-contact {
  display: grid;
  gap: 18px;
  margin-top: 30px;
  padding: 22px 20px;
  background: var(--zb-deep);
  color: #c1cee6;
}

.page-faq .faq-contact .zb-text {
  margin: 0;
  max-width: 52em;
  font-size: 15px;
  line-height: 1.75;
  color: #c1cee6;
}

.page-faq .faq-contact strong {
  color: var(--zb-white);
  word-break: break-all;
}

.page-faq .faq-contact__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- 平板与桌面 ---------- */
@media (min-width: 760px) {
  .page-faq {
    --faq-y: 76px;
  }

  .page-faq .faq-hero {
    padding: 48px 0 72px;
  }

  .page-faq .faq-vcard {
    padding: 32px 28px;
  }

  .page-faq .faq-code {
    padding: 26px 28px;
  }

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

  .page-faq .faq-collect__card {
    padding: 28px 24px;
  }

  .page-faq .faq-contact {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 28px;
  }
}

@media (min-width: 900px) {
  .page-faq {
    --faq-y: 92px;
  }

  .page-faq .faq-hero__grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr);
    gap: 56px;
    align-items: end;
    margin-top: 44px;
  }

  .page-faq .faq-panel {
    padding: 24px 24px 10px;
  }

  .page-faq .faq-vcard {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 40px;
    align-items: start;
    padding: 40px;
  }

  .page-faq .faq-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    align-items: start;
  }

  .page-faq .faq-acc {
    margin-top: 0;
  }

  .page-faq .faq-contact {
    padding: 32px 36px;
  }
}

@media (min-width: 1180px) {
  .page-faq .faq-hero .zb-lead {
    font-size: 18px;
  }

  .page-faq .faq-collect__grid {
    gap: 24px;
  }
}

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

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