.page-faq {
  --faq-deep: #0A1B2A;
  --faq-deep-2: #0F2740;
  --faq-deep-3: #1A3A5C;
  --faq-purple: #7C3AED;
  --faq-orange: #FF6B35;
  --faq-surface: #F5F0E8;
  --faq-ink: #1A1A1A;
  --faq-muted: #5A5A5A;
  --faq-border: #E2DCD1;
  --faq-white: #FFFFFF;
  --faq-shadow: 0 14px 34px rgba(10, 27, 42, 0.12);
  --faq-radius: 16px;
  --faq-radius-sm: 10px;
  background: var(--faq-surface);
  color: var(--faq-ink);
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

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

/* ===== 首屏 ===== */
.faq-hero {
  position: relative;
  background: linear-gradient(135deg, var(--faq-deep) 0%, var(--faq-deep-2) 55%, var(--faq-deep-3) 100%);
  color: var(--faq-white);
  padding: 40px 0 56px;
  overflow: hidden;
}

.faq-hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.34) 0%, transparent 70%);
  pointer-events: none;
}

.faq-hero::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: 28%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

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

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

.faq-hero-copy {
  max-width: 640px;
}

.faq-hero-title {
  font-size: clamp(30px, 6vw, 52px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 14px 0 12px;
}

.faq-hero-lead {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 24px;
}

.faq-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.faq-hero-figure {
  margin: 0;
  border-radius: var(--faq-radius);
  overflow: hidden;
  box-shadow: var(--faq-shadow);
}

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

/* ===== 热门问题区 ===== */
.faq-hot-wrap {
  padding: 56px 0 64px;
}

.faq-hot-head {
  margin-bottom: 32px;
}

.faq-hot-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}

.faq-left {
  display: flex;
  flex-direction: column;
}

.faq-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--faq-border);
}

.faq-filter-row .tag {
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
}

.faq-item {
  background: var(--faq-white);
  border: 1px solid var(--faq-border);
  border-radius: var(--faq-radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.faq-item[open] {
  border-color: rgba(124, 58, 237, 0.45);
  box-shadow: 0 10px 24px rgba(10, 27, 42, 0.08);
}

.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  padding: 16px 14px 16px 16px;
}

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

.faq-item:focus-within summary {
  outline: 2px solid var(--faq-purple);
  outline-offset: -2px;
  border-radius: var(--faq-radius-sm);
}

.faq-item-mark {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--faq-purple);
  font-family: 'Consolas', 'SF Mono', monospace;
  flex: 0 0 24px;
}

.faq-item-label {
  flex: 1;
  font-size: 15px;
  font-weight: 700;
  color: var(--faq-ink);
}

.faq-item-toggle {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 26px;
  color: var(--faq-purple);
  background: rgba(124, 58, 237, 0.1);
  border-radius: 50%;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.faq-item-toggle::before {
  content: "+";
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
}

.faq-item[open] .faq-item-toggle {
  transform: rotate(45deg);
  background: var(--faq-purple);
  color: var(--faq-white);
}

.faq-answer {
  border-top: 1px dashed var(--faq-border);
  padding: 14px 16px 18px 16px;
}

.faq-answer p {
  margin: 0 0 8px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--faq-muted);
}

.faq-answer-link {
  display: inline-block;
  margin-top: 4px;
  color: var(--faq-purple);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

.faq-answer-link:hover {
  text-decoration: underline;
}

/* 右侧精选区 */
.faq-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-featured {
  border-left: 4px solid var(--faq-purple);
  padding: 26px 24px;
}

.faq-featured-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
  margin: 10px 0 8px;
}

.faq-featured p {
  font-size: 15px;
  color: var(--faq-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.faq-featured-meta {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  padding: 10px 0 16px;
  margin-bottom: 16px;
  border-top: 1px solid var(--faq-border);
  border-bottom: 1px solid var(--faq-border);
  font-size: 13px;
  color: var(--faq-muted);
}

.faq-featured-meta span {
  white-space: nowrap;
}

.faq-quick-contact {
  padding: 26px 24px;
  border-radius: var(--faq-radius);
}

.faq-quick-title {
  font-size: 18px;
  margin: 0 0 14px;
  color: var(--faq-white);
}

.faq-quick-contact a:not(.btn) {
  display: block;
  color: var(--faq-white);
  text-decoration: none;
}

.faq-quick-phone {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.faq-quick-mail {
  font-size: 14px;
  opacity: 0.86;
  margin-bottom: 10px;
  word-break: break-all;
}

.faq-quick-note {
  font-size: 13px;
  opacity: 0.7;
  margin: 0 0 14px;
}

.faq-quick-btn {
  display: inline-block;
}

/* ===== 分类索引 ===== */
.faq-category-section {
  padding: 64px 0;
  background: var(--faq-surface);
}

.faq-cat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 36px;
}

.faq-cat-card {
  background: var(--faq-white);
  border: 1px solid var(--faq-border);
  border-radius: var(--faq-radius);
  padding: 28px 26px;
  box-shadow: 0 8px 24px rgba(10, 27, 42, 0.06);
  display: flex;
  flex-direction: column;
}

.faq-cat-title {
  font-size: 20px;
  font-weight: 800;
  margin: 14px 0 8px;
  line-height: 1.3;
}

.faq-cat-desc {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--faq-muted);
  margin-bottom: 14px;
}

.faq-cat-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.faq-cat-list li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: 13.5px;
  color: var(--faq-ink);
}

.faq-cat-list li + li {
  border-top: 1px dashed var(--faq-border);
}

.faq-cat-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 15px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--faq-purple);
}

.faq-cat-link {
  display: inline-block;
  margin-top: auto;
  font-weight: 700;
  font-size: 14px;
  color: var(--faq-purple);
  text-decoration: none;
}

.faq-cat-link:hover {
  text-decoration: underline;
}

.faq-cat-mobile {
  background: linear-gradient(150deg, var(--faq-deep) 0%, var(--faq-deep-2) 70%, var(--faq-deep-3) 100%);
  border: none;
  color: var(--faq-white);
  position: relative;
  overflow: hidden;
}

.faq-cat-mobile .faq-cat-title {
  color: var(--faq-white);
}

.faq-cat-mobile .faq-cat-desc {
  color: rgba(255, 255, 255, 0.78);
}

.faq-cat-mobile .faq-cat-list li {
  color: rgba(255, 255, 255, 0.9);
}

.faq-cat-mobile .faq-cat-list li::before {
  background: var(--faq-orange);
}

.faq-cat-mobile .faq-cat-link {
  color: var(--faq-orange);
}

.faq-cat-figure {
  margin: 18px 0 0;
  border-radius: var(--faq-radius-sm);
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25);
}

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

/* ===== 联系支持 ===== */
.faq-contact-section {
  position: relative;
  padding: 64px 0;
  background: linear-gradient(155deg, #071420 0%, var(--faq-deep) 55%, var(--faq-deep-3) 100%);
  color: var(--faq-white);
  overflow: hidden;
}

.faq-contact-section::before {
  content: "";
  position: absolute;
  right: -180px;
  top: -120px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.faq-contact-section::after {
  content: "";
  position: absolute;
  left: -60px;
  bottom: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.24) 0%, transparent 70%);
  pointer-events: none;
}

.faq-contact-grid,
.faq-feedback-bar {
  position: relative;
  z-index: 1;
}

.faq-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.faq-contact-copy .section-kicker {
  color: var(--faq-orange);
}

.faq-contact-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  line-height: 1.2;
  margin: 12px 0 14px;
}

.faq-contact-copy > p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 480px;
  line-height: 1.8;
}

.faq-contact-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-contact-list li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.faq-contact-list li::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--faq-orange);
  margin-top: 9px;
}

.faq-contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.faq-contact-block {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--faq-radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  backdrop-filter: blur(10px);
}

.faq-contact-icon {
  font-size: 22px;
  line-height: 1;
  margin-bottom: 12px;
  color: var(--faq-orange);
}

.faq-contact-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 6px;
}

.faq-contact-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--faq-white);
  text-decoration: none;
  word-break: break-all;
  line-height: 1.4;
}

.faq-contact-value:hover {
  color: var(--faq-orange);
}

.faq-contact-value-sm {
  font-size: 15px;
  font-weight: 600;
}

.faq-feedback-bar {
  margin-top: 52px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--faq-radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  backdrop-filter: blur(10px);
}

.faq-feedback-bar p {
  color: rgba(255, 255, 255, 0.8);
  margin: 10px 0 0;
  max-width: 560px;
  line-height: 1.75;
}

/* ===== 法务与页脚间引导 ===== */
.faq-legal-note {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px 0 48px;
  font-size: 13px;
  color: var(--faq-muted);
}

.faq-legal-note p {
  margin: 0;
}

.faq-legal-note a {
  color: var(--faq-purple);
  text-decoration: none;
}

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

/* ===== 桌面端适配 ===== */
@media (min-width: 860px) {
  .faq-hero {
    padding: 52px 0 72px;
  }

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

  .faq-hero-figure img {
    max-height: 400px;
    object-fit: cover;
  }

  .faq-hot-wrap {
    padding: 72px 0 88px;
  }

  .faq-hot-head {
    margin-bottom: 40px;
  }

  .faq-hot-layout {
    grid-template-columns: 1.05fr 0.85fr;
    gap: 44px;
  }

  .faq-right {
    position: sticky;
    top: 100px;
  }

  .faq-answer {
    padding: 14px 18px 18px 50px;
  }

  .faq-feedback-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 32px 40px;
  }

  .faq-feedback-bar p {
    margin-top: 10px;
  }

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

  .faq-contact-cards {
    grid-template-columns: 1fr 1fr;
  }

  .faq-contact-address {
    grid-column: 1 / -1;
  }

  .faq-legal-note {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 980px) {
  .faq-cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .faq-cat-mobile {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.1fr 0.75fr;
    gap: 36px;
    align-items: center;
  }

  .faq-cat-figure {
    margin: 0;
  }

  .faq-cat-figure img {
    width: 100%;
    height: auto;
    max-height: 300px;
  }
}

@media (min-width: 1200px) {
  .faq-hot-wrap {
    padding: 88px 0 108px;
  }

  .faq-category-section {
    padding: 84px 0;
  }

  .faq-contact-section {
    padding: 88px 0;
  }

  .faq-hero {
    padding: 60px 0 88px;
  }
}
