:root {
  --ink: #132238;
  --ink-2: #334155;
  --muted: #697386;
  --line: #d9e2ec;
  --soft: #f4f7fb;
  --white: #ffffff;
  --navy: #12345a;
  --blue: #1f6fbf;
  --teal: #128c84;
  --gold: #b58b35;
  --green: #2f7d59;
  --shadow: 0 18px 42px rgba(19, 34, 56, 0.14);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  background: var(--white);
}

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

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

button {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 226, 236, 0.82);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 28px;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0;
  background: linear-gradient(135deg, var(--navy), var(--teal));
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
  line-height: 1.25;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--ink-2);
  font-size: 15px;
}

.site-nav a {
  transition: color .2s ease;
}

.site-nav a:hover {
  color: var(--blue);
}

.nav-cta {
  padding: 9px 16px;
  color: var(--white) !important;
  border-radius: var(--radius);
  background: var(--navy);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 74px;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(13, 32, 54, .98) 0%, rgba(18, 52, 90, .94) 49%, rgba(15, 82, 92, .9) 100%),
    url("../images/pc-dashboard.jpg") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  inset: auto 0 0 0;
  height: 90px;
  content: "";
  background: linear-gradient(180deg, rgba(255,255,255,0), var(--white));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: 52px;
}

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

.hero h1 {
  margin: 0;
  max-width: 650px;
  font-size: 52px;
  line-height: 1.14;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.84);
  font-size: 18px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: 0 14px 32px rgba(18, 140, 132, .28);
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(255,255,255,.34);
  background: rgba(255,255,255,.08);
}

.btn-light {
  color: var(--navy);
  background: var(--white);
}

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

.hero-metrics div {
  padding: 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
}

.hero-metrics dt {
  font-size: 20px;
  font-weight: 800;
}

.hero-metrics dd {
  margin: 3px 0 0;
  color: rgba(255,255,255,.74);
  font-size: 13px;
}

.hero-visual {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .32);
}

.hero-visual img {
  width: 100%;
}

.trust-strip {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.trust-list span {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-2);
  font-size: 14px;
  background: var(--soft);
}

.section {
  padding: 88px 0;
}

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

.section-head {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-head.compact {
  margin-bottom: 34px;
}

.section-head h2,
.mobile-copy h2,
.label-grid h2,
.roi-grid h2,
.contact-copy h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.25;
  letter-spacing: 0;
}

.section-head p:not(.eyebrow),
.mobile-copy p,
.label-grid p,
.contact-copy p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
}

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

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

.value-card,
.feature-card {
  min-height: 228px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(19, 34, 56, .06);
}

.value-card h3,
.feature-card h3 {
  margin: 18px 0 8px;
  font-size: 20px;
}

.value-card p,
.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.icon {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  border: 1px solid rgba(31,111,191,.18);
  background: linear-gradient(135deg, rgba(31,111,191,.12), rgba(18,140,132,.12));
}

.icon::before,
.icon::after {
  position: absolute;
  content: "";
}

.icon-cycle::before {
  inset: 12px;
  border: 3px solid var(--blue);
  border-right-color: transparent;
  border-radius: 50%;
}

.icon-code::before {
  inset: 11px;
  border: 2px solid var(--teal);
}

.icon-code::after {
  inset: 17px;
  border: 2px solid var(--gold);
}

.icon-phone::before {
  left: 15px;
  top: 8px;
  width: 16px;
  height: 28px;
  border: 2px solid var(--blue);
  border-radius: 6px;
}

.icon-flow::before {
  left: 10px;
  right: 10px;
  top: 22px;
  height: 2px;
  background: var(--teal);
}

.icon-flow::after {
  left: 10px;
  top: 12px;
  width: 24px;
  height: 20px;
  border: 2px solid var(--gold);
}

.icon-base::before,
.icon-ledger::before,
.icon-inbound::before,
.icon-transfer::before,
.icon-inventory::before,
.icon-report::before {
  left: 12px;
  top: 13px;
  width: 22px;
  height: 20px;
  border: 2px solid var(--blue);
  border-radius: 3px;
}

.icon-ledger::after,
.icon-report::after {
  left: 17px;
  top: 19px;
  width: 12px;
  height: 2px;
  background: var(--teal);
  box-shadow: 0 6px 0 var(--teal);
}

.icon-inbound::after,
.icon-transfer::after,
.icon-inventory::after {
  left: 18px;
  top: 10px;
  width: 10px;
  height: 26px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

.mobile-section {
  background:
    linear-gradient(90deg, rgba(244,247,251,1), rgba(255,255,255,1));
}

.mobile-grid,
.label-grid,
.roi-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 56px;
}

.mobile-copy {
  max-width: 560px;
}

.check-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.check-list div,
.roi-list div,
.contact-info > div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.check-list strong,
.roi-list strong,
.contact-info span {
  display: block;
}

.check-list strong,
.roi-list strong {
  font-size: 17px;
}

.check-list span,
.roi-list span,
.contact-info span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.phone-showcase {
  position: relative;
  min-height: 620px;
}

.phone-frame {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 10px solid #111827;
  border-radius: 32px;
  background: #111827;
  box-shadow: var(--shadow);
}

.phone-frame img {
  border-radius: 20px;
}

.main-phone {
  width: min(360px, 54vw);
  left: 16%;
  top: 0;
  z-index: 2;
}

.small-phone {
  width: min(290px, 44vw);
  right: 6%;
  bottom: 18px;
}

.process-section {
  padding-top: 76px;
  padding-bottom: 76px;
}

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

.process-list li {
  position: relative;
  min-height: 110px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 800;
}

.process-list span {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 13px;
}

.label-grid {
  grid-template-columns: .82fr 1.18fr;
}

.label-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.label-points span {
  padding: 8px 12px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--navy);
}

.label-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.label-images img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.screen-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
}

.screen-tab {
  min-width: 98px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink-2);
  background: var(--white);
  cursor: pointer;
}

.screen-tab.active {
  color: var(--white);
  border-color: var(--navy);
  background: var(--navy);
}

.screen-view {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: stretch;
  gap: 18px;
}

.screen-preview {
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: zoom-in;
  box-shadow: var(--shadow);
}

.screen-preview img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.screen-copy {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.screen-copy h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.screen-copy p {
  margin: 0;
  color: var(--muted);
}

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

.gallery-item {
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-align: left;
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.gallery-item span {
  display: block;
  padding: 12px 14px;
  font-weight: 800;
}

.roi-section {
  background: #102c4a;
  color: var(--white);
}

.roi-grid {
  grid-template-columns: .85fr 1.15fr;
}

.roi-grid .eyebrow {
  color: #d8b15a;
}

.roi-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.roi-list div {
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
}

.roi-list span {
  color: rgba(255,255,255,.72);
}

.contact-section {
  padding: 92px 0;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(18, 52, 90, .98), rgba(18, 140, 132, .88)),
    url("../images/cover.jpg") center / cover no-repeat;
}

.contact-copy p {
  color: rgba(255,255,255,.78);
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0;
  font-style: normal;
}

.contact-info > div,
.wechat-box {
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.1);
}

.contact-info a,
.contact-info strong {
  display: block;
  margin-top: 4px;
  font-size: 19px;
  font-weight: 800;
}

.contact-info span {
  color: rgba(255,255,255,.72);
}

.wechat-box {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 132px 1fr;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  scroll-margin-top: 92px;
}

.wechat-box img {
  width: 132px;
  height: 132px;
  border-radius: var(--radius);
  background: var(--white);
}

.wechat-box figcaption {
  font-size: 22px;
  font-weight: 800;
}

.site-footer {
  padding: 24px 0;
  color: #d7e3ef;
  background: #0b1b2d;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.footer-grid p {
  margin: 0;
  font-size: 14px;
}

.mobile-contact-bar {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 32px;
  background: rgba(7, 18, 32, .82);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-height: 88vh;
  border-radius: var(--radius);
  box-shadow: 0 28px 80px rgba(0,0,0,.42);
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255,255,255,.1);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .nav-cta {
    text-align: center;
  }

  .hero {
    padding-top: 62px;
  }

  .hero-grid,
  .mobile-grid,
  .label-grid,
  .roi-grid,
  .contact-grid,
  .screen-view {
    grid-template-columns: 1fr;
  }

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

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

  .phone-showcase {
    min-height: 560px;
  }

  .main-phone {
    left: 8%;
  }

  .small-phone {
    right: 4%;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  body {
    padding-bottom: 62px;
  }

  .brand {
    min-width: 0;
  }

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

  .brand small {
    display: none;
  }

  .hero {
    padding: 42px 0 54px;
  }

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

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

  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-metrics,
  .value-grid,
  .feature-grid,
  .gallery-grid,
  .roi-list,
  .contact-info,
  .label-images {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 0;
  }

  .section-head h2,
  .mobile-copy h2,
  .label-grid h2,
  .roi-grid h2,
  .contact-copy h2 {
    font-size: 28px;
  }

  .value-card,
  .feature-card {
    min-height: auto;
    padding: 22px;
  }

  .phone-showcase {
    min-height: 520px;
  }

  .phone-frame {
    border-width: 7px;
    border-radius: 24px;
  }

  .phone-frame img {
    border-radius: 16px;
  }

  .main-phone {
    width: 58vw;
    left: 0;
  }

  .small-phone {
    width: 46vw;
    right: 0;
    bottom: 26px;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li {
    min-height: auto;
  }

  .label-images img,
  .gallery-item img {
    height: auto;
  }

  .screen-preview img {
    min-height: 220px;
  }

  .wechat-box {
    grid-column: auto;
    grid-template-columns: 112px 1fr;
  }

  .wechat-box img {
    width: 112px;
    height: 112px;
  }

  .wechat-box figcaption {
    font-size: 18px;
  }

  .mobile-contact-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 8px 12px;
    gap: 10px;
    border-top: 1px solid var(--line);
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(14px);
  }

  .mobile-contact-bar a {
    display: grid;
    place-items: center;
    min-height: 42px;
    border-radius: var(--radius);
    color: var(--white);
    font-weight: 800;
    background: var(--navy);
  }

  .mobile-contact-bar a:first-child {
    background: var(--teal);
  }
}
