.page-faq {
  --faq-line: rgba(42, 50, 64, 0.9);
  --faq-line-soft: rgba(42, 50, 64, 0.5);
  --faq-glow: rgba(0, 229, 255, 0.14);
  padding-bottom: 96px;
}

/* ---------- 首屏 ---------- */
.page-faq .faq-hero {
  position: relative;
  overflow: hidden;
  padding-top: 34px;
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -160px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle at 35% 35%, var(--faq-glow), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  bottom: -110px;
  left: -120px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.1), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.page-faq .faq-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: start;
}

.page-faq .faq-hero__title {
  font-family: var(--cg-serif);
  font-weight: 800;
  font-size: 34px;
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin: 12px 0 0;
  color: var(--cg-text-strong);
}

.page-faq .faq-hero__lead {
  margin: 20px 0 0;
  max-width: 62ch;
  color: var(--cg-text);
  line-height: 1.9;
}

.page-faq .faq-hero__meta {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 38px;
  border-top: 1px solid var(--faq-line);
  padding-top: 20px;
}

.page-faq .faq-hero__meta li {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

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

/* ---------- 分类标签 ---------- */
.page-faq .faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 0;
  border-bottom: 1px solid var(--faq-line);
}

.page-faq .faq-tabs__item {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--cg-text);
  text-decoration: none;
  border: 1px solid var(--faq-line);
  background: rgba(20, 25, 34, 0.6);
  transition: color 0.18s var(--cg-ease), border-color 0.18s var(--cg-ease),
    background-color 0.18s var(--cg-ease);
}

.page-faq .faq-tabs__item:hover,
.page-faq .faq-tabs__item:focus-visible {
  color: var(--cg-cyan);
  border-color: var(--cg-cyan);
  background: rgba(15, 48, 56, 0.55);
  outline: none;
}

/* ---------- 区块通用 ---------- */
.page-faq .faq-block .cg-section__lead {
  max-width: 68ch;
}

.page-faq .faq-stack {
  margin-top: 30px;
  border-top: 1px solid var(--faq-line);
}

.page-faq .faq-stack--tight {
  margin-top: 34px;
}

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

.page-faq .faq-item__q {
  display: block;
  font-family: var(--cg-serif);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.5;
  color: var(--cg-gold);
  padding-right: 32px;
}

.page-faq .faq-item .cg-disclosure__body p {
  margin: 0 0 14px;
  max-width: 64ch;
  line-height: 1.9;
}

.page-faq .faq-item .cg-disclosure__body p:last-child {
  margin-bottom: 0;
}

.page-faq .faq-item .cg-disclosure__body a {
  color: var(--cg-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 255, 0.4);
}

.page-faq .faq-item .cg-disclosure__body a:hover {
  border-bottom-color: var(--cg-cyan);
}

/* ---------- 表格 ---------- */
.page-faq .faq-table-wrap {
  margin-top: 40px;
  overflow-x: auto;
  border-top: 1px solid var(--cg-gold);
}

.page-faq .faq-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 15px;
}

.page-faq .faq-table caption {
  text-align: left;
  font-family: var(--cg-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cg-text-dim);
  padding: 14px 0 12px;
}

.page-faq .faq-table th,
.page-faq .faq-table td {
  text-align: left;
  padding: 15px 18px 15px 0;
  border-bottom: 1px solid var(--faq-line-soft);
  color: var(--cg-text);
  vertical-align: top;
  line-height: 1.7;
}

.page-faq .faq-table thead th {
  font-family: var(--cg-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--cg-text-dim);
  border-bottom: 1px solid var(--faq-line);
  white-space: nowrap;
}

.page-faq .faq-table tbody th {
  font-weight: 600;
  color: var(--cg-text-strong);
  white-space: nowrap;
}

.page-faq .faq-table tbody tr:hover td,
.page-faq .faq-table tbody tr:hover th {
  background: rgba(20, 25, 34, 0.6);
}

.page-faq .faq-table--scale tbody th {
  border-left: 2px solid transparent;
}

.page-faq .faq-table--scale tbody tr:hover th {
  border-left-color: var(--cg-cyan);
}

/* ---------- 挑桌台 ---------- */
.page-faq .faq-tool__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.page-faq .faq-steps {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  border-left: 1px solid var(--faq-line);
}

.page-faq .faq-steps__item {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 0 0 30px 22px;
}

.page-faq .faq-steps__item:last-child {
  padding-bottom: 0;
}

.page-faq .faq-steps__item::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 8px;
  width: 7px;
  height: 7px;
  background: var(--cg-cyan);
  border-radius: 50%;
}

.page-faq .faq-steps__n {
  font-family: var(--cg-mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--cg-gold);
  padding-top: 3px;
}

.page-faq .faq-steps__title {
  margin: 0 0 8px;
  font-family: var(--cg-serif);
  font-weight: 700;
  font-size: 17px;
  color: var(--cg-text-strong);
}

.page-faq .faq-steps__body p {
  margin: 0;
  max-width: 58ch;
  color: var(--cg-text);
  line-height: 1.85;
}

.page-faq .faq-tool__side {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.page-faq .faq-tool__side .cg-figure {
  margin: 0;
}

.page-faq .faq-note {
  border: 1px solid var(--faq-line);
  border-left: 2px solid var(--cg-gold);
  background: rgba(20, 25, 34, 0.72);
  padding: 20px 22px 22px;
}

.page-faq .faq-note__list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-faq .faq-note__list li {
  font-family: var(--cg-mono);
  font-size: 13px;
  color: var(--cg-cyan);
  border: 1px solid rgba(0, 229, 255, 0.35);
  padding: 4px 10px;
}

.page-faq .faq-note__hint {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--cg-text-dim);
}

.page-faq .faq-note__hint a {
  color: var(--cg-gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 175, 55, 0.45);
}

.page-faq .faq-note__hint a:hover {
  border-bottom-color: var(--cg-gold);
}

/* ---------- 厂商卡片 ---------- */
.page-faq .faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin-top: 32px;
  background: var(--faq-line);
  border: 1px solid var(--faq-line);
}

.page-faq .faq-card {
  background: var(--cg-ink);
  padding: 26px 24px 30px;
  transition: background-color 0.2s var(--cg-ease);
}

.page-faq .faq-card:hover {
  background: var(--cg-graphite);
}

.page-faq .faq-card__title {
  margin: 12px 0 10px;
  font-family: var(--cg-serif);
  font-weight: 700;
  font-size: 18px;
  color: var(--cg-text-strong);
}

.page-faq .faq-card p {
  margin: 0;
  color: var(--cg-text);
  line-height: 1.85;
}

/* ---------- 联系 ---------- */
.page-faq .faq-block--contact {
  padding-bottom: 12px;
}

.page-faq .faq-contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  border: 1px solid var(--faq-line);
  border-top: 2px solid var(--cg-gold);
  background: linear-gradient(160deg, rgba(20, 25, 34, 0.95), rgba(11, 14, 20, 0.95));
  padding: 34px 26px 38px;
}

.page-faq .faq-contact__lead {
  margin: 18px 0 0;
  max-width: 60ch;
  color: var(--cg-text);
  line-height: 1.9;
}

.page-faq .faq-contact__actions {
  margin: 26px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-faq .faq-contact__list {
  margin: 0;
  border-top: 1px solid var(--faq-line);
}

.page-faq .faq-contact__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 16px 0;
  border-bottom: 1px solid var(--faq-line-soft);
}

.page-faq .faq-contact__row dd {
  margin: 0;
  color: var(--cg-text-strong);
  font-family: var(--cg-mono);
  font-size: 15px;
  letter-spacing: 0.01em;
  word-break: break-word;
}

.page-faq .faq-contact__row dd a {
  color: var(--cg-text-strong);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 255, 0.45);
}

.page-faq .faq-contact__row dd a:hover {
  color: var(--cg-cyan);
  border-bottom-color: var(--cg-cyan);
}

.page-faq .faq-contact__foot {
  margin: 26px 0 0;
  font-size: 14px;
  color: var(--cg-text-dim);
  line-height: 1.8;
}

.page-faq .faq-contact__foot a {
  color: var(--cg-text);
  text-decoration: none;
  border-bottom: 1px solid var(--faq-line);
}

.page-faq .faq-contact__foot a:hover {
  color: var(--cg-cyan);
  border-bottom-color: var(--cg-cyan);
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-faq .faq-hero {
    padding-top: 46px;
  }

  .page-faq .faq-hero__title {
    font-size: 44px;
  }

  .page-faq .faq-hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
  }

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

  .page-faq .faq-contact__row {
    grid-template-columns: 130px 1fr;
    align-items: baseline;
    gap: 18px;
  }
}

@media (min-width: 1024px) {
  .page-faq .faq-tool__grid {
    grid-template-columns: 1.35fr 0.65fr;
    gap: 56px;
    align-items: start;
  }

  .page-faq .faq-contact {
    grid-template-columns: 1.3fr 0.7fr;
    gap: 56px;
    padding: 46px 44px 50px;
  }

  .page-faq .faq-hero {
    padding-top: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-tabs__item,
  .page-faq .faq-card {
    transition: none;
  }
}
</main>
