.page-faq {
  --faq-deco: rgba(57, 255, 20, 0.08);
  --faq-line: rgba(255, 255, 255, 0.1);
  --faq-card-radius: 20px;
  --faq-side-width: 208px;
  scroll-behavior: auto;
  background: var(--color-deep);
  color: var(--color-white);
  overflow-x: clip;
}

/* ===== 首屏 Hero ===== */
.page-faq .faq-hero {
  position: relative;
  padding: 48px 20px 64px;
  background:
    radial-gradient(ellipse 90% 60% at 85% 10%, rgba(30, 111, 255, 0.22), transparent 60%),
    radial-gradient(ellipse 60% 50% at 15% 80%, rgba(57, 255, 20, 0.08), transparent 55%),
    linear-gradient(160deg, var(--color-deeper) 0%, var(--color-deep) 60%, #0E2044 100%);
  overflow: hidden;
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -60px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.12) 0%, transparent 68%);
  pointer-events: none;
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  left: -80px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57, 255, 20, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

.page-faq .faq-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.page-faq .faq-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-faq .faq-hero .floor-label {
  margin-bottom: 14px;
}

.page-faq .faq-hero__title {
  max-width: 740px;
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 54px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.page-faq .faq-hero__lead {
  max-width: 640px;
  margin: 0 0 26px;
  color: var(--color-mist);
  font-size: 16px;
  line-height: 1.8;
}

.page-faq .faq-hero__quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.page-faq .faq-hero__quick-label {
  font-size: 14px;
  color: var(--color-mist);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.page-faq .faq-hero__quick .tag {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.18);
  transition: border-color 0.24s ease, background-color 0.24s ease, color 0.24s ease;
}

.page-faq .faq-hero__quick .tag:hover {
  border-color: var(--color-green);
  color: var(--color-green);
  background: var(--faq-deco);
}

.page-faq .faq-hero__visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  transform: rotate(-1.2deg) scale(1.01);
  box-shadow: 0 28px 80px -32px rgba(0, 0, 0, 0.65);
  outline: 1px solid rgba(255, 255, 255, 0.08);
  outline-offset: -1px;
}

.page-faq .faq-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(11, 27, 61, 0.2), transparent 45%, rgba(57, 255, 20, 0.08));
  pointer-events: none;
}

.page-faq .faq-hero__visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-faq .faq-hero .strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--gradient-sport);
  opacity: 0.85;
}

/* ===== 热门问题区域 ===== */
.page-faq .faq-section {
  padding: 72px 20px 88px;
  scroll-margin-top: 108px;
}

.page-faq .faq-section .container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.page-faq .faq-section__heading {
  margin-bottom: 40px;
}

.page-faq .faq-section__heading .floor-label {
  margin-bottom: 12px;
}

.page-faq .faq-section__heading .section-title {
  margin: 0 0 12px;
}

.page-faq .faq-section__heading .section-intro {
  max-width: 620px;
  margin: 0;
  color: var(--color-mist);
  font-size: 15px;
  line-height: 1.8;
}

/* 分类胶囊导航 */
.page-faq .faq-cats {
  display: flex;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 40px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

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

.page-faq .faq-cats__link {
  flex-shrink: 0;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-mist);
  background: var(--color-glass);
  text-decoration: none;
  border: 1px solid transparent;
  transition: color 0.24s ease, border-color 0.24s ease, background-color 0.24s ease;
}

.page-faq .faq-cats__link:hover {
  color: var(--color-white);
  border-color: var(--color-green);
  background: var(--faq-deco);
}

/* 主布局 */
.page-faq .faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

/* 侧栏分类 */
.page-faq .faq-side {
  display: none;
}

/* 问答面板 */
.page-faq .faq-qa {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.page-faq .faq-group {
  scroll-margin-top: 120px;
}

.page-faq .faq-group__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-faq .faq-group__title::before {
  content: "";
  width: 6px;
  height: 22px;
  border-radius: 3px;
  background: var(--gradient-sport);
  flex-shrink: 0;
}

.page-faq .faq-item {
  margin-bottom: 12px;
  border-radius: var(--faq-card-radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--faq-line);
  overflow: hidden;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-faq .faq-item[open] {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(57, 255, 20, 0.24);
}

.page-faq .faq-item summary {
  position: relative;
  list-style: none;
  padding: 18px 52px 18px 20px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--color-white);
  transition: color 0.24s ease;
  user-select: none;
  -webkit-user-select: none;
}

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

.page-faq .faq-item summary:hover {
  color: var(--color-green);
}

.page-faq .faq-item summary::before,
.page-faq .faq-item summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 16px;
  height: 2px;
  border-radius: 1px;
  background: var(--color-green);
  transform: translateY(-50%);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.page-faq .faq-item summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.page-faq .faq-item[open] summary::after {
  transform: translateY(-50%) rotate(0deg);
  opacity: 0;
}

.page-faq .faq-item__body {
  padding: 0 20px 20px;
}

.page-faq .faq-item__body p {
  margin: 0;
  color: var(--color-mist);
  font-size: 15px;
  line-height: 1.8;
}

/* ===== 功能使用指南 ===== */
.page-faq .faq-guides {
  position: relative;
  padding: 72px 20px 88px;
  background:
    linear-gradient(180deg, #071224 0%, #0A1B33 100%);
  scroll-margin-top: 108px;
  overflow: hidden;
}

.page-faq .faq-guides::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(115deg, transparent 0%, transparent 62%, rgba(30, 111, 255, 0.08) 62%, rgba(30, 111, 255, 0.08) 100%);
  pointer-events: none;
}

.page-faq .faq-guides .container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.page-faq .faq-guides__heading {
  margin-bottom: 44px;
}

.page-faq .faq-guides__heading .floor-label {
  margin-bottom: 12px;
}

.page-faq .faq-guides__heading .section-title {
  margin: 0 0 12px;
}

.page-faq .faq-guides__heading .section-intro {
  max-width: 620px;
  margin: 0;
  color: var(--color-mist);
  font-size: 15px;
  line-height: 1.8;
}

.page-faq .faq-guides__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 48px;
}

.page-faq .faq-guide-card {
  position: relative;
  padding: 28px 24px 28px 28px;
  border-radius: var(--faq-card-radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--faq-line);
  transition: border-color 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
}

.page-faq .faq-guide-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  border-radius: 2px 0 0 2px;
  background: var(--gradient-sport);
  opacity: 0.8;
}

.page-faq .faq-guide-card:hover {
  border-color: rgba(57, 255, 20, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.page-faq .faq-guide-card__no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 34px;
  padding: 0 12px;
  margin-bottom: 18px;
  border-radius: var(--radius-pill);
  background: rgba(57, 255, 20, 0.1);
  color: var(--color-green);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.page-faq .faq-guide-card__title {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--color-white);
}

.page-faq .faq-guide-card__steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: guide-step;
}

.page-faq .faq-guide-card__steps li {
  position: relative;
  counter-increment: guide-step;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--color-mist);
  font-size: 14px;
  line-height: 1.75;
}

.page-faq .faq-guide-card__steps li:last-child {
  margin-bottom: 0;
}

.page-faq .faq-guide-card__steps li::before {
  content: counter(guide-step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(255, 107, 0, 0.16);
  color: var(--color-orange);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.page-faq .faq-guides__visual {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  outline: 1px solid var(--faq-line);
  background: rgba(255, 255, 255, 0.03);
}

.page-faq .faq-guides__visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-faq .faq-guides__visual figcaption {
  padding: 14px 20px;
  color: var(--color-mist);
  font-size: 13px;
  line-height: 1.6;
  border-top: 1px solid var(--faq-line);
}

/* ===== 联系支持 ===== */
.page-faq .faq-contact {
  padding: 72px 20px 88px;
  scroll-margin-top: 108px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 120%, rgba(57, 255, 20, 0.1), transparent 65%),
    linear-gradient(180deg, var(--color-deep) 0%, #0A1C3E 100%);
}

.page-faq .faq-contact .container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.page-faq .faq-contact__heading {
  margin-bottom: 40px;
}

.page-faq .faq-contact__heading .floor-label {
  margin-bottom: 12px;
}

.page-faq .faq-contact__heading .section-title {
  margin: 0 0 12px;
}

.page-faq .faq-contact__heading .section-intro {
  max-width: 660px;
  margin: 0;
  color: var(--color-mist);
  font-size: 15px;
  line-height: 1.8;
}

.page-faq .faq-contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.page-faq .faq-contact__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px;
  border-radius: var(--faq-card-radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(57, 255, 20, 0.32);
  text-decoration: none;
  transition: border-color 0.24s ease, background-color 0.24s ease, transform 0.24s ease;
}

.page-faq .faq-contact__card--static {
  cursor: default;
}

.page-faq a.faq-contact__card:hover {
  border-color: var(--color-green);
  background: rgba(57, 255, 20, 0.08);
  transform: translateY(-4px);
}

.page-faq .faq-contact__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-orange);
}

.page-faq .faq-contact__value {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-white);
  word-break: break-all;
}

.page-faq .faq-contact__usage {
  font-size: 13px;
  color: var(--color-mist);
  line-height: 1.6;
}

.page-faq .faq-contact__notes {
  padding: 24px 26px;
  border-radius: var(--faq-card-radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--faq-line);
}

.page-faq .faq-contact__notes p {
  margin: 0 0 12px;
  color: var(--color-mist);
  font-size: 14px;
  line-height: 1.8;
}

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

.page-faq .faq-contact__link {
  color: var(--color-sky);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.24s ease, border-color 0.24s ease;
}

.page-faq .faq-contact__link:hover {
  color: var(--color-green);
  border-color: var(--color-green);
}

/* ===== 桌面端适配 ===== */
@media (min-width: 768px) {
  .page-faq .faq-hero {
    padding: 64px 32px 80px;
  }

  .page-faq .faq-hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
  }

  .page-faq .faq-hero__title {
    margin-bottom: 22px;
  }

  .page-faq .faq-hero__lead {
    margin-bottom: 30px;
    font-size: 17px;
  }

  .page-faq .faq-hero__visual {
    transform: rotate(1.2deg) scale(1.03);
  }

  .page-faq .faq-section {
    padding: 96px 32px 112px;
  }

  .page-faq .faq-layout {
    grid-template-columns: var(--faq-side-width) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
  }

  .page-faq .faq-side {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: sticky;
    top: 108px;
    padding: 20px 16px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--faq-line);
  }

  .page-faq .faq-side__note {
    margin: 0 0 10px;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-orange);
  }

  .page-faq .faq-side__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 10px;
    border-radius: 12px;
    color: var(--color-mist);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.24s ease, background-color 0.24s ease;
  }

  .page-faq .faq-side__link:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.07);
  }

  .page-faq .faq-side__no {
    color: var(--color-green);
    font-size: 12px;
    font-weight: 800;
    width: 24px;
    text-align: right;
  }

  .page-faq .faq-side__link:hover .faq-side__no {
    color: var(--color-orange);
  }

  .page-faq .faq-cats {
    display: none;
  }

  .page-faq .faq-guides {
    padding: 96px 32px 112px;
  }

  .page-faq .faq-guides__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .page-faq .faq-guide-card {
    padding: 32px 28px;
  }

  .page-faq .faq-contact {
    padding: 96px 32px 112px;
  }

  .page-faq .faq-contact__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .page-faq .faq-contact__card {
    padding: 30px;
  }

  .page-faq .faq-contact__value {
    font-size: 22px;
  }
}

@media (min-width: 1024px) {
  .page-faq .faq-guides__visual {
    max-width: 920px;
    margin: 0 auto;
  }

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