/* ===== 页面专属 CSS · 支持档案 FAQ ===== */
.page-faq{
  position: relative;
  background:
    radial-gradient(circle at 12% 12%, rgba(155, 92, 255, 0.14), transparent 32%),
    linear-gradient(155deg, var(--c-deep-navy) 0%, var(--c-dark-end) 46%, var(--c-deep-navy) 100%);
  color: var(--c-off-white);
  overflow: hidden;
}

.page-faq [id]{
  scroll-margin-top: 110px;
}

/* ---------- Hero ---------- */
.page-faq .faq-hero{
  position: relative;
  padding: 56px 20px 64px;
  margin-bottom: 36px;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 20%, rgba(212, 175, 55, 0.16), transparent 32%),
    radial-gradient(circle at 10% 90%, rgba(0, 229, 255, 0.10), transparent 30%),
    linear-gradient(140deg, var(--c-royal-blue) 0%, var(--c-dark-end) 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.24);
}

.page-faq .faq-hero::before{
  content: "INDEX";
  position: absolute;
  right: 0;
  top: 0;
  font-family: var(--font-headline);
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  color: rgba(212, 175, 55, 0.30);
  writing-mode: vertical-rl;
  text-orientation: upright;
  pointer-events: none;
  transform: translateX(-14px);
  display: none;
}

.page-faq .faq-hero::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 16px;
  background: linear-gradient(90deg, var(--c-gold) 0%, var(--c-cyan) 50%, var(--c-neon-purple) 100%);
  clip-path: polygon(0 0, 100% 0, calc(100% - 8%) 100%, 0 100%);
  opacity: 0.9;
  z-index: 0;
  pointer-events: none;
}

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

.page-faq .section-kicker{
  font-family: var(--font-headline);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin: 0 0 12px;
}

.page-faq .faq-hero h1{
  font-family: var(--font-headline);
  font-size: clamp(27px, 5vw, 44px);
  line-height: 1.28;
  letter-spacing: 0.01em;
  color: var(--c-off-white);
  max-width: 780px;
  margin: 0 0 18px;
}

.page-faq .faq-hero__lead{
  max-width: 720px;
  margin: 0;
  padding-left: 16px;
  border-left: 2px solid var(--c-gold);
  color: rgba(245, 247, 250, 0.8);
  line-height: 1.9;
  font-size: 15px;
}

.page-faq .faq-hero__lead strong{
  color: var(--c-light-gold);
  font-weight: 600;
  margin-right: 2px;
}

/* ---------- 手册式布局 ---------- */
.page-faq .help-layout{
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

/* ---------- 帮助目录 ---------- */
.page-faq .help-toc{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-faq .help-toc__cap{
  margin: 0 0 4px;
  font-family: var(--font-headline);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-slate-gray);
}

.page-faq .help-capsules{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

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

.page-faq .help-capsule{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(22, 42, 74, 0.6);
  color: var(--c-off-white);
  font-size: 14px;
  white-space: nowrap;
  text-decoration: none;
  transition: background var(--tr-slow), transform var(--tr-slow), box-shadow var(--tr-slow), border-color var(--tr-slow);
}

.page-faq .help-capsule:hover,
.page-faq .help-capsule:focus-visible{
  background: var(--c-gold);
  color: var(--c-deep-navy);
  border-color: var(--c-light-gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
  outline: none;
}

.page-faq .help-capsule__no{
  font-family: var(--font-headline);
  font-size: 12px;
  font-weight: 700;
  color: var(--c-light-gold);
  transition: color var(--tr-fast);
}

.page-faq .help-capsule:hover .help-capsule__no{
  color: var(--c-deep-navy);
}

.page-faq .help-toc__note{
  display: none;
}

.page-faq .help-toc__dot{
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-cyan);
  margin-top: 4px;
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.2);
}

/* ---------- 内容区 ---------- */
.page-faq .help-content{
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ---------- 搜索框 ---------- */
.page-faq .index-search{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  background: rgba(22, 42, 74, 0.55);
  border: 1px solid rgba(160, 174, 192, 0.22);
  transition: border-color var(--tr-fast), box-shadow var(--tr-fast);
}

.page-faq .index-search:focus-within{
  border-color: var(--c-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.16);
}

.page-faq .index-search__icon{
  display: inline-flex;
  color: var(--c-gold);
  flex: 0 0 auto;
}

.page-faq .index-search input{
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--c-off-white);
  font-family: var(--font-body);
  font-size: 14px;
}

.page-faq .index-search input::placeholder{
  color: rgba(160, 174, 192, 0.8);
}

/* ---------- 章节通用 ---------- */
.page-faq .help-section{
  position: relative;
  padding: 32px 0 8px;
}

.page-faq .help-section + .help-section{
  border-top: 1px solid rgba(160, 174, 192, 0.14);
  margin-top: 24px;
}

.page-faq .help-section--slant::before{
  content: "";
  display: block;
  height: 2px;
  width: 100%;
  margin-bottom: 28px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.25), var(--c-gold) 18%, var(--c-cyan) 52%, transparent 90%);
  transform: skewX(-16deg);
}

.page-faq .help-section__head{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.page-faq .help-section__no{
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  color: rgba(212, 175, 55, 0.45);
  -webkit-text-stroke: 1.5px var(--c-gold);
}

.page-faq .help-section__head h2{
  margin: 0;
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--c-off-white);
}

.page-faq .help-section__lead{
  max-width: 720px;
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(245, 247, 250, 0.78);
}

/* ---------- 01 索引使用教程 ---------- */
.page-faq .index-guide__grid{
  display: grid;
  gap: 28px;
}

.page-faq .index-guide__text p{
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(245, 247, 250, 0.8);
}

.page-faq .index-guide__text .tag{
  margin: 2px 6px 2px 0;
}

.page-faq .index-guide__text a,
.page-faq .reminder-panel__main a,
.page-faq .faq-item__body a,
.page-faq .contact-note a{
  color: var(--c-cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--tr-fast), border-color var(--tr-fast);
}

.page-faq .index-guide__text a:hover,
.page-faq .reminder-panel__main a:hover,
.page-faq .faq-item__body a:hover,
.page-faq .contact-note a:hover{
  color: var(--c-light-gold);
  border-color: var(--c-light-gold);
}

.page-faq .index-guide__list{
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-faq .index-guide__list li{
  position: relative;
  padding: 10px 16px 10px 40px;
  background: rgba(22, 42, 74, 0.5);
  border-radius: var(--r-md);
  border-left: 2px solid var(--c-gold);
  font-size: 14px;
  line-height: 1.7;
  color: rgba(245, 247, 250, 0.82);
}

.page-faq .index-guide__list li::before{
  content: "";
  position: absolute;
  left: 16px;
  top: 16px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--c-gold), var(--c-cyan));
}

.page-faq .index-guide__figure,
.page-faq .step-image{
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: var(--c-royal-blue);
  box-shadow: var(--shadow-card);
}

.page-faq .index-guide__figure img,
.page-faq .step-image img{
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-faq .index-guide__figure img{
  aspect-ratio: 4 / 3;
}

.page-faq .step-image img{
  aspect-ratio: 2 / 1;
}

.page-faq .index-guide__figure figcaption,
.page-faq .step-image figcaption{
  padding: 10px 18px;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--c-slate-gray);
}

/* ---------- 02 两步联系 ---------- */
.page-faq .step-flow{
  display: grid;
  gap: 14px;
  margin: 26px 0;
}

.page-faq .step-card{
  position: relative;
  padding: 24px 20px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(22, 42, 74, 0.9), rgba(22, 42, 74, 0.5));
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  transition: transform var(--tr-slow), box-shadow var(--tr-slow), border-color var(--tr-slow);
}

.page-faq .step-card:hover,
.page-faq .step-card:focus-within{
  transform: translateY(-4px);
  border-color: var(--c-gold);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.page-faq .step-card__num{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-family: var(--font-headline);
  font-size: 26px;
  font-weight: 700;
  color: var(--c-deep-navy);
  background: linear-gradient(135deg, var(--c-gold), var(--c-light-gold));
  margin-bottom: 12px;
}

.page-faq .step-card h3{
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--c-off-white);
}

.page-faq .step-card p{
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(245, 247, 250, 0.72);
}

.page-faq .step-flow__arrow{
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-gold);
}

.page-faq .step-flow__arrow svg{
  width: 40px;
  height: 20px;
  transform: rotate(90deg);
}

/* ---------- 03 订阅提醒设置 ---------- */
.page-faq .reminder-panel{
  display: grid;
  gap: 26px;
  padding: 26px 22px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(155, 92, 255, 0.35);
  background: linear-gradient(140deg, rgba(155, 92, 255, 0.16), rgba(22, 42, 74, 0.6) 44%, rgba(0, 229, 255, 0.10));
}

.page-faq .reminder-panel__main p{
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(245, 247, 250, 0.8);
}

.page-faq .reminder-panel__stats{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-content: center;
}

.page-faq .reminder-panel__stats .stat{
  background: rgba(10, 26, 47, 0.45);
  border-radius: var(--r-md);
  padding: 16px 10px;
  text-align: center;
  border: 1px solid rgba(160, 174, 192, 0.12);
}

.page-faq .reminder-panel__stats .stat-value{
  color: var(--c-gold);
}

.page-faq .reminder-panel__stats .stat-label{
  color: var(--c-slate-gray);
}

/* ---------- 04 收藏夹 FAQ ---------- */
.page-faq .collection-grid{
  display: grid;
  gap: 16px;
}

.page-faq .collection-card{
  padding: 24px 20px;
  border-radius: var(--r-lg);
  background: rgba(22, 42, 74, 0.55);
  border: 1px solid rgba(160, 174, 192, 0.18);
  transition: transform var(--tr-slow), border-color var(--tr-fast);
}

.page-faq .collection-card:hover{
  transform: translateY(-3px);
  border-color: var(--c-cyan);
}

.page-faq .collection-card h3{
  margin: 0 0 10px;
  font-size: 17px;
  color: var(--c-cyan);
}

.page-faq .collection-card p{
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(245, 247, 250, 0.74);
}

/* ---------- 05 热门问题 · 手风琴 ---------- */
.page-faq .faq-accordion{
  display: grid;
  gap: 12px;
}

.page-faq .faq-item{
  border-radius: var(--r-md);
  background: rgba(22, 42, 74, 0.48);
  border: 1px solid rgba(160, 174, 192, 0.18);
  transition: border-color var(--tr-fast), background var(--tr-fast);
}

.page-faq .faq-item[open]{
  background: rgba(22, 42, 74, 0.68);
  border-color: rgba(212, 175, 55, 0.5);
}

.page-faq .faq-item summary{
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: var(--c-off-white);
  border-radius: var(--r-md);
  transition: color var(--tr-fast);
}

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

.page-faq .faq-item summary:focus-visible{
  outline: 2px solid var(--c-light-gold);
  outline-offset: 2px;
}

.page-faq .faq-item summary::after{
  content: "+";
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  color: var(--c-deep-navy);
  background: linear-gradient(135deg, var(--c-gold), var(--c-light-gold));
  transition: transform var(--tr-fast), background var(--tr-fast);
}

.page-faq .faq-item[open] summary::after{
  content: "–";
  background: linear-gradient(135deg, var(--c-cyan), var(--c-gold));
  transform: rotate(180deg);
}

.page-faq .faq-item__body{
  padding: 14px 18px 18px;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(245, 247, 250, 0.72);
  border-top: 1px dashed rgba(160, 174, 192, 0.22);
}

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

/* ---------- 06 联系渠道 ---------- */
.page-faq .contact-grid{
  display: grid;
  gap: 18px;
}

.page-faq .contact-note{
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: rgba(212, 175, 55, 0.08);
  border: 1px dashed rgba(212, 175, 55, 0.35);
}

.page-faq .contact-note svg{
  flex: 0 0 auto;
  color: var(--c-light-gold);
  margin-top: 2px;
}

.page-faq .contact-note p{
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(245, 247, 250, 0.75);
}

.page-faq .contact-card{
  padding: 24px 22px;
  border-radius: var(--r-lg);
  background: linear-gradient(145deg, rgba(22, 42, 74, 0.85), rgba(22, 42, 74, 0.5));
  border: 1px solid rgba(160, 174, 192, 0.2);
  transition: transform var(--tr-slow), border-color var(--tr-slow);
}

.page-faq .contact-card:hover{
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.55);
}

.page-faq .contact-card--wide{
  grid-column: 1 / -1;
}

.page-faq .contact-card .tag{
  margin-bottom: 8px;
}

.page-faq .contact-card__label{
  margin: 14px 0 4px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--c-slate-gray);
}

.page-faq .contact-card__value{
  font-family: var(--font-headline);
  font-size: 16px;
  word-break: break-word;
  color: var(--c-off-white);
}

.page-faq .contact-card__note{
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-slate-gray);
}

/* ---------- 响应式 · 平板 ---------- */
@media (min-width: 720px){
  .page-faq .collection-grid{
    grid-template-columns: repeat(3, 1fr);
  }

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

/* ---------- 响应式 · 桌面 ---------- */
@media (min-width: 992px){
  .page-faq .faq-hero::before{
    display: block;
    font-size: 120px;
    right: 8%;
  }

  .page-faq .help-layout{
    grid-template-columns: 244px 1fr;
    gap: 56px;
  }

  .page-faq .help-toc{
    position: sticky;
    top: 120px;
  }

  .page-faq .help-capsules{
    flex-direction: column;
    overflow: visible;
  }

  .page-faq .help-toc__note{
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 14px;
    margin-top: 22px;
    border-radius: var(--r-md);
    background: rgba(22, 42, 74, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.25);
  }

  .page-faq .help-toc__note p{
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
    color: rgba(245, 247, 250, 0.7);
  }

  .page-faq .help-content{
    gap: 32px;
  }

  .page-faq .help-section__no{
    font-size: 36px;
  }

  .page-faq .help-section__head h2{
    font-size: 26px;
  }

  .page-faq .index-guide__grid{
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
  }

  .page-faq .step-flow{
    grid-template-columns: 1fr 44px 1fr;
    gap: 10px;
    align-items: center;
  }

  .page-faq .step-flow__arrow svg{
    transform: none;
    width: 44px;
    height: 22px;
  }

  .page-faq .reminder-panel{
    grid-template-columns: 1.35fr 0.85fr;
    padding: 34px;
  }

  .page-faq .reminder-panel__stats{
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
