.page-faq {
  --faq-rail-w: 56px;
  --faq-cyan: #00B8D4;
  --faq-orange: #FF7A00;
  --faq-purple: #7B61FF;
  --faq-line: rgba(255, 255, 255, 0.1);
  --faq-card-bg: rgba(255, 255, 255, 0.03);
  --faq-answer-bg: #1B222C;
  width: 100%;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
}

.page-faq__frame {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100vh;
}

.page-faq__rail {
  display: none;
}

.page-faq__content {
  padding: 40px 20px 72px;
  max-width: 100%;
}

.breadcrumb {
  margin-bottom: 28px;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9AA5B1;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: rgba(255, 255, 255, 0.3);
}

.breadcrumb__link {
  color: #9AA5B1;
  text-decoration: none;
  transition: color 0.25s ease;
}

.breadcrumb__link:hover {
  color: #00B8D4;
}

.breadcrumb__current {
  color: #E6EDF3;
}

.page-faq__hero {
  margin-bottom: 56px;
}

.page-faq__hero-index {
  margin: 0 0 16px;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #FF7A00;
  text-transform: uppercase;
}

.page-faq__hero h1 {
  margin: 0 0 20px;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(32px, 7vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #E6EDF3;
  max-width: 15em;
}

.page-faq__hero-lede {
  margin: 0 0 28px;
  max-width: 44em;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #9AA5B1;
}

.page-faq__hero-lede strong {
  color: #E6EDF3;
  font-weight: 600;
}

.page-faq__hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-faq__legend {
  margin-bottom: 64px;
  padding: 24px;
  border: 1px solid var(--faq-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  position: relative;
}

.page-faq__legend::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 24px;
  width: 3px;
  height: 40px;
  background: #00B8D4;
  border-radius: 0 3px 3px 0;
}

.page-faq__legend-title {
  margin: 0 0 16px;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #9AA5B1;
  text-transform: uppercase;
}

.page-faq__legend-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}

.page-faq__legend-link {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  color: #E6EDF3;
  text-decoration: none;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.page-faq__legend-link span {
  font-size: 14px;
  font-weight: 700;
  color: #00B8D4;
  min-width: 26px;
}

.page-faq__legend-link:hover {
  background: rgba(0, 184, 212, 0.08);
  color: #00B8D4;
  transform: translateX(4px);
}

.page-faq__section {
  margin-bottom: 72px;
  scroll-margin-top: 24px;
}

.page-faq__section-head {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--faq-line);
  padding-bottom: 20px;
}

.page-faq__section-num {
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 48px;
  font-weight: 300;
  line-height: 1;
  color: #00B8D4;
  letter-spacing: -0.03em;
  min-width: 72px;
}

.page-faq__section-heading h2 {
  margin: 0 0 6px;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  color: #E6EDF3;
}

.page-faq__section-subtitle {
  margin: 0;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #9AA5B1;
}

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

.page-faq__item {
  border: 1px solid var(--faq-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.page-faq__item[open] {
  border-color: rgba(0, 184, 212, 0.5);
  background: rgba(0, 184, 212, 0.03);
}

.page-faq__question {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  -webkit-user-select: none;
  transition: background 0.25s ease;
}

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

.page-faq__question:hover {
  background: rgba(255, 255, 255, 0.04);
}

.page-faq__question-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00B8D4;
  flex-shrink: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.page-faq__item[open] .page-faq__question-bullet {
  background: #FF7A00;
  transform: scale(1.2);
}

.page-faq__question-text {
  flex: 1;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #E6EDF3;
}

.page-faq__question-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.page-faq__question-icon::before,
.page-faq__question-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: #9AA5B1;
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), background 0.3s ease;
}

.page-faq__question-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.page-faq__item[open] .page-faq__question-icon::before {
  background: #FF7A00;
  transform: translate(-50%, -50%) rotate(180deg);
}

.page-faq__item[open] .page-faq__question-icon::after {
  background: #FF7A00;
  transform: translate(-50%, -50%) rotate(180deg);
}

.page-faq__answer {
  padding: 0 20px 20px 44px;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #9AA5B1;
}

.page-faq__answer p {
  margin: 0;
}

.page-faq__figure {
  margin: 0 0 24px;
  padding: 12px;
  border: 1px solid var(--faq-line);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 184, 212, 0.06), rgba(123, 97, 255, 0.04));
}

.page-faq__figure-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 10px;
}

.page-faq__figure-caption {
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 12px;
  line-height: 1.5;
  color: #9AA5B1;
  padding: 0 4px;
}

.page-faq__split {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-faq__figure--side {
  margin: 0;
  background: linear-gradient(135deg, rgba(255, 122, 0, 0.06), rgba(255, 255, 255, 0.02));
}

.page-faq__note-card {
  margin-top: 32px;
  padding: 28px 24px;
  border-radius: 14px;
  border: 1px solid rgba(255, 122, 0, 0.35);
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 122, 0, 0.12), transparent 40%),
    rgba(255, 255, 255, 0.03);
}

.page-faq__note-card-label {
  margin: 0 0 8px;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FF7A00;
}

.page-faq__note-card-text {
  margin: 0 0 20px;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #9AA5B1;
  max-width: 32em;
}

.page-faq__note-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: #00B8D4;
  color: #121820;
  box-shadow: 0 8px 24px rgba(0, 184, 212, 0.25);
}

.btn--primary:hover {
  background: #26CBE4;
  box-shadow: 0 10px 32px rgba(0, 184, 212, 0.35);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.25);
  color: #E6EDF3;
}

.btn--ghost:hover {
  border-color: #00B8D4;
  color: #00B8D4;
}

@media (min-width: 640px) {
  .page-faq__legend-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-faq__section-num {
    font-size: 64px;
    min-width: 96px;
  }

  .page-faq__section-heading h2 {
    font-size: 32px;
  }

  .page-faq__question-text {
    font-size: 17px;
  }

  .page-faq__answer {
    font-size: 15px;
  }

  .page-faq__figure--side {
    max-width: 380px;
  }

  .page-faq__split {
    flex-direction: row;
    align-items: flex-start;
  }

  .page-faq__split-main {
    flex: 1;
  }
}

@media (min-width: 1024px) {
  .page-faq {
    padding-left: 280px;
    min-height: 100vh;
  }

  .page-faq__content {
    padding: 56px clamp(32px, 6vw, 120px) 96px;
  }

  .page-faq__frame {
    grid-template-columns: 64px 1fr;
  }

  .page-faq__rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 220px 0 0;
    position: relative;
  }

  .page-faq__rail-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(0, 184, 212, 0.6) 12%,
      rgba(0, 184, 212, 0.2) 48%,
      rgba(255, 122, 0, 0.5) 82%,
      transparent 100%
    );
  }

  .page-faq__rail-coord {
    position: relative;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 11px;
    letter-spacing: 0.16em;
    color: rgba(154, 165, 177, 0.6);
    text-transform: uppercase;
  }

  .page-faq__rail-dot {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #FF7A00;
    box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.15);
  }

  .page-faq__hero {
    margin-bottom: 72px;
  }

  .page-faq__hero h1 {
    font-size: 72px;
  }

  .page-faq__hero-lede {
    font-size: 18px;
  }

  .page-faq__legend {
    margin-bottom: 96px;
  }
}

@media (min-width: 1440px) {
  .page-faq__content {
    padding-right: 160px;
  }
}
