.page-faq {
  --faq-purple: #B026FF;
  --faq-pink: #FF2A9D;
  --faq-blue: #00F0FF;
  --faq-deep: #0B0B0F;
  --faq-panel: #14141C;
  --faq-text: #F5F5F7;
  --faq-muted: #A0A0B8;
  --faq-dim: #6E6E80;
  --faq-orange: #FF5C00;
  --faq-green: #00FFA3;
  --faq-border: rgba(176, 38, 255, 0.22);
  --faq-radius: 0px;
  --faq-gutter: clamp(20px, 4vw, 64px);
  background-color: var(--faq-deep);
  color: var(--faq-text);
  font-family: 'Helvetica Neue', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  position: relative;
  overflow-x: clip;
  scroll-behavior: smooth;
}

.page-faq .breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--faq-dim);
  padding-top: 108px;
  padding-bottom: 20px;
}

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

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

.page-faq .breadcrumb__sep {
  color: var(--faq-purple);
}

.page-faq .container {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--faq-gutter);
  padding-right: var(--faq-gutter);
}

.page-faq .faq-hero {
  position: relative;
  padding-bottom: 72px;
}

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

.page-faq .faq-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faq-blue);
  margin: 0 0 20px;
  padding-left: 16px;
  border-left: 3px solid var(--faq-purple);
}

.page-faq .faq-hero__title {
  font-family: 'Futura', 'Arial Black', 'PingFang SC', sans-serif;
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1.15;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
  max-width: 12em;
  position: relative;
  z-index: 1;
}

.page-faq .faq-hero__title::after {
  content: "?";
  color: var(--faq-purple);
  font-size: 0.7em;
  vertical-align: super;
  margin-left: 6px;
  text-shadow: 0 0 20px rgba(176, 38, 255, 0.6);
}

.page-faq .faq-hero__lead {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.8;
  color: var(--faq-muted);
  max-width: 46em;
  margin: 0;
}

.page-faq .faq-hero__br {
  display: none;
}

.page-faq .faq-hero__search {
  background: var(--faq-panel);
  border: 1px solid var(--faq-border);
  padding: 28px 24px;
  position: relative;
  max-width: 680px;
}

.page-faq .faq-hero__search::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 32px;
  right: 32px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--faq-purple), var(--faq-pink), transparent);
}

.page-faq .faq-hero__search-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faq-dim);
  margin-bottom: 14px;
}

.page-faq .faq-hero__search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid var(--faq-purple);
  padding-bottom: 6px;
  transition: border-color 0.2s ease;
}

.page-faq .faq-hero__search-box:focus-within {
  border-color: var(--faq-pink);
}

.page-faq .faq-hero__search-icon {
  color: var(--faq-purple);
  flex-shrink: 0;
}

.page-faq .faq-hero__search-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--faq-text);
  font-size: 16px;
  font-family: inherit;
  padding: 8px 0;
}

.page-faq .faq-hero__search-box input::placeholder {
  color: var(--faq-dim);
}

.page-faq .faq-hero__search-tip {
  font-size: 12px;
  color: var(--faq-dim);
  margin: 12px 0 0;
}

.page-faq .faq-hero__img-wrap {
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  max-width: 560px;
  height: 100%;
  overflow: hidden;
  opacity: 0.2;
  z-index: 0;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}

.page-faq .faq-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 100%;
  display: block;
  filter: hue-rotate(240deg) saturate(1.4);
}

.page-faq .faq-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 96px;
  position: relative;
  z-index: 1;
}

.page-faq .faq-toc {
  position: sticky;
  top: 96px;
  align-self: start;
  background: var(--faq-panel);
  border-left: 3px solid var(--faq-purple);
  padding: 20px;
}

.page-faq .faq-toc__label {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faq-purple);
  margin: 0 0 14px;
  font-weight: 700;
}

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

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

.page-faq .faq-toc__link {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--faq-muted);
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.page-faq .faq-toc__link:hover {
  color: var(--faq-pink);
  border-color: var(--faq-border);
}

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

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

.page-faq .faq-section {
  margin-bottom: 88px;
}

.page-faq .faq-section__head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--faq-border);
  position: relative;
}

.page-faq .faq-section__head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 72px;
  height: 2px;
  background: linear-gradient(90deg, var(--faq-purple), var(--faq-pink));
}

.page-faq .faq-section__icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
  border: 1px solid var(--faq-border);
  padding: 6px;
  background: var(--faq-deep);
}

.page-faq .faq-section__title {
  font-family: 'Futura', 'Arial Black', 'PingFang SC', sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  margin: 0 0 6px;
  line-height: 1.2;
}

.page-faq .faq-section__num {
  color: var(--faq-purple);
  font-size: 0.6em;
  margin-right: 10px;
  letter-spacing: 0.05em;
  vertical-align: 0.15em;
}

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

.page-faq .faq-item {
  background: var(--faq-panel);
  border-left: 3px solid var(--faq-border);
  margin-bottom: 16px;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.page-faq .faq-item[open] {
  border-left-color: var(--faq-purple);
}

.page-faq .faq-item__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  -webkit-user-select: none;
}

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

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

.page-faq .faq-item__q {
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 600;
  line-height: 1.5;
  color: var(--faq-text);
  transition: color 0.2s ease;
}

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

.page-faq .faq-item__mark {
  position: relative;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 1px solid var(--faq-purple);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.page-faq .faq-item__mark::before,
.page-faq .faq-item__mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  background: var(--faq-purple);
  transition: background 0.3s ease;
}

.page-faq .faq-item__mark::before {
  width: 12px;
  height: 2px;
}

.page-faq .faq-item__mark::after {
  width: 2px;
  height: 12px;
}

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

.page-faq .faq-item[open] .faq-item__mark::before,
.page-faq .faq-item[open] .faq-item__mark::after {
  background: var(--faq-deep);
}

.page-faq .faq-item__body {
  padding: 0 22px 22px 22px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--faq-muted);
}

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

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

.page-faq .faq-item__body a {
  color: var(--faq-blue);
  text-decoration: none;
  border-bottom: 1px solid var(--faq-blue);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-faq .faq-item__body a:hover {
  color: var(--faq-pink);
  border-color: var(--faq-pink);
}

.page-faq .faq-callout {
  background: linear-gradient(135deg, rgba(176, 38, 255, 0.14), rgba(255, 42, 157, 0.08));
  border: 1px solid var(--faq-purple);
  border-left: 6px solid var(--faq-purple);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.page-faq .faq-callout::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(176, 38, 255, 0.2);
  border-radius: 50%;
}

.page-faq .faq-callout::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 8px;
  width: 96px;
  height: 96px;
  border: 1px dashed rgba(0, 240, 255, 0.2);
  border-radius: 50%;
}

.page-faq .faq-callout__title {
  font-family: 'Futura', 'Arial Black', 'PingFang SC', sans-serif;
  font-size: clamp(20px, 2.6vw, 26px);
  margin: 0;
  color: var(--faq-text);
}

.page-faq .faq-callout__text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--faq-muted);
  margin: 0;
  max-width: 52em;
  position: relative;
  z-index: 1;
}

.page-faq .faq-callout__text a {
  color: var(--faq-blue);
  text-decoration: none;
}

.page-faq .faq-callout .btn {
  width: fit-content;
}

.page-faq .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  position: relative;
  z-index: 1;
}

.page-faq .btn--primary {
  background: linear-gradient(135deg, var(--faq-purple), var(--faq-pink));
  color: var(--faq-deep);
}

.page-faq .btn--primary:hover {
  box-shadow: 0 0 24px rgba(176, 38, 255, 0.5);
  transform: translateY(-1px);
}

.page-faq .btn--ghost {
  background: transparent;
  color: var(--faq-purple);
  border: 1px solid var(--faq-purple);
}

.page-faq .btn--ghost:hover {
  background: rgba(176, 38, 255, 0.1);
  color: var(--faq-pink);
  border-color: var(--faq-pink);
}

.page-faq .faq-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(176, 38, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(176, 38, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 30% 10%, black 0%, transparent 70%);
}

.page-faq [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.page-faq [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.page-faq .faq-item[data-reveal] {
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s ease, background 0.3s ease;
}

@media (min-width: 768px) {
  .page-faq .faq-hero__inner {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: stretch;
  }

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

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

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

  .page-faq .faq-toc__link {
    white-space: normal;
    padding: 10px 6px;
    border-bottom: 1px solid rgba(176, 38, 255, 0.1);
  }

  .page-faq .faq-toc__link:hover {
    padding-left: 16px;
  }

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

  .page-faq .faq-callout__title {
    flex: 0 0 100%;
  }
}

@media (min-width: 1024px) {
  .page-faq .faq-hero__inner {
    padding-top: 88px;
  }

  .page-faq .faq-hero__img-wrap {
    clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
  }

  .page-faq .faq-hero__lead {
    max-width: 38em;
  }

  .page-faq .faq-hero__search {
    align-self: end;
  }

  .page-faq .faq-item__body {
    max-width: 52em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq {
    scroll-behavior: auto;
  }

  .page-faq [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .page-faq .faq-item__mark {
    transition: none;
  }

  .page-faq .btn,
  .page-faq .faq-item__q,
  .page-faq .faq-hero__title::after {
    transition: none;
  }
}
