.page-faq {
  --faq-hero-glow: rgba(57, 255, 20, 0.07);
  --faq-hero-panel: rgba(13, 42, 74, 0.72);
  --faq-contact-deep: #0A1F3C;
  --faq-contact-ink: rgba(10, 31, 60, 0.78);
}

.page-faq .faq-hero {
  position: relative;
  overflow: hidden;
  padding: 44px 0 36px;
  background:
    linear-gradient(135deg, var(--faq-hero-glow) 0%, var(--faq-hero-panel) 45%, var(--bg) 100%),
    var(--bg);
}

.page-faq .faq-hero::after {
  content: "FAQ";
  position: absolute;
  top: 4%;
  right: -2%;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 22vw;
  line-height: 1;
  color: rgba(57, 255, 20, 0.05);
  pointer-events: none;
  z-index: 0;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

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

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

.page-faq .faq-hero__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(36px, 7vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 16px 0 20px;
}

.page-faq .faq-hero__title em {
  color: var(--neon);
  font-style: italic;
}

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

.page-faq .faq-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.page-faq .faq-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-faq .faq-hero__stat-val {
  font-family: var(--font-data);
  font-size: 30px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}

.page-faq .faq-hero__stat-tag {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.page-faq .faq-hero__media {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.page-faq .faq-hero__frame {
  position: relative;
  max-width: 330px;
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.page-faq .faq-hero__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--neon);
  transform: translate(8px, 8px);
  pointer-events: none;
  z-index: 1;
}

.page-faq .faq-hero__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

.page-faq .faq-body {
  padding: 36px 0 0;
}

.page-faq .faq-body__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-faq .faq-nav {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 22px 16px;
}

.page-faq .faq-nav__label {
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin: 0 0 14px;
}

.page-faq .faq-nav__label span {
  color: var(--neon);
}

.page-faq .faq-nav__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.page-faq .faq-nav__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 8px;
  border-left: 2px solid transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--ease), border-color var(--ease), background var(--ease);
}

.page-faq .faq-nav__item:hover {
  color: var(--ink);
  border-left-color: var(--neon);
  background: rgba(57, 255, 20, 0.04);
}

.page-faq .faq-nav__num {
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--neon);
  white-space: nowrap;
}

.page-faq .faq-nav__hint {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

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

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

.page-faq .faq-section__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.page-faq .faq-section__head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 72px;
  background: var(--neon);
}

.page-faq .faq-section__num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 52px;
  line-height: 1;
  color: var(--neon);
  letter-spacing: -0.03em;
  opacity: 0.92;
}

.page-faq .faq-section__title {
  font-family: var(--font-display);
  font-style: italic;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 26px;
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}

.page-faq .faq-item {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  margin-bottom: 10px;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.page-faq .faq-item[open] {
  border-color: rgba(57, 255, 20, 0.5);
  box-shadow: 0 10px 28px rgba(2, 8, 20, 0.36);
}

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

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

.page-faq .faq-item__no {
  font-family: var(--font-data);
  font-size: 13px;
  font-weight: 700;
  color: var(--neon);
  background: rgba(57, 255, 20, 0.08);
  border: 1px solid rgba(57, 255, 20, 0.2);
  padding: 2px 8px;
  line-height: 1.5;
  white-space: nowrap;
}

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

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

.page-faq .faq-item__switch::before,
.page-faq .faq-item__switch::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--muted);
  transition: transform var(--ease), background var(--ease);
}

.page-faq .faq-item__switch::before {
  width: 14px;
  height: 2px;
}

.page-faq .faq-item__switch::after {
  width: 2px;
  height: 14px;
}

.page-faq .faq-item[open] .faq-item__switch::before {
  transform: translate(-50%, -50%) rotate(180deg);
  background: var(--neon);
}

.page-faq .faq-item[open] .faq-item__switch::after {
  transform: translate(-50%, -50%) rotate(90deg) scaleY(0);
}

.page-faq .faq-item__a {
  border-left: 3px solid var(--muted);
  margin: 0 12px 16px 40px;
  padding: 2px 4px 0 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.page-faq .faq-item__a p {
  margin: 0 0 8px;
}

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

.page-faq .faq-section__media {
  margin-top: 22px;
  padding: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  position: relative;
}

.page-faq .faq-section__media::before {
  content: "兼容性示意";
  position: absolute;
  top: -11px;
  left: 12px;
  padding: 0 8px;
  background: var(--bg);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neon);
  z-index: 1;
}

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

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

.page-faq .faq-contact__card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  background: var(--muted);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 28px 20px;
  position: relative;
  overflow: hidden;
}

.page-faq .faq-contact__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 4px;
  background: var(--signal);
}

.page-faq .faq-contact__label {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--signal);
  margin: 0 0 6px;
}

.page-faq .faq-contact__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 30px;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--faq-contact-deep);
  margin: 0 0 12px;
}

.page-faq .faq-contact__text {
  margin: 0;
  color: var(--faq-contact-ink);
  font-size: 15px;
  line-height: 1.72;
}

.page-faq .faq-contact__text a {
  color: var(--faq-contact-deep);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--signal);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.page-faq .faq-contact__side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
}

.page-faq .faq-contact__btn {
  display: inline-block;
  padding: 12px 26px;
  background: var(--signal);
  color: var(--faq-contact-deep);
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  border-left: 4px solid rgba(10, 31, 60, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: transform var(--ease), box-shadow var(--ease);
}

.page-faq .faq-contact__btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(10, 31, 60, 0.25);
}

.page-faq .faq-contact__meta {
  margin: 0;
  font-family: var(--font-data);
  font-size: 13px;
  line-height: 1.55;
  color: var(--faq-contact-ink);
}

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

  .page-faq .faq-hero__grid {
    grid-template-columns: 1.5fr 0.8fr;
    gap: 48px;
  }

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

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

  .page-faq .faq-hero__stat-val {
    font-size: 34px;
  }

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

  .page-faq .faq-body {
    padding: 32px 0 0;
  }

  .page-faq .faq-body__grid {
    grid-template-columns: 240px 1fr;
    gap: 44px;
    align-items: start;
  }

  .page-faq .faq-nav {
    position: sticky;
    top: 110px;
    padding: 24px 20px;
  }

  .page-faq .faq-nav__list {
    display: flex;
    flex-direction: column;
  }

  .page-faq .faq-nav__item {
    padding: 12px 12px;
    font-size: 15px;
  }

  .page-faq .faq-section__num {
    font-size: 64px;
  }

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

  .page-faq .faq-item__summary {
    padding: 18px 20px;
  }

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

  .page-faq .faq-item__a {
    margin-left: 44px;
    padding-left: 20px;
    font-size: 16px;
  }

  .page-faq .faq-contact__card {
    grid-template-columns: 1fr auto;
    gap: 32px;
    padding: 40px 44px;
  }

  .page-faq .faq-contact__title {
    font-size: 38px;
  }

  .page-faq .faq-contact__text {
    max-width: 72ch;
  }

  .page-faq .faq-contact__side {
    min-width: 220px;
  }
}
