.page-faq {
  background: var(--bd-light);
  overflow-x: hidden;
}

/* ===== Hero 首屏 ===== */
.page-faq .faq-hero {
  background: linear-gradient(135deg, var(--bd-primary) 0%, var(--bd-primary-alt) 60%, var(--bd-night) 100%);
  color: #fff;
  padding-top: 20px;
  position: relative;
}

.page-faq .faq-hero-inner {
  padding-bottom: 20px;
}

.page-faq .faq-hero-content {
  padding: 16px 0 8px;
}

.page-faq .faq-hero-kicker {
  font-family: var(--bd-font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bd-accent);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
}

.page-faq .faq-hero-line {
  width: 36px;
  height: 3px;
  background: var(--bd-accent);
  display: inline-block;
  transform: skew(-30deg);
}

.page-faq .faq-hero h1 {
  font-family: var(--bd-font-display);
  font-style: italic;
  font-size: var(--bd-size-h1);
  line-height: 1.15;
  letter-spacing: 0.02em;
  transform: skew(-4deg);
  max-width: 780px;
  margin: 0 0 14px;
  color: #fff;
}

.page-faq .faq-hero-lead {
  color: rgba(255, 255, 255, 0.78);
  max-width: 620px;
  line-height: 1.7;
  margin: 0;
  font-size: 1rem;
}

.page-faq .faq-hero-media {
  margin: 20px -16px 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 8% 100%);
}

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

.page-faq .faq-hero .bd-breadcrumb {
  background: transparent;
  padding-left: 0;
  margin-bottom: 16px;
}

.page-faq .faq-hero .bd-breadcrumb a {
  color: rgba(255, 255, 255, 0.72);
}

.page-faq .faq-hero .bd-breadcrumb .bd-breadcrumb-sep {
  color: rgba(255, 255, 255, 0.35);
}

.page-faq .faq-hero .bd-breadcrumb .bd-breadcrumb-current {
  color: var(--bd-accent);
}

/* ===== 分类命令栏 ===== */
.page-faq .faq-tabbar {
  background: var(--bd-night);
  border-top: 3px solid var(--bd-accent);
  box-shadow: 0 4px 18px rgba(4, 10, 30, 0.35);
}

.page-faq .faq-tabbar-inner {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 8px 0;
  scrollbar-width: none;
}

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

.page-faq .faq-tab {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 10px 14px;
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.page-faq .faq-tab:hover {
  color: #fff;
  border-bottom-color: var(--bd-accent);
}

/* ===== 章节通用 ===== */
.page-faq .faq-section {
  padding: 48px 0;
}

.page-faq .faq-section-dark {
  background: var(--bd-night);
  color: #fff;
}

.page-faq .faq-section-white {
  background: #fff;
}

.page-faq .faq-section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
  border-top: 3px solid var(--bd-accent);
  padding-top: 18px;
}

.page-faq .faq-section-head-line {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.page-faq .faq-section-index {
  font-family: var(--bd-font-mono);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--bd-accent);
  background: rgba(255, 107, 53, 0.12);
  padding: 4px 8px;
  border-radius: 3px;
}

.page-faq .faq-section-head h2 {
  font-family: var(--bd-font-display);
  font-style: italic;
  font-size: var(--bd-size-h2);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0;
  color: var(--bd-primary);
}

.page-faq .faq-section-desc {
  font-size: var(--bd-size-caption);
  color: var(--bd-dark);
  opacity: 0.72;
  margin: 0;
}

.page-faq .faq-section-dark .faq-section-head h2 {
  color: #fff;
}

.page-faq .faq-section-dark .faq-section-desc {
  color: rgba(255, 255, 255, 0.65);
  opacity: 1;
}

.page-faq .faq-section-dark .faq-section-index {
  background: rgba(255, 107, 53, 0.22);
}

/* ===== FAQ 列表与手风琴 ===== */
.page-faq .faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-faq .faq-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid transparent;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.page-faq .faq-item[open] {
  border-left-color: var(--bd-accent);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}

.page-faq .faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  cursor: pointer;
  user-select: none;
}

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

.page-faq .faq-item[open] summary {
  border-bottom: 1px solid #edf1f5;
}

.page-faq .faq-q-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background: var(--bd-accent);
  color: #fff;
  font-family: var(--bd-font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transform: skew(-6deg);
}

.page-faq .faq-q-text {
  flex: 1;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--bd-dark);
  line-height: 1.45;
}

.page-faq .faq-q-toggle {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  position: relative;
}

.page-faq .faq-q-toggle::before,
.page-faq .faq-q-toggle::after {
  content: "";
  position: absolute;
  background: var(--bd-border);
  border-radius: 2px;
  transition: opacity 0.2s;
}

.page-faq .faq-q-toggle::before {
  top: 6px;
  left: 0;
  width: 14px;
  height: 2px;
}

.page-faq .faq-q-toggle::after {
  left: 6px;
  top: 0;
  width: 2px;
  height: 14px;
}

.page-faq .faq-item[open] .faq-q-toggle::after {
  opacity: 0;
}

.page-faq .faq-answer {
  padding: 14px 16px 18px 62px;
  color: var(--bd-dark);
  font-size: 0.9375rem;
  line-height: 1.7;
}

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

/* ===== 深色章节手风琴变体 ===== */
.page-faq .faq-section-dark .faq-item {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.page-faq .faq-section-dark .faq-item[open] {
  border-left-color: var(--bd-accent);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: none;
}

.page-faq .faq-section-dark .faq-item[open] summary {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.page-faq .faq-section-dark .faq-q-text {
  color: #fff;
}

.page-faq .faq-section-dark .faq-answer {
  color: rgba(255, 255, 255, 0.82);
}

.page-faq .faq-section-dark .faq-q-toggle::before,
.page-faq .faq-section-dark .faq-q-toggle::after {
  background: rgba(255, 255, 255, 0.65);
}

/* ===== 双端对比布局 ===== */
.page-faq .faq-device-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-faq .faq-device-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(2, 6, 20, 0.5);
}

/* ===== 底部 CTA ===== */
.page-faq .faq-cta {
  background: var(--bd-primary);
  padding: 44px 0;
  position: relative;
  overflow: hidden;
}

.page-faq .faq-cta::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -30px;
  width: 180px;
  height: 180px;
  background: rgba(255, 107, 53, 0.25);
  transform: rotate(18deg);
  border-radius: 30px;
}

.page-faq .faq-cta-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 1;
}

.page-faq .faq-cta h2 {
  font-family: var(--bd-font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: #fff;
  margin: 0 0 8px;
}

.page-faq .faq-cta p {
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.page-faq .faq-cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== 桌面端增强 ===== */
@media (min-width: 768px) {
  .page-faq .faq-hero-media {
    margin: 28px 0 0;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 5% 100%);
  }

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

  .page-faq .faq-item summary {
    padding: 18px 20px;
  }

  .page-faq .faq-answer {
    padding: 16px 24px 22px 68px;
  }

  .page-faq .faq-cta {
    padding: 56px 0;
  }

  .page-faq .faq-cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .page-faq .faq-cta-links {
    flex-shrink: 0;
  }
}

@media (min-width: 900px) {
  .page-faq .faq-device-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 48px;
  }
}

/* ===== 减少动效偏好 ===== */
@media (prefers-reduced-motion: reduce) {
  .page-faq *,
  .page-faq *::before,
  .page-faq *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
