.page-faq {
  --card-radius: 1rem;
  --hero-glow: rgba(255, 107, 53, 0.18);
  background: var(--slate-100);
  color: var(--text-ink);
}

/* ===== Hero 首屏 ===== */
.page-faq .faq-hero {
  position: relative;
  overflow: hidden;
  padding: 2.75rem 1.5rem 4rem;
  background:
    radial-gradient(circle at 80% 18%, var(--hero-glow), transparent 24rem),
    linear-gradient(145deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: #ffffff;
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  right: -5.5rem;
  top: -5.5rem;
  width: 17rem;
  height: 17rem;
  border: 1.5rem solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0;
  height: 1px;
  background: linear-gradient(to right, var(--orange-500), transparent 55%);
  opacity: 0.35;
}

.page-faq .faq-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.page-faq .faq-hero-inner::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1.5rem;
  width: 4.5rem;
  height: 3px;
  background: var(--orange-500);
  border-radius: 2px;
}

.page-faq .breadcrumb {
  position: relative;
  z-index: 1;
  margin-bottom: 1.25rem;
}

.page-faq .breadcrumb-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.25s ease;
}

.page-faq .breadcrumb-link:hover {
  color: var(--orange-400);
}

.page-faq .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  margin: 0 0.5rem;
  color: rgba(255, 255, 255, 0.3);
}

.page-faq .breadcrumb-item {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
}

.page-faq .faq-title {
  font-family: var(--title-font);
  font-size: clamp(2.2rem, 8vw, 4rem);
  line-height: 1.05;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.page-faq .faq-intro {
  max-width: 48ch;
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
}

/* ===== 整体布局 ===== */
.page-faq .faq-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

.page-faq .faq-main {
  display: grid;
  gap: 3.5rem;
}

.page-faq .faq-section,
.page-faq .guide-section,
.page-faq .update-section,
.page-faq .support-section {
  scroll-margin-top: 1.5rem;
}

/* ===== 侧边索引 ===== */
.page-faq .faq-index {
  position: relative;
  z-index: 5;
  margin-top: -2rem;
  background: var(--navy-800);
  border-radius: var(--card-radius);
  padding: 1.25rem;
  color: #ffffff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.page-faq .index-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 0.75rem;
  margin-bottom: 0.85rem;
}

.page-faq .index-kicker {
  color: var(--gold-400);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.page-faq .index-count {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

.page-faq .index-nav {
  display: grid;
  gap: 0.25rem;
}

.page-faq .index-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.65rem;
  border-radius: 0.55rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.25s ease, color 0.25s ease;
}

.page-faq .index-link:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--orange-400);
}

.page-faq .index-link:focus-visible {
  outline: 2px solid var(--orange-400);
  outline-offset: 2px;
}

.page-faq .index-num {
  font-family: var(--title-font);
  font-size: 0.84rem;
  color: var(--orange-500);
  width: 1.6rem;
  text-align: right;
  flex: 0 0 auto;
}

.page-faq .index-foot {
  margin-top: 1.25rem;
  padding: 0.9rem 0.65rem 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  gap: 0.2rem 0.75rem;
  align-items: baseline;
  font-size: 0.75rem;
}

.page-faq .index-foot-note {
  color: rgba(255, 255, 255, 0.55);
  text-align: right;
}

.page-faq .index-foot-value {
  font-family: var(--title-font);
  color: var(--orange-400);
  font-size: 1rem;
}

/* ===== 常见问题 ===== */
.page-faq .faq-category {
  margin-top: 2rem;
}

.page-faq .faq-cat-title {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-left: 3px solid var(--orange-500);
  padding-left: 0.75rem;
  margin: 0 0 0.9rem;
  font-weight: 700;
}

.page-faq .faq-box {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 0.85rem;
  margin-bottom: 0.65rem;
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.page-faq .faq-box:hover {
  border-color: rgba(255, 107, 53, 0.4);
}

.page-faq .faq-box[data-open="true"] {
  border-color: rgba(255, 107, 53, 0.35);
  box-shadow: var(--shadow);
}

.page-faq .faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  -webkit-appearance: none;
  appearance: none;
  font-family: var(--body-font);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-ink);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.25s ease, color 0.25s ease;
}

.page-faq .faq-trigger:hover {
  background: rgba(232, 236, 241, 0.5);
}

.page-faq .faq-trigger:focus-visible {
  outline: 2px solid var(--orange-500);
  outline-offset: -2px;
}

.page-faq .faq-box[data-open="true"] .faq-trigger {
  color: var(--orange-500);
}

.page-faq .faq-indicator {
  position: relative;
  width: 1.7rem;
  height: 1.7rem;
  flex: 0 0 auto;
  border: 1px solid var(--slate-200);
  border-radius: 50%;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.page-faq .faq-indicator::before,
.page-faq .faq-indicator::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--orange-500);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
}

.page-faq .faq-indicator::before {
  width: 0.7rem;
  height: 2px;
}

.page-faq .faq-indicator::after {
  width: 2px;
  height: 0.7rem;
}

.page-faq .faq-box[data-open="true"] .faq-indicator {
  border-color: var(--orange-500);
  background: rgba(255, 107, 53, 0.08);
}

.page-faq .faq-box[data-open="true"] .faq-indicator::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.page-faq .faq-body {
  padding: 0 1.25rem 1.2rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted);
}

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

.page-faq .faq-body a {
  color: var(--orange-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-faq .faq-body a:hover {
  color: var(--orange-400);
}

/* ===== 使用指南 ===== */
.page-faq .guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.page-faq .guide-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--card-radius);
  padding: 1.5rem;
  overflow: hidden;
}

.page-faq .guide-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--orange-500), var(--gold-400));
  opacity: 0.85;
}

.page-faq .guide-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.page-faq .guide-code {
  font-family: var(--title-font);
  font-size: 1.2rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.6rem;
  background: var(--navy-900);
  color: var(--orange-400);
}

.page-faq .guide-tag {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  border: 1px solid var(--slate-200);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.page-faq .guide-card h3 {
  font-size: 1.08rem;
  margin: 0 0 1rem;
  color: var(--navy-900);
  font-family: var(--title-font);
}

.page-faq .guide-steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: guide-step;
  display: grid;
  gap: 0.65rem;
}

.page-faq .guide-steps-list li {
  counter-increment: guide-step;
  position: relative;
  padding-left: 2.4rem;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.page-faq .guide-steps-list li::before {
  content: counter(guide-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.7rem;
  height: 1.7rem;
  border: 1px solid var(--slate-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--orange-500);
  background: #ffffff;
}

.page-faq .guide-steps-list li strong {
  display: inline;
  font-weight: 700;
  color: var(--text-ink);
}

.page-faq .guide-steps-list li a {
  color: var(--orange-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===== 数据更新策略 ===== */
.page-faq .update-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.page-faq .update-copy {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--card-radius);
  padding: 1.75rem;
}

.page-faq .update-lead {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.page-faq .update-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: update-round;
  display: grid;
  gap: 1.25rem;
}

.page-faq .update-list li {
  counter-increment: update-round;
  position: relative;
  padding: 0 0 0 3.2rem;
}

.page-faq .update-list li::before {
  content: counter(update-round, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 2.3rem;
  height: 2.3rem;
  background: var(--navy-900);
  color: var(--orange-400);
  font-family: var(--title-font);
  font-size: 0.85rem;
  border-radius: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-faq .update-round {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.35rem;
}

.page-faq .round-name {
  font-family: var(--title-font);
  font-size: 1.05rem;
  color: var(--navy-900);
}

.page-faq .round-desc {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--orange-500);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-faq .update-list li > p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.page-faq .update-figure {
  margin: 0;
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  background: var(--navy-800);
}

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

.page-faq .update-figure figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.5rem 1rem 0.8rem 1.25rem;
  background: linear-gradient(to top, rgba(10, 26, 47, 0.92), transparent);
  color: #ffffff;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.page-faq .update-stats {
  margin-top: 1.5rem;
  background: var(--navy-900);
  border-radius: var(--card-radius);
  padding: 1.5rem 1rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.page-faq .update-stat {
  text-align: center;
}

.page-faq .update-stat .stat-value {
  display: block;
  font-family: var(--title-font);
  font-size: 1.7rem;
  color: var(--orange-400);
  line-height: 1.2;
}

.page-faq .update-stat .stat-label {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.25rem;
  letter-spacing: 0.04em;
}

/* ===== 获取帮助 ===== */
.page-faq .support-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 2rem;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--card-radius);
  overflow: hidden;
}

.page-faq .support-figure {
  margin: 0;
  position: relative;
  background: var(--navy-900);
}

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

.page-faq .support-copy {
  padding: 0 1.5rem 2rem;
}

.page-faq .support-contact-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.page-faq .support-contact-item {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.95rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px dashed var(--slate-200);
}

.page-faq .contact-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  width: 5rem;
  flex: 0 0 auto;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

.page-faq .support-contact-item a {
  color: var(--orange-500);
  text-decoration: none;
  font-weight: 600;
  word-break: break-all;
}

.page-faq .support-contact-item a:hover {
  text-decoration: underline;
}

.page-faq .support-promise {
  background: rgba(245, 184, 65, 0.12);
  border-left: 3px solid var(--gold-400);
  padding: 0.9rem 1rem;
  border-radius: 0 0.6rem 0.6rem 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-ink);
  margin-bottom: 1.5rem;
}

.page-faq .support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ===== 桌面端适配 ===== */
@media (min-width: 1024px) {
  .page-faq .faq-hero {
    padding: 4.5rem 3rem 6.5rem;
  }

  .page-faq .faq-intro {
    font-size: 1.08rem;
  }

  .page-faq .faq-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 2.5rem;
    padding: 0 2rem 5rem;
  }

  .page-faq .faq-index {
    position: sticky;
    top: 2rem;
    margin-top: -3.5rem;
    padding: 1.5rem;
  }

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

  .page-faq .update-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: stretch;
  }

  .page-faq .update-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-faq .support-layout {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .page-faq .support-figure img {
    aspect-ratio: 4 / 5;
  }

  .page-faq .support-copy {
    padding: 2.75rem 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
