:root {
  --bg: #f8f9f5;
  --bg-tint: #f1f7f3;
  --bg-muted: #eef1eb;
  --surface: #ffffff;
  --text: #192c27;
  --text-muted: #64736c;
  --text-faint: #8c9a93;
  --primary: #188267;
  --primary-dark: #12695a;
  --primary-soft: #e4f0ea;
  --border: #e3e8e1;
  --border-strong: #cbd4c9;
  --accent: #e8a33d;
  --shadow-card: 0 2px 12px rgba(25, 44, 39, 0.05);
  --shadow-card-hover: 0 10px 28px rgba(24, 130, 103, 0.12);
  --shadow-cta: 0 6px 18px rgba(24, 130, 103, 0.22);
  --radius: 18px;
  --radius-control: 12px;
  --radius-pill: 999px;
  --font: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --max: 1200px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 1.5rem;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: var(--bg);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 64px;
}

@media (min-width: 768px) {
  .header-inner {
    height: 72px;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.15;
  font-weight: 700;
}

.brand-text span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.header-actions > .btn-primary {
  display: none;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
  margin-right: 0.25rem;
}

.nav-desktop a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 42px;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn:hover {
  filter: brightness(0.98);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-cta);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
  box-shadow: var(--shadow-card);
}

.btn-secondary:hover {
  border-color: rgba(24, 130, 103, 0.5);
}

.btn-ghost {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.btn-menu {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: var(--radius-control);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: none;
}

.btn-menu:hover {
  transform: none;
}

.nav-drawer {
  display: none;
  position: fixed;
  inset: 64px 0 0;
  background: rgba(248, 249, 245, 0.98);
  padding: 0.5rem 1.25rem 2rem;
  z-index: 40;
  overflow: auto;
}

.nav-drawer.open {
  display: block;
}

.nav-drawer a {
  display: block;
  padding: 0.95rem 0.15rem;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}

/* Typography */
.eyebrow {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  letter-spacing: -0.025em;
}

h1 {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.25;
}

h2 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
}

h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

.lead,
.section-lead {
  margin: 0;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.75;
  font-weight: 400;
  max-width: 36rem;
}

.note {
  margin: 0;
  color: var(--text-faint);
  font-size: 0.875rem;
  line-height: 1.6;
}

.muted {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -120px;
  top: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 130, 103, 0.14), transparent 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: center;
  padding: 3.5rem 0 2.5rem;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.75rem;
}

.hero-copy .lead {
  margin: 0;
  max-width: 36rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.4;
  font-weight: 400;
  box-shadow: var(--shadow-card);
}

.badge-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 2px;
  background: var(--primary);
  flex-shrink: 0;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  position: relative;
  margin-top: 0.25rem;
}

.hero-actions .btn-primary,
.hero-actions .btn-secondary {
  min-height: 52px;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.25;
}

.hero-visual {
  display: none;
}

.phone-frame {
  width: min(100%, 320px);
  margin-inline: auto;
  background: #111;
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow-card-hover);
}

.phone-screen {
  background: #ededed;
  border-radius: 28px;
  overflow: hidden;
  min-height: 460px;
}

.chat-bar {
  background: #f7f7f7;
  padding: 0.85rem 1rem;
  text-align: center;
  font-weight: 600;
  border-bottom: 1px solid #e5e5e5;
}

.chat-body {
  padding: 1rem 0.85rem 1.25rem;
  display: grid;
  gap: 0.85rem;
}

.bubble-row {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}

.bubble-row.me {
  flex-direction: row-reverse;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.bubble {
  max-width: 72%;
  background: #fff;
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  box-shadow: 0 1px 2px rgba(25, 44, 39, 0.05);
}

.bubble.me {
  background: #95ec69;
}

.bubble .name {
  font-size: 0.75rem;
  color: var(--text-faint);
  margin-bottom: 0.2rem;
}

/* Trust band */
.trust-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 2.5rem 0;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.trust-item .trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

.trust-item .trust-icon svg {
  width: 1rem;
  height: 1rem;
  display: block;
}

.trust-copy {
  display: block;
  min-width: 0;
}

.trust-item strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
}

.trust-copy > span {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.625;
}

/* Sections — isolate so prior section transforms can't paint over titles */
.section {
  position: relative;
  z-index: 0;
  isolation: isolate;
  padding: 4rem 0;
}

.section-alt {
  background: var(--bg-tint);
}

.section-head {
  margin-bottom: 2rem;
  display: grid;
  gap: 0.75rem;
}

.section-head h2 {
  margin: 0;
}

.page-hero {
  padding: 3.5rem 0 1.5rem;
}

.page-hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.page-hero .lead {
  margin: 0;
}

.page-hero .hero-actions {
  margin-top: 0.25rem;
}

.page-hero .note {
  margin: 0;
}

.page-hero .anchor-nav {
  margin-top: 0.25rem;
}

.legal-hero {
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.legal-hero .eyebrow {
  font-size: 1rem;
  margin-bottom: 1.1rem;
  letter-spacing: 0.12em;
}

.legal-hero h1 {
  font-size: clamp(2.75rem, 5.5vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.legal h2:first-child {
  margin-top: 0;
}

/* Grids & cards */
.grid-3,
.grid-2,
.grid-6 {
  display: grid;
  gap: 1rem;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

a.card {
  color: inherit;
}

.card:hover {
  border-color: rgba(24, 130, 103, 0.5);
  box-shadow: var(--shadow-card-hover);
}

.card h3 {
  margin: 0;
}

.card .more {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  margin-top: auto;
}

/* Steps (legacy card steps — use explicit number, never overlap title) */
.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

.step.card,
.steps .step {
  position: relative;
  padding: 1.5rem;
  padding-top: 4.25rem !important;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 1.5rem;
  top: 1.25rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  line-height: 1;
  pointer-events: none;
}

/* Compare + style tabs */
.compare-layout {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.compare {
  background: var(--surface);
  border-radius: 24px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.compare-stage {
  position: relative;
  aspect-ratio: 16 / 11;
  background: linear-gradient(135deg, #dff3ea, #f4f7f2 45%, #e8eef0);
}

.compare-pane {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.compare-pane.before {
  clip-path: inset(0 50% 0 0);
}

.compare-pane.after {
  clip-path: inset(0 0 0 50%);
}

.compare-demo {
  width: min(100%, 280px);
  background: #fff;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--shadow-card);
}

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 1;
  width: 2px;
  background: #fff;
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.compare-handle::after {
  content: "⟷";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  box-shadow: var(--shadow-cta);
}

.compare-range {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  appearance: none;
  background: transparent;
  border: 0;
}

.style-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.style-tab {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-control);
  padding: 1rem;
  cursor: pointer;
  color: var(--text);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.style-tab:hover {
  border-color: rgba(24, 130, 103, 0.5);
}

.style-tab.active {
  background: var(--primary-soft);
  border-color: var(--primary);
  box-shadow: var(--shadow-card);
}

.style-tab-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-muted);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.style-tab.active .style-tab-icon {
  background: var(--primary);
  color: #fff;
}

.style-tab-copy strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.style-tab-copy span {
  display: block;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-muted);
  font-weight: 400;
}

/* Table */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

th,
td {
  padding: 0.95rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  background: var(--bg-tint);
  font-weight: 600;
}

td .ok {
  color: var(--primary);
  font-weight: 600;
}

td .lock {
  color: #c07a1b;
  font-weight: 600;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

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

.faq-item summary::after {
  content: "+";
  color: var(--primary);
  font-size: 1.2rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0;
  padding: 0 1.15rem 1.15rem;
  color: var(--text-muted);
}

/* CTA */
.cta-banner {
  background: linear-gradient(135deg, #188267, #0f6a53 55%, #1a9a78);
  color: #fff;
  border-radius: 28px;
  padding: 2.5rem 1.5rem;
  box-shadow: var(--shadow-cta);
}

.cta-banner h2 {
  color: #fff;
}

.cta-banner .lead,
.cta-banner .note {
  color: rgba(255, 255, 255, 0.86);
}

.cta-banner .btn-secondary {
  background: #fff;
  color: var(--primary-dark);
  border-color: transparent;
}

.download-box {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.qr-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  padding: 1rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.qr-card img {
  width: 84px;
  height: 84px;
  border-radius: 12px;
  background: #fff;
}

/* Footer */
.site-footer {
  margin-top: 0;
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-brand p {
  color: var(--text-muted);
  max-width: 28rem;
  margin-top: 1rem;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.footer-cols {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-cols h3 {
  font-size: 0.875rem;
  margin-bottom: 0.85rem;
}

.footer-cols a,
.footer-cols li {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  display: block;
  font-size: 0.9375rem;
}

.footer-cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 0.875rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
}

.footer-bottom a:hover {
  color: var(--primary);
}

/* Features page layouts */
.feature-split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.feature-copy .section-lead {
  margin-top: 0.75rem;
}

.feature-points {
  margin: 1.25rem 0 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.65rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.feature-preview {
  display: flex;
  justify-content: center;
}

.feature-wx {
  width: min(100%, 320px);
  border-radius: 18px;
  border: 1px solid #d8dde3;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.feature-wx .wx-body {
  min-height: 220px;
}

.detect-box {
  outline: 2px dashed var(--primary);
  outline-offset: 2px;
}

.feature-style-layout {
  display: grid;
  gap: 1.75rem;
  margin-top: 2.5rem;
  align-items: start;
}

.feature-style-controls {
  display: grid;
  gap: 1rem;
}

.style-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.style-chip {
  min-height: 40px;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.style-chip:hover {
  border-color: rgba(24, 130, 103, 0.45);
}

.style-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.feature-style-layout[data-effect="mosaic"] .avatar-effect {
  background:
    linear-gradient(90deg, #8fb09e 25%, #d6e1d8 0 50%, #b9cdbe 0 75%, #cbd8ce 0) 0 0 / 8px 8px,
    linear-gradient(#8fb09e 25%, #d6e1d8 0 50%, #b9cdbe 0 75%, #a7c0b0 0) 0 0 / 8px 8px;
  color: transparent;
  font-size: 0;
}

.feature-style-layout[data-effect="blur"] .avatar-effect,
.feature-style-layout[data-effect="blur"] .name-effect {
  filter: blur(4px);
}

.feature-style-layout[data-effect="blur"] .avatar-effect {
  background: #c9b8a8;
  color: transparent;
}

.feature-style-layout[data-effect="sticker"] .avatar-effect {
  background: #e4f0ea;
  color: #188267;
}

.feature-style-layout[data-effect="custom"] .avatar-effect {
  background: #fde9c8;
  color: #b7791f;
}

.feature-media-card {
  gap: 0.85rem;
}

.export-panel {
  width: min(100%, 360px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 900px) {
  .feature-split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }

  .feature-style-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.5rem;
    align-items: center;
  }
}

/* Scroll reveal — opacity only. translateY made badges/CTAs paint over nearby text. */
.reveal {
  opacity: 0;
  transition: opacity 0.55s var(--ease);
}

.reveal.is-in {
  opacity: 1;
}

.reveal-delay-1 { transition-delay: 0.06s; }
.reveal-delay-2 { transition-delay: 0.12s; }
.reveal-delay-3 { transition-delay: 0.18s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transition: none;
  }
}

/* Misc page bits */
.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.5rem 0 0.5rem;
}

.anchor-nav a {
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.875rem;
}

.anchor-nav a:hover,
.anchor-nav a.active {
  background: var(--primary-soft);
  color: var(--primary-dark);
  border-color: transparent;
}

.legal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.legal h2 {
  font-size: 1.375rem;
  margin-top: 1.75rem;
}

.legal p,
.legal li {
  color: var(--text-muted);
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.875rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
  padding: 0.75rem 0.9rem;
  background: #fff;
  color: var(--text);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(24, 130, 103, 0.15);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.faq-toolbar {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.faq-search {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.85rem 1.1rem;
  background: #fff;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius-pill);
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  color: var(--text-muted);
}

.chip.active {
  background: var(--primary);
  color: #fff;
  border-color: transparent;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }

  .btn-menu {
    display: none;
  }

  .header-actions > .btn-primary {
    display: inline-flex;
  }

  h1 {
    font-size: 48px;
    line-height: 1.2;
  }

  h2 {
    font-size: 34px;
    line-height: 1.3;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    padding: 5rem 0 3.5rem;
  }

  .hero-visual {
    display: block;
  }

  .section {
    padding: 6rem 0;
  }

  .grid-2 {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .grid-3,
  .grid-6 {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .card {
    padding: 2rem;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr;
  }

  .footer-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .download-box {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 55fr 45fr;
    gap: 3.5rem;
    padding: 6rem 0;
  }

  .trust-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }

  .compare-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 2.5rem;
    align-items: start;
  }

  .grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps-line {
    display: block;
  }
}

/* Eyebrow / section heads */
.section-head-center {
  text-align: center;
  justify-items: center;
}

.section-head-center .section-lead {
  margin-inline: auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8125rem;
}

.section-surface {
  background: var(--surface);
}

.badge-ico {
  color: var(--primary);
  width: 0.85rem;
  height: 0.85rem;
  display: block;
  flex-shrink: 0;
}

.feature-ico,
.step-ico,
.style-tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.feature-ico svg,
.step-ico svg,
.style-tab-icon svg {
  display: block;
  flex-shrink: 0;
}

/* Feature cards */
.feature-card {
  gap: 1rem;
}

.feature-ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.feature-ico svg {
  width: 1.25rem;
  height: 1.25rem;
}

.feature-card:hover .feature-ico {
  background: var(--primary);
  color: #fff;
}

.feature-card .more {
  opacity: 0.85;
}

.feature-card:hover .more {
  opacity: 1;
}

@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Steps flow */
.steps-flow {
  position: relative;
  display: grid;
  gap: 2rem;
  margin-top: 2.5rem;
}

.section-head + .steps-flow {
  margin-top: 0.5rem;
}

.steps-line {
  display: none;
  position: absolute;
  top: 1.5rem;
  left: 16%;
  right: 16%;
  height: 1px;
  background: var(--border-strong);
}

.step-flow {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.15rem;
}

.step-num {
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 4px solid var(--bg-tint);
  background: var(--accent);
  color: #3a2a10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
}

.step-ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--surface);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  box-shadow: var(--shadow-card);
}

.step-ico svg {
  width: 1.25rem;
  height: 1.25rem;
}

.step-flow h3 {
  margin: 0;
}

.step-flow .muted {
  max-width: 20rem;
}

@media (min-width: 720px) {
  .page-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .steps-flow {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

  .page-steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-steps .steps-line {
    display: block;
    left: 12%;
    right: 12%;
  }
}

/* Effect demo — WeChat-like chat */
.demo-chat {
  border-radius: 20px;
  border: 1px solid #d8dde3;
  background: #f0f1f2;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.wx-shell {
  position: relative;
  width: min(100%, 390px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  background: #ededed;
  font-family: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
}

.demo-chat .compare-stage,
.wx-stage {
  position: relative;
  aspect-ratio: auto;
  min-height: 430px;
  background: #ededed;
}

.demo-chat .compare-pane {
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.wx-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0.85rem 0.15rem;
  background: #f7f7f7;
  font-size: 0.75rem;
  font-weight: 600;
  color: #111;
  letter-spacing: 0.02em;
}

.wx-status-icons {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: #333;
  font-weight: 500;
}

.wx-nav {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  padding: 0.45rem 0.35rem 0.55rem;
  background: #f7f7f7;
  border-bottom: 1px solid #e5e5e5;
}

.wx-back,
.wx-more {
  color: #111;
  font-size: 1.5rem;
  line-height: 1;
  text-align: center;
  font-weight: 400;
}

.wx-more {
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  padding-bottom: 0.2rem;
}

.wx-title {
  text-align: center;
  font-size: 1.05rem;
  font-weight: 600;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wx-tag {
  position: absolute;
  top: 2.55rem;
  right: 0.65rem;
  z-index: 3;
  font-size: 0.625rem;
  color: #8c8c8c;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  padding: 0.12rem 0.45rem;
  pointer-events: none;
}

.wx-body {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.85rem 0.75rem 2.5rem;
  box-sizing: border-box;
  background: #ededed;
}

.wx-time {
  align-self: center;
  font-size: 0.75rem;
  color: #b2b2b2;
  line-height: 1;
  margin: 0.15rem 0;
}

.wx-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  max-width: 100%;
}

.wx-row.me {
  flex-direction: row-reverse;
}

.wx-avatar {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.15rem;
  line-height: 1;
  overflow: hidden;
}

.wx-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  min-width: 0;
  max-width: calc(100% - 52px);
}

.wx-row.me .wx-col {
  align-items: flex-end;
}

.wx-name {
  font-size: 0.75rem;
  color: #b2b2b2;
  line-height: 1.2;
  padding: 0 0.15rem;
}

.wx-row.me .wx-name {
  display: none;
}

.demo-chat[data-effect="sticker"] .wx-row.me .wx-name.me-name,
.demo-chat[data-effect="custom"] .wx-row.me .wx-name.me-name {
  display: block;
}

.wx-bubble {
  position: relative;
  background: #fff;
  color: #111;
  border-radius: 4px;
  padding: 0.55rem 0.7rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  word-break: break-word;
  box-shadow: none;
  max-width: 100%;
}

.wx-bubble::before {
  content: "";
  position: absolute;
  top: 12px;
  left: -5px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 6px 5px 0;
  border-color: transparent #fff transparent transparent;
}

.wx-bubble.me {
  background: #95ec69;
}

.wx-bubble.me::before {
  left: auto;
  right: -5px;
  border-width: 5px 0 5px 6px;
  border-color: transparent transparent transparent #95ec69;
}

.demo-pane-tag {
  position: absolute;
  left: 50%;
  bottom: 0.75rem;
  transform: translateX(-50%);
  font-size: 0.6875rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
  z-index: 1;
  pointer-events: none;
}

.demo-pane-tag.before-tag {
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
}

.demo-pane-tag.after-tag {
  background: rgba(24, 130, 103, 0.9);
  color: #fff;
}

.avatar-real {
  background: #f0c27a;
  color: #fff;
}

.avatar-real.me-tone {
  background: #7eb8d8;
}

.avatar-real.tone-b {
  background: #8fc39a;
}

.demo-chat[data-effect="mosaic"] .avatar-effect {
  background:
    linear-gradient(90deg, #8fb09e 25%, #d6e1d8 0 50%, #b9cdbe 0 75%, #cbd8ce 0) 0 0 / 8px 8px,
    linear-gradient(#8fb09e 25%, #d6e1d8 0 50%, #b9cdbe 0 75%, #a7c0b0 0) 0 0 / 8px 8px;
  color: transparent;
  font-size: 0;
}

.demo-chat[data-effect="blur"] .avatar-effect,
.demo-chat[data-effect="blur"] .name-effect {
  filter: blur(4px);
}

.demo-chat[data-effect="blur"] .avatar-effect {
  background: #c9b8a8;
  color: transparent;
}

.demo-chat[data-effect="sticker"] .avatar-effect,
.demo-chat[data-effect="custom"] .avatar-effect {
  background: #e4f0ea;
  color: #188267;
}

.demo-chat[data-effect="custom"] .avatar-effect {
  background: #fde9c8;
  color: #b7791f;
}

.style-tab-icon svg {
  width: 1rem;
  height: 1rem;
}

/* Scenes */
.scene-grid {
  margin-top: 0.5rem;
}

.scene-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.scene-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.scene-card-tint {
  background: var(--bg-tint);
}

.scene-visual {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-muted);
}

.scene-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.scene-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  flex: 1;
}

.scene-point {
  margin: auto 0 0;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text);
}

.scene-point .check {
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Membership plan table */
.plan-table {
  margin-top: 3rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.plan-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.plan-row:last-child {
  border-bottom: 0;
}

.plan-row > span {
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.35rem;
}

.plan-row > span:first-child {
  justify-content: flex-start;
  text-align: left;
  color: var(--text);
}

.plan-head {
  background: #f1f3ed;
  font-weight: 600;
}

.plan-vip {
  border-left: 1px solid var(--border);
  background: rgba(241, 247, 243, 0.7);
}

.plan-head .plan-vip {
  background: var(--bg-tint);
  color: var(--primary);
}

.plan-row .ok {
  color: var(--primary);
  font-weight: 600;
}

.plan-row .lock {
  color: #c07a1b;
  font-weight: 600;
}

.cta-section {
  background: transparent;
  padding-top: 0;
}

.cta-section .cta-banner {
  margin: 0;
}

@media (max-width: 640px) {
  .plan-row {
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
  }

  .plan-row > span {
    padding: 0.75rem 0.55rem;
    font-size: 0.75rem;
  }
}
