:root {
  --navy: #081b2b;
  --ink: #0b1723;
  --muted: #5f7283;
  --line: #dbe7ef;
  --paper: #f5f9fc;
  --white: #ffffff;
  --blue: #1664ff;
  --cyan: #19c8ff;
  --mint: #a6fff2;
  --green: #18b879;
  --amber: #f6b73c;
  --coral: #f45f5f;
  --violet: #7457ff;
  --lime: #92d84d;
  --red: #e84855;
  --shadow: 0 22px 60px rgba(7, 20, 33, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 72px);
  color: var(--white);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(219, 231, 239, 0.9);
  box-shadow: 0 12px 34px rgba(8, 27, 43, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(154px, 18vw, 220px);
}

.site-header.is-scrolled .brand img,
.site-header.is-open .brand img {
  content: url("brand-assets/svg/fuxing-logo-horizontal.svg");
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 14px;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  opacity: 0.92;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  color: inherit;
  background: rgba(255, 255, 255, 0.1);
}

.menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header.is-open .menu-button span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .menu-button span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .menu-button span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 84svh;
  max-height: 860px;
  padding: 116px clamp(20px, 6vw, 88px) 72px;
  overflow: hidden;
  color: var(--white);
  background-image:
    linear-gradient(90deg, rgba(4, 13, 23, 0.88) 0%, rgba(6, 19, 31, 0.68) 44%, rgba(6, 19, 31, 0.26) 100%),
    url("site-assets/factory-command-center.png");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.22)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 76px);
  pointer-events: none;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.58;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(820px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 600;
}

.hero h1 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 740px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 1.45vw, 18px);
  line-height: 1.78;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #041420;
  background: linear-gradient(135deg, var(--mint), var(--cyan));
  box-shadow: 0 16px 38px rgba(25, 200, 255, 0.28);
}

.button-secondary {
  color: inherit;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.contact .button-secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  width: min(680px, 100%);
  margin: 42px 0 0;
  padding: 0;
}

.hero-stats div {
  min-height: 92px;
  padding: 0 0 0 18px;
  border-left: 3px solid var(--cyan);
}

.hero-stats dt {
  color: var(--white);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1;
  font-weight: 700;
}

.hero-stats dd {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.section {
  padding: clamp(76px, 9vw, 124px) 0;
}

.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

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

.section-heading h2,
.hardware-copy h2,
.contact-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.hardware-copy p,
.contact-panel p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.signal-band {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

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

.signal-card,
.system-card,
.case-card,
.delivery-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.signal-card {
  padding: 28px;
  box-shadow: none;
}

.signal-card span,
.system-card span,
.case-card span,
.delivery-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 30px;
  border-radius: 6px;
  color: var(--navy);
  background: #e6f8ff;
  font-size: 12px;
  font-weight: 600;
}

.signal-card h2,
.system-card h3,
.case-card h3,
.delivery-card h3 {
  margin: 16px 0 8px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 700;
}

.signal-card p,
.system-card p,
.case-card p,
.delivery-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.systems {
  background:
    linear-gradient(180deg, #f5f9fc 0%, #ffffff 100%);
}

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

.system-card {
  position: relative;
  min-height: 240px;
  padding: 26px;
  overflow: hidden;
}

.system-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-accent, var(--blue));
}

.system-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 110px;
  height: 110px;
  border: 1px solid color-mix(in srgb, var(--card-accent, var(--blue)) 58%, transparent);
  transform: rotate(18deg);
}

.accent-blue { --card-accent: var(--blue); }
.accent-green { --card-accent: var(--green); }
.accent-amber { --card-accent: var(--amber); }
.accent-coral { --card-accent: var(--coral); }
.accent-violet { --card-accent: var(--violet); }
.accent-cyan { --card-accent: var(--cyan); }
.accent-lime { --card-accent: var(--lime); }
.accent-red { --card-accent: var(--red); }

.factory-flow {
  background: var(--white);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.8fr);
  align-items: center;
  gap: clamp(36px, 6vw, 90px);
}

.flow-board {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(239, 250, 253, 0.96)),
    repeating-linear-gradient(90deg, rgba(8, 27, 43, 0.04) 0 1px, transparent 1px 32px);
  box-shadow: var(--shadow);
}

.flow-board::before {
  content: "";
  position: absolute;
  top: 50px;
  bottom: 50px;
  left: 50px;
  width: 2px;
  background: linear-gradient(var(--cyan), var(--green), var(--amber));
}

.flow-step {
  position: relative;
  min-height: 82px;
  padding: 16px 18px 16px 56px;
  border: 1px solid rgba(219, 231, 239, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.flow-step::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 17px;
  width: 18px;
  height: 18px;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 1px var(--cyan);
}

.flow-step strong,
.flow-step span {
  display: block;
}

.flow-step strong {
  font-size: 16px;
  font-weight: 700;
}

.flow-step span {
  color: var(--muted);
  font-size: 13px;
}

.hardware {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(8, 27, 43, 0.98), rgba(15, 58, 52, 0.98)),
    repeating-linear-gradient(90deg, rgba(166, 255, 242, 0.08) 0 1px, transparent 1px 78px);
}

.hardware-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.85fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
}

.hardware-copy h2,
.hardware-copy p {
  color: var(--white);
}

.hardware-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.hardware-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hardware-list li {
  position: relative;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.86);
}

.hardware-list li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(25, 200, 255, 0.75);
}

.hardware-visual {
  position: relative;
  min-height: 500px;
  border: 1px solid rgba(166, 255, 242, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    repeating-linear-gradient(0deg, rgba(166, 255, 242, 0.06) 0 1px, transparent 1px 34px);
  overflow: hidden;
}

.hardware-visual::before,
.hardware-visual::after {
  content: "";
  position: absolute;
  inset: 52px;
  border: 1px solid rgba(166, 255, 242, 0.24);
  transform: rotate(24deg);
}

.hardware-visual::after {
  inset: 96px;
  border-color: rgba(246, 183, 60, 0.28);
  transform: rotate(-18deg);
}

.device-core,
.device {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  text-align: center;
}

.device-core {
  top: 50%;
  left: 50%;
  width: 170px;
  height: 170px;
  padding: 18px;
  border: 1px solid rgba(166, 255, 242, 0.45);
  border-radius: 8px;
  background: rgba(5, 23, 34, 0.78);
  box-shadow: 0 20px 60px rgba(25, 200, 255, 0.14);
  transform: translate(-50%, -50%);
}

.device-core img {
  width: 76px;
  margin: 0 auto 10px;
}

.device-core strong {
  font-size: 14px;
  font-weight: 600;
}

.device {
  width: 140px;
  min-height: 82px;
  padding: 14px;
  border: 1px solid rgba(166, 255, 242, 0.34);
  border-radius: 8px;
  color: var(--white);
  background: rgba(9, 34, 49, 0.86);
}

.device span {
  font-weight: 600;
}

.device i {
  display: block;
  width: 52px;
  height: 6px;
  margin-top: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--cyan), var(--green));
}

.device-terminal { top: 58px; left: 46px; }
.device-gateway { top: 70px; right: 48px; }
.device-dashboard { right: 56px; bottom: 76px; }
.device-scanner { left: 54px; bottom: 70px; }

.cases {
  background:
    radial-gradient(circle at 84% 12%, rgba(25, 200, 255, 0.14), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f5f9fc 100%);
}

.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
}

.case-list {
  display: grid;
  gap: 16px;
}

.case-card {
  position: relative;
  padding: 26px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(7, 20, 33, 0.08);
}

.case-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(var(--cyan), var(--green));
}

.case-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.case-card li {
  padding: 6px 10px;
  border-radius: 6px;
  color: #0d3440;
  background: #e7f8f8;
  font-size: 12px;
  font-weight: 600;
}

.case-demo {
  position: sticky;
  top: 104px;
  padding: 26px;
  border: 1px solid rgba(166, 255, 242, 0.28);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(8, 27, 43, 0.98), rgba(12, 70, 68, 0.96)),
    repeating-linear-gradient(90deg, rgba(166, 255, 242, 0.08) 0 1px, transparent 1px 52px);
  box-shadow: 0 28px 70px rgba(7, 20, 33, 0.18);
}

.case-demo-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.case-demo-top span,
.case-metrics span,
.case-pipeline span {
  display: block;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
}

.case-demo-top strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
}

.case-demo-top i {
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid rgba(25, 200, 255, 0.32);
  border-radius: 6px;
  color: var(--mint);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}

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

.case-metrics div {
  min-height: 96px;
  padding: 14px;
  border: 1px solid rgba(166, 255, 242, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.case-metrics strong {
  display: block;
  margin-top: 12px;
  color: var(--mint);
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
}

.case-chart {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 10px;
  height: 170px;
  margin-top: 22px;
  padding: 22px;
  border: 1px solid rgba(166, 255, 242, 0.18);
  border-radius: 8px;
  background: rgba(3, 15, 24, 0.32);
}

.case-chart span {
  min-height: 28px;
  border-radius: 7px 7px 3px 3px;
  background: linear-gradient(180deg, var(--mint), var(--cyan));
  box-shadow: 0 0 22px rgba(25, 200, 255, 0.28);
}

.bar-44 { height: 44%; }
.bar-68 { height: 68%; }
.bar-54 { height: 54%; }
.bar-82 { height: 82%; }
.bar-72 { height: 72%; }
.bar-90 { height: 90%; }

.case-pipeline {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.case-pipeline div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 14px;
  border: 1px solid rgba(166, 255, 242, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.case-pipeline b {
  font-size: 14px;
  font-weight: 600;
}

.delivery {
  background: var(--paper);
}

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

.delivery-card {
  min-height: 206px;
  padding: 26px;
}

.contact {
  padding-top: 0;
  background: var(--paper);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: clamp(30px, 5vw, 54px);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(8, 27, 43, 0.96), rgba(18, 91, 84, 0.94)),
    url("brand-assets/preview/fuxing-brand-preview.png");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.contact-panel h2,
.contact-panel p {
  color: var(--white);
}

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

.contact-actions {
  display: grid;
  gap: 12px;
  min-width: 220px;
}

.copy-status {
  min-height: 22px;
  margin: 0;
  color: var(--mint);
  font-size: 14px;
}

.site-footer {
  padding: 28px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner img {
  width: 170px;
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.is-visible {
  animation: reveal-rise 560ms ease both;
}

@keyframes reveal-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 1440px) {
  .hero {
    min-height: 82svh;
    max-height: 900px;
  }
}

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

  .signal-grid,
  .split-layout,
  .hardware-grid,
  .case-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .case-demo {
    position: static;
  }

  .hardware-visual {
    min-height: 450px;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
    padding: 12px 20px;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    left: 14px;
    right: 14px;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-16px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-header.is-open .site-nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav a {
    padding: 14px 12px;
    border-radius: 6px;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: #eff8fb;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    min-height: 84svh;
    padding: 104px 20px 54px;
    background-position: 58% center;
  }

  .hero h1 {
    font-size: clamp(32px, 9.4vw, 38px);
  }

  .hero-lead {
    font-size: 15px;
    line-height: 1.78;
  }

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

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 28px;
  }

  .hero-stats div {
    min-height: 72px;
  }

  .section {
    padding: 70px 0;
  }

  .signal-grid,
  .system-grid,
  .delivery-grid {
    grid-template-columns: 1fr;
  }

  .system-card,
  .case-card,
  .delivery-card {
    min-height: auto;
  }

  .case-demo {
    padding: 20px;
  }

  .case-metrics {
    grid-template-columns: 1fr;
  }

  .case-pipeline div {
    display: grid;
  }

  .flow-board {
    padding: 18px;
  }

  .flow-board::before {
    left: 42px;
  }

  .hardware-visual {
    min-height: 520px;
  }

  .device {
    width: 128px;
    font-size: 14px;
  }

  .device-terminal { top: 32px; left: 22px; }
  .device-gateway { top: 46px; right: 22px; }
  .device-dashboard { right: 22px; bottom: 52px; }
  .device-scanner { left: 22px; bottom: 52px; }

  .contact-actions {
    min-width: 0;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
