/* ===== 页面专属CSS：.page-faq ===== */
.page-faq {
  --faq-hero-bg: linear-gradient(135deg, #1A1A1A 0%, #0A2463 100%);
  --faq-card-radius: 12px;
  --faq-glow: 0 0 20px rgba(211, 47, 47, 0.25);
  --faq-glow-hover: 0 0 35px rgba(211, 47, 47, 0.45);
  --faq-gap: 1.25rem;
  display: block;
  width: 100%;
}

/* ===== 面包屑 ===== */
.page-faq .breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--silver, #C0C0C0);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.page-faq .breadcrumb a {
  color: var(--accent-blue, #00BFFF);
  text-decoration: none;
  transition: color 0.2s;
}
.page-faq .breadcrumb a:hover {
  color: var(--accent-light, #FF5252);
}
.page-faq .breadcrumb__sep {
  color: var(--silver, #C0C0C0);
  opacity: 0.5;
}
.page-faq .breadcrumb [aria-current="page"] {
  color: var(--cream, #F5F0E1);
  font-weight: 600;
}

/* ===== Hero 区域（框景首屏） ===== */
.page-faq .faq-hero {
  position: relative;
  background: var(--faq-hero-bg);
  padding: 2rem 1.5rem 2.5rem;
  overflow: hidden;
}
.page-faq .faq-hero__frame {
  position: relative;
  max-width: var(--max-width, 1200px);
  margin: 0 auto;
  padding: 2rem 1.5rem;
  border: 2px solid rgba(192, 192, 192, 0.3);
  background: rgba(26, 26, 26, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.page-faq .faq-hero__corner-tl,
.page-faq .faq-hero__corner-br {
  position: absolute;
  width: 32px;
  height: 32px;
  border-color: var(--accent, #D32F2F);
  border-style: solid;
  pointer-events: none;
}
.page-faq .faq-hero__corner-tl {
  top: -2px;
  left: -2px;
  border-width: 4px 0 0 4px;
}
.page-faq .faq-hero__corner-br {
  bottom: -2px;
  right: -2px;
  border-width: 0 4px 4px 0;
}
.page-faq .faq-hero__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}
.page-faq .faq-hero__icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  opacity: 0.85;
  filter: drop-shadow(0 0 12px rgba(0, 191, 255, 0.3));
}
.page-faq .faq-hero__title {
  font-family: Futura, Impact, sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: 2.8rem;
  color: var(--cream, #F5F0E1);
  margin: 0;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(211, 47, 47, 0.4);
}
.page-faq .faq-hero__desc {
  font-size: 1.05rem;
  color: var(--silver, #C0C0C0);
  max-width: 640px;
  line-height: 1.6;
  margin: 0;
}

/* ===== 搜索框 ===== */
.page-faq .faq-search {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin-top: 0.25rem;
}
.page-faq .faq-search__input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.8rem;
  border: 2px solid rgba(192, 192, 192, 0.3);
  border-radius: 40px;
  background: rgba(245, 240, 225, 0.1);
  color: var(--cream, #F5F0E1);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.page-faq .faq-search__input::placeholder {
  color: rgba(192, 192, 192, 0.6);
}
.page-faq .faq-search__input:focus {
  border-color: var(--accent-blue, #00BFFF);
  background: rgba(245, 240, 225, 0.18);
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.15);
}
.page-faq .faq-search__icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--silver, #C0C0C0);
  pointer-events: none;
  line-height: 1;
}

/* ===== 筛选按钮组 ===== */
.page-faq .faq-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
}
.page-faq .faq-filters__btn {
  padding: 0.5rem 1.2rem;
  border: 2px solid rgba(192, 192, 192, 0.25);
  border-radius: 30px;
  background: transparent;
  color: var(--silver, #C0C0C0);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.03em;
}
.page-faq .faq-filters__btn:hover {
  border-color: var(--accent-blue, #00BFFF);
  color: var(--accent-blue, #00BFFF);
  background: rgba(0, 191, 255, 0.08);
}
.page-faq .faq-filters__btn.is-active {
  border-color: var(--accent, #D32F2F);
  background: var(--accent, #D32F2F);
  color: var(--cream, #F5F0E1);
  box-shadow: 0 0 20px rgba(211, 47, 47, 0.3);
}

/* ===== 主内容容器 ===== */
.page-faq .faq-listing {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  padding: 2.5rem 1.5rem 3rem;
}

/* ===== 章节 ===== */
.page-faq .faq-section {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.page-faq .faq-section__title {
  font-family: Futura, Impact, sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--cream, #F5F0E1);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 2px solid rgba(211, 47, 47, 0.4);
  padding-bottom: 0.5rem;
}
.page-faq .faq-section__num {
  font-size: 2rem;
  font-weight: 800;
  font-style: italic;
  color: var(--accent, #D32F2F);
  line-height: 1;
  opacity: 0.85;
}
.page-faq .faq-section__intro {
  font-size: 1rem;
  color: var(--silver, #C0C0C0);
  max-width: 680px;
  margin: 0;
  line-height: 1.5;
}
.page-faq .faq-section__intro p {
  margin: 0;
}
.page-faq .faq-section__cards {
  display: flex;
  flex-direction: column;
  gap: var(--faq-gap);
  position: relative;
}

/* ===== 单个问题卡片 ===== */
.page-faq .faq-card {
  background: var(--card-bg, #F5F0E1);
  color: var(--card-text, #1A1A1A);
  border-radius: var(--faq-card-radius);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  overflow: hidden;
  position: relative;
  border-left: 4px solid var(--accent, #D32F2F);
}
.page-faq .faq-card:hover {
  box-shadow: var(--faq-glow-hover);
  transform: translateY(-2px);
}
.page-faq .faq-card__toggle {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}
.page-faq .faq-card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
}
.page-faq .faq-card__header:hover {
  background: rgba(211, 47, 47, 0.05);
}
.page-faq .faq-card__number {
  font-family: Futura, Impact, sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: 1.6rem;
  color: var(--accent, #D32F2F);
  line-height: 1;
  min-width: 2.2rem;
  opacity: 0.8;
}
.page-faq .faq-card__question-text {
  flex: 1;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--card-text, #1A1A1A);
}
.page-faq .faq-card__indicator {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent, #D32F2F);
  transition: transform 0.3s ease;
  line-height: 1;
  flex-shrink: 0;
}
.page-faq .faq-card__toggle:checked + .faq-card__header .faq-card__indicator {
  transform: rotate(45deg);
}
.page-faq .faq-card__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 1.25rem;
  background: rgba(26, 26, 26, 0.03);
  border-top: 0 solid transparent;
}
.page-faq .faq-card__toggle:checked ~ .faq-card__answer {
  max-height: 280px;
  padding: 1rem 1.25rem 1.25rem;
  border-top-width: 1px;
  border-top-color: rgba(211, 47, 47, 0.15);
}
.page-faq .faq-card__answer p {
  margin: 0 0 0.5rem;
  line-height: 1.65;
  font-size: 0.95rem;
  color: var(--card-text, #1A1A1A);
}
.page-faq .faq-card__answer p:last-child {
  margin-bottom: 0;
}
.page-faq .faq-card__answer a {
  color: var(--accent, #D32F2F);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.page-faq .faq-card__answer a:hover {
  color: var(--deep-red, #8B0000);
}
.page-faq .faq-card__illus {
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: contain;
  border-radius: var(--faq-card-radius);
  margin-top: 0.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(192, 192, 192, 0.2);
}

/* ===== CTA区域 ===== */
.page-faq .faq-cta {
  margin-top: 1rem;
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, rgba(211, 47, 47, 0.15) 0%, rgba(10, 36, 99, 0.25) 100%);
  border-radius: var(--faq-card-radius);
  border: 1px solid rgba(192, 192, 192, 0.15);
  text-align: center;
}
.page-faq .faq-cta__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.page-faq .faq-cta__title {
  font-family: Futura, Impact, sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--cream, #F5F0E1);
  margin: 0;
}
.page-faq .faq-cta__text {
  color: var(--silver, #C0C0C0);
  font-size: 1rem;
  margin: 0;
  max-width: 420px;
}

/* ===== 按钮（与品牌共享类配合） ===== */
.page-faq .btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 40px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  letter-spacing: 0.03em;
}
.page-faq .btn--primary {
  background: var(--accent, #D32F2F);
  color: var(--cream, #F5F0E1);
  border-color: var(--accent, #D32F2F);
}
.page-faq .btn--primary:hover {
  background: var(--deep-red, #8B0000);
  border-color: var(--deep-red, #8B0000);
  box-shadow: 0 0 30px rgba(211, 47, 47, 0.3);
  transform: translateY(-2px);
}

/* ===== 响应式：移动端优先 -> 桌面 ===== */
@media (max-width: 639px) {
  .page-faq .faq-hero {
    padding: 1.5rem 1rem 2rem;
  }
  .page-faq .faq-hero__frame {
    padding: 1.5rem 1rem;
  }
  .page-faq .faq-hero__title {
    font-size: 1.8rem;
  }
  .page-faq .faq-hero__desc {
    font-size: 0.95rem;
  }
  .page-faq .faq-hero__icon {
    width: 80px;
    height: 80px;
  }
  .page-faq .faq-listing {
    padding: 1.5rem 1rem 2rem;
    gap: 2.5rem;
  }
  .page-faq .faq-section__title {
    font-size: 1.3rem;
  }
  .page-faq .faq-section__num {
    font-size: 1.5rem;
  }
  .page-faq .faq-card__number {
    font-size: 1.2rem;
    min-width: 1.6rem;
  }
  .page-faq .faq-card__question-text {
    font-size: 0.95rem;
  }
  .page-faq .faq-card__answer p {
    font-size: 0.9rem;
  }
  .page-faq .faq-filters__btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.9rem;
  }
  .page-faq .faq-card__illus {
    max-width: 100%;
  }
  .page-faq .faq-cta {
    padding: 1.5rem 1rem;
  }
  .page-faq .faq-cta__title {
    font-size: 1.3rem;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .page-faq .faq-hero__title {
    font-size: 2.2rem;
  }
  .page-faq .faq-listing {
    padding: 2rem 1.5rem 2.5rem;
  }
  .page-faq .faq-card__number {
    font-size: 1.4rem;
  }
}

@media (min-width: 1024px) {
  .page-faq .faq-hero {
    padding: 3rem 2rem 3.5rem;
  }
  .page-faq .faq-hero__frame {
    padding: 2.5rem 2rem;
  }
  .page-faq .faq-hero__title {
    font-size: 3.2rem;
  }
  .page-faq .faq-listing {
    padding: 3rem 2rem 4rem;
    gap: 4rem;
  }
  .page-faq .faq-section__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--faq-gap);
  }
  .page-faq .faq-card__illus {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 600px;
  }
  .page-faq .faq-section__title {
    font-size: 2rem;
  }
  .page-faq .faq-card__header {
    padding: 1.1rem 1.5rem;
  }
  .page-faq .faq-card__number {
    font-size: 1.8rem;
    min-width: 2.5rem;
  }
  .page-faq .faq-cta {
    padding: 3rem 2.5rem;
  }
}

/* ===== 辅助 ===== */
.page-faq .container {
  max-width: var(--max-width, 1200px);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}
.page-faq img {
  max-width: 100%;
  height: auto;
  display: block;
}
