:root {
  --ink: #17201d;
  --muted: #62706a;
  --paper: #f7f7f3;
  --white: #fff;
  --line: #dce4df;
  --green: #167047;
  --green-dark: #0b4b2e;
  --green-soft: #e8f3ed;
  --wine: #812d36;
  --gold: #c29a58;
  --charcoal: #1d2824;
  --shadow: 0 18px 52px rgba(23, 32, 29, .11);
  --radius: 8px;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.7; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin-top: 0; }
h1 { margin-bottom: 22px; font-size: clamp(40px, 5vw, 72px); line-height: 1.08; letter-spacing: 0; }
h2 { margin-bottom: 16px; font-size: clamp(28px, 3vw, 43px); line-height: 1.2; letter-spacing: 0; }
h3 { margin-bottom: 10px; font-size: 21px; line-height: 1.35; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(220, 228, 223, .82);
  background: rgba(247, 247, 243, .94);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1420px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand { display: grid; flex: 0 0 auto; gap: 1px; margin-right: auto; }
.brand strong { font-size: 20px; line-height: 1.1; }
.brand span { color: var(--muted); font-size: 11px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  position: relative;
  padding: 11px 10px;
  border-radius: 6px;
  color: #35423d;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: color .18s ease, background-color .18s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 5px;
  left: 10px;
  height: 2px;
  border-radius: 999px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--green-dark); background: rgba(232, 243, 237, .74); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  flex: 0 0 auto;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 6px;
  color: var(--white);
  background: var(--green-dark);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(11, 75, 46, .16);
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.nav-cta:hover { transform: translateY(-1px); background: var(--green); box-shadow: 0 10px 24px rgba(11, 75, 46, .23); }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}
.menu-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: currentColor; }

.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: 86px 0; }
.section.tight { padding: 58px 0; }
.band { background: var(--white); }
.soft-band { background: #edf3ef; }
.dark-band { color: var(--white); background: var(--charcoal); }
.dark-band p, .dark-band li { color: rgba(255, 255, 255, .76); }

.eyebrow {
  margin-bottom: 11px;
  color: var(--wine);
  font-size: 13px;
  font-weight: 800;
}
.lead { max-width: 760px; margin-bottom: 28px; color: #4d5c56; font-size: clamp(17px, 1.5vw, 20px); }
.sublead { max-width: 760px; color: var(--muted); font-size: 16px; }
.section-heading { max-width: 820px; margin-bottom: 34px; }

.visual-hero {
  position: relative;
  min-height: min(690px, calc(100vh - 74px));
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
}
.visual-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.visual-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 18, 16, .78) 0%, rgba(11, 18, 16, .42) 47%, rgba(11, 18, 16, .05) 76%);
}
.visual-hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 94px 0 82px;
}
.visual-hero h1 { max-width: 790px; text-shadow: 0 12px 36px rgba(0, 0, 0, .3); }
.visual-hero .lead { max-width: 710px; color: rgba(255, 255, 255, .84); }
.visual-hero .eyebrow { color: #e0bd82; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.hero-pills span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 999px;
  background: rgba(18, 27, 24, .54);
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.actions, .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; }
.button {
  min-height: 47px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { color: var(--white); background: var(--green-dark); box-shadow: 0 12px 28px rgba(11, 75, 46, .24); }
.visual-hero .button.primary { background: #17764b; }
.button.secondary { border-color: rgba(22, 112, 71, .28); color: var(--green-dark); background: rgba(255, 255, 255, .93); }
.button.ghost { border-color: rgba(129, 45, 54, .3); color: var(--wine); background: var(--white); }

.grid-2, .grid-3, .grid-4 { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, .9fr); gap: 42px; align-items: center; }

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 25px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(23, 32, 29, .055);
}
.card.featured { border-color: rgba(22, 112, 71, .42); box-shadow: var(--shadow); }
.card p, .card li { color: var(--muted); }
.tag {
  display: inline-flex;
  margin-bottom: 13px;
  padding: 4px 9px;
  border-radius: 4px;
  color: var(--green-dark);
  background: var(--green-soft);
  font-size: 12px;
  font-weight: 800;
}
.tag.wine { color: var(--wine); background: #f6e9eb; }
.list { margin: 15px 0 0; padding-left: 18px; }
.list li + li { margin-top: 8px; }

.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 48px; background: rgba(255, 255, 255, .22); }
.metric { min-height: 112px; padding: 20px; background: rgba(20, 31, 27, .7); backdrop-filter: blur(8px); }
.metric strong { display: block; color: #fff; font-size: 26px; line-height: 1.1; }
.metric span { display: block; margin-top: 8px; color: rgba(255, 255, 255, .7); font-size: 13px; }

.pain-card { min-height: 220px; border-top: 3px solid var(--wine); }
.pain-card b { display: block; margin-bottom: 10px; color: var(--wine); font-size: 13px; }
.value-row {
  display: grid;
  grid-template-columns: 185px 1fr 1fr;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.value-row:last-child { border-bottom: 1px solid var(--line); }
.value-row > * { padding: 22px; }
.value-row strong { color: var(--green-dark); }
.value-row .before { color: #7b5c60; background: #fbf4f5; }
.value-row .after { color: #315e49; background: #f0f7f3; }

.process-line { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.process-step { position: relative; min-height: 145px; padding: 20px; border-left: 3px solid var(--green); background: var(--white); }
.process-step b { display: block; margin-bottom: 7px; color: var(--green-dark); }
.process-step p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.process-step .number { display: block; margin-bottom: 12px; color: var(--wine); font-weight: 800; }

.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.feature-item { min-height: 154px; padding: 24px; background: var(--white); }
.feature-item p { margin-bottom: 0; color: var(--muted); }

.media-frame { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.media-frame img { width: 100%; min-height: 360px; object-fit: cover; }
.device-frame img { object-fit: contain; padding: 22px; background: #f2f4f2; }
.caption { margin: 0; padding: 13px 16px; color: var(--muted); font-size: 13px; }

.screenshot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.screenshot { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.screenshot img { width: 100%; aspect-ratio: 16 / 8.4; object-fit: cover; object-position: top; }
.screenshot figcaption { padding: 17px 19px; }
.screenshot strong { display: block; margin-bottom: 4px; }
.screenshot span { color: var(--muted); font-size: 14px; }

.comparison { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table { width: 100%; min-width: 820px; border-collapse: collapse; }
th, td { padding: 17px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--green-dark); background: #eef6f1; }
td { color: #46534d; }
tr:last-child td { border-bottom: 0; }

.trial-panel { padding: 30px; border: 1px solid rgba(22, 112, 71, .3); border-radius: var(--radius); background: linear-gradient(135deg, #fff, #edf7f1); box-shadow: var(--shadow); }
.trial-steps { counter-reset: steps; display: grid; gap: 14px; margin: 22px 0; padding: 0; }
.trial-steps li { position: relative; list-style: none; min-height: 34px; padding-left: 45px; color: var(--muted); }
.trial-steps li::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green-dark);
  font-weight: 800;
}

.boundary { padding: 24px; border-left: 4px solid var(--wine); color: #674348; background: #fbf1f2; }
.boundary strong { display: block; margin-bottom: 5px; color: var(--wine); }

.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.video-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.video-cover { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; background: #dfe9e3; }
.video-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .74; }
.play {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .74);
  border-radius: 50%;
  color: #fff;
  background: rgba(11, 75, 46, .82);
  font-size: 20px;
}
.video-body { padding: 19px; }
.video-body p { margin-bottom: 12px; color: var(--muted); }
.video-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--green-dark); font-size: 13px; font-weight: 800; }

.hardware-image { width: 100%; height: 235px; object-fit: cover; border-radius: var(--radius); background: #edf1ee; }
.hardware-card { padding: 0; overflow: hidden; }
.hardware-card > div { padding: 23px; }

.contact-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 30px; align-items: start; }
.contact-method { display: grid; gap: 13px; margin-top: 22px; }
.contact-line { padding: 17px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.contact-line strong { display: block; }
.qr-placeholder-box{display: flex;justify-content: space-between;}
.qr-placeholder { width: 150px; height: 150px; display: grid; place-items: center; margin-top: 14px; border: 1px dashed var(--green); border-radius: var(--radius); color: var(--green-dark); background: var(--green-soft); text-align: center; font-size: 13px; }
.lead-form { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
label { color: #34413b; font-size: 14px; font-weight: 800; }
input, select, textarea { width: 100%; padding: 12px 13px; border: 1px solid #cdd8d1; border-radius: 6px; color: var(--ink); background: #fff; font: inherit; }
textarea { min-height: 115px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(22, 112, 71, .13); border-color: var(--green); }
.form-status { min-height: 24px; margin: 13px 0 0; color: var(--green-dark); font-weight: 800; }
.form-status.error { color: var(--wine); }

.site-footer { padding: 37px 0; color: rgba(255, 255, 255, .73); background: var(--charcoal); }
.footer-inner { width: min(1180px, calc(100% - 32px)); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 30px; }
.footer-inner strong { color: #fff; }

@media (max-width: 1120px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 74px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 20px 42px rgba(23, 32, 29, .15);
  }
  body.menu-open .nav-links { display: flex; }
  .nav-links a { padding: 14px 16px; font-size: 16px; }
  .nav-links a::after { right: 16px; bottom: 7px; left: 16px; transform-origin: left; }
  .nav-cta { margin-left: auto; }
  .grid-4, .metrics, .process-line { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  h1 { font-size: clamp(36px, 11vw, 52px); }
  .nav { width: calc(100% - 24px); }
  .nav-cta { display: none; }
  .section { padding: 62px 0; }
  .container, .visual-hero-content, .footer-inner { width: calc(100% - 24px); }
  .visual-hero { min-height: 620px; align-items: end; }
  .visual-hero::after { background: linear-gradient(180deg, rgba(11, 18, 16, .28), rgba(11, 18, 16, .84)); }
  .visual-hero > img { object-position: 62% center; }
  .visual-hero-content { padding: 90px 0 52px; }
  .visual-hero .metrics { display: none; }
  .grid-2, .grid-3, .grid-4, .metrics, .process-line, .feature-list, .screenshot-grid, .video-grid, .split, .contact-layout, .form-grid { grid-template-columns: 1fr; }
  .value-row { grid-template-columns: 1fr; }
  .value-row > * { padding: 16px 19px; }
  .hero-actions .button, .actions .button { width: 100%; }
  .metric { min-height: 90px; }
  .media-frame img { min-height: 250px; }
  .screenshot img { aspect-ratio: 16 / 10; }
  .field.full { grid-column: auto; }
}
