:root {
  --ink: #13211e;
  --muted: #62716e;
  --paper: #f4f8f5;
  --surface: #ffffff;
  --surface-strong: #fdfefe;
  --line: #d9e6e0;
  --green: #176a56;
  --green-dark: #0f4f42;
  --mint: #dff2ea;
  --teal: #46a99d;
  --blue: #315f9f;
  --gold: #c99530;
  --red: #c95f52;
  --violet: #7866d9;
  --shadow: 0 26px 70px rgba(19, 33, 30, 0.16);
  --shadow-soft: 0 18px 48px rgba(19, 33, 30, 0.09);
  --radius: 18px;
  --content-width: 1180px;
  --page-pad: max(22px, calc((100vw - var(--content-width)) / 2));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background: var(--paper);
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 10% 12%, rgba(70, 169, 157, 0.12), transparent 26%),
    radial-gradient(circle at 86% 10%, rgba(120, 102, 217, 0.10), transparent 22%),
    radial-gradient(circle at 72% 72%, rgba(201, 149, 48, 0.10), transparent 24%);
}

::selection {
  color: #fff;
  background: var(--green);
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px var(--page-pad);
  background: rgba(244, 248, 245, 0.88);
  border-bottom: 1px solid rgba(217, 230, 224, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.04em;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 36%),
    linear-gradient(135deg, var(--green), var(--teal));
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(23, 106, 86, 0.24);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-size: 20px;
  letter-spacing: -0.02em;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  white-space: nowrap;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav a:hover {
  color: var(--green);
}

.nav-action,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-action,
.primary-button {
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--teal));
  box-shadow: 0 14px 30px rgba(23, 106, 86, 0.25);
}

.secondary-button {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
}

.nav-action:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(23, 106, 86, 0.22);
}

.secondary-button:hover {
  border-color: rgba(23, 106, 86, 0.32);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.9fr);
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
  min-height: calc(100vh - 73px);
  padding: clamp(54px, 7vw, 92px) var(--page-pad) 64px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 24%, rgba(70, 169, 157, 0.24), transparent 30%),
    radial-gradient(circle at 48% 80%, rgba(201, 149, 48, 0.10), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #edf6f2 100%);
}

.hero::after {
  position: absolute;
  inset: auto -10% -22% 40%;
  height: 340px;
  content: "";
  background: radial-gradient(ellipse, rgba(23, 106, 86, 0.12), transparent 64%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(42px, 5.2vw, 66px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.05em;
}

h2 {
  max-width: 900px;
  margin-bottom: 14px;
  font-size: clamp(29px, 3.7vw, 46px);
  line-height: 1.16;
  font-weight: 900;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.32;
}

.lead {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 800px;
  margin-top: 32px;
}

.hero-metrics span {
  min-height: 82px;
  padding: 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(217, 230, 224, 0.88);
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(19, 33, 30, 0.06);
}

.hero-metrics strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 15px;
}

.sample-stage {
  position: relative;
  min-height: 565px;
}

.map-card {
  position: absolute;
  inset: 4% 8% 18% 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(49, 95, 159, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(49, 95, 159, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 22% 24%, rgba(70, 169, 157, 0.34), transparent 16%),
    radial-gradient(circle at 72% 58%, rgba(201, 149, 48, 0.18), transparent 20%),
    linear-gradient(135deg, rgba(70, 169, 157, 0.18), rgba(255, 255, 255, 0.88));
  background-size: 34px 34px, 34px 34px, auto, auto, auto;
  border: 1px solid rgba(217, 230, 224, 0.9);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.map-route {
  position: absolute;
  left: 12%;
  top: 19%;
  width: 66%;
  height: 58%;
  border-left: 3px solid rgba(49, 95, 159, 0.32);
  border-bottom: 3px solid rgba(49, 95, 159, 0.32);
  transform: skew(-18deg) rotate(-8deg);
}

.map-site {
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--red);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(201, 95, 82, 0.32);
}

.site-a { left: 18%; top: 30%; }
.site-b { left: 48%; top: 54%; }
.site-c { right: 22%; bottom: 24%; }

.map-label {
  position: absolute;
  left: 20px;
  bottom: 18px;
  padding: 8px 12px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 850;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(217, 230, 224, 0.9);
  border-radius: 999px;
}

.viewer-panel {
  position: absolute;
  right: 0;
  bottom: 28px;
  overflow: hidden;
  width: min(90%, 635px);
  min-height: 420px;
  background: var(--surface);
  border: 1px solid rgba(217, 230, 224, 0.96);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.viewer-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 16px;
  color: var(--muted);
  background: #f5faf7;
  border-bottom: 1px solid var(--line);
}

.viewer-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}

.viewer-toolbar span:nth-child(2) { background: var(--gold); }
.viewer-toolbar span:nth-child(3) { background: var(--teal); }

.viewer-toolbar strong {
  margin-left: 8px;
  color: var(--ink);
  font-size: 13px;
}

.viewer-toolbar em {
  margin-left: auto;
  font-size: 12px;
  font-style: normal;
}

.viewer-grid {
  display: grid;
  grid-template-columns: 148px 1fr;
  height: 368px;
}

.layer-panel {
  padding: 18px;
  background: #fbfdfc;
  border-right: 1px solid var(--line);
}

.layer-panel p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.layer-panel i {
  display: flex;
  align-items: center;
  height: 36px;
  margin-bottom: 9px;
  padding: 0 11px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.layer-panel i.active {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.canvas {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 32% 32%, rgba(120, 102, 217, 0.18), transparent 20%),
    radial-gradient(circle at 70% 62%, rgba(201, 149, 48, 0.20), transparent 24%),
    repeating-linear-gradient(34deg, rgba(19, 33, 30, 0.065) 0 4px, transparent 4px 13px),
    #eef5f1;
}

.thin-section {
  position: absolute;
  inset: 42px 38px 42px 44px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(70, 169, 157, 0.18)),
    radial-gradient(circle at 28% 40%, rgba(201, 149, 48, 0.28), transparent 22%),
    radial-gradient(circle at 66% 58%, rgba(49, 95, 159, 0.22), transparent 26%);
  border: 1px solid rgba(49, 95, 159, 0.18);
  border-radius: 18px;
}

.grain {
  position: absolute;
  display: block;
  border-radius: 44% 56% 60% 40%;
  opacity: 0.9;
  filter: blur(0.2px);
}

.g1 { left: 8%; top: 14%; width: 28%; height: 28%; background: rgba(120, 102, 217, 0.28); transform: rotate(18deg); }
.g2 { right: 12%; top: 10%; width: 34%; height: 30%; background: rgba(70, 169, 157, 0.28); transform: rotate(-10deg); }
.g3 { left: 20%; bottom: 13%; width: 30%; height: 24%; background: rgba(201, 149, 48, 0.28); transform: rotate(8deg); }
.g4 { right: 18%; bottom: 12%; width: 26%; height: 26%; background: rgba(201, 95, 82, 0.18); transform: rotate(-22deg); }

.bse {
  position: absolute;
  border: 2px solid rgba(201, 95, 82, 0.9);
  background: rgba(201, 95, 82, 0.13);
  box-shadow: 0 12px 24px rgba(19, 33, 30, 0.13);
}

.bse-a {
  width: 34%;
  height: 25%;
  right: 17%;
  top: 26%;
  transform: rotate(-5deg);
}

.bse-b {
  width: 25%;
  height: 19%;
  left: 19%;
  top: 49%;
  background: rgba(201, 149, 48, 0.16);
  border-color: rgba(201, 149, 48, 0.92);
  transform: rotate(7deg);
}

.spot {
  position: absolute;
  width: 15px;
  height: 15px;
  background: var(--blue);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(49, 95, 159, 0.34);
}

.spot-a { left: 39%; top: 40%; }
.spot-b { right: 25%; top: 48%; }
.spot-c { left: 31%; bottom: 29%; }

.annotation {
  position: absolute;
  right: 22%;
  bottom: 22%;
  width: 28%;
  height: 18%;
  border: 2px solid rgba(23, 106, 86, 0.9);
  border-radius: 50%;
  transform: rotate(-10deg);
}

.measure-line {
  position: absolute;
  left: 28%;
  top: 29%;
  width: 42%;
  height: 2px;
  background: rgba(120, 102, 217, 0.78);
  transform: rotate(18deg);
}

.sample-card {
  position: absolute;
  left: 3%;
  bottom: 0;
  width: min(72%, 330px);
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(217, 230, 224, 0.94);
  border-radius: 20px;
  box-shadow: 0 18px 46px rgba(19, 33, 30, 0.12);
  backdrop-filter: blur(12px);
}

.sample-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.sample-card strong {
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
}

.sample-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.section,
.pain-section,
.scenarios,
.comparison,
.mission {
  padding: 82px var(--page-pad);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.center-heading {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading p {
  color: var(--muted);
  line-height: 1.78;
}

.pain-section {
  background: rgba(255, 255, 255, 0.86);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pain-grid,
.feature-grid,
.scenario-list,
.compare-grid {
  display: grid;
  gap: 18px;
  max-width: var(--content-width);
}

.pain-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pain-grid article,
.scenario-list article,
.compare-grid article,
.feature-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(19, 33, 30, 0.055);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.pain-grid article:hover,
.scenario-list article:hover,
.compare-grid article:hover,
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(23, 106, 86, 0.26);
  box-shadow: var(--shadow-soft);
}

.pain-grid article {
  min-height: 190px;
  padding: 25px;
}

.card-icon,
.feature-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 34px;
  margin-bottom: 18px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--green), var(--teal));
  border-radius: 12px;
}

.pain-grid p,
.feature-grid p,
.scenario-list p,
.compare-grid p,
.mission p {
  color: var(--muted);
  line-height: 1.72;
}

.feature-grid {
  grid-template-columns: 1.15fr 0.85fr;
}

.feature-card {
  min-height: 250px;
  padding: 30px;
}

.feature-card-wide {
  grid-row: span 2;
  min-height: 520px;
  padding: 38px;
  background:
    linear-gradient(135deg, rgba(23, 106, 86, 0.10), rgba(70, 169, 157, 0.08)),
    rgba(255, 255, 255, 0.92);
}

.feature-card-wide::after {
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  content: "";
  background:
    radial-gradient(circle, rgba(70, 169, 157, 0.28), transparent 64%);
  border-radius: 50%;
}

.feature-card h3 {
  font-size: 23px;
}

.feature-card-wide h3 {
  max-width: 460px;
  font-size: clamp(28px, 3vw, 40px);
}

.feature-card-wide p {
  max-width: 560px;
  font-size: 17px;
}

.feature-card-dark {
  color: #fff;
  background:
    radial-gradient(circle at 86% 18%, rgba(70, 169, 157, 0.32), transparent 28%),
    linear-gradient(135deg, var(--green-dark), #18332e);
  border-color: rgba(255, 255, 255, 0.08);
}

.feature-card-dark p,
.feature-card-dark .feature-number {
  color: rgba(255, 255, 255, 0.84);
}

.feature-card-dark .feature-number {
  background: rgba(255, 255, 255, 0.16);
}

.workflow-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: var(--content-width);
  margin: 28px auto 0;
  padding: 16px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.workflow-strip span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-dark);
  font-weight: 850;
}

.workflow-strip span:not(:last-child)::after {
  content: "→";
  color: var(--teal);
}

.scenarios {
  background:
    linear-gradient(180deg, #f7faf8, #edf5f1);
}

.scenario-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.scenario-list article {
  min-height: 245px;
  padding: 25px;
}

.scenario-list span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 11px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  background: var(--mint);
  border-radius: 999px;
}

.comparison {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.compare-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.compare-grid article {
  min-height: 270px;
  padding: 24px;
}

.compare-grid small,
.compare-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compare-grid small {
  color: var(--red);
}

.compare-grid strong {
  margin-top: 22px;
  color: var(--green);
}

.mission {
  text-align: center;
  background:
    radial-gradient(circle at 50% 10%, rgba(70, 169, 157, 0.16), transparent 24%),
    linear-gradient(135deg, rgba(23, 106, 86, 0.10), rgba(49, 95, 159, 0.08)),
    #f7faf8;
}

.mission h2,
.mission p {
  margin-right: auto;
  margin-left: auto;
}

.mission p {
  max-width: 820px;
  margin-bottom: 28px;
  font-size: 17px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px var(--page-pad);
  color: var(--muted);
  background: #fff;
}

.footer a {
  color: var(--green);
  font-weight: 800;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .sample-stage {
    min-height: 535px;
  }

  .feature-grid,
  .scenario-list,
  .compare-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card-wide {
    grid-row: auto;
    min-height: 320px;
  }
}

@media (max-width: 820px) {
  .topbar {
    position: sticky;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav {
    width: 100%;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: 42px;
    letter-spacing: -0.04em;
  }

  .lead {
    font-size: 16px;
    line-height: 1.72;
  }

  .hero-metrics,
  .pain-grid,
  .feature-grid,
  .scenario-list,
  .compare-grid {
    grid-template-columns: 1fr;
  }

  .sample-stage {
    min-height: 440px;
  }

  .map-card {
    inset: 0 0 28% 0;
    border-radius: 22px;
  }

  .viewer-panel {
    bottom: 38px;
    width: 100%;
    min-height: 322px;
    border-radius: 20px;
  }

  .viewer-grid {
    grid-template-columns: 1fr;
    height: 270px;
  }

  .layer-panel {
    display: none;
  }

  .sample-card {
    display: none;
  }

  .section,
  .pain-section,
  .scenarios,
  .comparison,
  .mission {
    padding: 62px var(--page-pad);
  }

  .feature-card,
  .feature-card-wide,
  .scenario-list article,
  .compare-grid article,
  .pain-grid article {
    min-height: auto;
    padding: 24px;
  }

  .workflow-strip {
    justify-content: flex-start;
    overflow-x: auto;
    border-radius: 18px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  :root {
    --page-pad: 18px;
  }

  .brand small {
    display: none;
  }

  .nav a:not(.nav-action) {
    font-size: 13px;
  }

  .nav-action {
    min-height: 40px;
    padding: 0 14px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-actions a {
    width: 100%;
  }

  .sample-stage {
    min-height: 360px;
  }

  .viewer-toolbar em {
    display: none;
  }
}
