/* ANTO — Wink/Meitu layout rhythm, WeChat green as accent only */

:root {
  --wx: #07c160;
  --wx-dark: #06ad56;
  --wx-deep: #059648;
  --wx-soft: #eafaf1;
  --alipay: #1677ff;
  --text: #1a1a1a;
  --text-2: #666;
  --text-3: #999;
  --line: #ececec;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --bg-warm: #f5f7f6;
  --shell: 1160px;
  --header-h: 64px;
  --radius: 20px;
  --shadow: 0 18px 50px rgba(16, 24, 40, 0.08);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; }

.shell {
  width: min(var(--shell), calc(100% - 48px));
  margin: 0 auto;
}

.shell.narrow {
  width: min(760px, calc(100% - 40px));
}

.eyebrow {
  margin: 0 0 5px;
  color: var(--wx);
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.14em;
}

.eyebrow.dark { color: var(--wx); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--wx);
  color: #fff;
  box-shadow: 0 8px 22px rgba(7, 193, 96, 0.28);
}

.btn-primary:hover {
  background: var(--wx-dark);
  transform: translateY(-1px);
}

.btn-sm {
  height: 34px;
  padding: 0 14px;
  font-size: 13px;
}

.link-arrow {
  color: var(--wx);
  font-weight: 800;
  font-size: 15px;
}

.link-arrow::after { content: " →"; }

/* Header — white like Wink/Meitu */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  font-size: 18px;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav-desktop {
  display: flex;
  gap: 24px;
  margin-left: auto;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 600;
}

.nav-desktop a {
  position: relative;
  color: var(--text-2);
  transition: color 0.2s ease;
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  color: var(--wx);
}

.nav-desktop a.is-active {
  font-weight: 800;
}

.nav-desktop a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 2px;
  background: var(--wx);
}

.header-cta { margin-left: 4px; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  margin-left: auto;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--text);
  transition: 0.2s ease;
}

.nav-toggle span:first-child { top: 15px; }
.nav-toggle span:last-child { top: 23px; }

.nav-toggle[aria-expanded="true"] span:first-child {
  top: 19px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  top: 19px;
  transform: rotate(-45deg);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 16px 20px 20px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.nav-mobile a {
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-mobile a.is-active {
  color: var(--wx);
}

.nav-mobile .btn {
  width: auto;
  min-width: 140px;
  margin-top: 6px;
}

.site-header.is-open {
  height: auto;
}

.site-header.is-open .nav-mobile { display: flex; }

/* Hero */
.hero {
  position: relative;
  padding: 72px 0 40px;
  background:
    radial-gradient(ellipse 50% 45% at 85% 15%, rgba(7, 193, 96, 0.1), transparent 55%),
    linear-gradient(180deg, #f4fbf7 0%, #ffffff 55%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  min-height: 100%;
  gap: 0;
}

.hero-top {
  flex-shrink: 0;
  width: 100%;
}

.hero-copy .eyebrow {
  margin: 0;
  min-height: 40px;
  display: flex;
  align-items: center;
  line-height: 1.4;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(40px, 5.6vw, 60px);
  line-height: 1.4;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.hero-lead {
  margin: 10px 0 0;
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.75;
}

.hero-spacer {
  flex: 1 1 0;
  min-height: 8px;
  width: 100%;
}

.hero-copy .scan-actions,
.hero-copy .scan-panel,
.hero-copy .hero-chips {
  flex-shrink: 0;
}

.scan-actions {
  width: 100%;
}

.open-app-btns {
  display: none;
  flex-direction: column;
  gap: 12px;
  width: min(360px, 100%);
}

.open-app-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.open-app-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.open-app-btn--wechat {
  background: var(--wx);
  box-shadow: 0 10px 24px rgba(7, 193, 96, 0.28);
}

.open-app-btn--alipay {
  background: var(--alipay);
  box-shadow: 0 10px 24px rgba(22, 119, 255, 0.24);
}

.open-app-fallback-tip {
  margin: 2px 0 0;
  padding: 0;
  text-align: center;
  color: var(--wx-dark);
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.open-app-fallback-tip:hover {
  color: var(--wx);
}

.scan-actions.is-fallback .open-app-fallback-tip {
  display: none;
}

.scan-actions--modal .open-app-btns {
  width: min(320px, 100%);
  margin: 0 auto 18px;
}

.hero-visual {
  display: flex;
  align-items: stretch;
  min-height: 100%;
}

.scan-panel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin: 0;
  width: 100%;
  max-width: 100%;
}

.scan-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  max-width: 100%;
}

.qr-wrap {
  width: 160px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  padding: 10px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(7, 193, 96, 0.18);
  box-shadow: 0 14px 36px rgba(7, 193, 96, 0.12);
  box-sizing: border-box;
}

.qr-wrap.alipay {
  border-color: rgba(22, 119, 255, 0.2);
  box-shadow: 0 14px 36px rgba(22, 119, 255, 0.1);
}

.qr-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.scan-label {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
}

.scan-label.wechat { color: var(--wx); }
.scan-label.alipay { color: var(--alipay); }

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  min-height: 18px;
}

.hero-chips span {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--wx-soft);
  color: var(--wx-deep);
  font-size: 12px;
  font-weight: 700;
}

.mode-switcher {
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  gap: 14px;
}

.mode-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 0;
  flex-shrink: 0;
  padding: 6px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.18), inset 0 -1px 1px rgba(255, 255, 255, 0.35);
}

.mode-tab-pill {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 6px;
  width: calc((100% - 12px) / 4);
  border-radius: 999px;
  background: var(--wx);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  transition: transform 0.28s ease;
  z-index: 0;
  pointer-events: none;
}

.mode-tab {
  position: relative;
  z-index: 1;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #ccc;
  font-size: 13px;
  font-weight: 300;
  transition: color 0.2s ease;
}

.mode-tab:hover {
  color: #999;
}

.mode-tab.is-active {
  color: #fff;
  background: transparent;
  border: 0;
  box-shadow: none;
  font-weight: 300;
}

.mode-stage {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  box-shadow: var(--shadow);
  transition: opacity 0.18s ease;
}

.mode-stage.is-switching {
  opacity: 0.72;
}

.mode-hint {
  margin: 0;
  text-align: center;
  color: var(--text-3);
  font-size: 12px;
  line-height: 1.5;
  flex-shrink: 0;
  min-height: 18px;
}

/* Sections */
.section,
.hero {
  scroll-margin-top: calc(var(--header-h) + 8px);
}

.section { padding: 88px 0; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 12px 0 0;
  color: var(--text-2);
  font-size: 16px;
}

/* Showcase */
.showcase { background: var(--bg); }

.feature-billboard {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 28px;
}

.bill-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0;
  border-radius: 28px;
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: var(--shadow);
  min-height: 360px;
}

.bill-card.reverse {
  grid-template-columns: 0.8fr 1.2fr;
}

.bill-card.reverse .bill-media { order: 2; }
.bill-card.reverse .bill-body { order: 1; }

.bill-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

.bill-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 36px;
}

.bill-body h3 {
  margin: 0 0 12px;
  font-size: 30px;
  font-weight: 900;
}

.bill-body p {
  margin: 0 0 22px;
  color: var(--text-2);
  font-size: 16px;
}

/* Modes */
.modes { background: #fff; }

.mode-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* 对标 wink「视频人像美容」：大图底 + 底部白→透明渐变模糊 + 文案覆盖 */
.mode-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 420px;
  background: #111;
  box-shadow: 0 14px 40px rgba(16, 24, 40, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mode-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.mode-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.mode-card-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 52%;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 55%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 55%, #000 100%);
}

.mode-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 22px 18px 20px;
}

.mode-card-body h3 {
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
}

.mode-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.mode-icon {
  width: 32px;
  height: 32px;
  display: block;
}

.mode-card-body p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  line-height: 1.65;
  min-height: 0;
}

.mode-card-cta {
  color: #fff;
  font-weight: 800;
  font-size: 15px;
}

.mode-card-cta:hover {
  color: #fff;
  opacity: 0.88;
}

/* 扫码弹窗 */
.scan-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.scan-modal[hidden] {
  display: none !important;
}

.scan-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.scan-modal.is-open .scan-modal-backdrop {
  opacity: 1;
}

.scan-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  padding: 36px 32px 34px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  text-align: center;
  opacity: 0;
  transform: translateY(-42vh);
}

.scan-modal.is-open .scan-modal-dialog {
  animation: scan-modal-drop 0.62s cubic-bezier(0.22, 1.35, 0.36, 1) forwards;
}

@keyframes scan-modal-drop {
  0% {
    opacity: 0;
    transform: translateY(-42vh);
  }
  72% {
    opacity: 1;
    transform: translateY(10px);
  }
  86% {
    transform: translateY(-5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.scan-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #999;
  font-size: 30px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.scan-modal-close:hover { color: var(--text); }

.scan-modal-dialog h3 {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 900;
}

.scan-modal-desc {
  margin: 0 0 26px;
  color: var(--text-2);
  font-size: 15px;
}

.scan-modal-panel {
  justify-content: center;
  gap: 28px;
}

.scan-modal-panel .qr-wrap {
  width: 180px;
  padding: 12px;
}

body.is-scan-modal-open {
  overflow: hidden;
}

@media (max-width: 560px) {
  .scan-modal-dialog {
    padding: 28px 18px 24px;
  }

  .scan-modal-panel {
    gap: 16px;
  }

  .scan-modal-panel .qr-wrap {
    width: 140px;
  }
}

/* Compare */
.compare-stage {
  position: relative;
  width: min(520px, 100%);
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  user-select: none;
  touch-action: none;
  background: #111;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow);
}

/* 底层：结果图（右侧可见） */
.compare-after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

/* 顶层：原图全幅铺满，仅用 clip 露出左侧，拖动时不拉伸 */
.compare-before-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  clip-path: inset(0 50% 0 0);
  pointer-events: none;
}

.compare-before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background: rgba(255, 255, 255, 0.95);
  z-index: 4;
  cursor: ew-resize;
  pointer-events: auto;
}

/* 扩大可悬停热区，自动播放时箭头隐藏但热区仍可感应 */
.compare-handle::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 44px;
  margin-left: -22px;
}

.compare-handle-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  background: transparent;
  box-shadow: none;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 1;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.compare-stage.is-autoplay .compare-handle-btn {
  opacity: 0;
}

.compare-stage.is-paused .compare-handle-btn,
.compare-stage.is-dragging .compare-handle-btn {
  opacity: 1;
}

.compare-handle-btn .arrow-left,
.compare-handle-btn .arrow-right {
  display: block;
  width: 9px;
  height: 9px;
  border-top: 2.5px solid #fff;
  border-right: 2.5px solid #fff;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.compare-handle-btn .arrow-left {
  transform: rotate(-135deg);
}

.compare-handle-btn .arrow-right {
  transform: rotate(45deg);
}

@media (prefers-reduced-motion: reduce) {
  .compare-stage.is-autoplay .compare-handle-btn {
    opacity: 1;
  }
}

.compare-tag {
  position: absolute;
  top: 16px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 12px;
  font-weight: 300;
}

.compare-tag.left { left: 16px; }
.compare-tag.right { right: 16px;}

.mode-stage-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 19%;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.55) 100%
  );
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 50%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 50%, #000 100%);
}

.mode-stage-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 16px 18px 18px;
  pointer-events: none;
}

.mode-stage-caption h3 {
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
}

.mode-stage-caption .mode-icon-wrap {
  width: 30px;
  height: 30px;
}

.mode-stage-caption .mode-icon {
  width: 26px;
  height: 26px;
}

.mode-stage-caption p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  line-height: 1.55;
}

/* CTA */
/* 功能介绍：左侧扫码上下布局 + 右侧能力列表 */
.features-intro {
  background: var(--bg-soft);
}

.features-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
  min-width: 0;
}

.cta-final.cta-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 36px 28px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  text-align: center;
  height: 100%;
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.cta-stack .cta-copy h2 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.3;
}

.cta-stack .cta-copy p {
  margin: 0;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.6;
}

.cta-stack .scan-actions,
.cta-stack .open-app-btns {
  width: 100%;
  max-width: 100%;
}

.cta-stack .scan-panel {
  margin: 0;
}

.cta-stack .qr-wrap {
  width: 120px;
}

.scan-panel-3 {
  gap: 16px;
}

.qr-wrap.gzh {
  border-color: rgba(7, 193, 96, 0.28);
}

.feature-intro-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  align-content: stretch;
  min-width: 0;
}

.feature-intro-list li {
  padding: 18px 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text-2);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  display: flex;
  align-items: center;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.faq { background: var(--bg-soft); }

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 880px;
  margin: 0 auto;
  width: 100%;
  min-width: 0;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 20px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.45;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 1.25em;
  text-align: center;
  color: var(--wx);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.2;
  margin-top: 0.05em;
}

.faq-item[open] summary::after { content: "–"; }

.faq-item p {
  margin: 0 0 18px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.75;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.site-footer {
  padding: 36px 0 48px;
  background: #111;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0 0 18px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
}

.footer-nav a:hover { color: #fff; }

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: #fff;
  letter-spacing: 0.08em;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #fff;
}

.footer-brand span {
  letter-spacing: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

.footer-copy { margin: 0; line-height: 1.9; }
.footer-copy a { color: rgba(255, 255, 255, 0.72); margin: 0 4px; }
.footer-copy a:hover { color: #b8ffd4; }
.footer-copy img { display: inline-block; vertical-align: -3px; margin: 0 2px; }

@media (max-width: 991px) {
  .nav-desktop,
  .header-cta { display: none; }
  .nav-toggle { display: block; }

  .hero { padding: 36px 0 24px; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-copy {
    text-align: center;
    align-items: center;
    gap: 0;
  }
  .hero-copy .eyebrow { min-height: 0; justify-content: center; }
  .hero-spacer { display: none; }
  .hero-top { margin-bottom: 18px; }
  .open-app-btns {
    display: flex;
    margin: 8px auto 18px;
  }
  .scan-actions:not(.is-fallback) .scan-qr {
    display: none;
  }
  .scan-actions.is-fallback .scan-qr {
    display: flex;
    justify-content: center;
    margin: 8px 0 18px;
  }
  .scan-actions--modal .open-app-btns {
    margin-bottom: 0;
  }
  .scan-actions--modal.is-fallback .open-app-btns {
    margin-bottom: 18px;
  }
  .scan-panel {
    justify-content: center;
    margin: 8px 0 18px;
  }
  .hero-lead br { display: none; }
  .hero-chips { justify-content: center; }
  .mode-switcher {
    width: min(520px, 100%);
    margin: 0 auto;
    height: auto;
  }
  .hero-copy,
  .hero-visual {
    min-height: 0;
  }
  .mode-tab { font-size: 12px; height: 36px; }

  .bill-card,
  .bill-card.reverse {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .bill-card.reverse .bill-media,
  .bill-card.reverse .bill-body { order: initial; }
  .bill-media img { min-height: 220px; }
  .bill-body { text-align: center; padding: 28px 22px; }

  .mode-grid { grid-template-columns: 1fr 1fr; }
  .mode-card { min-height: 360px; }

  .features-split {
    grid-template-columns: 1fr;
  }
  .cta-final.cta-stack {
    padding: 28px 20px;
  }
  .section { padding: 64px 0; }
}

@media (max-width: 560px) {
  .shell { width: calc(100% - 28px); }
  .hero-copy h1 { font-size: 34px; }
  .qr-wrap { width: 124px; }
  .mode-grid { grid-template-columns: 1fr; }
  .mode-card { min-height: 320px; }
  .compare-stage,
  .mode-stage { aspect-ratio: 1 / 1; border-radius: 16px; }
  .cta-stack .qr-wrap { width: 104px; }
  .scan-panel-3 { gap: 10px; }
  .mode-tab { font-size: 11px; padding: 0 4px; }
  .cta-stack .cta-copy h2 { font-size: 24px; }
  .feature-intro-list li {
    padding: 14px 16px;
    font-size: 14px;
  }
}

@media (max-width: 420px) {
  .shell { width: calc(100% - 20px); }
  .cta-final.cta-stack {
    padding: 22px 14px;
    gap: 18px;
  }
  .cta-stack .cta-copy h2 { font-size: 22px; }
  .cta-stack .cta-copy p { font-size: 13px; }
  /* 优先换行：二码/三码保持固定尺寸，不挤在一行里缩小 */
  .qr-wrap { width: 124px; }
  .cta-stack .qr-wrap { width: 104px; }
  .scan-modal-panel .qr-wrap { width: 140px; }
  .scan-panel-3 { gap: 12px; }
  .scan-label { font-size: 12px; }
  .open-app-btn {
    height: 48px;
    font-size: 15px;
  }
  .feature-intro-list li {
    padding: 12px 14px;
    font-size: 13px;
  }
  .faq-item {
    padding: 0 14px;
  }
  .faq-item summary {
    padding: 14px 0;
    font-size: 15px;
    gap: 10px;
  }
  .faq-item summary::after {
    font-size: 18px;
  }
  .faq-item p {
    margin-bottom: 14px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scan-modal.is-open .scan-modal-dialog {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
