/* ========== 页面作用域基础 ========== */
.page-faq {
  --faq-card-lift: 0 6px 18px rgba(15, 76, 92, 0.12);
  --faq-chip-shadow: 0 2px 0 rgba(209, 199, 184, 0.9);
}

/* ========== 页面头部带 ========== */
.page-faq .page-header-band {
  background: radial-gradient(circle at 88% 20%, rgba(201, 76, 51, 0.12), transparent 42%), var(--bg-paper);
  border-bottom: 4px solid var(--accent-yellow);
  padding: 34px 0 40px;
  position: relative;
  overflow: hidden;
}
.page-faq .page-header-band::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -56px;
  bottom: -96px;
  background: var(--bg-teal);
  border-radius: 16px;
  transform: rotate(18deg);
  pointer-events: none;
}
.page-faq .page-header-band .container {
  position: relative;
  z-index: 1;
}
.page-faq .page-title {
  margin: 12px 0 10px;
}
.page-faq .page-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 5px;
  background: var(--bg-orange);
  border-radius: 3px;
  margin-top: 14px;
}
.page-faq .page-desc {
  max-width: 60ch;
  color: var(--text-muted);
  margin: 0;
}
.page-faq .breadcrumb {
  margin-bottom: 10px;
}
.page-faq .breadcrumb-list {
  flex-wrap: wrap;
}

/* ========== 快速上手：深青底 ========== */
.page-faq .quick-steps {
  background: var(--bg-teal);
  color: var(--text-invert);
  padding: 44px 0 52px;
  position: relative;
  overflow: hidden;
}
.page-faq .quick-steps::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(245, 240, 232, 0.035) 0 10px, transparent 10px 22px);
  pointer-events: none;
}
.page-faq .quick-steps .container {
  position: relative;
}
.page-faq .quick-steps .section-title,
.page-faq .quick-steps .section-more {
  color: var(--text-invert);
}
.page-faq .quick-steps .section-kicker {
  color: var(--accent-yellow);
}
.page-faq .quick-layout {
  display: grid;
  gap: 26px;
  align-items: center;
}
.page-faq .quick-art {
  display: grid;
  gap: 14px;
}
.page-faq .quick-art img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 3px solid var(--accent-yellow);
  box-shadow: var(--faq-card-lift);
  display: block;
}
.page-faq .quick-caption {
  color: rgba(245, 240, 232, 0.86);
  font-size: var(--text-small);
  line-height: 1.6;
  margin: 0;
}
.page-faq .quick-art .btn {
  justify-self: start;
}
.page-faq .btn-primary {
  background: var(--accent-yellow);
  color: var(--text-deep);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 3px 0 var(--orange-deep);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.page-faq .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 0 var(--orange-deep);
}
.page-faq .steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.page-faq .step-card {
  background: var(--card-cream);
  border-radius: var(--radius-lg);
  padding: 20px;
  color: var(--text-main);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.page-faq .step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.14);
}
.page-faq .step-card:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.1);
}
.page-faq .step-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  color: var(--bg-orange);
  margin-bottom: 8px;
}
.page-faq .step-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 6px;
}
.page-faq .step-desc {
  font-size: var(--text-small);
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* ========== 常见问题 ========== */
.page-faq .faq-section {
  background: var(--bg-paper);
  padding: 48px 0 56px;
}
.page-faq .faq-list {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}
.page-faq .faq-item {
  background: var(--card-cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s ease, background 0.2s ease;
}
.page-faq .faq-item:nth-child(even) {
  background: var(--card-blue);
}
.page-faq .faq-item[open] {
  box-shadow: var(--shadow-raised);
  border-color: var(--bg-teal);
}
.page-faq .faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.page-faq .faq-item summary::-webkit-details-marker {
  display: none;
}
.page-faq .faq-item summary::after {
  content: "+";
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--bg-teal);
  line-height: 1;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid var(--bg-teal);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.page-faq .faq-item[open] summary::after {
  content: "−";
  background: var(--bg-teal);
  color: var(--text-invert);
}
.page-faq .faq-q {
  font-family: var(--font-head);
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.4;
  font-weight: 700;
}
.page-faq .faq-answer {
  padding: 0 18px 18px;
  font-size: var(--text-small);
  line-height: 1.7;
  color: var(--text-main);
  max-width: 70ch;
}
.page-faq .faq-answer p {
  margin: 0;
}
.page-faq .faq-answer a {
  color: var(--bg-teal);
  font-weight: 700;
}

/* ========== 清晰度与字幕对照表：暗橙底 ========== */
.page-faq .comparison-section {
  background: var(--bg-orange);
  color: var(--text-invert);
  padding: 48px 0 54px;
  position: relative;
  overflow: hidden;
}
.page-faq .comparison-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(245, 240, 232, 0.04) 0 2px, transparent 2px 24px);
  pointer-events: none;
}
.page-faq .comparison-section .container {
  position: relative;
}
.page-faq .comparison-section .section-title,
.page-faq .comparison-section .section-more {
  color: var(--text-invert);
}
.page-faq .comparison-section .section-kicker {
  color: var(--accent-yellow);
}
.page-faq .table-shell {
  margin-top: 8px;
  background: var(--card-cream);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: var(--shadow-raised);
}
.page-faq .comparison-section table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  color: var(--text-main);
  font-size: var(--text-small);
}
.page-faq .comparison-section th {
  background: var(--bg-teal);
  color: var(--text-invert);
  text-align: left;
  padding: 13px 14px;
  font-weight: 700;
  white-space: nowrap;
}
.page-faq .comparison-section td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  line-height: 1.5;
  vertical-align: top;
}
.page-faq .comparison-section tbody tr:nth-child(even) {
  background: var(--card-blue);
}
.page-faq .comparison-section tbody tr:hover {
  background: rgba(242, 183, 5, 0.24);
}
.page-faq .comparison-section td:first-child {
  font-weight: 700;
  color: var(--bg-teal);
  white-space: nowrap;
}
.page-faq .compare-note {
  margin: 16px 0 0;
  color: rgba(245, 240, 232, 0.9);
  font-size: var(--text-caption);
  line-height: 1.6;
}

/* ========== 反馈流程 ========== */
.page-faq .feedback-section {
  background: var(--card-blue);
  padding: 48px 0 56px;
}
.page-faq .feedback-layout {
  display: grid;
  gap: 26px;
  align-items: center;
  margin-top: 8px;
}
.page-faq .feedback-art img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 3px solid var(--bg-teal);
  box-shadow: var(--shadow-raised);
  display: block;
}
.page-faq .flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
  counter-reset: flow;
}
.page-faq .flow-step {
  counter-increment: flow;
  background: var(--bg-teal);
  color: var(--text-invert);
  border-radius: var(--radius);
  padding: 14px 18px 14px 52px;
  position: relative;
  font-size: var(--text-small);
  line-height: 1.5;
}
.page-faq .flow-step::before {
  content: counter(flow);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  background: var(--accent-yellow);
  color: var(--text-deep);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 0.85rem;
}
.page-faq .flow-step:not(:last-child)::after {
  content: "↓";
  position: absolute;
  left: 50%;
  bottom: -17px;
  color: var(--bg-teal);
  font-size: 1.15rem;
  line-height: 1;
  z-index: 2;
}
.page-faq .feedback-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}
.page-faq .btn-outline {
  border: 2px solid var(--bg-teal);
  color: var(--bg-teal);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}
.page-faq .btn-outline:hover {
  background: var(--bg-teal);
  color: var(--text-invert);
}

/* ========== 关键词索引 ========== */
.page-faq .keyword-section {
  background: var(--bg-paper);
  padding: 48px 0 56px;
}
.page-faq .tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}
.page-faq .keyword-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 16px;
  font-weight: 600;
  line-height: 1.4;
  border: 1px solid rgba(43, 43, 43, 0.12);
  box-shadow: var(--faq-chip-shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: default;
}
.page-faq .keyword-tag:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(43, 43, 43, 0.16);
}
.page-faq .keyword-tag.size-1 {
  font-size: 0.75rem;
  padding: 5px 12px;
}
.page-faq .keyword-tag.size-2 {
  font-size: 0.875rem;
  padding: 7px 15px;
}
.page-faq .keyword-tag.size-3 {
  font-size: 1.1rem;
  padding: 8px 18px;
  font-weight: 700;
}
.page-faq .keyword-tag.size-4 {
  font-size: 1.5rem;
  padding: 10px 22px;
  font-weight: 900;
  font-family: var(--font-head);
}
.page-faq .keyword-tag.type-teal {
  background: var(--bg-teal);
  color: var(--text-invert);
}
.page-faq .keyword-tag.type-yellow {
  background: var(--accent-yellow);
  color: var(--text-deep);
}
.page-faq .keyword-tag.type-orange {
  background: var(--bg-orange);
  color: var(--text-invert);
}
.page-faq .keyword-tag.type-blue {
  background: var(--card-blue);
  color: var(--text-main);
}
.page-faq .keyword-tag.type-cream {
  background: var(--card-cream);
  color: var(--text-main);
}
.page-faq .keyword-tag.type-green {
  background: var(--state-live);
  color: #fff;
}
.page-faq .keyword-tag.type-rose {
  background: var(--accent-rose);
  color: #fff;
}

/* ========== 响应式 ========== */
@media (min-width: 640px) {
  .page-faq .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-faq .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .page-faq .quick-layout {
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  }
  .page-faq .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-faq .feedback-layout {
    grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  }
  .page-faq .flow-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
  }
  .page-faq .flow-step {
    text-align: center;
    padding: 56px 14px 16px;
    min-height: 88px;
  }
  .page-faq .flow-step::before {
    left: 50%;
    top: 14px;
    transform: translateX(-50%);
  }
  .page-faq .flow-step:not(:last-child)::after {
    content: "→";
    left: auto;
    right: -16px;
    bottom: auto;
    top: 50%;
  }
}
