:root {
  --brand: #215e99;
  --brand-700: #174a7c;
  --brand-900: #0c2f53;
  --brand-soft: #e7f1fb;
  --accent: #5ea9e8;
  --teal: #2f8fba;
  --ink: #17212f;
  --muted: #58677a;
  --line: #d9e2ec;
  --surface: #ffffff;
  --surface-soft: #f4f7fb;
  --shadow: 0 20px 60px rgba(21, 45, 71, 0.14);
  --radius: 8px;
  --header-height: 72px;
  font-family: "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: var(--surface-soft);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--surface-soft);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

svg {
  width: 1em;
  height: 1em;
  display: block;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  color: #f8fbff;
  background: rgba(10, 31, 52, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  border-bottom-color: rgba(18, 35, 56, 0.1);
}

.brand,
.header-actions,
.nav-links,
.hero-actions,
.button,
.metric-band,
.panel-topline,
.mapping-row,
.check-list li,
.blueprint-header,
.purchase-section {
  display: flex;
  align-items: center;
}

.brand {
  flex: 0 0 auto;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(6, 52, 95, 0.18);
}

.brand-logo {
  width: 48px;
  height: 48px;
  display: block;
  border-radius: 6px;
}

.site-header.is-scrolled .brand {
  border-color: rgba(18, 35, 56, 0.1);
  box-shadow: 0 10px 22px rgba(6, 52, 95, 0.1);
}

.nav-links {
  gap: 8px;
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: var(--radius);
  color: currentColor;
  font-size: 15px;
  font-weight: 600;
  opacity: 0.86;
  transition: background 180ms ease, opacity 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  opacity: 1;
  outline: none;
}

.site-header.is-scrolled .nav-links a:hover,
.site-header.is-scrolled .nav-links a:focus-visible {
  background: var(--brand-soft);
}

.header-actions {
  gap: 12px;
}

.language-menu {
  position: relative;
}

.language-toggle {
  min-width: 96px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  color: currentColor;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.language-toggle svg {
  width: 14px;
  height: 14px;
}

.language-toggle:focus-visible,
.language-choice:focus-visible {
  outline: 2px solid rgba(94, 169, 232, 0.88);
  outline-offset: 2px;
}

.language-list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 80;
  min-width: 128px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid rgba(18, 69, 130, 0.14);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(6, 52, 95, 0.18);
}

.language-choice {
  width: 100%;
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  color: var(--brand-900);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.language-choice:hover {
  background: var(--brand-soft);
}

.site-header.is-scrolled .icon-button {
  border-color: rgba(18, 35, 56, 0.14);
  background: rgba(33, 94, 153, 0.08);
}

.site-header.is-scrolled .language-toggle {
  border-color: rgba(18, 35, 56, 0.14);
  background: rgba(33, 94, 153, 0.08);
}

.icon-button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  display: none;
  place-items: center;
  color: currentColor;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.icon-button svg {
  width: 22px;
  height: 22px;
}

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  isolation: isolate;
  color: #ffffff;
  background: #123b63;
  padding: 142px 32px 88px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 34, 58, 0.82) 0%, rgba(18, 59, 99, 0.66) 44%, rgba(33, 94, 153, 0.26) 100%),
    radial-gradient(circle at 80% 30%, rgba(94, 169, 232, 0.16), transparent 30%),
    radial-gradient(circle at 65% 80%, rgba(33, 94, 153, 0.18), transparent 30%);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  background: #123b63;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(720px, 100%);
  padding-top: 42px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.section-heading h2,
.output-copy h2,
.purchase-section h2 {
  margin: 0;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 700px;
  font-size: 56px;
  line-height: 1.08;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.hero-line {
  display: inline;
}

.hero-line + .hero-line::before {
  content: " ";
}

.hero-line:last-child::before {
  content: " ";
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.78;
}


.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  min-height: 48px;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.button.primary {
  color: #ffffff;
  background: var(--brand);
  box-shadow: 0 14px 36px rgba(33, 94, 153, 0.36);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--brand-700);
  outline: none;
}

.button.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

.hero-stage {
  position: absolute;
  z-index: 1;
  right: 4%;
  top: 112px;
  width: min(760px, 56vw);
  height: min(610px, 66vh);
  pointer-events: none;
}

.import-panel,
.mapping-panel,
.cad-panel {
  position: absolute;
  border: 1px solid rgba(184, 221, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(236, 245, 253, 0.82);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.import-panel {
  top: 9%;
  right: 5%;
  width: 82%;
  padding: 16px;
}

.panel-topline {
  gap: 8px;
  min-height: 28px;
  margin-bottom: 12px;
  color: rgba(12, 47, 83, 0.78);
  font-size: 13px;
}

.panel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cbd5e1;
}

.panel-dot:first-child {
  background: #dd6b4d;
}

.panel-dot:nth-child(2) {
  background: #d6a948;
}

.panel-dot:nth-child(3) {
  background: #3aa67c;
  margin-right: 8px;
}

.table-preview {
  display: grid;
  grid-template-columns: 0.8fr 1.3fr 0.5fr 1.4fr;
  overflow: hidden;
  border: 1px solid rgba(33, 94, 153, 0.14);
  border-radius: 6px;
}

.table-preview span {
  min-height: 36px;
  padding: 9px 10px;
  border-right: 1px solid rgba(33, 94, 153, 0.12);
  border-bottom: 1px solid rgba(33, 94, 153, 0.12);
  color: rgba(23, 74, 124, 0.78);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: #ffffff;
}

.table-preview span:nth-child(-n + 4) {
  color: var(--brand-900);
  font-weight: 800;
  background: var(--brand-soft);
}

.table-preview span:nth-child(4n) {
  border-right: 0;
}

.table-preview span:nth-last-child(-n + 4) {
  border-bottom: 0;
}

.mapping-panel {
  top: 48%;
  left: 0;
  width: 46%;
  padding: 14px;
}

.mapping-row {
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(33, 94, 153, 0.12);
  font-size: 12px;
}

.mapping-row:last-child {
  border-bottom: 0;
}

.mapping-row span {
  color: rgba(23, 74, 124, 0.64);
}

.mapping-row strong {
  color: var(--brand);
}

.mapping-row.active {
  background: rgba(231, 241, 251, 0.82);
  border-radius: 6px;
}

.cad-panel {
  right: 7%;
  bottom: 0;
  width: 48%;
  height: 250px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    rgba(12, 49, 88, 0.82);
  background-size: 22px 22px;
  overflow: hidden;
}

.blueprint-box {
  position: absolute;
  border: 2px solid rgba(184, 221, 255, 0.68);
  background: rgba(94, 169, 232, 0.1);
}

.blueprint-box.large {
  left: 42px;
  top: 52px;
  width: 148px;
  height: 86px;
}

.blueprint-box.medium {
  right: 48px;
  top: 78px;
  width: 96px;
  height: 56px;
}

.blueprint-box.small {
  left: 126px;
  bottom: 36px;
  width: 74px;
  height: 40px;
}

.dimension-line {
  position: absolute;
  color: rgba(220, 238, 255, 0.78);
  font-size: 12px;
  font-weight: 800;
}

.dim-a {
  left: 80px;
  top: 145px;
}

.dim-b {
  right: 66px;
  top: 142px;
}

.metric-band {
  position: relative;
  z-index: 4;
  width: min(1120px, calc(100% - 40px));
  min-height: 116px;
  justify-content: space-between;
  gap: 16px;
  margin: -44px auto 0;
  padding: 22px 28px;
  border: 1px solid rgba(33, 94, 153, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.metric {
  min-width: 0;
}

.metric strong {
  display: block;
  color: var(--brand);
  font-size: 30px;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.section,
.workflow-section,
.split-section,
.purchase-section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 96px 0 0;
}

.intro-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.section h2,
.section-heading h2,
.output-copy h2,
.purchase-section h2 {
  color: var(--ink);
  font-size: 40px;
  line-height: 1.18;
  font-weight: 850;
}

.wide-copy,
.output-copy p,
.purchase-section p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.86;
}

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

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 248px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(21, 45, 71, 0.05);
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--brand);
  border-radius: var(--radius);
  background: var(--brand-soft);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3,
.workflow-step h3,
.use-case h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.3;
}

.feature-card p,
.workflow-step p,
.use-case p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.76;
}

.workflow-section {
  padding: 106px 0 0;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.workflow-step {
  min-height: 252px;
  padding: 24px;
  background: var(--surface);
}

.workflow-step span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 34px;
  margin-bottom: 36px;
  color: var(--brand);
  border-radius: 6px;
  background: var(--brand-soft);
  font-size: 14px;
  font-weight: 850;
}

.split-section {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 58px;
  align-items: center;
  padding: 108px 0 8px;
}

.blueprint-visual {
  min-height: 470px;
  padding: 22px;
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    #0c3158;
  background-size: 24px 24px;
  box-shadow: var(--shadow);
}

.blueprint-header {
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
  color: #dceeff;
  font-size: 12px;
  font-weight: 800;
}

.blueprint-header strong {
  color: #b8ddff;
}

.layout-board {
  position: relative;
  height: 360px;
  margin-top: 28px;
  border: 1px solid rgba(220, 238, 255, 0.42);
  border-radius: 6px;
}

.box {
  position: absolute;
  display: grid;
  place-items: center;
  border: 2px solid rgba(211, 235, 255, 0.88);
  color: #eaf6ff;
  background: rgba(84, 157, 221, 0.15);
  font-size: 13px;
  font-weight: 850;
}

.box-a {
  left: 12%;
  top: 18%;
  width: 48%;
  height: 28%;
}

.box-b {
  right: 10%;
  top: 24%;
  width: 24%;
  height: 22%;
}

.box-c {
  left: 28%;
  bottom: 16%;
  width: 32%;
  height: 18%;
}

.axis {
  position: absolute;
  color: #b8ddff;
  font-size: 12px;
  font-weight: 850;
}

.x-axis {
  left: 38%;
  bottom: 18px;
}

.y-axis {
  left: 18px;
  top: 44%;
  writing-mode: vertical-rl;
}

.output-copy {
  min-width: 0;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 750;
}

.check-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border-radius: 50%;
  background:
    linear-gradient(135deg, transparent 53%, #ffffff 0) 4px 7px / 8px 8px no-repeat,
    var(--teal);
}

.use-case-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.use-case {
  min-height: 190px;
  padding: 22px;
  border-top: 4px solid var(--brand);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(21, 45, 71, 0.05);
}

.purchase-section {
  justify-content: space-between;
  gap: 48px;
  margin-top: 100px;
  margin-bottom: 34px;
  padding: 36px;
  border-left: 6px solid var(--accent);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(230, 243, 255, 0.96), rgba(255, 255, 255, 0.98)),
    var(--surface);
  box-shadow: var(--shadow);
}

.purchase-section > div {
  flex: 0 0 420px;
}

.purchase-content {
  flex: 1 1 auto;
}

.contact-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  padding: 0 14px;
  border: 1px solid rgba(11, 99, 206, 0.2);
  border-radius: var(--radius);
  color: var(--brand);
  background: #ffffff;
  font-size: 15px;
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(11, 99, 206, 0.08);
}

.contact-link:hover,
.contact-link:focus-visible {
  color: #ffffff;
  background: var(--brand);
  outline: none;
}


.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero h1 {
    font-size: 46px;
  }

  .hero-stage {
    opacity: 0.46;
    right: -12%;
    width: 720px;
  }

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

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

  .workflow-step:last-child {
    grid-column: 1 / -1;
    min-height: 180px;
  }

  .split-section,
  .intro-section {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

  .purchase-section {
    align-items: flex-start;
    flex-direction: column;
  }

  .purchase-section > div {
    flex: 0 1 auto;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 64px;
  }

  .site-header {
    padding: 0 18px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .header-actions {
    margin-right: 54px;
  }

  .language-toggle {
    min-width: 82px;
    min-height: 38px;
    font-size: 12px;
  }

  .icon-button {
    display: grid;
  }

  .menu-toggle {
    position: fixed;
    top: 10px;
    right: 18px;
    z-index: 70;
  }

  .nav-links {
    position: fixed;
    inset: var(--header-height) 12px auto;
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid rgba(18, 35, 56, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.98);
    color: var(--ink);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body.menu-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    min-height: 48px;
    padding: 0 12px;
  }

  .hero {
    min-height: 86vh;
    padding: 118px 20px 76px;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(6, 18, 31, 0.94) 0%, rgba(6, 18, 31, 0.84) 100%),
      radial-gradient(circle at 78% 24%, rgba(19, 127, 122, 0.18), transparent 28%);
  }

  .hero-content {
    width: 100%;
    max-width: calc(100vw - 40px);
    padding-top: 14px;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.14;
    max-width: 100%;
    word-break: break-word;
  }

  .hero-line {
    display: block;
  }

  .hero-line + .hero-line::before,
  .hero-line:last-child::before {
    content: "";
  }

  .hero-copy {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.72;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-stage {
    top: 42%;
    right: -210px;
    width: 620px;
    height: 430px;
    opacity: 0.12;
  }

  .metric-band {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: -24px;
    padding: 20px;
  }

  .metric strong {
    font-size: 24px;
  }

  .section,
  .workflow-section,
  .split-section,
  .purchase-section {
    width: min(100% - 32px, 1120px);
  }

  .section,
  .workflow-section {
    padding-top: 74px;
  }

  .section h2,
  .section-heading h2,
  .output-copy h2,
  .purchase-section h2 {
    font-size: 30px;
    line-height: 1.24;
  }

  .wide-copy,
  .output-copy p,
  .purchase-section p {
    font-size: 16px;
    line-height: 1.76;
  }

  .feature-grid,
  .workflow-grid,
  .use-case-list {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .workflow-step,
  .use-case {
    min-height: auto;
  }

  .workflow-step:last-child {
    grid-column: auto;
  }

  .split-section {
    padding-top: 78px;
  }

  .blueprint-visual {
    min-height: 360px;
    padding: 16px;
  }

  .layout-board {
    height: 270px;
  }

  .purchase-section {
    margin-top: 78px;
    padding: 28px 22px;
  }

}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 31px;
  }

  .metric-band {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
