.page-faq{
  --faq-sidebar-w: 288px;
  --faq-deco-1: rgba(255,107,53,.16);
  --faq-deco-2: rgba(0,201,167,.10);
  --faq-line: rgba(168,178,193,.22);
  --faq-card-bg: rgba(255,255,255,.94);
  --faq-body-text: rgba(10,30,60,.76);
  --faq-ink: #081A29;
}

/* ===== 帮助中心首屏 ===== */
.page-faq .faq-hero{
  background:
    radial-gradient(ellipse at 84% 16%, var(--faq-deco-1) 0%, transparent 42%),
    radial-gradient(ellipse at 14% 88%, var(--faq-deco-2) 0%, transparent 30%),
    linear-gradient(132deg, #0A1E3C 0%, #132F52 58%, #233B5E 100%);
  color: #fff;
  padding: clamp(96px, 12vh, 138px) 0 56px;
  position: relative;
  overflow: hidden;
}
.page-faq .faq-hero .section-kicker{
  color: #FF6B35;
  letter-spacing: .14em;
}
.page-faq .faq-hero .display-title{
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  line-height: 1.18;
  margin: 14px 0 18px;
  letter-spacing: -.02em;
}
.page-faq .faq-hero .section-lead{
  color: rgba(255,255,255,.84);
  max-width: 560px;
  margin-bottom: 0;
}
.page-faq .faq-hero-grid{
  display: grid;
  gap: 36px;
  align-items: center;
  margin-top: 34px;
}
.page-faq .faq-hero-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.page-faq .faq-hero-tags .tag{
  text-decoration: none;
  padding: 9px 16px;
  font-size: .88rem;
  border: 1px solid transparent;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.page-faq .faq-hero-tags .tag:hover,
.page-faq .faq-hero-tags .tag:focus-visible{
  transform: translateY(-2px);
  border-color: currentColor;
  box-shadow: 0 6px 18px rgba(8,26,41,.24);
}
.page-faq .faq-hero-media{
  position: relative;
}
.page-faq .faq-hero-media .image-frame{
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 24px 48px rgba(8,26,41,.36);
}
.page-faq .faq-hero-media::after{
  content: "";
  position: absolute;
  inset: auto -12px -12px auto;
  width: 64px;
  height: 64px;
  border-radius: 4px;
  background: repeating-linear-gradient(135deg, #FF6B35 0 8px, transparent 8px 16px);
  z-index: -1;
}

/* ===== 知识库主体 ===== */
.page-faq .faq-body{
  background: linear-gradient(180deg, #F2F5F8 0%, #E8EDF2 100%);
  padding-top: 60px;
  padding-bottom: 72px;
}
.page-faq .faq-layout{
  display: grid;
  gap: 16px;
  align-items: start;
}

/* 侧边栏 */
.page-faq .faq-toc{
  background: #0A1E3C;
  border-radius: 22px;
  padding: 26px 20px;
  color: #fff;
  box-shadow: 0 16px 32px rgba(8,26,41,.16);
}
.page-faq .faq-toc-title{
  font-family: var(--font-data);
  font-size: .76rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #D4A444;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.page-faq .faq-toc-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.page-faq .faq-toc-list a{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: rgba(255,255,255,.84);
  text-decoration: none;
  font-size: .95rem;
  line-height: 1.4;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.page-faq .faq-toc-list a:hover,
.page-faq .faq-toc-list a:focus-visible{
  background: rgba(255,107,53,.16);
  color: #fff;
  transform: translateX(4px);
}
.page-faq .faq-toc-num{
  font-family: var(--font-data);
  font-size: .78rem;
  color: #FF6B35;
  flex: 0 0 auto;
}
.page-faq .faq-sidebar-card{
  margin-top: 18px;
  background: linear-gradient(135deg, rgba(255,107,53,.10), rgba(212,164,68,.08));
  border: 1px dashed rgba(212,164,68,.42);
  border-radius: 18px;
  padding: 18px;
  color: rgba(10,30,60,.78);
  font-size: .9rem;
  line-height: 1.7;
}
.page-faq .faq-sidebar-card .tag{
  display: inline-block;
}
.page-faq .faq-sidebar-card p{
  margin: 12px 0 0;
}

/* 内容区 */
.page-faq .faq-content{
  min-width: 0;
}
.page-faq .faq-group + .faq-group{
  margin-top: 52px;
}
.page-faq .faq-group .section-head{
  margin-bottom: 20px;
}
.page-faq .faq-group .section-lead{
  color: rgba(10,30,60,.68);
  font-size: .96rem;
}

/* 折叠面板 */
.page-faq .faq-accordion{
  display: grid;
  gap: 14px;
}
.page-faq .faq-item{
  background: var(--faq-card-bg);
  border: 1px solid var(--faq-line);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.page-faq .faq-item[open]{
  border-color: rgba(255,107,53,.36);
  box-shadow: 0 10px 28px rgba(8,26,41,.08);
  background: #fff;
}
.page-faq .faq-item summary{
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.5;
  color: #0A1E3C;
  letter-spacing: .01em;
  user-select: none;
  position: relative;
}
.page-faq .faq-item summary::-webkit-details-marker{
  display: none;
}
.page-faq .faq-item summary::before{
  content: "+";
  font-family: var(--font-data);
  font-size: 1rem;
  font-weight: 400;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255,107,53,.12);
  color: #FF6B35;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.page-faq .faq-item[open] summary::before{
  transform: rotate(135deg);
  background: #FF6B35;
  color: #fff;
}
.page-faq .faq-item p{
  margin: 0;
  padding: 0 22px 22px 64px;
  color: var(--faq-body-text);
  font-size: .95rem;
  line-height: 1.8;
}
.page-faq .faq-item p a{
  color: #FF6B35;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255,107,53,.38);
}
.page-faq .faq-item p a:hover{
  text-decoration-color: #FF6B35;
}

/* ===== 联系客服 ===== */
.page-faq .faq-contact{
  background:
    radial-gradient(circle at 8% 85%, rgba(0,201,167,.12) 0%, transparent 26%),
    radial-gradient(circle at 92% 12%, rgba(255,107,53,.16) 0%, transparent 32%),
    #081A29;
  color: #fff;
  padding-top: 68px;
  padding-bottom: 76px;
}
.page-faq .faq-contact .section-head{
  margin-bottom: 0;
}
.page-faq .faq-contact .section-title{
  color: #fff;
}
.page-faq .faq-contact .section-lead{
  color: rgba(168,178,193,.82);
  max-width: 520px;
}
.page-faq .faq-contact-grid{
  display: grid;
  gap: 36px;
  align-items: center;
}
.page-faq .faq-contact-media .image-frame{
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 22px 44px rgba(0,0,0,.28);
}
.page-faq .faq-contact-list{
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.page-faq .faq-contact-item{
  display: flex;
  gap: 16px;
  align-items: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 18px 22px;
  transition: background .25s ease, border-color .25s ease;
}
.page-faq .faq-contact-item:hover{
  background: rgba(255,255,255,.09);
  border-color: rgba(255,107,53,.32);
}
.page-faq .faq-contact-icon{
  font-family: var(--font-data);
  font-size: .72rem;
  letter-spacing: .1em;
  color: #FF6B35;
  background: rgba(255,107,53,.12);
  border-radius: 10px;
  padding: 8px 10px;
  flex: 0 0 auto;
  text-transform: uppercase;
}
.page-faq .faq-contact-info{
  display: grid;
  gap: 3px;
  min-width: 0;
}
.page-faq .faq-contact-label{
  font-size: .78rem;
  color: rgba(168,178,193,.8);
  letter-spacing: .04em;
}
.page-faq .faq-contact-value{
  font-size: 1.02rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  line-height: 1.5;
  word-break: break-word;
}
.page-faq .faq-contact-value[href]:hover,
.page-faq .faq-contact-value[href]:focus-visible{
  color: #FF6B35;
}
.page-faq .faq-contact-note{
  margin: 20px 0 0;
  font-size: .9rem;
  line-height: 1.75;
  color: rgba(168,178,193,.7);
  max-width: 520px;
}
.page-faq .faq-contact-note a{
  color: #D4A444;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(212,164,68,.42);
}

/* ===== 平板断点 ===== */
@media (min-width: 760px){
  .page-faq .faq-hero-grid{
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 48px;
    margin-top: 40px;
  }
  .page-faq .faq-hero{
    padding-bottom: 64px;
  }
  .page-faq .faq-layout{
    grid-template-columns: minmax(0, 1fr);
  }
  .page-faq .faq-contact-grid{
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 48px;
  }
  .page-faq .faq-contact-item{
    padding: 20px 24px;
  }
}

/* ===== 桌面断点 ===== */
@media (min-width: 1024px){
  .page-faq .faq-layout{
    grid-template-columns: var(--faq-sidebar-w) minmax(0, 1fr);
    gap: 56px;
  }
  .page-faq .faq-sidebar{
    position: sticky;
    top: calc(var(--header-h, 72px) + 28px);
  }
  .page-faq .faq-body{
    padding-top: 72px;
    padding-bottom: 84px;
  }
  .page-faq .faq-contact-grid{
    gap: 68px;
  }
}
