:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f4f7f7;
  --text: #101717;
  --muted: #5b6767;
  --accent: #073c42;
  --accent-strong: #052f34;
  --line: #d7dfdf;
  --page: min(1440px, calc(100vw - 64px));
  --header-height: 72px;
  --radius-control: 999px;
  --shadow: 0 22px 70px rgba(7, 60, 66, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Avenir Next", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.section-shell { width: var(--page); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 16px; color: #fff; background: var(--accent); border-radius: 999px; }

.site-header {
  position: sticky; top: 0; z-index: 30; height: var(--header-height);
  border-bottom: 1px solid rgba(204, 215, 216, .75);
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.header-inner {
  width: var(--page); height: 100%; margin-inline: auto; display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto; align-items: center; gap: 28px;
}
.brand { width: 204px; }
.brand img { width: 60%; height: auto; }
.site-nav { display: flex; justify-content: center; align-items: center; gap: clamp(18px, 2vw, 34px); white-space: nowrap; }
.site-nav a, .language-link { position: relative; font-size: 14px; font-weight: 600; }
.site-nav a::after {
  content: ""; position: absolute; right: 0; bottom: -8px; left: 0; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform 220ms ease;
}
.site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; }

.button {
  min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px;
  border: 1px solid transparent; border-radius: var(--radius-control); cursor: pointer; font-weight: 700;
  line-height: 1; white-space: nowrap; transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(1px) scale(.98); }
.button-primary { color: #fff; background: var(--accent); }
.button-primary:hover { background: var(--accent-strong); }
.button-secondary { color: var(--accent); border-color: var(--accent); background: transparent; }
.button-secondary:hover { color: #fff; background: var(--accent); }
.button-compact { min-height: 42px; padding-inline: 20px; font-size: 14px; }

.product-hero {
  min-height: min(720px, calc(100dvh - var(--header-height)));
  display: grid; grid-template-columns: minmax(590px, 1fr) minmax(0, 1fr); align-items: center;
  gap: clamp(18px, 2vw, 34px); padding-block: 46px 60px;
}
.product-hero-copy { padding-left: clamp(0px, 2vw, 32px); position: relative; z-index: 2; }
.product-hero h1 { margin: 0; max-width: 700px; font-size: clamp(42px, 3.65vw, 54px); font-weight: 650; letter-spacing: -.055em; line-height: 1.15; }
.product-hero h1 span { display: block; white-space: nowrap; }
.product-hero-copy > p { max-width: 610px; margin: 30px 0 0; color: var(--muted); font-size: clamp(17px, 1.35vw, 20px); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-visual { position: relative; min-width: 0; height: clamp(430px, 43vw, 620px); outline: none; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center;
  opacity: 0; transform: scale(.985); transition: opacity 700ms ease, transform 900ms ease;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-pagination { position: absolute; right: 8%; bottom: 5%; z-index: 3; display: flex; gap: 10px; padding: 10px; }
.hero-dot { width: 8px; height: 8px; padding: 0; border: 1px solid var(--accent); border-radius: 50%; background: #fff; cursor: pointer; transition: width 220ms ease, background 220ms ease; }
.hero-dot.is-active { width: 26px; border-radius: 999px; background: var(--accent); }

.product-systems { border-top: 1px solid var(--line); }
.system-row { min-height: 410px; border-bottom: 1px solid var(--line); background: #fff; }
.system-row:nth-of-type(2) { background: #fbfcfc; }
.system-grid { min-height: inherit; display: grid; grid-template-columns: minmax(340px, .78fr) minmax(0, 1.22fr); align-items: center; gap: clamp(40px, 7vw, 110px); padding-block: 28px; }
.system-copy { max-width: 520px; padding-left: clamp(0px, 2vw, 32px); }
.system-index { margin: 0 0 22px; color: #789092; font-size: 12px; font-weight: 700; letter-spacing: .16em; }
.system-copy h3 { margin: 0; color: var(--accent); font-size: clamp(32px, 3vw, 46px); font-weight: 650; letter-spacing: -.045em; line-height: 1.15; }
.system-copy > p:not(.system-index) { max-width: 500px; margin: 22px 0 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.system-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; padding-bottom: 5px; border-bottom: 1px solid var(--accent); color: var(--accent); font-size: 15px; font-weight: 700; }
.system-link span { transition: transform 180ms ease; }
.system-link:hover span { transform: translateX(4px); }
.system-media { height: 350px; margin: 0; overflow: hidden; }
.system-media img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.rfid-media { height: 420px; }
.rfid-media img { transform: scale(1.04); }
.automation-media { height: auto; aspect-ratio: 1672 / 941; }
.automation-media img { object-position: center; }
.software-media { height: 400px; }
.software-media img { transform: scale(1.02); }

.next-stage { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-block: 86px; }
.next-stage h2 { margin: 0; font-size: clamp(30px, 3vw, 46px); font-weight: 650; letter-spacing: -.04em; }
.next-stage p { max-width: 720px; margin: 16px 0 0; color: var(--muted); font-size: 17px; }

.site-footer { padding-block: 68px 26px; color: #dce7e8; background: var(--accent-strong); }
.footer-grid { display: grid; grid-template-columns: minmax(280px, 1.4fr) repeat(2, 1fr); gap: 56px; }
.footer-brand img { width: 150px; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 420px; margin: 18px 0 0; color: #aebfc1; }
.footer-grid h2 { margin: 0 0 18px; color: #fff; font-size: 14px; }
.footer-grid a, .footer-grid button { display: block; margin: 11px 0; padding: 0; border: 0; color: #aebfc1; background: none; cursor: pointer; text-align: left; font-size: 14px; }
.footer-grid a:hover, .footer-grid button:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); color: #8fa7aa; font-size: 13px; }

.modal { width: min(560px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 18px; box-shadow: var(--shadow); }
.modal::backdrop { background: rgba(4, 25, 28, .62); backdrop-filter: blur(8px); }
.lead-form { position: relative; display: grid; gap: 17px; padding: 36px; }
.lead-form h2 { margin: 0; color: var(--accent); font-size: 30px; }
.lead-form > p { margin: -8px 0 4px; color: var(--muted); }
.lead-form label { display: grid; gap: 7px; color: var(--accent); font-size: 14px; font-weight: 700; }
.lead-form input, .lead-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: #fff; outline: none; }
.lead-form input:focus, .lead-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(7,60,66,.1); }
.lead-form [aria-invalid="true"] { border-color: #b42318; }
.modal-close { position: absolute; top: 18px; right: 18px; border: 0; color: var(--muted); background: none; cursor: pointer; }
.form-status { min-height: 22px; color: #b42318 !important; font-size: 13px; }
.form-status.is-success { color: #176b3a !important; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1060px) {
  :root { --page: min(100% - 40px, 920px); }
  .header-inner { grid-template-columns: 160px minmax(0, 1fr) auto; gap: 18px; }
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 13px; }
  .product-hero { grid-template-columns: minmax(440px, 1fr) minmax(0, 1fr); }
  .product-hero h1 { font-size: 40px; }
  .system-grid { grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr); gap: 32px; }
}

@media (max-width: 820px) {
  :root { --page: min(100% - 32px, 680px); --header-height: 64px; }
  .header-inner { position: relative; grid-template-columns: 1fr auto auto; }
  .brand { width: 160px; }
  .nav-toggle { display: grid; width: 42px; height: 42px; place-content: center; gap: 6px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; }
  .nav-toggle-line { width: 18px; height: 1px; background: var(--accent); }
  .site-nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 14px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: 12px; font-size: 15px; }
  .site-nav a::after { display: none; }
  .header-actions .button { display: none; }
  .product-hero { min-height: auto; grid-template-columns: 1fr; gap: 10px; padding-block: 58px 30px; }
  .product-hero-copy { padding-left: 0; }
  .product-hero h1 { font-size: clamp(38px, 8.8vw, 54px); }
  .product-hero h1 span { white-space: normal; }
  .product-hero-copy > p { margin-top: 24px; font-size: 17px; }
  .hero-visual { height: min(78vw, 520px); margin-top: 8px; }
  .hero-pagination { right: 50%; bottom: 0; transform: translateX(50%); }
  .system-row { min-height: auto; }
  .system-grid { grid-template-columns: 1fr; gap: 18px; padding-block: 64px 44px; }
  .system-copy { max-width: none; padding-left: 0; }
  .system-index { margin-bottom: 16px; }
  .system-copy h3 { font-size: 36px; }
  .system-copy > p:not(.system-index) { font-size: 16px; }
  .system-media, .rfid-media, .automation-media, .software-media { height: auto; aspect-ratio: 16 / 10; }
  .automation-media { aspect-ratio: 1672 / 941; margin-top: 12px; }
  .automation-media img { object-fit: contain; }
  .next-stage { align-items: flex-start; flex-direction: column; padding-block: 66px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  :root { --page: calc(100% - 28px); }
  .header-inner { grid-template-columns: 1fr auto auto; gap: 10px; }
  .brand { width: 140px; }
  .brand img { width: 70%; }
  .language-link { font-size: 13px; }
  .product-hero { padding-top: 44px; }
  .product-hero h1 { font-size: clamp(34px, 10.2vw, 46px); line-height: 1.18; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .button { min-height: 46px; padding-inline: 14px; font-size: 14px; }
  .hero-visual { height: 82vw; }
  .system-copy h3 { font-size: 32px; }
  .system-media, .rfid-media, .software-media { aspect-ratio: 4 / 3; }
  .automation-media { aspect-ratio: 1672 / 941; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .lead-form { padding: 32px 22px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
