.page-faq {
  --faq-gold: #c9a84c;
  --faq-gold-dim: rgba(201, 168, 76, 0.25);
  --faq-border-light: rgba(201, 168, 76, 0.35);
  --faq-bg-card: rgba(13, 59, 46, 0.55);
  --faq-radius: 6px;
  --faq-gap: 2rem;
  --faq-section-gap: 3rem;
  background-color: #0d3b2e;
  color: #ffffff;
  font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  padding-bottom: 3rem;
  min-height: 60vh;
}

/* 面包屑 */
.page-faq .breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding-top: 1rem;
  padding-bottom: 0.5rem;
  font-size: 0.85rem;
  color: #b8b5a8;
}
.page-faq .breadcrumb a {
  color: #c9a84c;
  text-decoration: none;
  transition: opacity 0.25s;
}
.page-faq .breadcrumb a:hover {
  opacity: 0.75;
}
.page-faq .breadcrumb__sep {
  color: #b8b5a8;
  font-weight: 700;
}

/* ── 首屏 ── */
.page-faq .faq-hero {
  position: relative;
  margin-bottom: 2.5rem;
  background: linear-gradient(135deg, rgba(13,59,46,1) 0%, rgba(13,59,46,0.85) 100%);
  border-bottom: 2px solid var(--faq-border-light);
  overflow: hidden;
}
.page-faq .faq-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 45%;
  height: 140%;
  background: rgba(201, 168, 76, 0.06);
  transform: rotate(12deg);
  pointer-events: none;
}
.page-faq .faq-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.page-faq .faq-hero__text {
  flex: 1 1 auto;
}
.page-faq .faq-hero__title {
  font-family: Impact, 'Arial Black', sans-serif;
  font-size: 2.4rem;
  line-height: 1.1;
  color: #c9a84c;
  margin: 0 0 0.25rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.page-faq .faq-hero__subtitle {
  font-size: 1.05rem;
  color: #b8b5a8;
  margin: 0 0 1.25rem;
  font-weight: 400;
}
.page-faq .faq-search {
  position: relative;
  max-width: 440px;
}
.page-faq .faq-search__icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #c9a84c;
  opacity: 0.7;
  pointer-events: none;
}
.page-faq .faq-search__input {
  display: block;
  width: 100%;
  padding: 0.7rem 1rem 0.7rem 2.4rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--faq-border-light);
  border-radius: var(--faq-radius);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
}
.page-faq .faq-search__input::placeholder {
  color: #b8b5a8;
  opacity: 0.8;
}
.page-faq .faq-search__input:focus {
  border-color: #c9a84c;
  box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.2);
}
.page-faq .faq-hero__visual {
  flex: 1 0 auto;
  max-width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.page-faq .faq-hero__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

/* ── 主体两栏 ── */
.page-faq .faq-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* 侧边索引 */
.page-faq .faq-index {
  flex: 0 0 auto;
}
.page-faq .faq-index__inner {
  background: var(--faq-bg-card);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--faq-border-light);
  border-radius: var(--faq-radius);
  padding: 1rem 1.25rem;
}
.page-faq .faq-index__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #c9a84c;
  margin-bottom: 0.6rem;
}
.page-faq .faq-index__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.6rem;
}
.page-faq .faq-index__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.3rem 0.6rem;
  border-radius: var(--faq-radius);
  transition: background 0.25s, color 0.25s;
  white-space: nowrap;
}
.page-faq .faq-index__link:hover,
.page-faq .faq-index__link:focus {
  background: rgba(201, 168, 76, 0.15);
  color: #c9a84c;
}
.page-faq .faq-index__num {
  font-family: Impact, 'Arial Black', sans-serif;
  font-size: 0.8rem;
  color: #c9a84c;
  opacity: 0.7;
}

/* ── 问答区域 ── */
.page-faq .faq-articles {
  flex: 1 1 auto;
  min-width: 0;
}

/* 每个章节 */
.page-faq .faq-section {
  margin-bottom: var(--faq-section-gap);
  scroll-margin-top: 5rem;
}
.page-faq .faq-section__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--faq-border-light);
  padding-bottom: 0.65rem;
}
.page-faq .faq-section__num {
  font-family: Impact, 'Arial Black', sans-serif;
  font-size: 2.4rem;
  line-height: 1;
  color: #c9a84c;
  opacity: 0.5;
  flex-shrink: 0;
  min-width: 2.6rem;
}
.page-faq .faq-section__icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 4px;
  opacity: 0.85;
}
.page-faq .faq-section__title {
  font-family: Impact, 'Arial Black', sans-serif;
  font-size: 1.4rem;
  line-height: 1.2;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.01em;
}

/* 折叠面板项 */
.page-faq .faq-item {
  display: block;
  border-bottom: 1px solid var(--faq-border-light);
  transition: border-color 0.3s;
}
.page-faq .faq-item[open] {
  border-bottom-color: rgba(201, 168, 76, 0.5);
}
.page-faq .faq-item:first-of-type {
  border-top: 1px solid var(--faq-border-light);
}
.page-faq .faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 0.25rem 1rem 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 0.2s;
}
.page-faq .faq-item__q::-webkit-details-marker {
  display: none;
}
.page-faq .faq-item__q:hover {
  background: rgba(201, 168, 76, 0.04);
}
.page-faq .faq-item__text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.4;
}
.page-faq .faq-item__indicator {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.page-faq .faq-item__indicator::before,
.page-faq .faq-item__indicator::after {
  content: '';
  position: absolute;
  background: #c9a84c;
  border-radius: 1px;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.page-faq .faq-item__indicator::before {
  width: 2px;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.page-faq .faq-item__indicator::after {
  width: 100%;
  height: 2px;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.page-faq .faq-item[open] .faq-item__indicator {
  transform: rotate(45deg);
}
.page-faq .faq-item[open] .faq-item__indicator::before {
  transform: translateX(-50%) scaleY(0);
}
.page-faq .faq-item__a {
  padding: 0 0.25rem 1.25rem 0;
  color: #b8b5a8;
  font-size: 0.9rem;
  line-height: 1.65;
}
.page-faq .faq-item__a p {
  margin: 0 0 0.5rem;
}
.page-faq .faq-item__a p:last-child {
  margin-bottom: 0;
}
.page-faq .faq-item__a a {
  color: #c9a84c;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.2s;
}
.page-faq .faq-item__a a:hover {
  opacity: 0.75;
}

/* 信任声明 */
.page-faq .faq-trust {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: var(--faq-bg-card);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid var(--faq-border-light);
  border-radius: var(--faq-radius);
  font-size: 0.85rem;
  color: #b8b5a8;
  line-height: 1.5;
}
.page-faq .faq-trust__icon {
  color: #c9a84c;
  margin-right: 0.3rem;
}

/* ── 桌面 ≥768px ── */
@media (min-width: 768px) {
  .page-faq .faq-hero__inner {
    flex-direction: row;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .page-faq .faq-hero__title {
    font-size: 3rem;
  }
  .page-faq .faq-hero__subtitle {
    font-size: 1.15rem;
  }
  .page-faq .faq-hero__visual {
    max-width: 420px;
    flex-shrink: 0;
  }
  .page-faq .faq-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 2.5rem;
  }
  .page-faq .faq-index {
    position: sticky;
    top: calc(64px + 1.5rem);
    flex: 0 0 220px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  .page-faq .faq-index__inner {
    padding: 1.25rem 1rem;
  }
  .page-faq .faq-index__list {
    flex-direction: column;
    gap: 0.25rem;
  }
  .page-faq .faq-index__link {
    width: 100%;
    white-space: normal;
    padding: 0.4rem 0.6rem;
  }
  .page-faq .faq-section__num {
    font-size: 2.8rem;
    min-width: 3rem;
  }
  .page-faq .faq-section__icon {
    width: 42px;
    height: 42px;
  }
  .page-faq .faq-section__title {
    font-size: 1.6rem;
  }
  .page-faq .faq-item__text {
    font-size: 1rem;
  }
}

/* ── 桌面 ≥1024px ── */
@media (min-width: 1024px) {
  .page-faq .faq-hero__title {
    font-size: 3.6rem;
  }
  .page-faq .faq-hero__visual {
    max-width: 520px;
  }
  .page-faq .faq-index {
    flex-basis: 250px;
  }
  .page-faq .faq-section__num {
    font-size: 3.2rem;
    min-width: 3.4rem;
  }
}

/* ── 辅助 ── */
.page-faq .container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 768px) {
  .page-faq .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
