:root {
  --ink: #17212f;
  --muted: #667386;
  --line: #dde6ec;
  --surface: #ffffff;
  --soft: #f4f8fb;
  --green: #FF7A2F;
  --orange: #FF7A2F;
  --blue: #226dba;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--soft);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(221, 230, 236, .9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #405064;
  font-size: 14px;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, .94fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: 680px;
  background: #f7fafb;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.12;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.14;
}

h3 {
  margin: 0 0 10px;
  font-size: 19px;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.lead {
  max-width: 680px;
  margin-top: 24px;
  font-size: 18px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 700;
}

.btn.primary {
  color: #fff;
  background: var(--green);
}

.btn.secondary {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.fact-list {
  display: grid;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  max-width: 620px;
  color: #4f5d6c;
  line-height: 1.7;
}

.fact-list strong {
  color: var(--ink);
  font-weight: 700;
}

.trust-row {
  display: none;
  margin-top: 26px;
}

.trust-row span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 122, 47, .2);
  border-radius: 999px;
  color: #B84D16;
  background: rgba(255, 255, 255, .72);
  font-size: 13px;
}

.hero-visual,
.product-slot,
.qr-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 440px;
  border: 1px dashed #a8b8c7;
  border-radius: 6px;
  background: #fafcfd;
}

.device-placeholder,
.product-slot,
.qr-box {
  text-align: center;
}

.device-placeholder span,
.product-slot div,
.qr-box span {
  display: block;
  margin-bottom: 12px;
  font-size: 24px;
  font-weight: 700;
}

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

.compact-grid {
  background: var(--surface);
}

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

.feature-grid article,
.service-card,
.spec-panel,
.scene-list div {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.feature-grid article {
  padding: 24px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 72px);
  background: #FFF2EA;
}

.scene-list {
  display: grid;
  gap: 14px;
}

.scene-list div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 20px;
}

.scene-list strong {
  color: #633019;
}

.scene-list span {
  color: var(--muted);
  line-height: 1.7;
}

.app-section {
  background: #1d2a33;
  color: #fff;
}

.app-section p {
  color: #b8c6d2;
}

.app-section .eyebrow {
  color: #FFB38F;
}

.screenshot-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  overflow: hidden;
}

figure {
  margin: 0;
}

.screenshot-strip figure {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 4px;
  background: rgba(255, 255, 255, .06);
}

.screenshot-strip img {
  width: 100%;
  aspect-ratio: 9 / 19;
  object-fit: contain;
  object-position: center;
  background: #fff;
  border-radius: 4px;
  display: block;
  cursor: zoom-in;
}

.image-preview {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 24px 32px;
  background: rgba(8, 14, 20, .86);
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, visibility .18s ease;
}

.image-preview.is-open {
  opacity: 1;
  visibility: visible;
}

.image-preview-image {
  max-width: min(92vw, 900px);
  max-height: 84vh;
  width: auto;
  height: auto;
  object-fit: contain;
  transform: scale(1);
  transform-origin: center;
  transition: transform .18s ease;
  cursor: zoom-out;
  user-select: none;
}

.image-preview-toolbar {
  position: absolute;
  top: 20px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.image-preview-toolbar button {
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 4px;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  font: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.image-preview-toolbar button:hover {
  background: rgba(255, 255, 255, .22);
}

.image-preview-toolbar .image-preview-reset {
  min-width: 58px;
  font-size: 13px;
}

.image-preview-close {
  margin-left: 6px;
}

figcaption {
  padding: 12px 4px 2px;
  color: #d9e5ee;
  text-align: center;
  font-size: 14px;
}

.hardware {
  background: #fff;
}

.hardware-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  gap: 22px;
}

.spec-panel {
  padding: 10px 26px;
}

dl {
  margin: 0;
}

dl div {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

dl div:last-child {
  border-bottom: 0;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.service {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  background: #f6f1eb;
}

.service-card {
  padding: clamp(24px, 4vw, 42px);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: center;
  background: #fff;
}

.phone {
  margin-top: 18px;
  color: var(--orange);
  font-size: 30px;
  font-weight: 800;
}

.qr-box {
  min-height: 320px;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
}

.qr-box img {
  display: block;
  width: 190px;
  height: 190px;
  object-fit: contain;
  background: #fff;
}

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

.site-footer p {
  color: #8d9aa8;
}

.footer-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  justify-content: flex-end;
  align-items: center;
  white-space: nowrap;
}

.beian-link {
  color: #5C8DE3;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.police-beian {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.police-beian img {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.legal-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 72px 20px 96px;
  background: #fff;
}

.legal-page h1 {
  font-size: 42px;
}

.legal-page h2 {
  margin-top: 34px;
  font-size: 24px;
}

.legal-page p {
  margin-top: 12px;
}

@media (max-width: 980px) {
  .hero,
  .split,
  .hardware-layout,
  .contact {
    grid-template-columns: 1fr;
  }

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

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

  .nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
  }

  .brand span {
    font-size: 15px;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual,
  .product-slot,
  .qr-box {
    min-height: 280px;
  }

  .feature-grid,
  .service,
  .screenshot-strip {
    grid-template-columns: 1fr;
  }

  .scene-list div,
  dl div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer {
    display: block;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 18px;
    white-space: normal;
  }
}

@media (max-width: 640px) and (hover: hover), (max-width: 640px) and (pointer: fine) {
  .site-footer {
    display: flex;
    align-items: center;
  }

  .footer-links {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    justify-content: flex-end;
    margin-top: 0;
    white-space: nowrap;
  }
}
