:root {
  color-scheme: light;
  --ink: #14213d;
  --muted: #667085;
  --line: #dde5ee;
  --paper: #ffffff;
  --soft: #f3f7fb;
  --navy: #0a2f5f;
  --blue: #1e67c8;
  --cyan: #20a4b8;
  --green: #1f8f61;
  --orange: #d56c2c;
  --shadow: 0 18px 48px rgba(16, 37, 66, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(221, 229, 238, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

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

.brand-logo {
  display: block;
  width: 118px;
  height: 44px;
  object-fit: contain;
  object-position: left center;
}

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

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

.nav {
  display: flex;
  gap: 26px;
  color: #344054;
  font-size: 15px;
}

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

.header-cta,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 700;
}

.header-cta,
.primary-btn {
  color: #fff;
  background: var(--blue);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(28px, 6vw, 84px);
  min-height: 680px;
  padding: clamp(56px, 8vw, 110px) clamp(18px, 5vw, 72px) 52px;
  background:
    linear-gradient(115deg, rgba(10, 47, 95, 0.96) 0%, rgba(16, 79, 135, 0.92) 66%, rgba(243, 247, 251, 0.98) 66.2%, rgba(255, 255, 255, 1) 100%);
}

.hero-copy {
  max-width: 730px;
  color: #fff;
}

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

.hero .eyebrow {
  color: #8ee8ef;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.13;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.2;
}

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

.hero-lead {
  max-width: 660px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-actions .secondary-btn {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.trust-list li {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.hero-visual {
  position: relative;
  align-self: center;
  width: 100%;
}

.diagnostic-panel {
  position: relative;
  width: min(100%, 760px);
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background:
    radial-gradient(circle at 18% 12%, rgba(32, 164, 184, 0.28), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(231, 241, 249, 0.96));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.diagnostic-panel::before {
  content: "";
  position: absolute;
  inset: auto -18% -22% 32%;
  height: 220px;
  background: radial-gradient(circle, rgba(32, 164, 184, 0.18), transparent 65%);
}

.panel-head {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 76px;
  padding: 0 28px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(11, 52, 102, 0.98), rgba(30, 103, 200, 0.94), rgba(32, 164, 184, 0.94));
}

.panel-head span {
  font-size: 22px;
  font-weight: 800;
}

.diagnostic-main {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  padding: 34px 32px 36px;
}

.route-box {
  min-height: 250px;
  padding: 30px;
  border: 1px solid rgba(30, 103, 200, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 26px rgba(16, 37, 66, 0.07);
}

.route-box.hardware {
  border-left: 4px solid var(--orange);
}

.route-box:not(.hardware) {
  border-left: 4px solid var(--green);
}

.route-tag {
  display: inline-flex;
  margin-bottom: 9px;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--green);
  background: rgba(31, 143, 97, 0.1);
  font-size: 12px;
  font-weight: 800;
}

.route-box strong {
  display: block;
  color: var(--navy);
  font-size: 30px;
  line-height: 1.25;
}

.route-box p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

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

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.stats div {
  padding: 30px;
  background: #fff;
}

.stats strong,
.stats span {
  display: block;
}

.stats strong {
  font-size: 20px;
}

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

.case-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.case-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -12px 0 26px;
}

.case-filter {
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #344054;
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.case-filter.is-active,
.case-filter:hover {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.case-card,
.service-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.case-card h3,
.case-card p {
  padding-inline: 20px;
}

.case-card h3 {
  margin-top: 18px;
}

.case-card p,
.service-grid p,
.process-list span {
  color: var(--muted);
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 20px 0;
}

.case-meta span {
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(30, 103, 200, 0.08);
  font-size: 12px;
  font-weight: 800;
}

.case-empty {
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--soft);
}

.video-frame {
  display: grid;
  min-height: 210px;
  aspect-ratio: 16 / 9;
  place-items: center;
  color: #fff;
  background:
    linear-gradient(rgba(10, 47, 95, 0.42), rgba(10, 47, 95, 0.6)),
    repeating-linear-gradient(135deg, #244d79 0 12px, #1b3d63 12px 24px);
}

.video-frame.alt {
  background:
    linear-gradient(rgba(10, 47, 95, 0.35), rgba(10, 47, 95, 0.62)),
    repeating-linear-gradient(90deg, #1f8f61 0 11px, #176f4d 11px 22px);
}

.video-frame.warm {
  background:
    linear-gradient(rgba(10, 47, 95, 0.28), rgba(10, 47, 95, 0.6)),
    repeating-linear-gradient(45deg, #d56c2c 0 12px, #a94e1f 12px 24px);
}

.video-frame span {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 800;
}

.video-embed {
  display: block;
  min-height: 0;
  background: #0b1220;
}

.video-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

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

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

.service-grid article {
  min-height: 220px;
  padding: 24px;
}

.service-grid article::before {
  content: "";
  display: block;
  width: 44px;
  height: 6px;
  margin-bottom: 22px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  padding: 28px 22px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  counter-increment: process;
}

.process-list li::before {
  content: "0" counter(process);
  display: block;
  margin-bottom: 24px;
  color: var(--blue);
  font-size: 28px;
  font-weight: 900;
}

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

.warning-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
  background: linear-gradient(120deg, var(--navy), #103f70 52%, var(--green));
}

.warning-band p {
  max-width: 780px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 36px;
  align-items: start;
}

.contact-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.contact-panel {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  overflow: hidden;
}

.contact-panel div {
  padding: 22px;
  background: #fff;
}

.contact-panel span,
.contact-panel strong,
.contact-panel small {
  display: block;
}

.contact-panel span {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 14px;
}

.contact-panel small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.contact-phone strong {
  font-size: 26px;
  line-height: 1.2;
}

.qr-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.qr-card img {
  display: block;
  width: 170px;
  max-height: 260px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@keyframes scan {
  0%,
  100% {
    transform: translateY(-120px);
    opacity: 0.25;
  }
  50% {
    transform: translateY(90px);
    opacity: 1;
  }
}

@media (max-width: 1180px) {
  .hero {
    background: linear-gradient(135deg, var(--navy), #1a5a8d);
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
  }

  .nav {
    display: none;
  }

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

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 0;
  }

  .stats,
  .case-grid,
  .service-grid,
  .process-list {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .brand {
    min-width: 0;
  }

  .brand small,
  .header-cta {
    display: none;
  }

  .hero,
  .section {
    padding-inline: 16px;
  }

  h1 {
    font-size: 34px;
  }

  .hero-visual {
    min-height: 0;
  }

  .diagnostic-panel {
    width: 100%;
  }

  .diagnostic-main {
    grid-template-columns: 1fr;
    padding: 22px 18px 16px;
  }

  .stats,
  .case-grid,
  .service-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .warning-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .qr-card {
    grid-template-columns: 1fr;
  }

  .qr-card img {
    width: min(100%, 260px);
    max-height: none;
  }
}
