@charset "UTF-8";

/* mg渲染器 · 参数面板式版式 */

:root {
  --green: #6BA83E;
  --green-dark: #3E6622;
  --green-pale: #F2F6EC;
  --panel: #FBFCF9;
  --ink: #16200F;
  --ink-mid: #414D38;
  --muted: #6C7763;
  --line: #DCE3D4;
  --line-strong: #B9C6AC;
  --black: #12170E;
  --shell: 1210px;
  --header-height: 68px;
  --mono: "Consolas", "SFMono-Regular", "Menlo", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--panel);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.68;
}

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

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

button {
  color: inherit;
  font: inherit;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.page-shell {
  width: min(calc(100% - 44px), var(--shell));
  margin: 0 auto;
}

.icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  vertical-align: middle;
}

.icon::before {
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background: center / contain no-repeat;
}

.icon-download::before { background-image: url("../icons/download.svg"); }
.icon-menu::before { background-image: url("../icons/menu.svg"); }
.icon-close::before { background-image: url("../icons/close.svg"); }
.icon-arrow::before { background-image: url("../icons/arrow.svg"); }
.icon-globe::before { background-image: url("../icons/globe.svg"); }
.icon-plus::before { background-image: url("../icons/plus.svg"); }
.icon-bolt::before { background-image: url("../icons/bolt.svg"); }
.icon-shield::before { background-image: url("../icons/shield.svg"); }

/* ---------- 导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #FFFFFF;
  border-bottom: 1px solid var(--line-strong);
}

.nav-shell {
  display: flex;
  align-items: stretch;
  width: min(calc(100% - 44px), var(--shell));
  min-height: var(--header-height);
  margin: 0 auto;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.primary-nav ul,
.site-footer ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-nav {
  margin-left: auto;
  display: flex;
  align-items: stretch;
}

.primary-nav ul {
  align-items: stretch;
}

.primary-nav li {
  display: flex;
}

.primary-nav a {
  display: flex;
  align-items: center;
  padding: 0 18px;
  border-left: 1px solid var(--line);
  color: var(--ink-mid);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: color 150ms ease, background-color 150ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--green-dark);
  background: var(--green-pale);
}

.nav-download,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 2px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  transition: background-color 150ms ease, color 150ms ease;
}

.nav-download {
  align-self: center;
  min-height: 40px;
  padding: 0 18px;
  color: #FFFFFF;
  background: var(--green-dark);
}

.nav-download .icon,
.button-primary .icon {
  filter: brightness(0) invert(1);
}

.nav-download:hover {
  background: #2C4A17;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: #FFFFFF;
  cursor: pointer;
}

/* ---------- 英雄区 ---------- */
.hero {
  padding: 54px 0 58px;
  overflow: hidden;
  scroll-margin-top: calc(var(--header-height) + 12px);
  background-color: #F7FAF3;
  background-image:
    linear-gradient(to right, rgba(107, 168, 62, 0.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(107, 168, 62, 0.09) 1px, transparent 1px);
  background-size: 34px 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 502px);
  align-items: center;
  gap: 52px;
}

.hero-copy {
  max-width: 495px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.4px;
}

.eyebrow::before {
  content: "[ ";
}

.eyebrow::after {
  content: " ]";
}

.hero h1 {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -1.6px;
  line-height: 1.06;
  overflow-wrap: anywhere;
}

.hero-title {
  margin: 16px 0 14px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line-strong);
  font-size: clamp(22px, 2.5vw, 29px);
  font-weight: 700;
  letter-spacing: 0.6px;
}

.hero-summary {
  max-width: 470px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 14.6px;
}

.button {
  min-height: 47px;
  padding: 0 26px;
}

.button-primary {
  color: #FFFFFF;
  background: var(--green-dark);
  box-shadow: inset 0 0 0 1px #2C4A17;
}

.button-primary:hover {
  background: #2C4A17;
}

/* 英雄组件：画质双联屏 */
.hero-splitview {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  max-width: 502px;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  background: #FFFFFF;
  box-shadow: 0 14px 30px rgba(34, 60, 20, 0.12);
}

.sv-panel {
  position: relative;
  min-width: 0;
  padding: 8px;
}

.sv-panel img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  background: var(--green-pale);
}

.sv-before img {
  filter: grayscale(0.5) contrast(0.82) brightness(0.94) blur(0.9px);
}

.sv-after img {
  filter: saturate(1.06) contrast(1.04);
}

.sv-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  padding: 2px 7px;
  color: #FFFFFF;
  background: rgba(18, 23, 14, 0.72);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.6px;
}

.sv-divider {
  position: absolute;
  top: 8px;
  bottom: 68px;
  left: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1px;
  background: var(--green);
}

.sv-divider span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-left: -15px;
  border: 1px solid var(--green);
  border-radius: 50%;
  color: var(--green-dark);
  background: #FFFFFF;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
}

.sv-metrics {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
}

.sv-metrics > div {
  padding: 10px 12px;
  border-left: 1px solid var(--line);
}

.sv-metrics > div:first-child {
  border-left: 0;
}

.sv-metrics b {
  display: block;
  color: var(--green-dark);
  font-family: var(--mono);
  font-size: 17px;
  letter-spacing: -0.4px;
}

.sv-metrics small {
  display: block;
  color: var(--muted);
  font-size: 10.5px;
}

/* ---------- 核心特色 ---------- */
.routes {
  padding: 66px 0 70px;
  background: #FFFFFF;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.6px;
  line-height: 1.25;
}

.section-heading > p:last-child {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.fours {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
}

.four {
  position: relative;
  min-width: 0;
  padding: 26px 22px 24px;
  border-left: 1px solid var(--line);
}

.four:first-child {
  border-left: 0;
}

.four .n {
  display: block;
  padding-bottom: 12px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.four h3 {
  margin: 0 0 8px;
  font-size: 17.5px;
  font-weight: 700;
}

.four p {
  margin: 0;
  color: var(--ink-mid);
  font-size: 13.6px;
}

/* ---------- 界面展示 ---------- */
.screens {
  padding: 68px 0 72px;
  background: var(--green-pale);
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.covers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.covers figure {
  min-width: 0;
  margin: 0;
  border: 1px solid var(--line-strong);
  background: #FFFFFF;
}

.covers img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid var(--line);
}

.covers b {
  display: block;
  padding: 9px 10px 0;
  font-size: 12.8px;
  font-weight: 700;
}

.covers small {
  display: block;
  padding: 2px 10px 10px;
  color: var(--muted);
  font-size: 10.8px;
  line-height: 1.55;
}

/* ---------- FAQ ---------- */
.faq {
  padding: 70px 0 20px;
  background: #FFFFFF;
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.faq-list {
  display: grid;
  max-width: 920px;
  border-top: 1px solid var(--line-strong);
}

.faq-item {
  position: relative;
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 4px 0;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary h3 {
  margin: 0;
  font-size: 14.8px;
  font-weight: 700;
  text-align: left;
}

.faq-item summary .icon {
  justify-self: end;
  transition: transform 180ms ease;
  filter: invert(51%) sepia(41%) saturate(780%) hue-rotate(52deg) brightness(92%) contrast(88%);
}

.faq-item[open] summary .icon {
  transform: rotate(45deg);
}

.faq-list .faq-item:nth-of-type(1) summary::before { content: "Q1"; }
.faq-list .faq-item:nth-of-type(2) summary::before { content: "Q2"; }
.faq-list .faq-item:nth-of-type(3) summary::before { content: "Q3"; }
.faq-list .faq-item:nth-of-type(4) summary::before { content: "Q4"; }
.faq-list .faq-item:nth-of-type(5) summary::before { content: "Q5"; }
.faq-list .faq-item:nth-of-type(6) summary::before { content: "Q6"; }

.faq-item summary::before {
  color: var(--green);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.faq-answer {
  padding: 0 32px 16px 54px;
}

.faq-answer p {
  margin: 0;
  color: var(--ink-mid);
  font-size: 13.8px;
}

/* ---------- 官方入口 ---------- */
.official {
  padding: 26px 0 72px;
  background: #FFFFFF;
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.official-fold {
  position: relative;
  max-width: 920px;
  border: 1px solid var(--green);
  background: #FBFDF8;
}

.official-fold::before,
.official-fold::after {
  position: absolute;
  width: 10px;
  height: 10px;
  content: "";
  border: 2px solid var(--green-dark);
}

.official-fold::before {
  top: -6px;
  left: -6px;
  border-right: 0;
  border-bottom: 0;
}

.official-fold::after {
  right: -6px;
  bottom: -6px;
  border-top: 0;
  border-left: 0;
}

.official-fold summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px;
  cursor: pointer;
  list-style: none;
  color: var(--green-dark);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.official-fold summary::-webkit-details-marker {
  display: none;
}

.official-fold summary::after {
  margin-left: auto;
  content: "+";
  font-family: var(--mono);
  font-size: 16px;
}

.official-fold[open] summary::after {
  content: "-";
}

.official-link {
  padding: 0 18px 15px;
  border-top: 1px dashed var(--line-strong);
}

.official-link p {
  margin: 12px 0 0;
  color: var(--ink-mid);
  font-size: 13.6px;
}

.official-link a {
  color: var(--green-dark);
  font-weight: 700;
  word-break: break-all;
}

/* ---------- 用户评价（单列清单） ---------- */
.reviews {
  padding: 66px 0 70px;
  background: var(--green-pale);
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.reviews .section-heading {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  column-gap: 40px;
  align-items: end;
}

.reviews .section-heading .eyebrow,
.reviews .section-heading h2 {
  grid-column: 1;
}

.reviews .section-heading > p:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  margin: 0 0 3px;
}

.rgrid {
  display: grid;
  border-top: 1px solid var(--line-strong);
  background: #FFFFFF;
}

.review-card {
  display: grid;
  grid-template-columns: 186px minmax(0, 1fr);
  column-gap: 22px;
  row-gap: 6px;
  padding: 20px 18px;
  border-bottom: 1px solid var(--line);
}

.review-card header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.review-card .who b {
  font-size: 13.5px;
  font-weight: 700;
}

.review-card time {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2px;
}

.review-card > p {
  grid-column: 2;
  margin: 0;
  color: var(--ink-mid);
  font-size: 13.8px;
}

.rv-site {
  grid-column: 2;
  color: var(--green-dark);
  font-size: 11.5px;
  font-weight: 600;
}

/* ---------- 下载 CTA ---------- */
.download-cta {
  padding: 58px 0 60px;
  color: #EAF2E2;
  background: var(--black);
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.download-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 34px;
  align-items: center;
  padding: 30px 32px;
  border: 1px solid #35432A;
}

.download-cta .section-heading {
  max-width: 560px;
  margin-bottom: 0;
}

.download-cta .eyebrow {
  color: #A8CE86;
}

.download-cta h2 {
  color: #F4F9EF;
  font-size: clamp(25px, 2.9vw, 34px);
  font-weight: 700;
}

.download-cta .section-heading > p:last-child {
  color: #A9B8A0;
}

.download-cta .button-primary {
  color: var(--black);
  background: var(--green);
  box-shadow: none;
}

.download-cta .button-primary .icon {
  filter: brightness(0);
}

.download-cta .button-primary:hover {
  background: #7CBB49;
}

.disclaimer {
  grid-column: 1 / -1;
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px dashed #35432A;
  color: #8FA084;
  font-size: 11.5px;
}

/* ---------- 页脚 ---------- */
.site-footer {
  padding: 22px 0;
  color: #93A188;
  background: #0C110A;
  font-size: 11.5px;
}

.site-footer .page-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #C6D6B9;
}

.site-footer a:hover {
  color: #FFFFFF;
}

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 146px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--green-dark);
  border-radius: 2px;
  background: var(--green);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.to-top::before {
  width: 8px;
  height: 8px;
  content: "";
  border-top: 2px solid #FFFFFF;
  border-left: 2px solid #FFFFFF;
  transform: rotate(45deg) translate(1px, 1px);
}

.to-top.is-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.to-top:hover {
  background: var(--green-dark);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .primary-nav a {
    padding: 0 12px;
    font-size: 12.5px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .hero-splitview {
    max-width: 540px;
    margin: 0 auto;
  }

  .fours {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .four:nth-child(3) {
    border-left: 0;
  }

  .four:nth-child(3),
  .four:nth-child(4) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .primary-nav {
    display: none;
  }

  .covers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reviews .section-heading {
    display: block;
  }

  .reviews .section-heading > p:last-child {
    margin: 11px 0 0;
  }

  .review-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .review-card header {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  .review-card > p,
  .rv-site {
    grid-column: 1;
  }

  .download-inner {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 20px;
    justify-items: start;
  }
}

@media (max-width: 700px) {
  :root {
    --header-height: 58px;
  }

  body {
    padding-top: var(--header-height);
  }

  .site-header {
    position: fixed;
    right: 0;
    left: 0;
    width: 100%;
  }

  .page-shell,
  .nav-shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .nav-shell {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    grid-template-rows: var(--header-height);
    min-height: var(--header-height);
    column-gap: 8px;
    align-items: center;
  }

  .brand {
    grid-row: 1;
    grid-column: 1;
    font-size: 15.5px;
  }

  .brand img {
    width: 28px;
    height: 28px;
  }

  .primary-nav {
    display: none;
    grid-row: 2;
    grid-column: 1 / -1;
    margin: 0 -14px;
    padding: 0 14px 13px;
    border-top: 1px solid var(--line);
    background: #FFFFFF;
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding-top: 11px;
  }

  .primary-nav a {
    padding: 9px 10px;
    border: 1px solid var(--line);
    font-size: 12.5px;
  }

  .nav-download {
    grid-row: 1;
    grid-column: 3;
    min-height: 33px;
    padding: 0 10px;
    font-size: 12px;
  }

  .menu-toggle {
    display: inline-flex;
    grid-row: 1;
    grid-column: 4;
    width: 33px;
    height: 33px;
  }

  .hero {
    padding: 38px 0 42px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-title {
    font-size: 20px;
  }

  .routes,
  .screens,
  .reviews {
    padding: 48px 0 50px;
  }

  .section-heading h2 {
    font-size: 25px;
  }

  .fours {
    grid-template-columns: minmax(0, 1fr);
  }

  .four {
    padding: 20px 18px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .four:first-child {
    border-top: 0;
  }

  .faq {
    padding: 48px 0 14px;
  }

  .faq-answer {
    padding: 0 8px 14px 8px;
  }

  .faq-item summary {
    grid-template-columns: 30px minmax(0, 1fr) 20px;
  }

  .official {
    padding: 16px 0 48px;
  }

  .download-cta {
    padding: 40px 0 44px;
  }

  .download-inner {
    padding: 24px 20px;
  }

  .site-footer .page-shell {
    display: block;
    text-align: center;
  }

  .site-footer p + p {
    margin-top: 5px;
  }

  .to-top {
    right: 13px;
    bottom: 130px;
    width: 37px;
    height: 37px;
  }
}

@media (max-width: 380px) {
  .brand span {
    font-size: 14px;
  }

  .nav-download span {
    display: none;
  }

  .nav-download {
    width: 33px;
    padding: 0;
  }

  .sv-metrics b {
    font-size: 15px;
  }

  .hero h1 {
    font-size: 33px;
  }
}
