/* ===================== FAQ 页面专属 ===================== */
.page-faq {
  --faq-purple: #b44cff;
  --faq-blue: #00e5ff;
  --faq-pink: #ff4d6d;
  --faq-bg: #0a0a12;
  --faq-panel: #16161f;
  --faq-border: #2a2a3a;
  --faq-text: #f0f0f5;
  --faq-muted: #a0a0b0;
  background:
    linear-gradient(rgba(180, 76, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 76, 255, 0.045) 1px, transparent 1px),
    var(--faq-bg);
  background-size: 34px 34px, 34px 34px, auto;
  position: relative;
  overflow: hidden;
}

.page-faq::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(180, 76, 255, 0.16) 0%, transparent 70%);
  pointer-events: none;
}

.page-faq > * {
  position: relative;
}

.page-faq .faq-hero {
  padding: 40px 20px 32px;
  border-bottom: 2px solid var(--faq-border);
}

.page-faq .faq-hero__inner {
  max-width: var(--container-w);
  margin: 0 auto;
}

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

.page-faq .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--faq-muted);
  margin-bottom: 36px;
}

.page-faq .breadcrumb a {
  color: var(--faq-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-faq .breadcrumb a:hover {
  color: var(--faq-purple);
}

.page-faq .faq-hero__kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faq-purple);
  background: rgba(180, 76, 255, 0.1);
  border: 1px solid rgba(180, 76, 255, 0.35);
  padding: 5px 12px;
  margin-bottom: 18px;
}

.page-faq .faq-hero__title {
  font-size: 44px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--faq-text);
  margin: 0 0 18px;
}

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

.page-faq .faq-hero__aside {
  display: flex;
  margin-top: 28px;
  background: var(--faq-panel);
  border-left: 3px solid var(--faq-blue);
  box-shadow: 6px 6px 0 rgba(0, 229, 255, 0.08);
}

.page-faq .faq-hero__stat {
  flex: 1;
  padding: 14px 10px;
  border-right: 1px solid var(--faq-border);
}

.page-faq .faq-hero__stat:last-child {
  border-right: none;
}

.page-faq .faq-hero__stat-label {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  color: var(--faq-muted);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.page-faq .faq-hero__stat-value {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 900;
  color: var(--faq-text);
  line-height: 1.2;
}

.page-faq .faq-container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 20px;
}

.page-faq .faq-block {
  padding: 52px 0 8px;
}

.page-faq .faq-block__head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--faq-border);
}

.page-faq .faq-block__num {
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  color: var(--faq-purple);
  opacity: 0.9;
  text-shadow: 0 0 14px rgba(180, 76, 255, 0.4);
  flex-shrink: 0;
}

.page-faq .faq-block__title-wrap {
  min-width: 0;
}

.page-faq .faq-block__title {
  font-size: 25px;
  font-weight: 900;
  color: var(--faq-text);
  line-height: 1.25;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.page-faq .faq-block__sub {
  font-size: 14px;
  color: var(--faq-muted);
  line-height: 1.5;
  margin: 0;
}

.page-faq .faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-faq .faq-item {
  background: var(--faq-panel);
  border: 2px solid var(--faq-border);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.page-faq .faq-item[open] {
  border-color: rgba(180, 76, 255, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-faq .faq-item__summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 16px;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.2s ease;
}

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

.page-faq .faq-item__summary:hover {
  background: rgba(180, 76, 255, 0.045);
}

.page-faq .faq-item__summary:focus-visible {
  outline: 2px solid var(--faq-blue);
  outline-offset: -2px;
}

.page-faq .faq-item__q-mark {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 900;
  color: var(--faq-purple);
  background: rgba(180, 76, 255, 0.12);
  border: 1px solid rgba(180, 76, 255, 0.3);
}

.page-faq .faq-item__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--faq-text);
  flex: 1;
}

.page-faq .faq-item__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--faq-muted);
  opacity: 0.7;
  transition: color 0.2s ease, transform 0.25s ease, opacity 0.2s ease;
}

.page-faq .faq-item__summary:hover .faq-item__icon {
  opacity: 1;
  color: var(--faq-blue);
  transform: translateX(3px);
}

.page-faq .faq-item[open] .faq-item__icon {
  transform: rotate(180deg);
  color: var(--faq-purple);
  opacity: 1;
}

.page-faq .faq-item[open] .faq-item__summary:hover .faq-item__icon {
  color: var(--faq-blue);
  transform: rotate(180deg) translateX(-3px);
}

.page-faq .faq-item__answer {
  padding: 2px 18px 24px 64px;
  border-top: 1px solid rgba(42, 42, 58, 0.6);
  font-size: 15px;
  line-height: 1.9;
  color: var(--faq-muted);
}

.page-faq .faq-item__answer p {
  margin: 16px 0 0;
}

.page-faq .faq-item__answer b {
  color: var(--faq-text);
  font-weight: 700;
}

.page-faq .faq-item[open] .faq-item__answer {
  animation: faq-fade-in 0.3s ease;
}

@keyframes faq-fade-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-faq .faq-figure {
  margin: 18px 0 0;
}

.page-faq .faq-figure__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  background: var(--faq-bg);
  border: 1px solid var(--faq-border);
  object-fit: cover;
}

.page-faq .faq-figure--small .faq-figure__img {
  max-width: 320px;
}

.page-faq .faq-figure figcaption {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--faq-muted);
  letter-spacing: 0.03em;
}

.page-faq .faq-inline-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--faq-blue);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px dashed rgba(0, 229, 255, 0.55);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-faq .faq-inline-link:hover {
  color: var(--faq-purple);
  border-bottom-color: rgba(180, 76, 255, 0.6);
}

.page-faq .faq-help {
  margin-top: 48px;
  padding: 44px 20px;
  background:
    linear-gradient(120deg, rgba(180, 76, 255, 0.14) 0%, rgba(0, 229, 255, 0.04) 50%, transparent 80%),
    var(--faq-panel);
  border-top: 2px solid rgba(180, 76, 255, 0.4);
}

.page-faq .faq-help__inner {
  max-width: var(--container-w);
  margin: 0 auto;
}

.page-faq .faq-help__title {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.3;
  color: var(--faq-text);
  margin: 0 0 12px;
}

.page-faq .faq-help__desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--faq-muted);
  margin: 0 0 24px;
  max-width: 460px;
}

.page-faq .faq-help__btn {
  display: inline-block;
  padding: 13px 30px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: var(--faq-purple);
  border: 2px solid var(--faq-purple);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.page-faq .faq-help__btn:hover {
  background: transparent;
  color: var(--faq-purple);
  box-shadow: 0 0 0 3px rgba(180, 76, 255, 0.18);
}

.page-faq .faq-help__btn:focus-visible {
  outline: 2px solid var(--faq-blue);
  outline-offset: 3px;
}

@media (min-width: 768px) {
  .page-faq .faq-hero {
    padding: 64px 40px 48px;
  }

  .page-faq .faq-hero__title {
    font-size: 58px;
  }

  .page-faq .faq-hero__lead {
    font-size: 18px;
  }

  .page-faq .faq-hero__aside {
    max-width: 600px;
  }

  .page-faq .faq-hero__stat {
    padding: 16px 12px;
  }

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

  .page-faq .faq-container {
    padding: 0 40px;
  }

  .page-faq .faq-block {
    padding: 64px 0 12px;
  }

  .page-faq .faq-block__num {
    font-size: 42px;
  }

  .page-faq .faq-block__title {
    font-size: 30px;
  }

  .page-faq .faq-item__summary {
    padding: 22px 24px;
  }

  .page-faq .faq-item__title {
    font-size: 18px;
  }

  .page-faq .faq-item__answer {
    padding: 4px 24px 28px 74px;
    font-size: 15px;
  }

  .page-faq .faq-help {
    padding: 56px 40px;
  }
}

@media (min-width: 960px) {
  .page-faq .faq-hero__inner {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 56px;
    align-items: end;
  }

  .page-faq .faq-hero__aside {
    display: block;
    margin-top: 0;
  }

  .page-faq .faq-hero__stat {
    padding: 16px 20px;
    border-right: none;
    border-bottom: 1px solid var(--faq-border);
  }

  .page-faq .faq-hero__stat:last-child {
    border-bottom: none;
  }

  .page-faq .faq-blocks-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 48px;
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-item__icon,
  .page-faq .faq-item__summary,
  .page-faq .faq-item__answer {
    transition: none;
    animation: none;
  }
}
