:root {
  color-scheme: light;
  --content-w: 1240px;
  --main-w: 1208px;
  --bg: #f4f9ff;
  --bg-2: #edf4ff;
  --text: #14243a;
  --sub: #4f6079;
  --line: #d7e6fb;
  --card: rgba(255, 255, 255, 0.86);
  --accent: #2b7bff;
  --accent-2: #5ca1ff;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a1220;
  --bg-2: #070d18;
  --text: #e6efff;
  --sub: #9eb4d2;
  --line: #2b3f5d;
  --card: rgba(16, 28, 44, 0.86);
  --accent: #3f8fff;
  --accent-2: #66b1ff;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Plus Jakarta Sans", "Noto Sans SC", "PingFang SC", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 90% -10%, #dcecff 10%, transparent 60%),
    radial-gradient(900px 500px at 10% 20%, #e8f2ff 0%, transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

:root[data-theme="dark"] body {
  background:
    radial-gradient(1200px 600px at 90% -10%, #1e3558 5%, transparent 60%),
    radial-gradient(900px 500px at 10% 20%, #162843 0%, transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

a { color: inherit; text-decoration: none; }
.container { width: min(var(--content-w), calc(100% - 64px)); margin: 0 auto; }
main .container { width: min(var(--main-w), calc(100% - 64px)); }
.section { padding: 106px 0; }
.eyebrow {
  margin: 0 0 14px;
  width: fit-content;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #c5daf8;
  background: #fff;
  color: #527099;
  padding: 0 12px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.section-title { margin: 0; font-size: clamp(34px, 4.2vw, 54px); line-height: 1.2; font-weight: 500; letter-spacing: -.01em; }
.section-desc { margin: 18px 0 0; max-width: 760px; color: #3c5678; font-size: 19px; line-height: 1.7; }

.topbar { position: sticky; top: 0; z-index: 20; background: transparent; padding-top: 24px; }
.nav-shell { min-height: 62px; display: flex; align-items: center; justify-content: center; position: relative; }
.top-pill {
  width: 100%;
  min-height: 62px;
  padding: 10px 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(117, 164, 228, 0.36);
  box-shadow: 0 24px 58px rgba(41, 85, 141, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.pill-left,
.pill-right { display: flex; align-items: center; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; }
.logo-mark { width: 40px; height: 40px; border-radius: 10px; flex: 0 0 auto; }
.desktop-nav { display: flex; align-items: center; gap: 24px; font-size: 15px; font-weight: 500; color: #4a2f21; }
.desktop-nav a:hover { color: #2f1f16; }
.mode-btn {
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: #5f7fa5; font-size: 15px; cursor: pointer;
}
.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: #5f7fa5;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
#lang-switcher {
  height: 40px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
  padding: 0 14px; font: inherit; font-size: 13px; color: #27476d;
}

.btn {
  height: 40px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 20px; font-size: 14px; font-weight: 600; border: 1px solid transparent; transition: .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-solid { color: #fff; background: linear-gradient(140deg, var(--accent) 0%, var(--accent-2) 100%); box-shadow: 0 14px 34px rgba(43, 123, 255, .42); letter-spacing: .35px; }
.btn-ghost { color: #2b4f7d; background: #fff; border-color: var(--line); }
.appstore-code-btn {
  width: 176px;
  height: 58px;
  border-radius: 14px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(180deg, #5ea8ff 0%, #2b7bff 100%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 22px rgba(43, 123, 255, 0.35);
  color: #fff;
}
.appstore-code-btn-lg { width: 192px; height: 64px; border-radius: 16px; }
.appstore-icon { width: 28px; height: 28px; display: inline-flex; flex: 0 0 auto; }
.appstore-icon svg { width: 100%; height: 100%; }
.appstore-text { display: grid; gap: 1px; text-align: left; line-height: 1; }
.appstore-overline { font-size: 11px; font-weight: 500; opacity: 0.95; }
.appstore-title { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.mobile-menu {
  width: 100%;
  position: absolute;
  top: 74px;
  left: 0;
  right: 0;
  z-index: 40;
  border-radius: 24px;
  border: 1px solid rgba(117, 164, 228, 0.36);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 44px rgba(41, 85, 141, 0.16);
  padding: 10px;
  display: grid;
  gap: 8px;
  opacity: 0;
  transform: translateY(-10px);
  max-height: 0;
  overflow: hidden;
  transition: opacity .22s ease, transform .22s ease, max-height .24s ease;
  pointer-events: none;
}
.mobile-menu a {
  min-height: 42px;
  border-radius: 14px;
  border: 1px solid #d8e8fb;
  background: #fff;
  color: #355273;
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 500;
}
.mobile-menu a:hover { background: #f5f9ff; border-color: #bdd7fa; }
.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  max-height: 360px;
  pointer-events: auto;
}

.hero { padding-top: 70px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.hero-copy h1 { margin: 0; font-size: clamp(44px, 5vw, 60px); line-height: 1.25; font-weight: 500; letter-spacing: -.02em; max-width: 11em; }
.hero-desc { margin: 24px 0 0; font-size: 20px; line-height: 1.62; color: #405877; max-width: 640px; }
.hero-cta-row { margin-top: 26px; display: flex; gap: 12px; }

.hero-mini-cards { margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mini-card {
  background: var(--card); border: 1px solid rgba(203, 222, 247, 0.9); border-radius: 30px; padding: 20px;
  box-shadow: 0 20px 32px rgba(44, 89, 146, .08);
}
.mini-top { display: flex; align-items: center; justify-content: space-between; color: #6c89af; font-size: 12px; letter-spacing: .1em; }
.feature-item .mini-top span { display: inline-flex; align-items: center; justify-content: center; color: #4d77ad; }
.feature-icon { width: 16px; height: 16px; }
.mini-card h3 { margin: 12px 0 0; font-size: 17px; line-height: 1.4; font-weight: 600; }
.mini-card p { margin: 10px 0 0; color: #587091; font-size: 14px; line-height: 1.7; }

.hero-visual { display: flex; justify-content: center; }
.phone-frame {
  width: min(320px, 100%);
}
.hero-shot {
  display: block;
  width: 100%;
  max-height: min(62vh, 640px);
  height: auto;
  object-fit: contain;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.phone-head { height: 22px; width: 120px; border-radius: 12px; margin: 8px auto 12px; background: #dbeafe; }
.phone-content { border-radius: 36px; background: #fff; padding: 16px; border: 1px solid #d9e8fb; }
.metric { padding: 14px; border-radius: 16px; background: #f5f9ff; border: 1px solid #dbe9fc; }
.metric span { display: block; color: #6283ad; font-size: 13px; }
.metric strong { display: block; margin-top: 8px; font-size: 25px; font-weight: 600; letter-spacing: -.02em; }
.metric-grid { margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.metric-grid > div { border-radius: 14px; border: 1px solid #dce8fa; padding: 11px; }
.metric-grid span { color: #6b89ad; font-size: 12px; }
.metric-grid strong { display: block; margin-top: 4px; font-size: 14px; }

.features-layout { margin-top: 34px; display: grid; grid-template-columns: 1fr .95fr; gap: 24px; align-items: start; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.feature-item { border-radius: 30px; padding: 20px; border: 1px solid #cfe1fa; background: var(--card); box-shadow: 0 16px 24px rgba(48, 96, 156, .06); }
.feature-item h3 { margin: 10px 0 0; font-size: 18px; line-height: 1.4; font-weight: 600; }
.feature-item p { margin: 8px 0 0; color: #577295; font-size: 15px; line-height: 1.68; }
.feature-showcase {
  position: sticky; top: 108px; min-height: 620px; border: 1px solid #cfe1fa; border-radius: 34px;
  background: linear-gradient(180deg, #fafdff 0%, #eff6ff 100%); box-shadow: inset 0 0 80px rgba(116, 165, 238, .12);
}
.showbox { position: absolute; border: 1px solid #cfe1fb; border-radius: 30px; background: #fff; box-shadow: 0 20px 36px rgba(50, 99, 160, .14); }
.showbox.big { width: 350px; height: 420px; right: 34px; top: 100px; }
.showbox.mid { width: 180px; height: 320px; left: 36px; top: 210px; }
.showbox.small { width: 160px; height: 280px; right: 20px; top: 300px; }

.detail-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.detail-card {
  border-radius: 30px;
  background: var(--card);
  border: 1px solid #cde1fb;
  padding: 22px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.detail-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2b7bff;
  background: #f3f8ff;
  border: 1px solid #d7e8ff;
}
.detail-icon svg { width: 20px; height: 20px; }
.detail-card h3 {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0 10px;
  font-size: 18px;
  font-weight: 600;
}
.detail-card p {
  flex-basis: 100%;
  margin: 12px 0 0;
  color: #587091;
  font-size: 15px;
  line-height: 1.7;
}

.cta-box {
  border: 1px solid #c9ddfb; border-radius: 34px; text-align: center;
  background: linear-gradient(180deg, #f8fcff 0%, #ecf5ff 100%);
  padding: 58px 24px;
}
.cta-box h2 { margin: 0; font-size: clamp(34px, 5vw, 48px); font-weight: 500; }
.cta-box p { margin: 12px auto 20px; max-width: 680px; color: #516b8c; font-size: 18px; line-height: 1.65; }

.review-grid { margin-top: 30px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.review {
  margin: 0; padding: 18px 20px; border-radius: 20px; border: 1px solid #cfdef2; background: #fff;
  box-shadow: 0 12px 24px rgba(63, 104, 154, .07);
}
.stars { color: #2b7bff; font-size: 13px; letter-spacing: .1em; }
.review blockquote { margin: 12px 0 0; font-size: 14px; line-height: 1.72; color: #2c4567; }
.review figcaption { margin-top: 10px; font-size: 13px; color: #6b87aa; }

.pricing-grid {
  margin: 20px auto 0;
  max-width: 760px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
#pricing .eyebrow,
#pricing .section-title,
#pricing .section-desc {
  text-align: center;
}
#pricing .eyebrow {
  display: flex;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
#pricing .section-desc {
  margin-left: auto;
  margin-right: auto;
}
.price-card {
  position: relative;
  border-radius: 26px; background: #fff; border: 1px solid #cfe2fc; padding: 22px;
  box-shadow: 0 16px 24px rgba(50, 98, 159, .08);
}
.price-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-title { display: inline-flex; align-items: center; gap: 10px; }
.plan-logo { width: 30px; height: 30px; border-radius: 9px; display: block; }
.price-card h3 { margin: 0; font-size: 20px; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
.price { margin: 18px 0 10px; font-size: 42px; line-height: 1; font-weight: 700; letter-spacing: -.03em; }
.price span { font-size: 16px; color: #6985ab; font-weight: 500; margin-right: 3px; }
.price-card p { color: #546e90; }
.price-card ul { margin: 14px 0 18px; padding-left: 18px; color: #2e4c70; line-height: 1.8; }
.price-card.featured { border-color: #94bdff; background: linear-gradient(180deg, #f9fcff 0%, #edf5ff 100%); }
.price-card .badge {
  position: static; display: inline-block;
  background: #2b7bff; color: #fff; padding: 5px 10px; border-radius: 999px; font-size: 12px;
}

.faq-grid {
  margin-top: 28px;
  column-count: 3;
  column-gap: 14px;
}
.faq-grid article {
  display: inline-block;
  width: 100%;
  margin: 0 0 14px;
  break-inside: avoid;
  border-radius: 20px;
  border: 1px solid #cfe0f8;
  background: #fff;
  padding: 16px 18px;
  height: auto;
}
.faq-grid h3 { margin: 0; font-size: 16px; line-height: 1.5; display: flex; align-items: center; gap: 8px; }
.faq-q-icon {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #2b7bff;
  background: #f3f8ff;
  border: 1px solid #d7e8ff;
  flex: 0 0 auto;
}
.faq-q-icon svg { width: 13px; height: 13px; }
.faq-grid p { margin: 8px 0 0; color: #557091; font-size: 14px; line-height: 1.8; }

.footer { margin-top: 80px; padding-bottom: 56px; }
.footer-card {
  width: 100%;
  margin: 0 auto;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(117, 164, 228, .34);
  border-radius: 40px;
  box-shadow: 0 24px 58px rgba(41, 85, 141, 0.14);
  padding: 48px 40px 24px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1fr 350px 380px;
  grid-template-areas: "left social qr";
  gap: 36px;
  align-items: center;
}
.footer-left { display: grid; gap: 30px; }
.footer-left { grid-area: left; }
.footer-brand-col .logo { font-size: 20px; }
.footer-brand-col .logo-mark { width: 48px; height: 48px; border-radius: 12px; }
.footer-brand-wrap { display: inline-flex; align-items: flex-start; gap: 12px; }
.footer-brand-text { display: grid; gap: 4px; line-height: 1.2; text-align: left; }
.footer-brand-text > span { display: block; }
.footer-brand-text > span:first-child { font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.footer-tag { color: #5f7c9f; margin: 0; max-width: 320px; line-height: 1.55; font-size: 13px; font-weight: 400; }
.footer-inline-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-inline-links a { color: #4d678a; font-size: 15px; line-height: 1.5; }
.footer-inline-links a:hover { color: #27507f; }
.footer-social {
  display: block;
  padding: 0;
  align-self: center;
  justify-self: center;
  grid-area: social;
}
.social-grid {
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-set {
  display: none;
  align-items: center;
  gap: 10px;
}
.social-set-global {
  display: inline-flex;
}
.social-link {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid #d8e8fb;
  background: #fff;
  color: #2f4f74;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: .18s ease;
}
.social-link:hover {
  border-color: #9ec1f2;
  background: #f7fbff;
  transform: translateY(-1px);
}
.social-link img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.social-link[data-social="wechat"] > img,
.social-link[data-social="weibo"] > img,
.social-link[data-social="x"] > img,
.social-link[data-social="telegram"] > img,
.social-link[data-social="xiaohongshu"] > img,
.social-link[data-social="zhihu"] > img {
  filter: brightness(0) saturate(100%);
}

html[lang="zh-Hans"] .social-set-cn,
body[data-lang="zh-Hans"] .social-set-cn {
  display: inline-flex;
}

html[lang="zh-Hans"] .social-set-global,
body[data-lang="zh-Hans"] .social-set-global,
html[lang="zh-Hant"] .social-set-global,
body[data-lang="zh-Hant"] .social-set-global {
  display: none;
}

html[lang="zh-Hant"] .social-set-hant,
body[data-lang="zh-Hant"] .social-set-hant {
  display: inline-flex;
}
.qr-box {
  grid-area: qr;
  border: 1px solid #c9dcf8;
  border-radius: 24px;
  padding: 18px;
  background: #fff;
  width: 100%;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  align-items: center;
}
.fake-qr {
  width: 88px; height: 88px; border-radius: 8px;
  background: conic-gradient(from 90deg, #2b7bff 0 25%, #fff 0 50%, #78adff 0 75%, #fff 0 100%);
  border: 8px solid #f0f6ff;
}
.qr-copy h4 { margin: 0; font-size: 24px; line-height: 1.2; }
.qr-box p { margin: 6px 0 0; color: #557193; font-size: 14px; line-height: 1.6; }
.footer-bottom { margin-top: 26px; border-top: 1px solid #d5e4f9; min-height: 62px; display: flex; align-items: center; justify-content: space-between; color: #6f89a9; font-size: 12px; padding-top: 14px; }
.lang-links { display: flex; gap: 10px; flex-wrap: wrap; }
.lang-pill {
  height: 32px;
  border-radius: 999px;
  border: 1px solid #c5daf8;
  background: #fff;
  color: #527099;
  font: inherit;
  font-size: 13px;
  padding: 0 14px;
  cursor: pointer;
  transition: .18s ease;
}
.lang-pill:hover { border-color: #9ec1f2; color: #2b5381; transform: translateY(-1px); }
.lang-pill.active {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(140deg, var(--accent) 0%, var(--accent-2) 100%);
  box-shadow: 0 10px 20px rgba(43, 123, 255, .28);
}

:root[data-theme="dark"] .top-pill,
:root[data-theme="dark"] .mini-card,
:root[data-theme="dark"] .feature-item,
:root[data-theme="dark"] .detail-card,
:root[data-theme="dark"] .review,
:root[data-theme="dark"] .faq-grid article,
:root[data-theme="dark"] .price-card,
:root[data-theme="dark"] .footer-card,
:root[data-theme="dark"] .cta-box,
:root[data-theme="dark"] .phone-content,
:root[data-theme="dark"] .metric,
:root[data-theme="dark"] .metric-grid > div,
:root[data-theme="dark"] .mode-btn,
:root[data-theme="dark"] .menu-btn,
:root[data-theme="dark"] .btn-ghost,
:root[data-theme="dark"] .feature-showcase,
:root[data-theme="dark"] .qr-box,
:root[data-theme="dark"] .footer-social {
  background: rgba(17, 29, 46, 0.9);
  border-color: #314762;
  box-shadow: none;
}

:root[data-theme="dark"] .hero-shot { border: 0; background: transparent; box-shadow: none; }
:root[data-theme="dark"] .detail-icon {
  color: #6ab3ff;
  background: #13263f;
  border-color: #314762;
}
:root[data-theme="dark"] .faq-q-icon {
  color: #6ab3ff;
  background: #13263f;
  border-color: #314762;
}

:root[data-theme="dark"] .btn-ghost {
  color: #c6d8f3;
}

:root[data-theme="dark"] .desktop-nav,
:root[data-theme="dark"] .footer-inline-links a,
:root[data-theme="dark"] .section-desc,
:root[data-theme="dark"] .hero-desc,
:root[data-theme="dark"] .mini-card p,
:root[data-theme="dark"] .feature-item p,
:root[data-theme="dark"] .detail-card p,
:root[data-theme="dark"] .review blockquote,
:root[data-theme="dark"] .review figcaption,
:root[data-theme="dark"] .faq-grid p,
:root[data-theme="dark"] .price-card p,
:root[data-theme="dark"] .price span,
:root[data-theme="dark"] .footer-tag,
:root[data-theme="dark"] .qr-box p,
:root[data-theme="dark"] .footer-bottom,
:root[data-theme="dark"] .social-link,
:root[data-theme="dark"] .metric span,
:root[data-theme="dark"] .metric-grid span,
:root[data-theme="dark"] .eyebrow {
  color: #9fb5d4;
}

:root[data-theme="dark"] .desktop-nav a:hover,
:root[data-theme="dark"] .footer-inline-links a:hover {
  color: #d7e6ff;
}

:root[data-theme="dark"] .lang-pill {
  background: #13253c;
  border-color: #314762;
  color: #a9bdd8;
}

:root[data-theme="dark"] .lang-pill:hover {
  border-color: #486489;
  color: #d7e6ff;
}

:root[data-theme="dark"] .lang-pill.active {
  border-color: transparent;
  color: #fff;
}

:root[data-theme="dark"] .eyebrow {
  background: #13253c;
  border-color: #314762;
  color: #a9bdd8;
}

:root[data-theme="dark"] .showbox {
  background: #13233a;
  border-color: #314762;
  box-shadow: 0 16px 28px rgba(4, 10, 18, 0.45);
}

:root[data-theme="dark"] .fake-qr {
  border-color: #20344f;
}

:root[data-theme="dark"] .footer-bottom {
  border-top-color: #2f455f;
}

:root[data-theme="dark"] .mobile-menu {
  background: rgba(17, 29, 46, 0.95);
  border-color: #314762;
  box-shadow: 0 20px 40px rgba(4, 10, 18, 0.5);
}

:root[data-theme="dark"] .mobile-menu a {
  background: #13253c;
  border-color: #314762;
  color: #cfe0f8;
}

:root[data-theme="dark"] .mobile-menu a:hover {
  background: #1a304a;
  border-color: #486489;
}

:root[data-theme="dark"] .social-link {
  background: #13253c;
  border-color: #314762;
}

:root[data-theme="dark"] .social-link:hover {
  background: #1a304a;
  border-color: #486489;
}

:root[data-theme="dark"] .social-link[data-social="wechat"] > img,
:root[data-theme="dark"] .social-link[data-social="weibo"] > img,
:root[data-theme="dark"] .social-link[data-social="x"] > img,
:root[data-theme="dark"] .social-link[data-social="telegram"] > img,
:root[data-theme="dark"] .social-link[data-social="xiaohongshu"] > img,
:root[data-theme="dark"] .social-link[data-social="zhihu"] > img {
  filter: brightness(0) invert(1);
}

@media (max-width: 1120px) {
  .hero-grid, .features-layout { grid-template-columns: 1fr; }
  .phone-frame { width: min(300px, 100%); }
  .hero-shot { max-height: 560px; border-radius: 0; }
  .feature-showcase { position: relative; top: auto; min-height: 440px; }
}

@media (max-width: 960px) {
  html, body { overflow-x: clip; }
  .container { width: min(var(--content-w), calc(100% - 36px)); }
  .topbar .container,
  .footer .container {
    width: min(var(--content-w), calc(100% - 36px));
    margin-left: auto;
    margin-right: auto;
  }
  .desktop-nav { display: none; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .pill-right .btn { display: none; }
  .section { padding: 74px 0; }
  .hero-mini-cards, .feature-list, .detail-grid, .pricing-grid, .review-grid, .faq-grid { grid-template-columns: 1fr; }
  .footer-main {
    grid-template-columns: 1fr;
    grid-template-areas:
      "left"
      "social"
      "qr";
    gap: 22px;
  }
  html[lang="zh-Hans"] .footer-main,
  html[lang="zh-Hant"] .footer-main,
  html[lang^="zh"] .footer-main,
  body[data-lang="zh-Hans"] .footer-main,
  body[data-lang="zh-Hant"] .footer-main {
    grid-template-columns: 1fr;
    grid-template-areas:
      "left"
      "social"
      "qr";
  }
  .footer-social {
    width: 100%;
    justify-self: stretch;
    align-self: stretch;
  }
  .social-grid {
    justify-content: center;
    flex-wrap: nowrap;
  }
  .social-link { flex: 0 0 auto; }
  .faq-grid {
    column-count: 1;
    column-gap: 0;
    display: grid;
    gap: 14px;
  }
  .faq-grid article { display: block; margin: 0; }
  .footer-main, .footer-bottom { grid-template-columns: 1fr; display: grid; align-items: start; }
}

@media (min-width: 961px) {
  #pricing .pricing-grid {
    grid-template-columns: 1.08fr 0.92fr;
  }
}

@media (max-width: 640px) {
  .topbar { padding-top: 12px; }
  .top-pill { padding: 8px 12px; border-radius: 20px; }
  .mode-btn { display: none; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  #lang-switcher { width: 118px; height: 36px; }
  .hero-copy h1 { font-size: 38px; }
  .hero-desc { font-size: 17px; }
  .section-desc { font-size: 16px; }
  .phone-frame { width: min(270px, 100%); }
  .hero-shot { max-height: 460px; border-radius: 0; }
  .price-card h3 { font-size: 18px; }
  .footer-card { border-radius: 24px; padding: 24px 16px 14px; }
}

@media (min-width: 961px) {
  .mobile-menu { display: none; }
}

.legal-page {
  background:
    radial-gradient(1200px 600px at 95% -12%, #ddecff 10%, transparent 60%),
    radial-gradient(900px 500px at 0% 24%, #e9f3ff 0%, transparent 55%),
    linear-gradient(180deg, #f4f9ff 0%, #edf4ff 100%);
}

.legal-main .section {
  padding-top: 72px;
}

.legal-wrap {
  max-width: 980px;
}

.legal-title {
  margin: 8px 0 0;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.legal-head-row {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.legal-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.legal-meta .eyebrow {
  margin: 0;
}

.legal-lang-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.legal-lang-links .lang-pill {
  height: 28px;
  font-size: 12px;
  padding: 0 10px;
}

.legal-updated {
  margin: 0;
  color: #5f7ea5;
  font-size: 14px;
}

.legal-article {
  margin-top: 28px;
  border: 1px solid #cfe1fb;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  padding: 34px 30px;
  box-shadow: 0 22px 40px rgba(58, 103, 166, 0.1);
}

.legal-article h2 {
  margin: 26px 0 10px;
  font-size: 24px;
  line-height: 1.3;
}

.legal-article p,
.legal-article li {
  margin: 0;
  color: #3f5b80;
  font-size: 17px;
  line-height: 1.85;
}

.legal-article p + p,
.legal-article p + ul,
.legal-article ul + p {
  margin-top: 12px;
}

.legal-article ul {
  margin: 10px 0 0;
  padding-left: 24px;
}

:root[data-theme="dark"] .legal-page {
  background:
    radial-gradient(1200px 600px at 95% -12%, #1e3558 5%, transparent 60%),
    radial-gradient(900px 500px at 0% 24%, #162843 0%, transparent 55%),
    linear-gradient(180deg, #0a1220 0%, #070d18 100%);
}

:root[data-theme="dark"] .legal-updated {
  color: #9fb5d4;
}

:root[data-theme="dark"] .legal-article {
  background: rgba(17, 29, 46, 0.9);
  border-color: #314762;
  box-shadow: none;
}

:root[data-theme="dark"] .legal-article p,
:root[data-theme="dark"] .legal-article li {
  color: #b9cae5;
}

.social-link[data-social="wechat"] {
  position: relative;
}

.wechat-popover {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  width: 220px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid #cfe1fb;
  background: #fff;
  box-shadow: 0 14px 30px rgba(20, 49, 88, 0.22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
  z-index: 12;
}

.wechat-popover.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-2px);
}

.wechat-popover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

:root[data-theme="dark"] .wechat-popover {
  background: #122239;
  border-color: #314762;
  box-shadow: 0 16px 30px rgba(2, 7, 14, 0.48);
}

@media (max-width: 960px) {
  .legal-head-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .legal-meta {
    width: 100%;
  }

  .legal-lang-links {
    justify-content: flex-start;
  }

  .legal-article {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .legal-article h2 {
    font-size: 20px;
  }

  .legal-article p,
  .legal-article li {
    font-size: 16px;
    line-height: 1.8;
  }

  .wechat-popover {
    width: 180px;
    bottom: calc(100% + 8px);
  }
}
