:root {
  --bg: #FFFFFF;
  --bg-soft: #F7F9FA;
  --ink: #11181C;
  --ink-2: #525E66;
  --ink-3: #8B979F;
  --line: #E8EEF0;
  --green: #58B052;
  --green-dark: #41943C;
  --green-tint: #EEF8EC;
  --green-border: rgba(88, 176, 82, 0.28);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(232, 238, 240, 0.85);
}
.nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: var(--ink-2);
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-ghost {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  border: 1px solid var(--line);
  transition: all 0.16s ease;
}
.nav-ghost:hover { border-color: var(--green); color: var(--green-dark); }
.nav-green {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  background: var(--green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.16s ease;
}
.nav-green:hover { background: var(--green-dark); }

/* Hero */
.hero {
  padding: 80px 0 70px;
  text-align: center;
  background: radial-gradient(ellipse 70% 48% at 50% 0%, #EEF8EC 0%, #FFFFFF 70%);
}
.hero h1 {
  font-size: 54px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: var(--ink);
  margin-bottom: 20px;
}
.hero h1 span { color: var(--green); }
.hero-sub {
  font-size: 18.5px;
  color: var(--ink-2);
  max-width: 660px;
  margin: 0 auto 36px;
  line-height: 1.72;
  font-weight: 400;
}
.hero-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 30px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 12px 26px rgba(88, 176, 82, 0.26);
  transition: transform 0.16s ease, background 0.16s ease;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  font-size: 16px;
  font-weight: 600;
  transition: all 0.16s ease;
}
.btn-outline:hover { border-color: var(--green); color: var(--green-dark); transform: translateY(-2px); }
.hero-note {
  font-size: 13.5px;
  color: var(--ink-3);
  margin-bottom: 0;
}

/* 3-Phone Hero Stage */
.trio {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 26px;
  max-width: 920px;
  margin: 0 auto;
}
.phone {
  padding: 8px;
  border-radius: 38px;
  background: #14191D;
  box-shadow: 0 26px 58px rgba(17, 24, 28, 0.13), 0 4px 12px rgba(17, 24, 28, 0.06);
}
.phone .screen {
  border-radius: 30px;
  overflow: hidden;
  background: #fff;
  aspect-ratio: 390 / 844;
}
.phone .screen img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.phone.side {
  width: 228px;
  opacity: 0.94;
  transform: translateY(18px);
}
.phone.main {
  width: 268px;
  z-index: 2;
  box-shadow: 0 34px 72px rgba(17, 24, 28, 0.18);
}

/* Micro Highlights Strip */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 32px 0;
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.strip-item strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.strip-item span {
  font-size: 13.5px;
  color: var(--ink-2);
}

/* Feature Showcase */
section { padding: 92px 0; }
.sec-head {
  text-align: center;
  margin-bottom: 42px;
}
.sec-head h2 {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.24;
  margin-bottom: 10px;
}
.sec-head p {
  font-size: 17px;
  color: var(--ink-2);
}

.pill-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}
.pill-tab {
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--bg-soft);
  border: 1px solid transparent;
  transition: all 0.18s ease;
}
.pill-tab:hover { color: var(--ink); background: #EDF2F4; }
.pill-tab.active {
  background: var(--green);
  color: #fff;
  box-shadow: 0 8px 20px rgba(88, 176, 82, 0.24);
}

.spotlight {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 52px 64px;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 56px;
  align-items: center;
}
.spot-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--green-tint);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}
.spot-copy h3 {
  font-size: 33px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.28;
  margin-bottom: 16px;
  color: var(--ink);
}
.spot-copy p {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.78;
  margin-bottom: 28px;
  max-width: 400px;
}
.spot-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.spot-tags span {
  padding: 9px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.spot-media {
  display: flex;
  justify-content: center;
}

/* Feature Card Grid (Screenshot-free minimal mode) */
.feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.feat-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
}
.feat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.feat-top .spot-badge {
  margin-bottom: 0;
}
.feat-ico {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--green-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feat-card h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.32;
  color: var(--ink);
  margin-bottom: 10px;
}
.feat-card p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.75;
  margin-bottom: 22px;
  flex: 1;
}
.feat-card .spot-tags span {
  padding: 7px 13px;
  font-size: 13px;
}

/* Dual Entry Section */
.start-sec {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 38px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card.highlight {
  border-color: var(--green-border);
  box-shadow: 0 18px 42px rgba(88, 176, 82, 0.07);
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.card-head h3 { font-size: 24px; font-weight: 800; }
.card-pill {
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--green-tint);
  color: var(--green-dark);
}
.card-sub {
  font-size: 15px;
  color: var(--ink-2);
  margin-bottom: 24px;
}
.card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 30px;
  font-size: 15px;
  color: var(--ink);
}
.card-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tick {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-tint); color: var(--green-dark);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; flex-shrink: 0;
}
.app-meta {
  font-size: 12.5px;
  color: var(--ink-3);
  text-align: center;
  margin-top: 8px;
}
.ios-note {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--bg-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: var(--ink-2);
}
.ios-note em {
  font-style: normal;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--green-dark);
}
.ios-note a {
  color: var(--green-dark);
  font-weight: 600;
}
.qr-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border-radius: 18px;
  background: var(--bg-soft);
}
.qr-slot {
  width: 104px;
  height: 104px;
  flex-shrink: 0;
  border-radius: 12px;
  background: #fff;
  border: 1.5px dashed #C4D1D6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 11px;
  color: var(--ink-3);
  text-align: center;
  overflow: hidden;
}
.qr-slot.has-img {
  border-style: solid;
  border-color: var(--line);
  padding: 6px;
}
.qr-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.qr-text > strong { display: block; font-size: 15px; margin-bottom: 4px; }
.qr-text span { font-size: 13.5px; color: var(--ink-2); }
.qr-text span strong { color: var(--ink); font-weight: 600; }

/* Compact FAQ */
.faq-wrap {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
}
.faq-a {
  display: none;
  padding: 0 22px 18px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.75;
}
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-icon {
  font-size: 20px;
  color: var(--green-dark);
  transition: transform 0.18s ease;
  flex-shrink: 0;
}
.faq-more {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--ink-2);
}
.faq-more a {
  color: var(--green-dark);
  font-weight: 600;
}
.faq-more a:hover { text-decoration: underline; }

/* Subpage Document Layout (/privacy, /terms, /help) */
.doc-hero {
  padding: 56px 0 36px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse 75% 80% at 50% 0%, #F1F9EF 0%, #FFFFFF 75%);
}
.doc-hero-inner {
  max-width: 780px;
  margin: 0 auto;
}
.doc-crumb {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 12px;
  display: inline-block;
}
.doc-crumb:hover { color: var(--green-dark); }
.doc-hero h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.doc-meta {
  font-size: 14px;
  color: var(--ink-2);
}
.doc-body {
  padding: 44px 0 76px;
}
.doc-article {
  max-width: 780px;
  margin: 0 auto;
}
.doc-callout {
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--green-tint);
  border: 1px solid var(--green-border);
  color: #214B1F;
  font-size: 14.5px;
  line-height: 1.75;
  margin-bottom: 28px;
}
.doc-article h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 34px 0 12px;
  color: var(--ink);
}
.doc-article h3 {
  font-size: 16.5px;
  font-weight: 700;
  margin: 22px 0 8px;
  color: var(--ink);
}
.doc-article p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.85;
  margin-bottom: 12px;
}
.doc-article ul,
.doc-article ol {
  margin: 8px 0 18px 20px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.85;
}
.doc-article li { margin-bottom: 8px; }
.doc-article strong { color: var(--ink); }
.doc-article a.inline-link {
  color: var(--green-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0 28px;
}
.step-card {
  padding: 20px;
  border-radius: 18px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}
.step-card h3 {
  margin: 0 0 6px;
  font-size: 15.5px;
}
.step-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
}

/* 404 */
.notfound {
  padding: 110px 0;
  text-align: center;
}
.notfound h1 {
  font-size: 56px;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 12px;
}
.notfound p {
  font-size: 16px;
  color: var(--ink-2);
  margin-bottom: 28px;
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 46px;
  font-size: 13px;
  color: var(--ink-3);
  background: #fff;
}
.foot-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.foot-top {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; color: var(--ink-2); }
.foot-links a:hover { color: var(--green-dark); }
.icp-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
}
.icp-group a:hover { color: var(--ink); text-decoration: underline; }

/* Modals & WeChat Overlay */
.modal-bg {
  position: fixed; inset: 0; background: rgba(17, 24, 28, 0.54);
  backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center;
  padding: 20px; z-index: 100;
}
.modal-bg.show { display: flex; }
.modal-box {
  background: #fff; border-radius: 22px; padding: 28px; max-width: 400px; width: 100%;
  position: relative; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}
.modal-x {
  position: absolute; right: 16px; top: 14px; width: 32px; height: 32px;
  border-radius: 50%; background: var(--bg-soft); font-size: 18px; color: var(--ink-2);
}
.modal-box h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.modal-box p { font-size: 14px; color: var(--ink-2); line-height: 1.72; margin-bottom: 16px; }
.modal-actions { display: flex; flex-direction: column; gap: 10px; }

.wx-mask {
  position: fixed; inset: 0; background: rgba(14, 20, 24, 0.88);
  z-index: 120; display: none; flex-direction: column; align-items: flex-end;
  padding: 22px 26px; color: #fff;
}
.wx-mask.show { display: flex; }
.wx-card {
  max-width: 290px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22);
  border-radius: 16px; padding: 18px; margin-top: 10px; text-align: left;
}
.wx-card strong { display: block; font-size: 15.5px; margin-bottom: 8px; }
.wx-card p { font-size: 13.5px; color: rgba(255,255,255,0.86); line-height: 1.68; }

@media (max-width: 900px) {
  .nav-links, .nav-ghost { display: none; }
  .hero { padding: 54px 0 48px; }
  .hero h1 { font-size: 34px; }
  .hero-sub { font-size: 15.5px; margin-bottom: 28px; }
  .hero-note { margin-bottom: 0; }
  .phone.side { display: none; }
  .phone.main { width: 252px; }
  .strip-grid { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  section { padding: 60px 0; }
  .sec-head h2 { font-size: 28px; }
  .sec-head p { font-size: 15px; }
  .feat-grid { grid-template-columns: 1fr; gap: 16px; }
  .feat-card { padding: 26px 22px; border-radius: 22px; }
  .feat-card h3 { font-size: 20px; }
  .feat-card .spot-tags { justify-content: flex-start; }
  .spotlight { grid-template-columns: 1fr; padding: 30px 22px; gap: 30px; text-align: center; }
  .spot-copy h3 { font-size: 24px; }
  .spot-copy p { font-size: 15px; margin-left: auto; margin-right: auto; }
  .spot-tags { justify-content: center; }
  .dual { grid-template-columns: 1fr; }
  .card { padding: 28px 22px; }
  .qr-card { flex-direction: column; text-align: center; }
  .step-grid { grid-template-columns: 1fr; }
  .doc-hero h1 { font-size: 28px; }
}
@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .hero h1 { font-size: 30px; }
  .hero-cta { flex-direction: column; }
  .hero-cta button { width: 100%; }
  .pill-tab { padding: 8px 15px; font-size: 14px; }
}
