:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #5d6b78;
  --line: #dde5ec;
  --paper: #ffffff;
  --soft: #f4f7fa;
  --brand: #0f7a66;
  --brand-strong: #07594b;
  --accent: #d96c2c;
  --blue: #2f6f9f;
  --shadow: 0 18px 48px rgba(27, 43, 62, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 72px;
  padding: 0 clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(221, 229, 236, 0.86);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.brand,
.nav,
.hero-actions,
.metric-row,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
}

.nav {
  gap: clamp(14px, 2vw, 32px);
  color: var(--muted);
  font-size: 15px;
}

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

.header-action {
  color: var(--brand-strong);
  font-weight: 700;
  white-space: nowrap;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100vh - 72px);
  background: #17202a;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 20, 28, 0.74), rgba(12, 20, 28, 0.28) 48%, rgba(12, 20, 28, 0.08)),
    linear-gradient(180deg, rgba(12, 20, 28, 0.12), rgba(12, 20, 28, 0.28));
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-slide {
  opacity: 0;
  transition: opacity 0.7s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide a {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-overlay {
  display: grid;
  align-content: center;
  min-height: calc(100vh - 72px);
  padding: clamp(58px, 8vw, 110px) clamp(20px, 7vw, 96px);
  color: #fff;
}

.hero-overlay .lead {
  color: rgba(255, 255, 255, 0.82);
}

.hero-overlay .eyebrow {
  color: #f2a36b;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 8px;
  background: rgba(23, 32, 42, 0.42);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.carousel-btn:hover {
  background: rgba(15, 122, 102, 0.82);
}

.carousel-btn.prev {
  left: clamp(14px, 3vw, 34px);
}

.carousel-btn.next {
  right: clamp(14px, 3vw, 34px);
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 2;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.carousel-dot {
  width: 34px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
  cursor: pointer;
}

.carousel-dot.is-active {
  background: #fff;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(40px, 6vw, 74px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.lead {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

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

.button.secondary {
  background: #fff;
  color: var(--brand-strong);
}

.hero-visual {
  position: relative;
  min-height: 430px;
}

.device-shell {
  position: absolute;
  inset: 24px 0 0 28px;
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(145deg, #243241, #101820);
  box-shadow: var(--shadow);
}

.screen {
  height: 100%;
  padding: 26px;
  border-radius: 18px;
  background: linear-gradient(180deg, #eef6f5, #cfe1df);
}

.screen-top {
  width: 52%;
  height: 18px;
  margin-bottom: 24px;
  border-radius: 8px;
  background: var(--brand);
}

.metric-row {
  gap: 12px;
}

.metric-row span {
  width: 31%;
  height: 58px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(30, 59, 70, 0.08);
}

.chart-bars {
  display: flex;
  align-items: end;
  gap: 13px;
  height: 178px;
  margin-top: 34px;
}

.chart-bars i {
  flex: 1;
  min-width: 24px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--accent), #f0b36d);
}

.tool-panel {
  position: absolute;
  right: 0;
  bottom: 22px;
  display: grid;
  gap: 4px;
  min-width: 190px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
}

.tool-panel span,
.section-heading p,
.feature p,
.download-item small,
.contact p {
  color: var(--muted);
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 6vw, 88px);
}

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

.feature-grid,
.app-groups,
.app-grid,
.video-grid {
  display: grid;
  gap: 18px;
}

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

.feature,
.app-card,
.video-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.feature {
  padding: 24px;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: 8px;
  background: rgba(15, 122, 102, 0.1);
  color: var(--brand);
  font-weight: 900;
}

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

.download-list {
  display: grid;
  gap: 14px;
  max-width: 840px;
}

.download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.download-item span {
  display: grid;
  gap: 4px;
}

.download-item b {
  color: var(--brand);
}

.apps-section {
  background: #fff;
}

.app-groups {
  gap: 34px;
}

.app-group {
  display: grid;
  gap: 16px;
}

.app-group-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.app-group-heading h3 {
  margin-bottom: 4px;
  font-size: 23px;
}

.app-group-heading p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
}

.app-group-heading span {
  flex: 0 0 auto;
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
}

.app-grid {
  grid-template-columns: repeat(auto-fill, 300px);
  justify-content: start;
}

.app-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  min-height: 270px;
  padding: 22px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

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

.app-badge {
  width: max-content;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(47, 111, 159, 0.1);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

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

.app-card h3 {
  min-height: 52px;
}

.app-card p {
  min-height: 78px;
}

.app-card .button {
  align-self: end;
  width: 100%;
}

.video-grid {
  grid-template-columns: repeat(auto-fill, 300px);
  justify-content: start;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 300px);
  justify-content: start;
  gap: 18px;
}

.product-capabilities {
  margin-bottom: 28px;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 16px;
  align-items: start;
  min-height: 270px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

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

.product-card .button {
  width: 100%;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  padding: clamp(52px, 8vw, 110px) clamp(20px, 6vw, 88px);
  background:
    linear-gradient(120deg, rgba(217, 108, 44, 0.12), transparent 42%),
    linear-gradient(180deg, #fbfcfd, #eef4f7);
}

.product-hero > img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
}

.spec-grid div {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.spec-grid span {
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.video-card {
  display: grid;
  gap: 24px;
  min-height: 190px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(23, 32, 42, 0.72), rgba(23, 32, 42, 0.3)),
    linear-gradient(135deg, #2f6f9f, #0f7a66);
  color: #fff;
}

.play {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: clamp(20px, 6vw, 88px);
  padding: clamp(30px, 5vw, 58px);
  border-radius: 8px;
  background: #17202a;
  color: #fff;
}

.contact-widget {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: clamp(20px, 6vw, 88px);
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.contact p {
  max-width: 680px;
}

.contact-widget p {
  max-width: 760px;
  color: var(--muted);
}

.qr-panel {
  display: flex;
  align-items: center;
  gap: 14px;
}

.qr-panel figure {
  display: grid;
  gap: 8px;
  justify-items: center;
  margin: 0;
  color: inherit;
  font-size: 13px;
  font-weight: 800;
}

.qr-panel img {
  width: 104px;
  height: 104px;
  border-radius: 8px;
  background: #fff;
}

.qr-panel.light img {
  border: 1px solid var(--line);
}

.footer {
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 6vw, 88px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.tool-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  padding: clamp(52px, 8vw, 110px) clamp(20px, 6vw, 88px);
  background:
    linear-gradient(120deg, rgba(47, 111, 159, 0.12), transparent 42%),
    linear-gradient(180deg, #fbfcfd, #eef4f7);
}

.tool-summary {
  display: grid;
  gap: 6px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.start-button {
  min-height: 56px;
  padding: 0 30px;
  font-size: 18px;
}

.summary-start {
  width: 100%;
  margin-bottom: 14px;
}

.tool-summary strong:not(:first-child) {
  margin-top: 12px;
}

.tool-summary span,
.detail-list span,
.sample-card p {
  color: var(--muted);
}

.detail-list {
  display: grid;
  gap: 14px;
  max-width: 920px;
}

.detail-list div {
  display: grid;
  gap: 6px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

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

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

.sample-card {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.sample-card pre {
  overflow-x: auto;
  margin: 0;
  padding: 14px;
  border-radius: 8px;
  background: #17202a;
  color: #e8f2f0;
  font-size: 13px;
  line-height: 1.55;
}

.sample-actions {
  display: grid;
  gap: 10px;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .feature-grid,
  .app-groups,
  .tool-hero,
  .product-hero,
  .sample-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 360px;
  }

  .app-card {
    min-height: 250px;
  }
}

@media (max-width: 640px) {
  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .header-action {
    display: none;
  }

  .hero {
    min-height: calc(100vh - 121px);
  }

  .hero-overlay {
    min-height: calc(100vh - 121px);
    padding-right: 62px;
    padding-left: 62px;
  }

  .carousel-btn {
    width: 38px;
    height: 38px;
    font-size: 28px;
  }

  .device-shell {
    inset: 12px 0 0;
    padding: 16px;
    border-radius: 18px;
  }

  .screen {
    padding: 18px;
  }

  .chart-bars {
    height: 124px;
  }

  .tool-panel {
    right: 12px;
    bottom: 4px;
  }

  .app-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .download-item,
  .contact,
  .contact-widget,
  .app-group-heading,
  .product-card,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    display: grid;
  }

  .product-card img {
    max-width: none;
  }

  .qr-panel {
    flex-wrap: wrap;
  }
}
