/* ============ FAQ 页面专属样式 ============ */
.page-faq {
  --faq-card-shadow: rgba(26, 26, 26, 0.16);
}

.page-faq img {
  max-width: 100%;
}

/* ---- 首屏横幅 ---- */
.page-faq .faq-hero {
  background: var(--deep-blue);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-faq .faq-hero::after {
  content: "FAQ";
  position: absolute;
  right: -3%;
  bottom: 8%;
  font-family: var(--font-headline);
  font-size: clamp(5rem, 16vw, 13rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(0, 255, 135, 0.08);
  pointer-events: none;
  z-index: 0;
}

.page-faq .faq-hero__content {
  position: relative;
  z-index: 1;
  padding-top: 40px;
  padding-bottom: 28px;
}

.page-faq .faq-hero__eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--neon);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
}

.page-faq .faq-hero__eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--neon);
}

.page-faq .faq-hero__title {
  font-family: var(--font-headline);
  font-size: clamp(1.7rem, 4.8vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.page-faq .faq-hero__lede {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  max-width: 46em;
  margin: 0 0 20px;
}

.page-faq .faq-hero__stats {
  display: flex;
  flex-wrap: wrap;
}

.page-faq .faq-hero__stat {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
  display: inline-flex;
  align-items: baseline;
}

.page-faq .faq-hero__stat + .faq-hero__stat {
  margin-left: 20px;
}

.page-faq .faq-hero__stat + .faq-hero__stat::before {
  content: "/";
  margin-right: 20px;
  color: rgba(255, 255, 255, 0.35);
}

.page-faq .faq-hero__stat b {
  font-weight: 700;
  color: var(--neon);
  font-size: 0.95rem;
}

.page-faq .faq-hero__figure {
  margin: 0;
  position: relative;
  z-index: 1;
}

.page-faq .faq-hero__figure img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
}

.page-faq .faq-hero__figure::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: var(--neon);
  z-index: 1;
}

@media (min-width: 768px) {
  .page-faq .faq-hero__content {
    padding-top: 56px;
    padding-bottom: 36px;
  }

  .page-faq .faq-hero__figure img {
    height: 340px;
  }
}

/* ---- 主体 ---- */
.page-faq .faq-body {
  padding-top: 28px;
  padding-bottom: 64px;
}

.page-faq .faq-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--mid-gray);
  padding-bottom: 14px;
  border-bottom: 2px solid var(--light-gray);
  margin-bottom: 28px;
}

.page-faq .faq-crumb a {
  color: var(--deep-blue);
  text-underline-offset: 4px;
}

.page-faq .faq-crumb__sep {
  color: var(--mid-gray);
}

.page-faq .faq-layout {
  display: block;
}

@media (min-width: 992px) {
  .page-faq .faq-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 44px;
    align-items: start;
  }
}

/* ---- 左侧索引 ---- */
.page-faq .faq-index {
  background: var(--light-gray);
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--faq-card-shadow);
  padding: 20px 16px 18px;
  margin-bottom: 32px;
}

@media (min-width: 992px) {
  .page-faq .faq-index__sticky {
    position: sticky;
    top: 108px;
  }
}

.page-faq .faq-index__title {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--deep-blue);
  margin: 0 0 14px;
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 3px solid var(--neon);
}

.page-faq .faq-index__list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.page-faq .faq-index__list li + li {
  border-top: 1px solid rgba(10, 10, 10, 0.12);
}

.page-faq .faq-index__list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 4px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--charcoal);
  text-decoration: none;
  transition: color 0.15s ease, padding-left 0.15s ease;
}

.page-faq .faq-index__list a::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--deep-blue);
  flex-shrink: 0;
  transition: background 0.15s ease;
}

.page-faq .faq-index__list a:hover,
.page-faq .faq-index__list a:focus-visible {
  color: var(--deep-blue);
  padding-left: 10px;
  outline: none;
}

.page-faq .faq-index__list a:hover::before,
.page-faq .faq-index__list a:focus-visible::before {
  background: var(--neon);
  outline: 1px solid var(--ink);
}

.page-faq .faq-index__more {
  display: block;
  text-align: center;
  background: var(--deep-blue);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 10px 12px;
  text-decoration: none;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.page-faq .faq-index__more:hover,
.page-faq .faq-index__more:focus-visible {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

/* ---- 右侧答案区 ---- */
.page-faq .faq-answers {
  min-width: 0;
  border-left: 4px solid var(--orange);
  padding-left: 20px;
}

@media (min-width: 992px) {
  .page-faq .faq-answers {
    padding-left: 24px;
  }
}

.page-faq .faq-section + .faq-section {
  margin-top: 44px;
}

.page-faq .faq-section__title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  font-family: var(--font-headline);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-faq .faq-section__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 8px;
  background: var(--deep-blue);
  color: var(--neon);
  font-size: 1rem;
  font-family: var(--font-headline);
  font-weight: 800;
  border: 2px solid var(--ink);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
}

/* ---- 问答卡片 ---- */
.page-faq .faq-item {
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--faq-card-shadow);
  margin-bottom: 16px;
}

.page-faq .faq-item[open] {
  border-color: var(--deep-blue);
  box-shadow: 6px 6px 0 rgba(0, 51, 204, 0.18);
}

.page-faq .faq-item:target {
  border-color: var(--orange);
  box-shadow: 6px 6px 0 rgba(255, 106, 0, 0.22);
}

.page-faq .faq-item__q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 48px 16px 16px;
  font-family: var(--font-headline);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
  position: relative;
  user-select: none;
  border-bottom: 2px solid transparent;
}

.page-faq .faq-item[open] .faq-item__q {
  border-bottom-color: var(--light-gray);
}

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

.page-faq .faq-item__q:focus-visible {
  outline: 3px solid var(--neon);
  outline-offset: -3px;
}

.page-faq .faq-item__q::after {
  content: "+";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--deep-blue);
  color: var(--neon);
  border: 2px solid var(--ink);
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}

.page-faq .faq-item[open] .faq-item__q::after {
  content: "-";
}

.page-faq .faq-item__num {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  color: var(--neon);
  text-shadow: 2px 2px 0 var(--deep-blue);
  flex-shrink: 0;
}

.page-faq .faq-item__text {
  min-width: 0;
}

.page-faq .faq-item__a {
  margin: 0 16px 16px;
  padding: 14px 18px;
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--charcoal);
}

.page-faq .faq-item__a p {
  margin: 0 0 12px;
}

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

.page-faq .faq-item__tag {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 10px;
  background: var(--ink);
  color: var(--neon);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-faq .faq-steps {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  counter-reset: faqStep;
}

.page-faq .faq-steps li {
  counter-increment: faqStep;
  position: relative;
  padding-left: 30px;
  margin-bottom: 8px;
}

.page-faq .faq-steps li::before {
  content: counter(faqStep);
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  background: var(--deep-blue);
  color: var(--neon);
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ---- 服务联系横幅 ---- */
.page-faq .faq-service {
  background: var(--ink);
  color: var(--white);
  padding: 52px 0;
  position: relative;
  overflow: hidden;
}

.page-faq .faq-service::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--neon), var(--teal), var(--orange) 90%);
}

.page-faq .faq-service__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.page-faq .faq-service__content {
  flex: 1;
  min-width: 0;
}

.page-faq .faq-service__badge {
  margin: 0;
  flex-shrink: 0;
}

.page-faq .faq-service__badge img {
  display: block;
  width: 176px;
  height: 176px;
  object-fit: cover;
  border: 3px solid var(--neon);
  animation: faqPulse 3s ease-in-out infinite;
}

@keyframes faqPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 255, 135, 0.5);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(0, 255, 135, 0);
  }
}

.page-faq .faq-service__title {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.page-faq .faq-service__desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  max-width: 36em;
  margin: 0 0 22px;
}

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

@media (min-width: 768px) {
  .page-faq .faq-service__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .page-faq .faq-service__badge {
    order: 2;
    margin-left: 40px;
  }

  .page-faq .faq-service__badge img {
    width: 200px;
    height: 200px;
  }
}
