:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --paper: #ffffff;
  --paper-soft: rgba(255, 255, 255, 0.86);
  --text: #142033;
  --muted: #5d6b82;
  --line: rgba(34, 54, 82, 0.14);
  --brand: #0f6bff;
  --brand-strong: #084ec6;
  --teal: #12a88a;
  --gold: #c98522;
  --ink: #1c2636;
  --shadow: 0 24px 70px rgba(35, 54, 87, 0.14);
  --design-max: 1440px;
  --max: var(--design-max);
  --gutter: 48px;
  --content-left: max(var(--gutter), calc((100vw - var(--max)) / 2));
  --header-height: 64px;
  --hero-height: 786px;
  --scene-width: 2560px;
  --scene-height: 640px;
  --canvas-width: 1056px;
  --canvas-height: 640px;
  --copy-top: 375px;
  --fade-top: 430px;
  --news-top: 575px;
}

@media (max-resolution: 0.9dppx) {
  :root {
    --max: 1920px;
    --gutter: 64px;
    --header-height: 85.333px;
    --hero-height: 1048px;
    --scene-width: 3414px;
    --scene-height: 854px;
    --canvas-width: 1408px;
    --canvas-height: 854px;
    --copy-top: 500px;
    --fade-top: 573px;
    --news-top: 767px;
  }
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(246, 248, 251, 0.78) 0%, var(--bg) 42%),
    var(--bg);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 36px;
  height: var(--header-height);
  padding: 0 50px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 188px;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--teal) 100%);
  border-radius: 7px;
  font-weight: 850;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.08;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
}

.site-nav a,
.header-link {
  display: inline-flex;
  align-items: center;
  height: 34px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

.site-nav a:hover,
.header-link:hover {
  color: var(--brand-strong);
}

.header-link {
  justify-content: center;
  min-width: 124px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper-soft);
}

.hero {
  position: relative;
  min-height: var(--hero-height);
  margin: 0;
  overflow: hidden;
  background: var(--bg);
}

.hero-fade {
  position: absolute;
  right: 0;
  left: 0;
  top: var(--fade-top);
  z-index: 4;
  height: 380px;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--bg) 0%, transparent) 0%,
    color-mix(in srgb, var(--bg) 12%, transparent) 20%,
    color-mix(in srgb, var(--bg) 54%, transparent) 52%,
    var(--bg) 82%,
    var(--bg) 100%
  );
}

.hero-copy {
  position: absolute;
  top: var(--copy-top);
  left: var(--content-left);
  z-index: 12;
  width: min(720px, calc(100vw - 48px));
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(54px, 5.1vw, 78px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
}

.hero h1 span + span {
  color: var(--brand-strong);
  font-size: clamp(40px, 3.8vw, 61px);
}

.hero-lead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 760;
  line-height: 1.32;
}

.hero-lead .lead-main {
  display: inline;
}

.hero-lead .lead-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 5px;
  color: #ffffff;
  background: var(--brand);
  font-size: 13px;
  font-weight: 700;
}

.hero-visual {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  width: max(100vw, var(--scene-width));
  height: var(--scene-height);
  overflow: hidden;
  pointer-events: auto;
  transform: translateX(-50%);
}

.hero-image-layer,
.hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-poster {
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.hero-poster {
  z-index: 1;
  opacity: 1;
  transition: opacity 500ms ease, filter 500ms ease;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 6;
  display: block;
  width: var(--canvas-width);
  height: var(--canvas-height);
  opacity: 0;
  filter: drop-shadow(0 28px 42px rgba(60, 88, 150, 0.2));
  transform: translateX(-50%);
  transition: opacity 520ms ease, filter 520ms ease;
}

.hero-visual.is-model-ready .hero-canvas {
  opacity: 1;
}

.module-news {
  position: absolute;
  top: var(--news-top);
  left: 50%;
  z-index: 14;
  display: grid;
  width: min(calc(100vw - var(--gutter) * 2), var(--max));
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  transform: translateX(-50%);
}

.proof-strip {
  align-items: stretch;
}

.news-card {
  min-width: 0;
  min-height: 148px;
  padding: 20px 24px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  box-shadow: 0 18px 46px rgba(35, 54, 87, 0.09);
}

.news-card h2 {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: 0;
}

.news-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.news-card time {
  display: block;
  margin-top: 14px;
  color: color-mix(in srgb, var(--muted) 58%, transparent);
  font-size: 14px;
  text-align: right;
}

@media (max-resolution: 0.9dppx) {
  .news-card {
    min-height: 197px;
    padding: 27px 32px;
  }

  .news-card h2 {
    font-size: 24px;
  }

  .news-card p,
  .news-card time {
    font-size: 18.667px;
  }

  .news-card p {
    margin-top: 13px;
  }

  .news-card time {
    margin-top: 19px;
  }
}

.scene-hotspot {
  position: absolute;
  z-index: 8;
  border: 0;
  opacity: 0;
  background: transparent;
  cursor: pointer;
}

.hotspot-workflow {
  top: 76px;
  left: calc(50% - 152px);
  width: 304px;
  height: 320px;
}

.hotspot-inventory {
  top: 272px;
  left: calc(50% - 470px);
  width: 230px;
  height: 220px;
}

.hotspot-finance {
  top: 284px;
  left: calc(50% + 250px);
  width: 238px;
  height: 220px;
}

.section {
  width: min(calc(100vw - var(--gutter) * 2), var(--max));
  margin-right: auto;
  margin-left: auto;
  padding: 96px 0;
}

.section-heading {
  max-width: 690px;
}

.section-heading.compact {
  max-width: 840px;
}

.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading p:not(.section-kicker) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.problem-grid,
.summary-grid,
.design-grid,
.feature-list,
.solution-board,
.ai-grid,
.custom-grid,
.impact-grid {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}

.problem-grid,
.design-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-list {
  grid-template-columns: repeat(3, 1fr);
}

.summary-grid,
.solution-board {
  grid-template-columns: repeat(4, 1fr);
}

.ai-grid,
.impact-grid {
  grid-template-columns: repeat(3, 1fr);
}

.custom-grid {
  grid-template-columns: repeat(4, 1fr);
}

.problem-grid article,
.summary-grid article,
.design-grid article,
.feature-list article,
.solution-board article,
.deployment-rail article,
.ai-grid article,
.custom-grid article,
.impact-grid article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 16px 42px rgba(35, 54, 87, 0.06);
}

.design-grid article {
  min-height: 230px;
  padding: 28px;
}

.problem-grid article {
  min-height: 236px;
  padding: 28px;
}

.summary-grid article {
  min-height: 210px;
  padding: 24px;
}

.feature-list article {
  min-height: 190px;
  padding: 24px;
}

.solution-board article {
  min-height: 204px;
  padding: 24px;
}

.ai-grid article,
.custom-grid article,
.impact-grid article {
  min-height: 198px;
  padding: 24px;
}

.card-index {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 850;
}

article h3 {
  margin: 0;
  color: var(--text);
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: 0;
}

article p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.78;
}

.feature-tabs {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  margin-top: 42px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 54px rgba(35, 54, 87, 0.08);
}

.feature-tab-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(242, 247, 252, 0.9)),
    var(--paper);
}

.feature-tab {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 0 16px;
  border: 0;
  border-radius: 7px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 760;
  text-align: left;
  cursor: pointer;
}

.feature-tab:hover,
.feature-tab:focus-visible {
  color: var(--brand-strong);
  background: rgba(15, 107, 255, 0.08);
  outline: none;
}

.feature-tab.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--teal) 100%);
  box-shadow: 0 14px 28px rgba(15, 107, 255, 0.18);
}

.feature-panel {
  min-height: 360px;
  padding: 40px 44px;
}

.feature-panel[hidden] {
  display: none;
}

.feature-panel.is-active {
  display: block;
}

.feature-panel h3 {
  max-width: 780px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(25px, 2.5vw, 36px);
  line-height: 1.22;
}

.feature-panel p {
  max-width: 860px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.82;
}

.feature-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.feature-points li {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid rgba(15, 107, 255, 0.13);
  border-radius: 8px;
  color: var(--text);
  background: rgba(245, 249, 253, 0.82);
  font-size: 14px;
  line-height: 1.6;
}

.feature-result {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.feature-result span {
  min-width: 0;
}

.feature-result strong,
.feature-result small {
  display: block;
}

.feature-result strong {
  color: var(--brand-strong);
  font-size: 15px;
  line-height: 1.35;
}

.feature-result small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.process-section {
  padding-top: 80px;
}

.process-flow {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin-top: 40px;
}

.process-step {
  position: relative;
  min-width: 0;
  min-height: 194px;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 16px 38px rgba(35, 54, 87, 0.06);
}

.process-step::after {
  position: absolute;
  top: 48px;
  right: -10px;
  z-index: 2;
  width: 18px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--brand), var(--teal));
}

.process-step:last-child::after {
  display: none;
}

.process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 24px;
  border-radius: 5px;
  color: #ffffff;
  background: var(--brand);
  font-size: 12px;
  font-weight: 820;
}

.process-step strong {
  display: block;
  margin-top: 20px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.35;
}

.process-step p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.ai-section,
.custom-section,
.impact-section {
  border-top: 1px solid rgba(34, 54, 82, 0.08);
}

.ai-grid article:nth-child(1),
.impact-grid article:nth-child(1) {
  border-top: 3px solid var(--brand);
}

.ai-grid article:nth-child(2),
.impact-grid article:nth-child(2) {
  border-top: 3px solid var(--teal);
}

.ai-grid article:nth-child(3),
.impact-grid article:nth-child(3) {
  border-top: 3px solid var(--gold);
}

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

.deployment-rail {
  display: grid;
  gap: 14px;
}

.deployment-rail article {
  position: relative;
  padding: 24px 24px 24px 34px;
}

.deployment-rail article::before {
  position: absolute;
  top: 25px;
  bottom: 25px;
  left: 17px;
  width: 3px;
  border-radius: 8px;
  content: "";
  background: linear-gradient(180deg, var(--brand), var(--teal));
}

.advantages {
  padding-top: 76px;
  padding-bottom: 76px;
}

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

.advantage-list li {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  align-items: baseline;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.advantage-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.advantage-list strong {
  color: var(--text);
  font-size: 19px;
}

.advantage-list span {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.final-cta {
  padding-top: 82px;
  padding-bottom: 92px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.final-cta h2 {
  max-width: 840px;
  margin: 0 auto;
  color: var(--ink);
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.12;
}

.final-cta p:not(.section-kicker) {
  max-width: 760px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 34px 24px 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--paper);
}

.site-footer strong {
  color: var(--text);
}

@media (max-width: 1240px) {
  .site-header {
    padding-right: 28px;
    padding-left: 28px;
  }

  .site-nav {
    gap: 22px;
  }

  .section {
    padding-right: 28px;
    padding-left: 28px;
  }

  .module-news {
    width: min(calc(100vw - 56px), var(--max));
  }

  .process-flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .process-step:nth-child(4)::after {
    display: none;
  }

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

@media (max-width: 900px) {
  .site-header {
    height: auto;
    min-height: 66px;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .header-link {
    display: none;
  }

  .hero {
    min-height: 980px;
  }

  .hero-visual {
    top: 0;
    width: 1600px;
    height: 640px;
  }

  .hero-canvas {
    width: min(100vw, 760px);
  }

  .hero-copy {
    top: 330px;
    width: calc(100vw - 48px);
  }

  .hero-lead {
    max-width: 560px;
    font-size: 19px;
  }

  .hero-lead .lead-tag {
    margin: 10px 0 0;
  }

  .module-news {
    top: 660px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .design-grid,
  .problem-grid,
  .summary-grid,
  .feature-list,
  .ai-grid,
  .impact-grid,
  .solution-board,
  .split-section {
    grid-template-columns: 1fr;
  }

  .feature-tabs {
    grid-template-columns: 1fr;
  }

  .feature-tab-list {
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-tab {
    flex: 0 0 auto;
    min-height: 46px;
    white-space: nowrap;
  }

  .feature-panel {
    min-height: 0;
    padding: 32px;
  }

  .feature-points {
    grid-template-columns: 1fr;
  }

  .feature-result {
    grid-template-columns: 1fr;
  }

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

  .process-step:nth-child(4)::after {
    display: block;
  }

  .process-step:nth-child(2n)::after {
    display: none;
  }

  .solution-board article,
  .feature-list article,
  .design-grid article,
  .problem-grid article,
  .summary-grid article,
  .ai-grid article,
  .custom-grid article,
  .impact-grid article {
    min-height: 0;
  }

  .advantage-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 560px) {
  :root {
    --gutter: 18px;
  }

  .site-header,
  .section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .brand {
    min-width: 0;
  }

  .hero {
    min-height: 1210px;
  }

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

  .hero h1 span + span {
    font-size: 35px;
  }

  .hero-visual {
    width: 1180px;
    opacity: 0.72;
  }

  .hero-copy {
    top: 318px;
    width: calc(100vw - 36px);
  }

  .hero-lead {
    font-size: 17px;
  }

  .module-news {
    top: 640px;
    width: calc(100vw - 36px);
    grid-template-columns: 1fr;
  }

  .news-card {
    min-height: 122px;
    padding: 20px;
  }

  .news-card h2 {
    font-size: 18px;
  }

  .news-card time {
    margin-top: 16px;
    font-size: 14px;
  }

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .feature-panel {
    padding: 28px 22px;
  }

  .feature-tab-list {
    padding: 10px;
  }

  .process-flow,
  .custom-grid {
    grid-template-columns: 1fr;
  }

  .process-step::after {
    display: none !important;
  }

  .process-step {
    min-height: 0;
  }

  .final-cta {
    padding-top: 68px;
    padding-bottom: 76px;
  }
}

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

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

  .hero-canvas {
    display: none;
  }
}
