
:root {
  --forest: #073f30;
  --forest-deep: #032c23;
  --green: #12664b;
  --mint: #dcece3;
  --paper: #f5f1e6;
  --amber: #f2a51a;
  --ink: #17372d;
  --muted: #62756e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
}
a { color: inherit; text-decoration: none; }

.hero {
  min-height: 100vh;
  color: #fffdf6;
  background:
    radial-gradient(circle at 85% 12%, rgba(242,165,26,.2), transparent 24rem),
    linear-gradient(145deg, var(--forest-deep), var(--forest));
  overflow: hidden;
}
.nav, .heroGrid, .principles, .install, footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}
.nav {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.brand { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 800; letter-spacing: .12em; }
.brand img { width: 46px; height: 46px; border-radius: 13px; }
.beta { padding: 8px 13px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: #dcece3; font-size: 13px; }
.heroGrid {
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr);
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
  padding: 64px 0 80px;
}
.eyebrow { margin: 0 0 14px; color: var(--amber); font-size: 13px; font-weight: 800; letter-spacing: .22em; }
h1 { max-width: 720px; margin: 0; font-size: clamp(44px, 6vw, 76px); line-height: 1.08; letter-spacing: -.045em; }
.lead { max-width: 660px; margin: 28px 0 0; color: #c7d8d1; font-size: 18px; line-height: 1.9; }
.intentGrid {
  max-width: 710px;
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.intentCard {
  min-height: 84px;
  padding: 14px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 11px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  background: rgba(255,255,255,.07);
}
.intentCard > span { color: var(--amber); font-size: 11px; font-weight: 900; }
.intentCard > div { display: grid; gap: 4px; }
.intentCard strong { color: #fff; font-size: 15px; }
.intentCard small { color: #a9c0b7; font-size: 11px; line-height: 1.45; }
.intentCard > b { color: var(--amber); font-size: 20px; }
.deviceEntry {
  max-width: 710px;
  margin-top: 32px;
  display: grid;
  gap: 10px;
}
.deviceHint {
  color: #d9e8e1;
  font-size: 13px;
  line-height: 1.65;
}
.smartDownload {
  min-height: 72px;
  padding: 14px 18px;
  display: grid;
  place-content: center;
  gap: 4px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 17px;
  color: var(--forest-deep);
  background: var(--amber);
  text-align: center;
  box-shadow: 0 15px 42px rgba(242,165,26,.24);
}
.smartDownload span { font-size: 17px; font-weight: 900; }
.smartDownload small { font-size: 11px; font-weight: 650; opacity: .72; }
.deviceSwitch { display: flex; gap: 8px; }
.deviceSwitch button {
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  color: #d9e8e1;
  background: rgba(255,255,255,.07);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.deviceSwitch button.active { border-color: var(--amber); color: #fff; background: rgba(242,165,26,.16); }
.scriptNotice { margin: 0; padding: 12px; color: #fff; background: #8e3c2f; text-align: center; }
.platformGrid {
  max-width: 710px;
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.platformCard {
  position: relative;
  padding: 18px;
  display: grid;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  transition: border-color .2s, background .2s;
}
.platformCard.recommended {
  border-color: rgba(242,165,26,.82);
  background: rgba(242,165,26,.12);
}
.platformCard.recommended::after {
  content: "适合当前设备";
  position: absolute;
  top: -10px;
  right: 14px;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--forest-deep);
  background: var(--amber);
  font-size: 10px;
  font-weight: 900;
}
.platformLabel { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.platformLabel span { color: var(--amber); font-size: 13px; font-weight: 900; }
.platformLabel b { color: #cfe0d8; font-size: 11px; }
.platformCard > strong { font-size: 17px; }
.platformCard > small { min-height: 32px; color: #aec5bc; line-height: 1.45; }
.download {
  min-width: 220px;
  padding: 14px 20px;
  display: grid;
  gap: 4px;
  border-radius: 14px;
  color: #1c2d26;
  background: var(--amber);
  border: 0;
  font: inherit;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 12px 35px rgba(242,165,26,.22);
  transition: transform .2s, box-shadow .2s;
}
.download:hover { transform: translateY(-2px); box-shadow: 0 16px 45px rgba(242,165,26,.3); }
.download span { font-size: 11px; font-weight: 600; opacity: .7; }
.download.disabled { cursor: not-allowed; opacity: .72; box-shadow: none; }
.download.disabled:hover { transform: none; box-shadow: none; }
.iosFallbacks { display: grid; gap: 6px; margin-top: 2px; }
.iosFallbacks a {
  padding: 7px 9px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 9px;
  color: #d8e7df;
  font-size: 11px;
  text-align: center;
}
.entryQr {
  max-width: 710px;
  margin-top: 14px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: rgba(255,255,255,.06);
}
.entryQr img { width: 76px; height: 76px; padding: 4px; border-radius: 10px; background: #fff; }
.entryQr div { display: grid; gap: 5px; }
.entryQr strong { color: #fff; font-size: 14px; }
.entryQr span { color: #aec5bc; font-size: 12px; line-height: 1.55; }

.poster { padding: 84px max(24px, calc((100vw - 1120px) / 2)); background: #f4f0e7; }
.posterGrid { width: min(920px, 100%); margin: 34px auto 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.posterGrid a { display: grid; overflow: hidden; border-radius: 28px; background: #fff; box-shadow: 0 28px 70px rgba(7,63,48,.18); }
.posterGrid img { display: block; width: 100%; height: auto; }
.posterGrid span { padding: 14px 18px 16px; color: var(--forest-deep); font-size: 14px; font-weight: 800; text-align: center; }
@media (max-width: 720px) { .posterGrid { grid-template-columns: 1fr; } }
.stageNotice {
  max-width: 680px;
  margin-top: 18px;
  padding: 14px 16px;
  display: grid;
  gap: 6px;
  border: 1px solid rgba(242,165,26,.55);
  border-radius: 14px;
  background: rgba(242,165,26,.12);
  color: #f8e4b6;
  font-size: 13px;
  line-height: 1.65;
}
.stageNotice strong { color: #ffd77a; font-size: 14px; }
.notice { max-width: 680px; color: #91aea3; font-size: 12px; line-height: 1.7; }

.phone {
  position: relative;
  min-height: 580px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 42px;
  background: #eef2e7;
  color: var(--ink);
  box-shadow: 0 40px 90px rgba(0,0,0,.28);
  transform: rotate(2deg);
}
.phone::before { content: ""; position: absolute; top: 10px; left: 50%; width: 90px; height: 7px; border-radius: 99px; background: #c4d0c8; transform: translateX(-50%); }
.phoneTop { display: flex; gap: 14px; align-items: center; margin: 18px 0 20px; }
.phoneTop img { width: 58px; height: 58px; border-radius: 17px; }
.phoneTop div { display: grid; gap: 5px; }
.phoneTop b { font-size: 24px; }
.phoneTop span { color: var(--muted); font-size: 13px; }
.mapCard {
  position: relative;
  height: 390px;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(35deg, transparent 47%, rgba(255,255,255,.8) 48% 52%, transparent 53%),
    linear-gradient(155deg, #c9dfc9, #e7e0b4);
}
.mapCard::before, .mapCard::after { content: ""; position: absolute; width: 260px; height: 180px; border-radius: 50%; background: rgba(30,114,77,.12); }
.mapCard::before { left: -90px; top: -60px; }
.mapCard::after { right: -90px; bottom: -40px; }
.trail { position: absolute; left: 15%; bottom: -25%; width: 75%; height: 115%; border: 10px solid rgba(255,255,255,.86); border-color: transparent transparent transparent rgba(255,255,255,.9); border-radius: 50%; transform: rotate(-20deg); }
.pin { position: absolute; z-index: 2; top: 77px; left: 50%; width: 34px; height: 34px; display: grid; place-items: center; color: #fff; background: var(--amber); border: 7px solid var(--forest); border-radius: 50% 50% 50% 0; transform: translateX(-50%) rotate(-45deg); font-size: 0; }
.firstCamp { position: absolute; z-index: 3; left: 22px; right: 22px; bottom: 22px; padding: 16px; display: grid; grid-template-columns: 62px 1fr; align-items: center; gap: 13px; border-radius: 20px; background: rgba(255,253,246,.94); box-shadow: 0 15px 40px rgba(25,60,45,.15); }
.campMark { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 18px; color: #fff; background: var(--forest); font-size: 30px; box-shadow: 0 5px 16px rgba(7,63,48,.2); }
.firstCamp div { display: grid; gap: 3px; }
.firstCamp span, .firstCamp small { color: var(--muted); }
.firstCamp strong { color: var(--forest); font-size: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips span { padding: 8px 11px; border-radius: 99px; background: #dce9df; color: var(--green); font-size: 12px; font-weight: 700; }

.useCases, .principles { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.useCases { padding: 115px 0 30px; }
.useCaseGrid { margin-top: 54px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.useCaseGrid article { padding: 34px; border: 1px solid #cbd6ce; border-radius: 26px; background: rgba(255,255,255,.42); }
.caseNumber { color: var(--amber); font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.useCaseGrid h3 { margin: 24px 0 12px; color: var(--forest); font-size: 26px; line-height: 1.35; }
.useCaseGrid > article > p { color: var(--muted); line-height: 1.8; }
.useCaseGrid ul { margin: 24px 0; padding: 0; display: grid; gap: 12px; list-style: none; }
.useCaseGrid li { padding-top: 12px; display: grid; gap: 4px; border-top: 1px solid #d8e0da; }
.useCaseGrid li b { color: var(--forest); font-size: 14px; }
.useCaseGrid li span { color: var(--muted); font-size: 13px; }
.useCaseGrid a { color: var(--green); font-size: 14px; font-weight: 900; }
.principles { padding: 100px 0; }
.sectionTitle { max-width: 780px; }
h2 { margin: 0; color: var(--forest); font-size: clamp(36px, 5vw, 58px); line-height: 1.15; letter-spacing: -.035em; }
.sectionTitle > p:last-child { color: var(--muted); font-size: 17px; line-height: 1.9; }
.featureGrid { margin-top: 62px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #cbd6ce; }
.featureGrid article { min-height: 250px; padding: 28px 30px 20px 0; border-right: 1px solid #cbd6ce; }
.featureGrid article + article { padding-left: 30px; }
.featureGrid article:last-child { border-right: 0; }
.featureGrid article > span { color: var(--amber); font-size: 13px; font-weight: 800; }
.featureGrid h3 { margin: 42px 0 12px; color: var(--forest); font-size: 23px; }
.featureGrid p { margin: 0; color: var(--muted); line-height: 1.8; }

.install { margin-bottom: 110px; padding: 58px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; border-radius: 34px; color: #fff; background: var(--forest); }
.install h2 { color: #fff; font-size: 42px; }
.installNote { max-width: 460px; margin: 22px 0 0; color: #b9cec5; line-height: 1.75; }
.installChoices { display: grid; gap: 14px; }
.installChoices article { padding: 20px; display: grid; gap: 8px; border: 1px solid rgba(255,255,255,.16); border-radius: 20px; background: rgba(255,255,255,.07); }
.installChoices article > span { color: var(--amber); font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.installChoices article > strong { color: #fff; font-size: 20px; }
.installChoices p { margin: 0; color: #c7d8d1; line-height: 1.7; }
.installChoices a { width: fit-content; margin-top: 4px; color: #ffd77a; font-size: 13px; font-weight: 800; }

footer { min-height: 120px; display: flex; align-items: center; gap: 28px; border-top: 1px solid #cbd6ce; color: var(--muted); }
.footerBrand { color: var(--forest); }
.footerBrand img { width: 38px; height: 38px; border-radius: 10px; }
footer p { flex: 1; font-size: 12px; }
footer > a { color: var(--green); font-weight: 800; }

.wechatGuide[hidden] { display: none; }
.wechatGuide {
  position: fixed;
  z-index: 1000;
  inset: 0;
  padding: max(86px, env(safe-area-inset-top)) 18px 24px;
  display: grid;
  align-items: start;
  background: rgba(2,25,19,.88);
  backdrop-filter: blur(10px);
}
.wechatGuideArrow {
  position: absolute;
  top: 13px;
  right: 21px;
  color: var(--amber);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: .12em;
}
.wechatGuideArrow::after {
  content: "↑";
  position: absolute;
  right: 9px;
  top: 28px;
  font-size: 32px;
}
.wechatGuideCard {
  position: relative;
  width: min(520px, 100%);
  margin: 0 auto;
  padding: 28px 22px 22px;
  border: 1px solid rgba(242,165,26,.55);
  border-radius: 24px;
  color: var(--ink);
  background: #fffdf6;
  box-shadow: 0 28px 80px rgba(0,0,0,.34);
}
.wechatGuideCard h2 { font-size: clamp(27px, 8vw, 38px); line-height: 1.25; }
.wechatGuideCard > p:not(.eyebrow) { color: var(--muted); line-height: 1.7; }
.wechatGuideClose {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 30px;
}
.wechatGuideActions { display: grid; gap: 9px; margin-top: 18px; }
.wechatGuideActions a, .wechatGuideActions button {
  min-height: 48px;
  padding: 12px 14px;
  display: grid;
  place-items: center;
  border: 1px solid var(--green);
  border-radius: 13px;
  color: #fff;
  background: var(--green);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}
.wechatGuideActions a:nth-child(2), .wechatGuideActions button { color: var(--green); background: transparent; }
.copyStatus { min-height: 20px; margin-top: 8px; display: block; color: var(--green); font-size: 12px; text-align: center; }
body.guideOpen { overflow: hidden; }

@media (max-width: 860px) {
  .heroGrid { grid-template-columns: 1fr; padding-top: 48px; }
  .phone { width: min(430px, 100%); margin: 0 auto; transform: none; }
  .featureGrid { grid-template-columns: 1fr; }
  .featureGrid article, .featureGrid article + article { min-height: auto; padding: 28px 0; border-right: 0; border-bottom: 1px solid #cbd6ce; }
  .featureGrid h3 { margin-top: 18px; }
  .install { grid-template-columns: 1fr; padding: 38px; gap: 38px; }
}

@media (max-width: 620px) {
  .nav, .heroGrid, .useCases, .principles, .install, footer { width: min(100% - 28px, 1180px); }
  .nav { height: 74px; }
  .brand img { width: 40px; height: 40px; }
  .heroGrid { min-height: auto; padding: 48px 0 70px; gap: 52px; }
  h1 { font-size: 42px; }
  .lead { font-size: 16px; }
  .intentGrid, .useCaseGrid { grid-template-columns: 1fr; }
  .intentCard { min-height: 76px; }
  .platformGrid { grid-template-columns: 1fr; }
  .deviceEntry { margin-top: 26px; }
  .smartDownload { min-height: 76px; }
  .deviceSwitch { justify-content: center; }
  [data-device="ios"] .platformCard[data-platform="ios"] { order: -1; }
  .download { width: 100%; }
  .entryQr { display: none; }
  .phone { min-height: 530px; padding: 18px; border-radius: 32px; }
  .mapCard { height: 350px; }
  .useCases { padding: 80px 0 10px; }
  .useCaseGrid { margin-top: 34px; }
  .useCaseGrid article { padding: 24px 20px; }
  .principles { padding: 75px 0 70px; }
  .install { margin-bottom: 70px; padding: 30px 22px; border-radius: 25px; }
  footer { padding: 28px 0; align-items: flex-start; flex-wrap: wrap; }
  footer p { flex-basis: 100%; order: 3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .download { transition: none; }
}
