:root {
  --ink: #12261c;
  --ink-soft: #4a6355;
  --forest: #1b3f2e;
  --forest-deep: #10281d;
  --leaf: #3f8f66;
  --leaf-bright: #62c48f;
  --mist: #edf5ef;
  --cream: #f5faf6;
  --amber: #d97706;
  --line: rgba(18, 38, 28, 0.1);
  --white: #fff;
  --shadow: 0 28px 60px rgba(16, 40, 29, 0.18);
  --max: 1120px;
  --nav-h: 72px;
  --font-display: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; }
.container { width: min(100% - 2.4rem, var(--max)); margin-inline: auto; }

.page-bg {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 10% -10%, rgba(98, 196, 143, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 10%, rgba(217, 119, 6, 0.08), transparent 50%),
    linear-gradient(180deg, #f7fcf8 0%, #eef6f0 40%, #f5faf6 100%);
}

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.is-scrolled {
  background: rgba(245, 250, 246, 0.86);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; z-index: 2; }
.brand__mark { width: 40px; height: 40px; border-radius: 12px; }
.brand__name { font-family: var(--font-display); font-size: 1.55rem; letter-spacing: .04em; }
.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__links a { color: var(--ink-soft); font-size: .95rem; }
.nav__links a:hover { color: var(--forest); }
.nav__cta {
  padding: .65rem 1.15rem !important; border-radius: 999px;
  background: var(--forest); color: var(--white) !important; font-weight: 600;
}
.nav-toggle {
  display: none; width: 44px; height: 44px; place-items: center;
  border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.6);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--forest); border-radius: 2px; position: relative;
}
.nav-toggle span::before { content: ""; position: absolute; top: -6px; }
.nav-toggle span::after { content: ""; position: absolute; top: 6px; }

.hero {
  min-height: 100svh; padding: calc(var(--nav-h) + 2.8rem) 0 4.5rem;
  display: grid; align-items: center; position: relative; overflow: hidden;
}
.hero__glow {
  position: absolute; width: 48vw; height: 48vw; right: -8%; top: 8%;
  background: radial-gradient(circle, rgba(63,143,102,.22), transparent 68%);
  filter: blur(10px); z-index: -1; pointer-events: none;
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero__eyebrow {
  display: inline-block; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--leaf); font-weight: 700; margin-bottom: .85rem;
}
.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 9vw, 6.8rem);
  line-height: .95; letter-spacing: .06em; margin-bottom: 1rem;
  animation: rise .8s ease both;
}
.hero__title {
  font-size: clamp(1.2rem, 2.3vw, 1.6rem); font-weight: 650; color: var(--forest);
  margin-bottom: .85rem; animation: rise .8s ease .12s both;
}
.hero__desc {
  color: var(--ink-soft); max-width: 28em; margin-bottom: 1.6rem;
  font-size: clamp(.98rem, 1.5vw, 1.08rem); animation: rise .8s ease .22s both;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.25rem; animation: rise .8s ease .32s both; }
.hero__chips { display: flex; flex-wrap: wrap; gap: .5rem; animation: rise .8s ease .42s both; }
.hero__chips span {
  font-size: .78rem; color: var(--forest); background: rgba(63,143,102,.12);
  border: 1px solid rgba(63,143,102,.18); padding: .35rem .7rem; border-radius: 999px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 52px; padding: .85rem 1.35rem; border-radius: 14px; font-weight: 650; font-size: .98rem;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn svg { width: 20px; height: 20px; }
.btn--primary { background: var(--forest); color: var(--white); box-shadow: 0 14px 30px rgba(27,63,46,.28); }
.btn--primary:hover { background: #24553d; transform: translateY(-2px); }
.btn--amber { background: var(--amber); color: var(--white); box-shadow: 0 14px 30px rgba(217,119,6,.28); }
.btn--ghost {
  background: rgba(255,255,255,.55); color: var(--forest);
  border: 1px solid rgba(27,63,46,.16); backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: var(--white); transform: translateY(-2px); }

.hero__visual { display: grid; place-items: center; animation: float-in 1s ease .2s both; }
.phone {
  width: min(100%, 286px); aspect-ratio: 9/19; border-radius: 38px;
  background: linear-gradient(160deg, #234f39, #0f2419);
  padding: 11px; box-shadow: var(--shadow); transform: rotate(-3.5deg);
}
.phone__bezel { height: 100%; border-radius: 30px; overflow: hidden; background: #0d2419; }
.phone__notch { width: 36%; height: 16px; margin: 10px auto 0; background: #0d2419; border-radius: 999px; position: relative; z-index: 2; }
.phone__screen {
  margin-top: -8px; height: calc(100% - 8px); padding: .7rem .8rem 1rem;
  background: linear-gradient(180deg, #e7f6eb 0%, #cfe9d6 42%, #a9d8b8 100%);
  display: flex; flex-direction: column; gap: .55rem;
}
.phone__bar { display: flex; justify-content: space-between; font-size: .65rem; font-weight: 700; color: var(--forest-deep); }
.phone__search {
  height: 32px; border-radius: 999px; background: rgba(255,255,255,.85);
  border: 1px solid rgba(45,106,79,.18); display: flex; align-items: center;
  padding: 0 .8rem; font-size: .66rem; color: #6b8576;
}
.phone__tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; }
.phone__tiles div {
  aspect-ratio: 1; border-radius: 13px; background: rgba(255,255,255,.78);
  display: grid; place-items: center; align-content: center; text-align: center;
  font-size: .56rem; color: var(--forest); line-height: 1.2; padding: .2rem;
  box-shadow: 0 4px 10px rgba(13,36,25,.06);
}
.phone__tiles i { width: 16px; height: 16px; border-radius: 5px; background: var(--leaf-bright); margin-bottom: .15rem; display: block; }
.phone__tiles i.o { background: var(--amber); }
.phone__tiles i.g { background: #2d6a4f; }
.phone__tiles i.t { background: #40916c; }
.phone__feed {
  flex: 1; border-radius: 16px; background: rgba(255,255,255,.88); padding: .7rem;
  box-shadow: 0 8px 18px rgba(13,36,25,.08);
}
.phone__feed-title { font-size: .72rem; font-weight: 700; margin-bottom: .45rem; }
.phone__row { display: flex; gap: .45rem; margin-bottom: .4rem; }
.phone__row span {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, #74c69d, #2d6a4f);
}
.phone__row span.a { background: linear-gradient(135deg, #95d5b2, #1b4332); }
.phone__row span.b { background: linear-gradient(135deg, #b7e4c7, #2d6a4f); }
.phone__row b { display: block; font-size: .66rem; }
.phone__row small { font-size: .58rem; color: var(--ink-soft); }

.section { padding: clamp(4rem, 8vw, 6.2rem) 0; }
.section--dark { background: var(--forest-deep); color: var(--cream); }
.section__head { max-width: 34rem; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.section__eyebrow {
  display: inline-block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--leaf); font-weight: 700; margin-bottom: .55rem;
}
.section--dark .section__eyebrow { color: var(--leaf-bright); }
.section__title {
  font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.7rem);
  letter-spacing: .04em; line-height: 1.2; margin-bottom: .65rem;
}
.section__desc { color: var(--ink-soft); }
.section--dark .section__desc { color: rgba(245,250,246,.7); }

.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem 1.35rem;
}
.feature {
  padding: 1.35rem 1.15rem 1.45rem;
  border-radius: 18px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(27,63,46,.08);
  transition: transform .25s, box-shadow .25s, background .25s;
}
.feature:hover {
  transform: translateY(-4px);
  background: var(--white);
  box-shadow: 0 18px 36px rgba(16,40,29,.1);
}
.feature__icon {
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: .9rem;
  display: grid; place-items: center; background: rgba(63,143,102,.12); color: var(--forest);
}
.feature__icon svg { width: 22px; height: 22px; }
.feature__title { font-size: 1.08rem; font-weight: 700; margin-bottom: .35rem; }
.feature__text { font-size: .93rem; color: var(--ink-soft); }

.scene {
  position: relative; padding: clamp(4.2rem, 8vw, 6.5rem) 0; overflow: hidden;
  background: linear-gradient(135deg, #1b3f2e, #143024 55%, #0f2419);
  color: var(--cream);
}
.scene__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: center; }
.scene__title {
  font-family: var(--font-display); font-size: clamp(2rem, 4.2vw, 3rem);
  letter-spacing: .04em; line-height: 1.2; margin-bottom: .9rem;
}
.scene__text { color: rgba(245,250,246,.72); max-width: 30em; margin-bottom: 1.5rem; }
.scene__stats { display: grid; grid-template-columns: repeat(3, auto); gap: 1.2rem 1.8rem; justify-content: start; }
.scene__stats dt {
  font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--leaf-bright); line-height: 1;
}
.scene__stats dd { font-size: .86rem; color: rgba(245,250,246,.58); margin-top: .3rem; }
.scene__art {
  border-radius: 24px; overflow: hidden; height: min(340px, 52vw);
  box-shadow: 0 28px 50px rgba(0,0,0,.28); background: #163528;
}
.scene__art img { width: 100%; height: 100%; object-fit: cover; }

.download {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
}
.platform-grid { display: grid; gap: .8rem; margin-top: 1.4rem; }
.platform {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border-radius: 16px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  transition: background .2s, transform .2s, border-color .2s;
}
.platform:hover { background: rgba(255,255,255,.1); border-color: rgba(98,196,143,.45); transform: translateX(4px); }
.platform__icon {
  width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.1);
  display: grid; place-items: center; flex-shrink: 0;
}
.platform__icon svg { width: 22px; height: 22px; }
.platform__meta { flex: 1; min-width: 0; }
.platform__meta span { display: block; font-size: .76rem; color: rgba(245,250,246,.55); }
.platform__meta strong { font-size: 1.02rem; }
.platform__action { color: var(--leaf-bright); font-size: .85rem; white-space: nowrap; }
.qr-box {
  justify-self: center; width: min(100%, 280px); padding: 1.35rem; border-radius: 22px;
  background: var(--white); color: var(--ink); text-align: center; box-shadow: var(--shadow);
}
.qr-box__canvas {
  width: 168px; height: 168px; margin: 0 auto 1rem; border-radius: 14px;
  background:
    linear-gradient(90deg, #1b3f2e 25%, transparent 25%) 0 0 / 18px 18px,
    linear-gradient(#1b3f2e 25%, transparent 25%) 0 0 / 18px 18px,
    #e8f2eb;
}
.qr-box h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.qr-box p { font-size: .88rem; color: var(--ink-soft); }

.faqs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.faq {
  padding: 1.25rem 1.3rem; border-radius: 16px; background: rgba(255,255,255,.7);
  border: 1px solid var(--line);
}
.faq h3 { font-size: 1.02rem; margin-bottom: .4rem; }
.faq p { font-size: .92rem; color: var(--ink-soft); }

.site-footer {
  padding: 2.3rem 0 calc(2rem + env(safe-area-inset-bottom));
  background: #0b1c14; color: rgba(245,250,246,.62); font-size: .88rem;
}
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.footer__brand {
  display: inline-flex; align-items: center; gap: .55rem; color: var(--cream);
  font-family: var(--font-display); font-size: 1.2rem; letter-spacing: .04em;
}
.footer__links { display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; }
.footer__copy {
  padding-top: 1.1rem; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem;
}

.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom));
  background: rgba(11,28,20,.94); backdrop-filter: blur(12px);
}
.mobile-bar .btn { width: 100%; min-height: 48px; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes float-in {
  from { opacity: 0; transform: translateY(24px) scale(.97); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 960px) {
  .hero__grid, .scene__inner, .download { grid-template-columns: 1fr; }
  .hero__grid { text-align: center; }
  .hero__desc { margin-inline: auto; }
  .hero__actions, .hero__chips { justify-content: center; }
  .hero__visual { order: -1; }
  .phone { width: min(100%, 220px); transform: none; }
  .features { grid-template-columns: 1fr 1fr; }
  .qr-box { order: -1; }
  .scene__stats { width: 100%; grid-template-columns: repeat(3, 1fr); text-align: center; }
}
@media (max-width: 720px) {
  :root { --nav-h: 64px; }
  .container { width: min(100% - 1.4rem, var(--max)); }
  .nav-toggle { display: grid; }
  .nav__links {
    position: fixed; inset: 0; background: rgba(245,250,246,.97);
    flex-direction: column; justify-content: center; gap: 1.4rem;
    opacity: 0; visibility: hidden; pointer-events: none; transition: .25s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
  .nav__links a { font-size: 1.15rem; }
  .hero { min-height: auto; padding-bottom: 5.5rem; }
  .features, .faqs { grid-template-columns: 1fr; }
  .mobile-bar { display: block; }
  .site-footer { padding-bottom: calc(5rem + env(safe-area-inset-bottom)); }
}
@media (max-width: 380px) {
  .hero__actions { flex-direction: column; }
  .btn { width: 100%; }
}
