.page-faq {
  --faq-accent: #00FF88;
  --faq-orange: #FF6B00;
  --faq-deep: #0A1628;
  --faq-night: #1E3A5F;
  --faq-mist: #B0C4DE;
  --faq-line: #2A3B4C;
  --faq-cyan: #00D2FF;
  --faq-white: #FFFFFF;
  --faq-radius: 0px;
  --faq-toc-width: 300px;
  background: var(--faq-deep);
  color: var(--faq-white);
  overflow-x: hidden;
}

.page-faq .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.page-faq .faq-hero {
  position: relative;
  padding: 80px 0 64px;
  background:
    radial-gradient(ellipse 60% 40% at 80% 0%, rgba(0, 210, 255, 0.18) 0%, transparent 100%),
    linear-gradient(135deg, var(--faq-deep) 0%, var(--faq-night) 100%);
  border-bottom: 1px solid var(--faq-line);
}

.page-faq .faq-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

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

.page-faq .faq-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.page-faq .faq-hero__num {
  font-family: 'JetBrains Mono', 'Roboto Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  color: var(--faq-accent);
  background: rgba(0, 255, 136, 0.1);
  padding: 4px 10px;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.page-faq .faq-hero__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--faq-mist);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-faq .faq-hero h1 {
  font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  font-weight: 900;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  max-width: 680px;
}

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

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

.page-faq .faq-hero__media {
  flex: 0 0 auto;
  max-width: 100%;
  position: relative;
}

.page-faq .faq-hero__media img {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.page-faq .faq-body {
  padding: 48px 24px 80px;
}

.page-faq .faq-body__layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.page-faq .faq-toc {
  flex-shrink: 0;
  width: 100%;
}

.page-faq .faq-toc__inner {
  position: sticky;
  top: 24px;
  background: rgba(30, 58, 95, 0.4);
  border: 1px solid var(--faq-line);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  padding: 28px;
}

.page-faq .faq-toc__title {
  font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--faq-white);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--faq-line);
}

.page-faq .faq-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-faq .faq-toc__item {
  margin: 0;
}

.page-faq .faq-toc__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  color: var(--faq-mist);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.page-faq .faq-toc__link:hover,
.page-faq .faq-toc__link:focus {
  background: rgba(0, 255, 136, 0.08);
  color: var(--faq-accent);
}

.page-faq .faq-toc__num {
  font-family: 'JetBrains Mono', 'Roboto Mono', monospace;
  font-size: 12px;
  color: var(--faq-accent);
  flex-shrink: 0;
}

.page-faq .faq-toc__support {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--faq-line);
}

.page-faq .faq-toc__support-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--faq-white);
  margin: 0 0 4px;
}

.page-faq .faq-toc__support-desc {
  font-size: 13px;
  color: var(--faq-mist);
  margin: 0 0 16px;
  line-height: 1.6;
}

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

.page-faq .faq-section {
  margin-bottom: 64px;
  scroll-margin-top: 32px;
}

.page-faq .faq-section__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 12px;
}

.page-faq .faq-section__head .section-number {
  font-family: 'JetBrains Mono', 'Roboto Mono', monospace;
  font-size: 32px;
  font-weight: 500;
  color: var(--faq-accent);
}

.page-faq .faq-section__head .section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--faq-white);
  margin: 0;
}

.page-faq .faq-section__intro {
  font-size: 15px;
  line-height: 1.7;
  color: var(--faq-mist);
  margin: 0 0 24px;
  padding-left: 48px;
}

.page-faq .faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-faq .faq-item {
  background: linear-gradient(180deg, rgba(30, 58, 95, 0.4) 0%, rgba(15, 27, 45, 0.6) 100%);
  border: 1px solid var(--faq-line);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-faq .faq-item[open] {
  border-color: rgba(0, 255, 136, 0.4);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.08);
}

.page-faq .faq-item__summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.page-faq .faq-item__summary:hover,
.page-faq .faq-item__summary:focus {
  background: rgba(0, 255, 136, 0.03);
}

.page-faq .faq-item__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 255, 136, 0.08);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  color: var(--faq-accent);
}

.page-faq .faq-item__icon svg {
  width: 20px;
  height: 20px;
}

.page-faq .faq-item__text {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  color: var(--faq-white);
  line-height: 1.4;
}

.page-faq .faq-item__mark {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.page-faq .faq-item__mark::before,
.page-faq .faq-item__mark::after {
  content: '';
  position: absolute;
  background: var(--faq-accent);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.page-faq .faq-item__mark::before {
  width: 14px;
  height: 2px;
  top: 6px;
  left: 0;
}

.page-faq .faq-item__mark::after {
  width: 2px;
  height: 14px;
  top: 0;
  left: 6px;
}

.page-faq .faq-item[open] .faq-item__mark::after {
  opacity: 0;
  transform: rotate(90deg);
}

.page-faq .faq-item__body {
  padding: 0 24px 24px 80px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--faq-mist);
}

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

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

.page-faq .faq-tip {
  margin-top: 16px;
  padding: 14px 16px;
  background: rgba(255, 107, 0, 0.08);
  border-left: 3px solid var(--faq-orange);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.page-faq .faq-tip__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--faq-orange);
  margin-bottom: 4px;
}

.page-faq .faq-tip p {
  margin: 0;
  font-size: 14px;
  color: var(--faq-mist);
}

.page-faq .faq-steps {
  margin: 0 0 12px;
  padding-left: 20px;
}

.page-faq .faq-steps li {
  margin-bottom: 8px;
}

.page-faq .faq-list {
  margin: 0 0 12px;
  padding-left: 20px;
}

.page-faq .faq-list li {
  margin-bottom: 8px;
}

.page-faq .faq-steps li::marker,
.page-faq .faq-list li::marker {
  color: var(--faq-accent);
}

.page-faq .faq-note {
  font-size: 13px;
  color: var(--faq-mist);
  opacity: 0.8;
  font-style: normal;
}

.page-faq .faq-media-row {
  margin: 0 0 24px;
  padding-left: 48px;
}

.page-faq .faq-media-row img {
  max-width: 420px;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

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

.page-faq .faq-bottom__inner {
  background:
    radial-gradient(ellipse 40% 60% at 100% 0%, rgba(0, 210, 255, 0.12) 0%, transparent 100%),
    linear-gradient(135deg, var(--faq-night) 0%, var(--faq-deep) 100%);
  border: 1px solid var(--faq-line);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  padding: 40px 32px;
  text-align: center;
}

.page-faq .faq-bottom__title {
  font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--faq-white);
  margin: 0 0 8px;
}

.page-faq .faq-bottom__desc {
  font-size: 15px;
  color: var(--faq-mist);
  margin: 0 auto 24px;
  max-width: 480px;
  line-height: 1.7;
}

.page-faq .faq-bottom__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.page-faq .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.page-faq .btn--primary {
  background: var(--faq-accent);
  color: var(--faq-deep);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.page-faq .btn--primary:hover,
.page-faq .btn--primary:focus {
  background: #00e67a;
  box-shadow: 0 0 32px rgba(0, 255, 136, 0.25);
}

.page-faq .btn--ghost {
  background: transparent;
  color: var(--faq-white);
  border: 1px solid var(--faq-line);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.page-faq .btn--ghost:hover,
.page-faq .btn--ghost:focus {
  border-color: var(--faq-accent);
  color: var(--faq-accent);
  background: rgba(0, 255, 136, 0.06);
}

.page-faq .tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 500;
  font-family: 'Noto Sans SC', 'PingFang SC', sans-serif;
  color: var(--faq-white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--faq-line);
}

.page-faq .tag--orange {
  color: var(--faq-orange);
  border-color: rgba(255, 107, 0, 0.5);
  background: rgba(255, 107, 0, 0.1);
}

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

  .page-faq .faq-hero__inner {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }

  .page-faq .faq-hero h1 {
    font-size: 40px;
  }

  .page-faq .faq-hero__media img {
    max-width: 400px;
  }

  .page-faq .faq-body__layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 48px;
  }

  .page-faq .faq-toc {
    width: var(--faq-toc-width);
  }

  .page-faq .faq-content {
    flex: 1;
  }

  .page-faq .faq-section__head .section-title {
    font-size: 28px;
  }
}

@media (min-width: 1024px) {
  .page-faq .faq-hero h1 {
    font-size: 48px;
  }

  .page-faq .faq-body__layout {
    gap: 64px;
  }

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

  .page-faq .faq-item__body {
    padding-left: 88px;
  }
}
