.page-faq {
  --faq-radius: 26px;
  --faq-gap: 16px;
  position: relative;
  color: var(--paper);
}

/* ---------- HERO ---------- */
.page-faq .faq-hero {
  position: relative;
  padding: clamp(96px, 12vw, 140px) 0 clamp(36px, 5vw, 56px);
  overflow: hidden;
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  inset: -10% -20% auto -20%;
  height: 120%;
  background:
    radial-gradient(ellipse at 82% 12%, rgba(34, 211, 238, 0.16), transparent 52%),
    radial-gradient(ellipse at 8% 78%, rgba(255, 107, 74, 0.12), transparent 48%),
    radial-gradient(ellipse at 50% 100%, rgba(124, 108, 255, 0.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

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

.page-faq .faq-hero .breadcrumb {
  margin-bottom: clamp(24px, 4vw, 40px);
}

.page-faq .faq-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: end;
}

.page-faq .faq-hero-copy {
  min-width: 0;
}

.page-faq .faq-hero h1 {
  margin: 18px 0 22px;
  font-size: clamp(38px, 8vw, 78px);
  font-weight: 200;
  line-height: 1.08;
  letter-spacing: -0.024em;
  color: var(--paper);
  max-width: 15ch;
}

.page-faq .faq-hero-copy p {
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.78;
  color: var(--slate);
}

.page-faq .faq-hero-copy p strong {
  color: var(--cyan-soft);
  font-weight: 500;
}

/* 速览卡 */
.page-faq .faq-glance {
  border: 1px solid var(--line);
  border-radius: var(--faq-radius);
  padding: 22px 24px 12px;
  background:
    linear-gradient(160deg, rgba(14, 42, 71, 0.92) 0%, rgba(7, 26, 47, 0.72) 100%);
  box-shadow: var(--shadow-card);
}

.page-faq .faq-glance-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.page-faq .faq-glance-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-faq .faq-glance-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14.5px;
  color: var(--paper);
}

.page-faq .faq-glance-list li:last-child {
  border-bottom: none;
}

.page-faq .faq-glance-list .data-num {
  color: var(--coral);
  font-size: 13px;
  letter-spacing: 0.08em;
}

/* ---------- 分类索引胶囊 ---------- */
.page-faq .faq-index-wrap {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  padding: 14px 0 18px;
  background: linear-gradient(
    180deg,
    var(--deep-900) 0%,
    rgba(7, 26, 47, 0.86) 62%,
    rgba(7, 26, 47, 0) 100%
  );
}

.page-faq .faq-index {
  display: flex;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(14, 42, 71, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

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

.page-faq .faq-index-link {
  flex: 0 0 auto;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--slate);
  border: 1px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.page-faq .faq-index-link:hover,
.page-faq .faq-index-link:focus-visible {
  color: var(--paper);
  border-color: var(--line-strong);
  background: rgba(34, 211, 238, 0.08);
  outline: none;
}

/* ---------- 分组 ---------- */
.page-faq .faq-groups {
  padding: clamp(28px, 5vw, 48px) 0 clamp(48px, 7vw, 80px);
}

.page-faq .faq-group {
  padding: clamp(34px, 5vw, 54px) 0;
  border-top: 1px solid var(--line-soft);
}

.page-faq .faq-group:first-child {
  border-top: none;
  padding-top: 0;
}

.page-faq .faq-group-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  margin-bottom: clamp(22px, 3vw, 32px);
  align-items: start;
}

.page-faq .faq-group-copy h2 {
  margin: 14px 0 10px;
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.012em;
  color: var(--paper);
  max-width: 18ch;
}

.page-faq .faq-group-copy p {
  max-width: 52ch;
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--slate);
}

.page-faq .faq-group-visual {
  margin: 0;
  border-radius: var(--faq-radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--deep-950);
}

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

.page-faq .faq-group-visual--tall img {
  aspect-ratio: 720 / 1280;
}

.page-faq .faq-group-visual--wide img {
  aspect-ratio: 1000 / 700;
}

/* ---------- 手风琴 ---------- */
.page-faq .faq-list {
  display: grid;
  gap: 10px;
}

.page-faq .faq-item {
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: var(--deep-800);
  overflow: hidden;
  transition: border-color 0.22s var(--ease), background-color 0.22s var(--ease);
}

.page-faq .faq-item[open] {
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(14, 42, 71, 0.96), rgba(7, 26, 47, 0.9));
}

.page-faq .faq-item summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 17px 20px;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--paper);
}

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

.page-faq .faq-item summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
  border-radius: var(--r-md);
}

.page-faq .faq-q-index {
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.page-faq .faq-item[open] .faq-q-index {
  color: var(--coral);
}

.page-faq .faq-toggle {
  position: relative;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--cyan);
  transition: border-color 0.22s var(--ease), color 0.22s var(--ease);
}

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

.page-faq .faq-toggle::before {
  width: 10px;
  height: 1.5px;
}

.page-faq .faq-toggle::after {
  width: 1.5px;
  height: 10px;
}

.page-faq .faq-item[open] .faq-toggle {
  border-color: var(--coral);
  color: var(--coral);
}

.page-faq .faq-item[open] .faq-toggle::after {
  transform: translate(-50%, -50%) scaleY(0);
  opacity: 0;
}

.page-faq .faq-answer {
  padding: 0 20px 20px;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--slate);
}

.page-faq .faq-answer p {
  margin: 0 0 12px;
}

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

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

.page-faq .faq-steps li {
  counter-increment: faq-step;
  position: relative;
  padding: 4px 0 4px 44px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--paper);
  border-left: 2px solid transparent;
}

.page-faq .faq-steps li::before {
  content: counter(faq-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
  color: var(--coral);
  border-bottom: 1px solid rgba(255, 107, 74, 0.42);
  padding-bottom: 2px;
}

/* ---------- 联系区块 ---------- */
.page-faq .faq-contact {
  padding: 0 0 clamp(56px, 8vw, 96px);
}

.page-faq .faq-contact-card {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  padding: clamp(28px, 4.4vw, 52px);
  background:
    radial-gradient(circle at 88% 0%, rgba(255, 107, 74, 0.18), transparent 52%),
    radial-gradient(circle at 4% 100%, rgba(34, 211, 238, 0.14), transparent 55%),
    linear-gradient(155deg, var(--deep-800) 0%, var(--deep-900) 100%);
  overflow: hidden;
}

.page-faq .faq-contact-main h2 {
  margin: 14px 0 12px;
  font-size: clamp(24px, 3.6vw, 38px);
  font-weight: 200;
  line-height: 1.2;
  letter-spacing: -0.016em;
  color: var(--paper);
  max-width: 22ch;
}

.page-faq .faq-contact-main p {
  max-width: 56ch;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--slate);
}

.page-faq .faq-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin: clamp(24px, 3.4vw, 34px) 0 clamp(22px, 3vw, 30px);
}

.page-faq .faq-contact-item {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: rgba(5, 13, 22, 0.42);
  transition: border-color 0.22s var(--ease);
}

.page-faq .faq-contact-item:hover {
  border-color: var(--line-strong);
}

.page-faq .faq-contact-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--cyan);
  text-transform: uppercase;
}

.page-faq .faq-contact-value {
  font-size: 16.5px;
  color: var(--paper);
  text-decoration: none;
  word-break: break-word;
  transition: color 0.2s var(--ease);
}

.page-faq .faq-contact-value:hover,
.page-faq .faq-contact-value:focus-visible {
  color: var(--cyan);
  outline: none;
}

.page-faq .faq-contact-note {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--slate);
}

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

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-faq .faq-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 880px) {
  .page-faq .faq-hero-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr);
  }

  .page-faq .faq-group-head {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.62fr);
    gap: clamp(32px, 4vw, 56px);
  }

  .page-faq .faq-group-visual--tall {
    max-width: 300px;
    justify-self: end;
  }

  .page-faq .faq-group-visual--wide {
    max-width: 420px;
    justify-self: end;
  }

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

  .page-faq .faq-item summary {
    padding: 19px 26px;
    font-size: 17px;
  }

  .page-faq .faq-answer {
    padding: 0 26px 24px 78px;
  }

  .page-faq .faq-steps {
    max-width: 62ch;
  }
}

@media (min-width: 1100px) {
  .page-faq .faq-item summary {
    grid-template-columns: 44px minmax(0, 1fr) auto;
  }

  .page-faq .faq-answer {
    padding-left: 26px;
  }
}
