.page-faq {
  --faq-bg-deep: #0B2545;
  --faq-bg-soft: #1E3A5F;
  --faq-neon: #00E5A0;
  --faq-gold: #D4AF37;
  --faq-paper: #F7F4E9;
  --faq-muted: #5A6B7A;
  --faq-border: #C9D1D9;
  --faq-font-head: "Oswald", "Arial Narrow", "Microsoft YaHei", sans-serif;
  --faq-font-body: "Roboto", "PingFang SC", "Microsoft YaHei", sans-serif;
  --faq-font-mono: "Roboto Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.page-faq {
  background: var(--faq-paper);
  color: var(--faq-bg-deep);
  font-family: var(--faq-font-body);
  line-height: 1.6;
}

.page-faq .faq-hero {
  background: var(--faq-bg-deep);
  color: #fff;
  padding: 48px 0 72px;
  position: relative;
  overflow: hidden;
}

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

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(0, 229, 160, 0.18);
  transform: rotate(15deg);
  pointer-events: none;
}

.page-faq .faq-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.page-faq .faq-hero__copy {
  max-width: 640px;
}

.page-faq .crumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 28px;
}

.page-faq .crumb-list__link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.page-faq .crumb-list__link:hover {
  color: var(--faq-neon);
}

.page-faq .crumb-list__sep {
  color: rgba(255, 255, 255, 0.35);
}

.page-faq .crumb-list__current {
  color: var(--faq-gold);
}

.page-faq .faq-hero__title {
  font-family: var(--faq-font-head);
  font-size: 44px;
  line-height: 1.1;
  font-weight: 700;
  margin: 12px 0 16px;
  letter-spacing: 0.02em;
}

.page-faq .faq-hero__desc {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 28px;
  max-width: 520px;
}

.page-faq .faq-hero__search {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 0 16px;
  height: 52px;
  max-width: 480px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.page-faq .faq-hero__search:focus-within {
  border-color: var(--faq-neon);
  background: rgba(0, 229, 160, 0.06);
}

.page-faq .faq-hero__search-icon {
  color: var(--faq-neon);
  display: flex;
  flex-shrink: 0;
  margin-right: 12px;
}

.page-faq .faq-hero__search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 15px;
  font-family: var(--faq-font-body);
}

.page-faq .faq-hero__search-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.page-faq .faq-hero__search-cursor {
  width: 2px;
  height: 20px;
  background: var(--faq-neon);
  animation: faq-blink 1s step-end infinite;
}

@keyframes faq-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.page-faq .faq-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.page-faq .faq-hero__tags .tag-chip {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-family: var(--faq-font-mono);
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 6px 12px;
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.3s var(--ease);
}

.page-faq .faq-hero__tags .tag-chip:hover {
  background: rgba(212, 175, 55, 0.16);
  border-color: var(--faq-gold);
  color: var(--faq-gold);
}

.page-faq .faq-hero__tags .tag-chip--gold {
  color: var(--faq-gold);
  border-color: rgba(212, 175, 55, 0.5);
}

.page-faq .faq-hero__visual {
  position: relative;
  display: none;
}

.page-faq .faq-hero__frame {
  background: var(--faq-bg-soft);
  padding: 12px;
  margin: 0;
}

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

.page-faq .faq-hero__tick {
  position: absolute;
  bottom: 28px;
  left: -20px;
  background: var(--faq-neon);
  color: #0B2545;
  padding: 10px 14px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--faq-font-mono);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 229, 160, 0.3);
}

.page-faq .faq-hero__tick-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.page-faq .faq-hero__tick-num {
  font-size: 24px;
  line-height: 1;
  margin-left: 4px;
}

.page-faq .faq-hero__tick-unit {
  font-weight: 400;
}

.page-faq .faq-body {
  padding-top: 56px;
  padding-bottom: 80px;
}

.page-faq .faq-body__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.page-faq .faq-catalog {
  background: var(--faq-bg-deep);
  color: #fff;
  padding: 24px;
  margin-bottom: 40px;
  position: relative;
  border-left: 3px solid var(--faq-neon);
}

.page-faq .faq-catalog::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 40px;
  height: 40px;
  border-right: 1px solid rgba(212, 175, 55, 0.4);
  border-bottom: 1px solid rgba(212, 175, 55, 0.4);
  pointer-events: none;
}

.page-faq .faq-catalog__header {
  margin-bottom: 20px;
}

.page-faq .faq-catalog__title {
  font-family: var(--faq-font-head);
  font-size: 28px;
  font-weight: 500;
  margin: 6px 0 0;
}

.page-faq .faq-catalog__list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: faq-cat;
}

.page-faq .faq-catalog__list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.page-faq .faq-catalog__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0 14px 4px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}

.page-faq .faq-catalog__item:hover {
  color: var(--faq-neon);
  padding-left: 8px;
}

.page-faq .faq-catalog__index {
  font-family: var(--faq-font-mono);
  font-size: 12px;
  color: var(--faq-gold);
  width: 24px;
  flex-shrink: 0;
}

.page-faq .faq-catalog__name {
  font-size: 15px;
  font-weight: 500;
  flex: 1;
}

.page-faq .faq-catalog__count {
  font-size: 12px;
  font-family: var(--faq-font-mono);
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  padding-right: 8px;
}

.page-faq .faq-catalog__note {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding: 14px;
  background: rgba(0, 229, 160, 0.08);
  border: 1px solid rgba(0, 229, 160, 0.2);
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

.page-faq .faq-catalog__note-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--faq-neon);
  margin-top: 6px;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(0, 229, 160, 0.7);
}

.page-faq .faq-catalog__note p {
  margin: 0;
}

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

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

.page-faq .faq-group__heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--faq-bg-deep);
}

.page-faq .faq-group__num {
  font-family: var(--faq-font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--faq-gold);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 4px 8px;
  line-height: 1.3;
  white-space: nowrap;
}

.page-faq .faq-group__title {
  font-family: var(--faq-font-head);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 4px;
}

.page-faq .faq-group__desc {
  font-size: 14px;
  color: var(--faq-muted);
  margin: 0;
}

.page-faq .faq-update__flow {
  background: #fff;
  border: 1px solid var(--faq-border);
  border-radius: 4px;
  padding: 14px;
  margin: 0 0 18px;
}

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

.page-faq .faq-update__flow figcaption {
  font-size: 12px;
  color: var(--faq-muted);
  font-family: var(--faq-font-mono);
  padding-top: 10px;
  text-align: center;
}

.page-faq .faq-item {
  background: #fff;
  border: 1px solid var(--faq-border);
  border-left: 3px solid transparent;
  margin-bottom: 10px;
  border-radius: 2px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  scroll-margin-top: 96px;
}

.page-faq .faq-item[open] {
  border-left-color: var(--faq-neon);
  box-shadow: 0 6px 20px rgba(11, 37, 69, 0.08);
  border-bottom: 2px solid var(--faq-neon);
}

.page-faq .faq-item__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 0.3s var(--ease);
}

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

.page-faq .faq-item__summary:hover {
  background: rgba(11, 37, 69, 0.04);
}

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

.page-faq .faq-item__q {
  font-size: 15px;
  font-weight: 500;
  color: var(--faq-bg-deep);
  line-height: 1.5;
}

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

.page-faq .faq-item__icon::before,
.page-faq .faq-item__icon::after {
  content: "";
  position: absolute;
  background: var(--faq-bg-soft);
  border-radius: 1px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.page-faq .faq-item__icon::before {
  width: 14px;
  height: 2px;
  left: 3px;
  top: 9px;
}

.page-faq .faq-item__icon::after {
  width: 2px;
  height: 14px;
  left: 9px;
  top: 3px;
}

.page-faq .faq-item[open] .faq-item__icon::after {
  transform: scaleY(0);
  background: var(--faq-neon);
}

.page-faq .faq-item[open] .faq-item__icon::before {
  background: var(--faq-neon);
}

.page-faq .faq-item__answer {
  padding: 0 18px 18px;
  font-size: 14px;
  color: #333;
  line-height: 1.8;
}

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

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

.page-faq .faq-link {
  color: var(--faq-bg-soft);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 160, 0.5);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.page-faq .faq-link:hover {
  color: var(--faq-neon);
  border-bottom-color: var(--faq-neon);
}

.page-faq .faq-help {
  background: var(--faq-bg-soft);
  color: #fff;
  position: relative;
  margin-top: 12px;
  overflow: hidden;
}

.page-faq .faq-help::before {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  transform: rotate(45deg);
}

.page-faq .faq-help__inner {
  padding: 28px 24px;
  position: relative;
  z-index: 1;
}

.page-faq .faq-help__title {
  font-family: var(--faq-font-head);
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 8px;
  line-height: 1.3;
}

.page-faq .faq-help p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 16px;
}

.page-faq .faq-help__list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.page-faq .faq-help__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-faq .faq-help__label {
  font-family: var(--faq-font-mono);
  font-size: 11px;
  color: var(--faq-gold);
  letter-spacing: 0.08em;
  min-width: 36px;
  padding-top: 2px;
}

.page-faq .faq-help__link {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.page-faq .faq-help__link:hover {
  color: var(--faq-neon);
}

.page-faq .faq-help__btn {
  background: var(--faq-neon);
  color: #0B2545;
  border: 1px solid var(--faq-neon);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s var(--ease);
}

.page-faq .faq-help__btn:hover {
  background: transparent;
  color: var(--faq-neon);
}

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

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

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

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

  .page-faq .faq-body__layout {
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: start;
  }

  .page-faq .faq-catalog {
    margin-bottom: 0;
    position: sticky;
    top: 96px;
  }

  .page-faq .faq-group__title {
    font-size: 28px;
  }

  .page-faq .faq-help__inner {
    padding: 36px 32px;
  }
}

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

  .page-faq .faq-body__layout {
    grid-template-columns: 300px 1fr;
    gap: 56px;
  }

  .page-faq .faq-catalog {
    padding: 28px;
  }

  .page-faq .faq-item__q {
    font-size: 16px;
  }

  .page-faq .faq-item__answer {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-hero__search-cursor {
    animation: none;
  }

  .page-faq *,
  .page-faq *::before,
  .page-faq *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
