.page-faq {
  --faq-accent: #FF6B35;
  --faq-green: #39FF14;
  --faq-bg-deep: #0A192F;
  --faq-bg-panel: #112240;
  --faq-bg-ink: #020617;
  --faq-muted: #94A3B8;
  --faq-warm: #F5F0E6;
  position: relative;
  background:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    var(--faq-bg-deep);
  background-size: 40px 40px;
  color: #FFFFFF;
  overflow-x: hidden;
  font-family: 'Noto Serif SC', 'Source Han Serif CN', 'Songti SC', STSong, Georgia, serif;
}

.page-faq .container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

.page-faq .breadcrumb {
  font-family: 'Noto Sans SC', 'Source Han Sans CN', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 13px;
  color: var(--faq-muted);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

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

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

.page-faq .breadcrumb .is-current {
  color: var(--faq-warm);
}

.page-faq .faq-hero {
  position: relative;
  padding: 48px 0 64px;
  border-bottom: 1px solid rgba(255, 107, 53, 0.3);
}

.page-faq .faq-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 107, 53, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 107, 53, 0.12) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.9) 45%, rgba(0,0,0,0.4) 80%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.9) 45%, rgba(0,0,0,0.4) 80%, transparent 100%);
  pointer-events: none;
}

.page-faq .faq-hero__inner {
  position: relative;
  z-index: 1;
}

.page-faq .faq-hero__split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.page-faq .faq-hero__content {
  max-width: 760px;
}

.page-faq .faq-hero__kicker {
  font-family: 'Roboto Mono', 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
  color: var(--faq-green);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
  position: relative;
  padding-left: 32px;
}

.page-faq .faq-hero__kicker::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 2px;
  background: var(--faq-green);
  transform: translateY(-50%);
}

.page-faq .faq-hero__title {
  font-family: 'Noto Sans SC', 'Source Han Sans CN', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-transform: uppercase;
}

.page-faq .faq-hero__title::after {
  content: " /";
  color: var(--faq-accent);
}

.page-faq .faq-hero__lead {
  font-family: 'Noto Serif SC', 'Source Han Serif CN', 'Songti SC', STSong, Georgia, serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--faq-muted);
  margin-bottom: 28px;
  max-width: 600px;
}

.page-faq .faq-hero__figure {
  margin-top: 8px;
}

.page-faq .faq-hero__img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border: 1px solid rgba(255, 107, 53, 0.25);
  filter: saturate(1.4) contrast(1.1);
}

.page-faq .faq-hero__figure .figure-caption {
  color: var(--faq-muted);
  font-size: 12px;
  margin-top: 8px;
}

.page-faq .faq-hero__board {
  position: relative;
  background: var(--faq-bg-panel);
  border: 1px solid rgba(255, 107, 53, 0.25);
  margin-left: 0;
  padding: 32px 28px 24px;
}

.page-faq .faq-hero__board::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, transparent 50%, var(--faq-accent) 50%);
  opacity: 0.85;
}

.page-faq .faq-hero__board-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  font-family: 'Roboto Mono', 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
  font-size: 12px;
  color: var(--faq-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.page-faq .faq-hero__board-code {
  color: var(--faq-accent);
}

.page-faq .faq-hero__board-title {
  font-family: 'Noto Sans SC', 'Source Han Sans CN', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: #FFFFFF;
  font-weight: 900;
  font-size: 20px;
  margin-bottom: 20px;
}

.page-faq .faq-hero__toc {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
}

.page-faq .faq-hero__toc li {
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.page-faq .faq-hero__toc a {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Roboto Mono', 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
  font-size: 14px;
  color: var(--faq-warm);
  padding: 13px 4px;
  background: linear-gradient(to right, var(--faq-accent) 0%, var(--faq-accent) 3px, transparent 3px);
  background-size: 100% 100%;
  background-position: 0 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.page-faq .faq-hero__toc a:hover {
  background-color: rgba(255, 107, 53, 0.1);
  color: #FFFFFF;
}

.page-faq .faq-hero__board-note {
  font-family: 'Noto Sans SC', 'Source Han Sans CN', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 13px;
  color: var(--faq-muted);
}

.page-faq .faq-hero__board-note a {
  color: var(--faq-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-faq .faq-searchbar {
  margin-top: 48px;
  margin-bottom: 48px;
  padding-top: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(57, 255, 20, 0.35);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-faq .faq-searchbar__label {
  font-family: 'Roboto Mono', 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
  font-size: 12px;
  color: var(--faq-green);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

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

.page-faq .faq-searchbar__input {
  flex: 1;
  min-width: 260px;
  background: var(--faq-bg-panel);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #FFFFFF;
  font-family: 'Noto Sans SC', 'Source Han Sans CN', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 16px;
  padding: 15px 16px;
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-faq .faq-searchbar__input:focus {
  border-color: var(--faq-accent);
  box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.18);
}

.page-faq .faq-searchbar__slash {
  font-family: 'Roboto Mono', 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
  color: var(--faq-accent);
  font-size: 20px;
}

.page-faq .faq-searchbar__hint {
  font-family: 'Noto Serif SC', 'Source Han Serif CN', 'Songti SC', STSong, Georgia, serif;
  color: var(--faq-muted);
  font-size: 13px;
}

.page-faq .faq-section {
  padding-top: 56px;
  padding-bottom: 36px;
}

.page-faq .faq-section--accent {
  background: linear-gradient(90deg, rgba(17, 34, 64, 0.7) 0%, rgba(10, 25, 47, 0.2) 100%);
  border-left: 3px solid var(--faq-green);
}

.page-faq .faq-section__heading {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 32px;
}

.page-faq .faq-section__index {
  font-family: 'Roboto Mono', 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
  font-size: 40px;
  line-height: 1;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--faq-accent);
  opacity: 0.8;
}

.page-faq .faq-section__heading .section-title {
  font-family: 'Noto Sans SC', 'Source Han Sans CN', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 24px;
  font-weight: 900;
  margin-top: 4px;
}

.page-faq .faq-section__heading .section-subtitle {
  font-family: 'Noto Serif SC', 'Source Han Serif CN', 'Songti SC', STSong, Georgia, serif;
  font-size: 14px;
  color: var(--faq-muted);
  margin-top: 6px;
}

.page-faq .faq-list {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.page-faq .faq-item {
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  background: transparent;
  transition: background-color 0.2s ease;
}

.page-faq .faq-item[open] {
  background: linear-gradient(90deg, rgba(255, 107, 53, 0.05) 0%, transparent 60%);
}

.page-faq .faq-item__summary {
  display: grid;
  grid-template-columns: 48px 1fr 24px;
  gap: 12px;
  align-items: center;
  list-style: none;
  padding: 18px 4px;
  cursor: pointer;
  font-family: 'Noto Sans SC', 'Source Han Sans CN', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 16px;
  color: #FFFFFF;
}

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

.page-faq .faq-item__summary:hover .faq-item__q {
  color: var(--faq-accent);
}

.page-faq .faq-item__num {
  font-family: 'Roboto Mono', 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
  font-size: 13px;
  color: var(--faq-muted);
  padding-left: 2px;
}

.page-faq .faq-item__q {
  transition: color 0.2s ease;
  font-weight: 700;
}

.page-faq .faq-item__mark {
  position: relative;
  width: 14px;
  height: 14px;
  border: 2px solid var(--faq-accent);
  transform: rotate(45deg);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.page-faq .faq-item__mark::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: var(--faq-accent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.page-faq .faq-item[open] .faq-item__mark {
  background-color: var(--faq-accent);
  transform: rotate(225deg);
}

.page-faq .faq-item[open] .faq-item__mark::after {
  opacity: 1;
}

.page-faq .faq-item__answer {
  padding: 0 4px 20px 72px;
  font-family: 'Noto Serif SC', 'Source Han Serif CN', 'Songti SC', STSong, Georgia, serif;
  font-size: 15px;
  line-height: 1.85;
  color: var(--faq-warm);
  max-width: 780px;
}

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

.page-faq .faq-item__answer a {
  color: var(--faq-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
  -webkit-text-decoration-color: rgba(255, 107, 53, 0.4);
  text-decoration-color: rgba(255, 107, 53, 0.4);
}

.page-faq .faq-item__answer a:hover {
  color: var(--faq-green);
}

.page-faq .faq-contact {
  margin-top: 48px;
  padding-bottom: 72px;
}

.page-faq .faq-contact__panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  background: var(--faq-bg-ink);
  border-left: 4px solid var(--faq-accent);
  padding: 36px 28px;
}

.page-faq .faq-contact__text {
  order: 1;
}

.page-faq .faq-contact__title {
  font-family: 'Noto Sans SC', 'Source Han Sans CN', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.page-faq .faq-contact__title::before {
  content: "// ";
  color: var(--faq-green);
}

.page-faq .faq-contact__desc {
  font-family: 'Noto Serif SC', 'Source Han Serif CN', 'Songti SC', STSong, Georgia, serif;
  font-size: 15px;
  line-height: 1.8;
  color: var(--faq-muted);
  margin-bottom: 24px;
}

.page-faq .faq-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-faq .faq-contact__actions .btn {
  padding: 13px 22px;
  font-family: 'Noto Sans SC', 'Source Han Sans CN', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 0;
  display: inline-block;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

.page-faq .faq-contact__actions .btn-primary {
  background: var(--faq-accent);
  color: #0A192F;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 0 100%);
  padding-right: 26px;
}

.page-faq .faq-contact__actions .btn-primary:hover {
  background: var(--faq-green);
  transform: translateY(-2px);
}

.page-faq .faq-contact__actions .btn-outline {
  background: transparent;
  color: var(--faq-warm);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.page-faq .faq-contact__actions .btn-outline:hover {
  border-color: var(--faq-accent);
  color: var(--faq-accent);
}

.page-faq .faq-contact__figure {
  order: 2;
  margin: 0;
}

.page-faq .faq-contact__img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.page-faq .faq-contact__figure .figure-caption {
  font-family: 'Roboto Mono', 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
  font-size: 13px;
  color: var(--faq-green);
  text-align: right;
  margin-top: 8px;
}

.page-faq .visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (min-width: 768px) {
  .page-faq .faq-hero {
    padding: 56px 0 80px;
  }

  .page-faq .faq-hero__split {
    grid-template-columns: 1.3fr 0.7fr;
    gap: 48px;
  }

  .page-faq .faq-hero__board {
    margin-left: 8px;
  }

  .page-faq .faq-searchbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .page-faq .faq-searchbar__label {
    margin-bottom: 0;
    white-space: nowrap;
  }

  .page-faq .faq-searchbar__field {
    flex: 1;
    max-width: 620px;
  }

  .page-faq .faq-section {
    padding-top: 72px;
    padding-bottom: 48px;
  }

  .page-faq .faq-section__heading {
    grid-template-columns: 56px 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }

  .page-faq .faq-section__index {
    font-size: 52px;
  }

  .page-faq .faq-section__heading .section-title {
    font-size: 30px;
  }

  .page-faq .faq-item__summary {
    grid-template-columns: 64px 1fr 24px;
    padding: 22px 8px;
    font-size: 17px;
  }

  .page-faq .faq-item__num {
    font-size: 14px;
  }

  .page-faq .faq-item__answer {
    padding: 0 8px 24px 88px;
  }

  .page-faq .faq-contact__panel {
    grid-template-columns: 1.2fr 0.8fr;
    padding: 44px 48px;
  }
}

@media (min-width: 1024px) {
  .page-faq .faq-hero__title {
    font-size: 52px;
  }

  .page-faq .faq-contact__panel {
    grid-template-columns: 1.5fr 0.5fr;
  }
}
