:root {
  color-scheme: light;
  --ink: #18212b;
  --muted: #5b6673;
  --line: #d9e0e7;
  --panel: #ffffff;
  --soft: #f5f7f9;
  --brand: #126c70;
  --brand-dark: #0a464a;
  --accent: #d9442e;
  --gold: #c8942f;
  --shadow: 0 18px 50px rgba(18, 31, 43, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(18px, 5vw, 72px);
  color: #fff;
  transition: background 0.2s ease, box-shadow 0.2s ease, padding 0.2s ease;
}

.site-header.scrolled,
.site-header.open {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 8px 28px rgba(20, 31, 45, 0.1);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 18px;
  line-height: 1.1;
}

.brand small {
  margin-top: 3px;
  font-size: 12px;
  color: currentColor;
  opacity: 0.76;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
}

.main-nav a {
  padding: 8px 0;
  color: currentColor;
}

.nav-cta {
  padding: 8px 16px !important;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: currentColor;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #121a22;
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero > img {
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 18, 24, 0.88), rgba(10, 18, 24, 0.52) 48%, rgba(10, 18, 24, 0.2)),
    linear-gradient(0deg, rgba(10, 18, 24, 0.88), rgba(10, 18, 24, 0) 42%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin: 0 0 clamp(54px, 9vh, 96px) clamp(18px, 6vw, 86px);
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #ffb46d;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.05;
  letter-spacing: 0;
}

h1 span {
  display: inline;
}

.hero-copy {
  max-width: 650px;
  margin: 22px 0 0;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.88);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

.button.primary {
  background: var(--accent);
  color: #fff;
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 580px;
  margin: 46px 0 0;
}

.hero-metrics div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.hero-metrics dt {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.hero-metrics dd {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.section {
  padding: clamp(58px, 8vw, 98px) clamp(18px, 5vw, 72px);
}

.section-head {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-head.split,
.case-layout,
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.section h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.16;
}

.section h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.25;
}

.section p {
  color: var(--muted);
}

.intro {
  background: var(--soft);
}

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

.intro-grid article,
.product-card,
.capability-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.intro-grid article {
  padding: 28px;
}

.icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: rgba(18, 108, 112, 0.12);
  color: var(--brand);
  font-weight: 900;
}

.filter-bar,
.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter,
.tab {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
}

.filter.active,
.tab.active {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

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

.product-card {
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(18, 31, 43, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-card.hidden {
  display: none;
}

.product-media {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 18px;
  background: #f3f6f7;
  border-bottom: 1px solid var(--line);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-body {
  padding: 22px;
}

.tag {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--brand) !important;
  font-size: 13px;
  font-weight: 800;
}

.product-body p {
  margin: 0 0 14px;
}

.product-body ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.software,
.solutions,
.cases {
  background: #f7f8f6;
}

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

.software-card {
  display: grid;
  align-content: space-between;
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 26px rgba(18, 31, 43, 0.05);
}

.software-count {
  margin: 0 0 10px;
  color: var(--accent) !important;
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
}

.software-card p:last-child {
  margin: 18px 0 0;
}

.solution-tabs {
  display: grid;
  gap: 22px;
}

.solution-panel {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(18, 31, 43, 0.08);
}

.solution-panel img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.chips span {
  padding: 7px 12px;
  border-radius: 999px;
  background: #edf4f4;
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 14px;
}

.section-note {
  margin: 10px 0 0;
  max-width: 560px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--brand-dark);
  color: #fff;
  min-height: 220px;
}

.timeline span {
  display: block;
  margin-bottom: 34px;
  color: #8dd4d4;
  font-weight: 900;
}

.timeline p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

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

.capability-list article {
  padding: 22px;
}

.capability-list strong,
.capability-list span {
  display: block;
}

.capability-list strong {
  margin-bottom: 8px;
  font-size: 19px;
}

.capability-list span {
  color: var(--muted);
}

.contact {
  background: var(--brand-dark);
  color: #fff;
}

.contact p {
  color: rgba(255, 255, 255, 0.78);
}

.contact .eyebrow {
  color: #ffbc7d;
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.86);
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}

.lead-form label {
  display: grid;
  gap: 7px;
}

.lead-form span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
}

.lead-form textarea {
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--brand) !important;
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 72px);
  background: #111820;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1040px) {
  .product-grid,
  .intro-grid,
  .software-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  .site-header {
    padding: 12px 18px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 66px;
    left: 18px;
    right: 18px;
    display: none;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-header.open .main-nav {
    display: grid;
    gap: 8px;
  }

  .main-nav a {
    padding: 10px 8px;
  }

  .nav-cta {
    width: max-content;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 18px 42px;
  }

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

  .hero-metrics {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .section-head.split,
  .case-layout,
  .contact-panel,
  .solution-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .product-grid,
  .intro-grid,
  .capability-list,
  .software-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 100%;
    font-size: 34px;
    word-break: break-all;
  }

  h1 span {
    display: block;
  }

  .section {
    padding: 52px 18px;
  }

  .site-footer {
    display: grid;
  }
}
