.page-faq {
  --faq-card-bg: rgba(18, 59, 107, 0.42);
  --faq-line: rgba(232, 237, 245, 0.14);
}

.page-faq img {
  max-width: 100%;
  height: auto;
}

.page-faq h2 {
  font-family: var(--font-head);
  font-weight: 400;
  color: var(--c-white);
  letter-spacing: 0.02em;
  margin: 0;
}

.page-faq .tag-orange {
  background: rgba(255, 107, 53, 0.16);
  border: 1px solid rgba(255, 107, 53, 0.45);
  color: #FFB08A;
}

.page-faq .tag-violet {
  background: rgba(138, 43, 226, 0.16);
  border: 1px solid rgba(138, 43, 226, 0.5);
  color: #C89BFF;
}

.page-faq .section-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-orange);
}

/* ---------- Hero 区 ---------- */
.page-faq .faq-hero {
  position: relative;
  overflow: hidden;
  padding: 36px 0 44px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.14) 0%, transparent 38%), var(--c-ink);
}

.page-faq .faq-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -90px;
  width: 240px;
  height: 240px;
  background: var(--c-violet);
  opacity: 0.16;
  transform: rotate(18deg);
  clip-path: polygon(0 0, 70% 0, 100% 30%, 100% 100%, 0 100%);
  pointer-events: none;
}

.page-faq .faq-hero::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--c-orange) 0%, var(--c-violet) 60%, transparent 100%);
  pointer-events: none;
}

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

.page-faq .faq-hero .breadcrumb a {
  color: rgba(232, 237, 245, 0.7);
}

.page-faq .faq-hero .breadcrumb [aria-current="page"] {
  color: var(--c-orange);
}

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

.page-faq .faq-hero-text h1 {
  font-family: var(--font-head);
  font-size: clamp(30px, 6vw, 48px);
  line-height: 1.08;
  color: var(--c-white);
  margin: 14px 0 12px;
  letter-spacing: 0.01em;
}

.page-faq .faq-hero-lead {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(232, 237, 245, 0.78);
  margin: 0;
  max-width: 34em;
}

.page-faq .faq-quick-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.page-faq .faq-quick-label {
  font-size: 12px;
  color: rgba(232, 237, 245, 0.55);
  margin-right: 2px;
}

.page-faq .faq-quick-link {
  font-size: 13px;
  color: var(--c-white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 6px 14px;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.page-faq .faq-quick-link:hover {
  background: var(--c-orange);
  border-color: var(--c-orange);
  color: var(--c-white);
}

.page-faq .faq-hero-figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-deep);
  box-shadow: var(--shadow-soft);
}

.page-faq .faq-hero-figure::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 55%, rgba(255, 107, 53, 0.22) 100%);
  pointer-events: none;
}

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

/* ---------- FAQ 主体区 ---------- */
.page-faq .faq-guide {
  padding-top: 48px;
  padding-bottom: 56px;
}

.page-faq .faq-guide-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.page-faq .faq-toc {
  background: var(--c-deep);
  border: 1px solid var(--faq-line);
  border-radius: var(--radius);
  padding: 24px 22px;
}

.page-faq .faq-toc-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-violet);
}

.page-faq .faq-toc h2 {
  font-size: 22px;
  margin: 6px 0 16px;
}

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

.page-faq .faq-toc-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--faq-line);
  border-radius: 999px;
  color: rgba(232, 237, 245, 0.85);
  text-decoration: none;
  font-size: 14px;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.page-faq .faq-toc-list a span {
  font-size: 11px;
  color: var(--c-orange);
  font-variant-numeric: tabular-nums;
}

.page-faq .faq-toc-list a:hover {
  background: rgba(255, 107, 53, 0.14);
  border-color: var(--c-orange);
  color: var(--c-white);
}

.page-faq .faq-toc-note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--faq-line);
  font-size: 13px;
  line-height: 1.7;
  color: rgba(232, 237, 245, 0.6);
}

.page-faq .faq-toc-note a {
  color: var(--c-orange);
  text-decoration: none;
}

.page-faq .faq-toc-note a:hover {
  text-decoration: underline;
}

/* ---------- 手风琴 ---------- */
.page-faq .faq-accordions {
  display: grid;
  gap: 40px;
}

.page-faq .faq-category .section-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--faq-line);
}

.page-faq .faq-category .section-head h2 {
  font-size: 28px;
  line-height: 1.2;
}

.page-faq .faq-list {
  display: grid;
  gap: 14px;
}

.page-faq .faq-item {
  background: var(--faq-card-bg);
  border: 1px solid var(--faq-line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.35s, box-shadow 0.35s;
}

.page-faq .faq-item[open] {
  border-color: rgba(255, 107, 53, 0.55);
  box-shadow: 0 10px 30px rgba(3, 10, 30, 0.28);
}

.page-faq .faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 500;
  color: var(--c-white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  transition: background 0.3s;
}

.page-faq .faq-item summary:hover {
  background: rgba(255, 255, 255, 0.04);
}

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

.page-faq .faq-item summary::marker {
  content: none;
}

.page-faq .faq-item summary::before {
  content: '';
  width: 4px;
  height: 20px;
  background: var(--c-orange);
  border-radius: 2px;
  flex-shrink: 0;
}

.page-faq .faq-item summary::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--c-orange);
  border-bottom: 2px solid var(--c-orange);
  transform: rotate(45deg);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-top: -4px;
}

.page-faq .faq-item[open] summary::after {
  transform: rotate(225deg);
  margin-top: 4px;
}

.page-faq .faq-item-body {
  padding: 0 20px 20px 44px;
  color: rgba(232, 237, 245, 0.82);
  font-size: 15px;
  line-height: 1.75;
  animation: faq-panel-open 0.3s ease;
}

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

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

@keyframes faq-panel-open {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- 移动端适配区 ---------- */
.page-faq .faq-mobile {
  position: relative;
  overflow: hidden;
  padding: 56px 0 64px;
  background: linear-gradient(180deg, var(--c-ink) 0%, #081830 100%);
}

.page-faq .faq-mobile::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80px;
  width: 320px;
  height: 320px;
  background: rgba(138, 43, 226, 0.12);
  transform: rotate(30deg);
  clip-path: polygon(0 0, 70% 0, 100% 30%, 100% 100%, 0 100%);
  pointer-events: none;
}

.page-faq .faq-mobile-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.page-faq .faq-mobile-copy h2 {
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.12;
  margin: 10px 0 14px;
}

.page-faq .faq-mobile-copy > p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(232, 237, 245, 0.75);
  margin: 0;
}

.page-faq .faq-mobile-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 26px;
  display: grid;
  gap: 12px;
}

.page-faq .faq-mobile-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(232, 237, 245, 0.88);
}

.page-faq .faq-mobile-list .tag {
  flex-shrink: 0;
}

.page-faq .faq-mobile-btn {
  margin-top: 4px;
}

.page-faq .phone-shell {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
  background: #1c2a4a;
  border-radius: 36px;
  padding: 14px;
  box-shadow: var(--shadow-float);
  transform: rotate(-3deg);
}

.page-faq .phone-shell::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 6px;
  background: rgba(232, 237, 245, 0.25);
  border-radius: 999px;
  z-index: 2;
}

.page-faq .phone-shell img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  object-fit: cover;
}

/* ---------- 联系支持区 ---------- */
.page-faq .faq-support-inner {
  padding: 0 0 64px;
}

.page-faq .faq-support-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--c-deep) 0%, var(--c-ink) 100%);
  border: 1px solid var(--faq-line);
  border-radius: var(--radius);
  padding: 34px 24px 40px;
  display: grid;
  gap: 28px;
}

.page-faq .faq-support-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--c-orange) 0%, var(--c-violet) 80%);
  pointer-events: none;
}

.page-faq .faq-support-left h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.16;
  margin: 10px 0 14px;
}

.page-faq .faq-support-left > p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(232, 237, 245, 0.75);
  margin: 0;
}

.page-faq .faq-support-channels {
  display: grid;
  gap: 12px;
}

.page-faq .faq-channel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: rgba(10, 30, 63, 0.5);
  border: 1px solid var(--faq-line);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--c-white);
  text-decoration: none;
  transition: background 0.3s, border-color 0.3s;
}

.page-faq .faq-channel:hover {
  background: rgba(255, 107, 53, 0.14);
  border-color: var(--c-orange);
}

.page-faq .faq-channel-label {
  font-size: 12px;
  color: rgba(232, 237, 245, 0.65);
}

.page-faq .faq-channel-value {
  font-weight: 600;
  color: var(--c-white);
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: right;
}

.page-faq .faq-support-note {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(232, 237, 245, 0.6);
  margin: 2px 0 0;
  padding: 4px 2px 0;
}

.page-faq .faq-support-channels .btn {
  margin-top: 6px;
  justify-self: start;
}

/* ---------- 桌面端增强 ---------- */
@media (min-width: 800px) {
  .page-faq .faq-support-card {
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    padding: 42px 42px 48px;
  }
}

@media (min-width: 860px) {
  .page-faq .faq-mobile-inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
  }

  .page-faq .phone-shell {
    transform: rotate(-4deg) translateY(4px);
  }
}

@media (min-width: 900px) {
  .page-faq .faq-hero {
    padding: 44px 0 60px;
  }

  .page-faq .faq-hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
  }

  .page-faq .faq-guide {
    padding-top: 60px;
    padding-bottom: 68px;
  }

  .page-faq .faq-guide-layout {
    grid-template-columns: 280px 1fr;
    gap: 52px;
  }

  .page-faq .faq-toc {
    position: sticky;
    top: 120px;
  }

  .page-faq .faq-toc-list {
    display: grid;
    gap: 6px;
  }

  .page-faq .faq-toc-list a {
    display: flex;
    padding: 10px 12px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
  }

  .page-faq .faq-toc-list a:hover {
    background: rgba(255, 107, 53, 0.14);
    border: none;
  }
}
