/* ===== page-faq 专属样式 ===== */
.page-faq {
  --faq-banner-radius: 0;
  --faq-tab-radius: 4px;
  --faq-item-radius: 6px;
  --faq-gap: 1.25rem;
  --faq-max-text: 720px;

  background: var(--color-bg, #0A1F3F);
  color: var(--color-text, #FFFFFF);
  font-family: var(--font-body, 'Roboto Condensed', 'Segoe UI', sans-serif);
  line-height: 1.6;
  min-height: 100vh;
}

/* ---- 横幅 ---- */
.faq-hero {
  position: relative;
  width: 100%;
  max-height: 260px;
  overflow: hidden;
  background: var(--gradient-main, linear-gradient(135deg, #0A1F3F 0%, #1A2F4F 100%));
}

.faq-hero__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.35;
}

.faq-hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(10, 31, 63, 0.55);
}

.faq-breadcrumb {
  font-size: 0.8rem;
  color: var(--color-text-muted, #B0C4DE);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.faq-breadcrumb a {
  color: var(--color-secondary, #00FF88);
  text-decoration: none;
  transition: opacity var(--transition-fast, 0.2s ease);
}

.faq-breadcrumb a:hover,
.faq-breadcrumb a:focus-visible {
  opacity: 0.8;
  outline: 2px solid var(--color-secondary, #00FF88);
  outline-offset: 2px;
}

.faq-breadcrumb__sep {
  margin: 0 0.35em;
  color: var(--color-text-muted, #B0C4DE);
}

.faq-hero__title {
  font-family: var(--font-heading, 'Impact', 'Arial Black', sans-serif);
  font-size: clamp(2rem, 6vw, 3.2rem);
  letter-spacing: 0.04em;
  color: var(--color-text, #FFFFFF);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  margin: 0 0 0.2rem;
  line-height: 1.1;
}

.faq-hero__sub {
  font-size: clamp(0.95rem, 2.2vw, 1.2rem);
  color: var(--color-text-muted, #B0C4DE);
  margin: 0;
  font-weight: 400;
}

/* ---- 内容容器 ---- */
.faq-container {
  max-width: var(--max-width, 1280px);
  margin: 0 auto;
  padding: 1.5rem var(--gutter, 1rem) 3rem;
}

/* ---- 搜索框 ---- */
.faq-search {
  margin-bottom: 1.75rem;
}

.faq-search__input {
  display: block;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  background: var(--color-surface, #1A2F4F);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-card, 8px);
  color: var(--color-text, #FFFFFF);
  font-family: var(--font-body, 'Roboto Condensed', 'Segoe UI', sans-serif);
  font-size: 1rem;
  transition: border-color var(--transition-med, 0.35s ease), box-shadow var(--transition-med, 0.35s ease);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.faq-search__input::placeholder {
  color: var(--color-text-muted, #B0C4DE);
  opacity: 0.7;
}

.faq-search__input:focus {
  outline: none;
  border-color: var(--color-secondary, #00FF88);
  box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.15);
}

/* ---- 分类标签 ---- */
.faq-wrapper {
  position: relative;
}

.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.faq-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.1rem;
  background: var(--color-surface, #1A2F4F);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--faq-tab-radius, 4px);
  color: var(--color-text-muted, #B0C4DE);
  font-family: var(--font-body, 'Roboto Condensed', 'Segoe UI', sans-serif);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background var(--transition-fast, 0.2s ease), border-color var(--transition-fast, 0.2s ease), color var(--transition-fast, 0.2s ease);
  user-select: none;
  white-space: nowrap;
}

.faq-tab:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.faq-tab:focus-visible {
  outline: 2px solid var(--color-secondary, #00FF88);
  outline-offset: 2px;
}

/* --- radio 控制显隐 --- */
#faq-all:checked ~ .faq-sections .faq-section { display: block; }
#faq-data:checked ~ .faq-sections .faq-section:not([data-cat="data"]) { display: none; }
#faq-video:checked ~ .faq-sections .faq-section:not([data-cat="video"]) { display: none; }
#faq-account:checked ~ .faq-sections .faq-section:not([data-cat="account"]) { display: none; }
#faq-other:checked ~ .faq-sections .faq-section:not([data-cat="other"]) { display: none; }

/* --- radio 高亮对应标签 --- */
#faq-all:checked ~ .faq-tabs label[for="faq-all"],
#faq-data:checked ~ .faq-tabs label[for="faq-data"],
#faq-video:checked ~ .faq-tabs label[for="faq-video"],
#faq-account:checked ~ .faq-tabs label[for="faq-account"],
#faq-other:checked ~ .faq-tabs label[for="faq-other"] {
  background: rgba(0, 255, 136, 0.12);
  border-color: var(--color-secondary, #00FF88);
  color: var(--color-secondary, #00FF88);
}

/* ---- 手风琴区域 ---- */
.faq-sections {
  max-width: var(--faq-max-text, 720px);
  margin: 0 auto;
}

.faq-section {
  margin-bottom: 2.5rem;
  animation: faqFadeIn 0.4s ease both;
}

@keyframes faqFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.faq-section__title {
  font-family: var(--font-heading, 'Impact', 'Arial Black', sans-serif);
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  color: var(--color-text, #FFFFFF);
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-accent, #FF6B35);
  display: inline-block;
}

/* ---- 单个问题项 ---- */
.faq-item {
  background: var(--color-surface, #1A2F4F);
  border-radius: var(--faq-item-radius, 6px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color var(--transition-med, 0.35s ease), box-shadow var(--transition-med, 0.35s ease);
}

.faq-item[open] {
  border-color: var(--color-secondary, #00FF88);
  box-shadow: 0 0 0 1px rgba(0, 255, 136, 0.15), 0 8px 24px rgba(0, 0, 0, 0.3);
}

.faq-item__q {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.2rem;
  font-family: var(--font-body, 'Roboto Condensed', 'Segoe UI', sans-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text, #FFFFFF);
  cursor: pointer;
  list-style: none;
  transition: background var(--transition-fast, 0.2s ease);
  line-height: 1.4;
  user-select: none;
}

.faq-item__q::-webkit-details-marker {
  display: none;
}

.faq-item__q::before {
  content: "+";
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-accent, #FF6B35);
  background: rgba(255, 107, 53, 0.1);
  border-radius: 50%;
  transition: transform var(--transition-fast, 0.2s ease), background var(--transition-fast, 0.2s ease), color var(--transition-fast, 0.2s ease);
}

.faq-item[open] .faq-item__q::before {
  content: "−";
  transform: rotate(180deg);
  background: rgba(0, 255, 136, 0.15);
  color: var(--color-secondary, #00FF88);
}

.faq-item__q:hover {
  background: rgba(255, 255, 255, 0.03);
}

.faq-item__q:focus-visible {
  outline: 2px solid var(--color-secondary, #00FF88);
  outline-offset: -2px;
}

.faq-item__a {
  padding: 0 1.2rem 1.1rem 2.85rem;
  color: var(--color-text-muted, #B0C4DE);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item__a p {
  margin: 0 0 0.5rem;
}

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

/* ---- 内部链接 ---- */
.faq-link {
  color: var(--color-secondary, #00FF88);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-fast, 0.2s ease), color var(--transition-fast, 0.2s ease);
}

.faq-link:hover,
.faq-link:focus-visible {
  border-bottom-color: var(--color-secondary, #00FF88);
  color: var(--color-secondary, #00FF88);
}

/* ---- 其他区域内的联系图片 ---- */
.faq-contact-img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-card, 8px);
  margin-top: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

/* ---- 更多提示 ---- */
.faq-more {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  background: rgba(255, 107, 53, 0.06);
  border-left: 3px solid var(--color-accent, #FF6B35);
  border-radius: var(--radius, 4px);
  color: var(--color-text-muted, #B0C4DE);
  font-size: 0.95rem;
}

.faq-more p {
  margin: 0;
}

/* ---- 响应式 ---- */
@media (max-width: 479px) {
  .faq-tabs {
    gap: 0.35rem;
  }

  .faq-tab {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .faq-item__q {
    font-size: 0.92rem;
    padding: 0.75rem 1rem;
  }

  .faq-item__a {
    padding: 0 1rem 0.9rem 2.4rem;
    font-size: 0.88rem;
  }

  .faq-section__title {
    font-size: 1.25rem;
  }

  .faq-hero__title {
    font-size: 1.6rem;
  }
}

@media (min-width: 768px) {
  .faq-hero {
    max-height: 280px;
  }

  .faq-hero__img {
    max-height: 280px;
  }

  .faq-hero__overlay {
    padding: 3rem 2rem;
  }

  .faq-container {
    padding: 2rem var(--gutter, 1.5rem) 4rem;
  }

  .faq-tabs {
    gap: 0.75rem;
  }

  .faq-tab {
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
  }

  .faq-section__title {
    font-size: 1.7rem;
  }

  .faq-item__q {
    font-size: 1.05rem;
    padding: 1rem 1.5rem;
  }

  .faq-item__a {
    padding: 0 1.5rem 1.25rem 3.25rem;
    font-size: 0.98rem;
  }

  .faq-contact-img {
    max-width: 360px;
  }
}

@media (min-width: 1024px) {
  .faq-hero__overlay {
    padding: 4rem 2rem;
  }

  .faq-container {
    padding: 2.5rem var(--gutter, 1.5rem) 5rem;
  }

  .faq-search {
    margin-bottom: 2.25rem;
  }

  .faq-tabs {
    gap: 1rem;
  }

  .faq-tab {
    padding: 0.65rem 1.75rem;
    font-size: 1rem;
  }

  .faq-section {
    margin-bottom: 3rem;
  }
}

/* ---- 减少动效 ---- */
@media (prefers-reduced-motion: reduce) {
  .faq-section {
    animation: none;
  }

  .faq-item,
  .faq-item__q::before,
  .faq-item__q,
  .faq-tab,
  .faq-search__input,
  .faq-link {
    transition: none !important;
  }

  .faq-item[open] {
    box-shadow: none;
  }
}
<<<PAGE_HTML>>>
