:root {
  --gold: #f5a623;
  --gold-dark: #de8f13;
  --gold-soft: rgba(245, 166, 35, 0.12);

  --ink: #111315;
  --ink-2: #0b0c0e;
  --ink-3: #16181c;
  --line-dark: #23262b;

  --bg: #ffffff;
  --bg-soft: #f7f8f9;
  --line: #e7e9ec;

  --text: #14161a;
  --muted: #6b7280;
  --muted-2: #9aa0a9;

  --container: 1360px;
  --radius: 6px;
  --radius-sm: 4px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;

  --shadow-card: 0 18px 44px -26px rgba(17, 19, 21, 0.4);
  --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --line-hover: #e5e7eb;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-ui: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-hover: 0.3s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-locked {
  overflow: hidden;
}

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

[hidden] {
  display: none !important;
}

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

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--gold);
  color: #000;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section[id] {
  scroll-margin-top: 96px;
}

/* ---------- 通用按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 26px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn--gold {
  background: var(--gold);
  color: #000;
  box-shadow: 0 10px 24px -14px rgba(245, 166, 35, 0.9);
}

.btn--gold:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

.btn--dark {
  background: var(--ink);
  color: #fff;
}

.btn--dark:hover {
  background: #000;
  transform: translateY(-1px);
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
}

.btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

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

.btn--line:hover {
  border-color: var(--text);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.2s var(--ease);
}

.link-arrow svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s var(--ease);
}

.link-arrow:hover {
  color: var(--gold-dark);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* ---------- 顶部工具条 ---------- */

.topbar {
  background: #121316;
  border-bottom: 1px solid var(--line-dark);
  color: #a0a5ad;
  font-size: 13px;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 40px;
}

.topbar__group {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s var(--ease);
}

.topbar__item:hover {
  color: #fff;
}

.topbar__item svg {
  width: 14px;
  height: 14px;
  color: #7c828b;
  flex: none;
}

.topbar__lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar__lang a {
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.topbar__lang a.is-active {
  color: #fff;
  border-color: var(--gold);
}

.topbar__lang span {
  color: #3a3f47;
}

/* ---------- 主导航 ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 30px -22px rgba(17, 19, 21, 0.55);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 80px;
}

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

.brand__logo {
  height: 48px;
  width: auto;
  flex: none;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1;
}

.brand__text strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.brand__text em {
  color: var(--muted-2);
  font-style: normal;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

.brand--drawer .brand__logo {
  height: 36px;
}

.brand--drawer .brand__text strong {
  font-size: 13px;
}

.brand--drawer .brand__text em {
  font-size: 7.5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 30px 0;
  color: #33383f;
  transition: color 0.2s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
  color: #000;
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

.nav__caret {
  width: 12px;
  height: 12px;
  opacity: 0.7;
  transition: transform 0.2s var(--ease);
}

.nav__item {
  position: relative;
}

.nav__item:hover .nav__caret {
  transform: rotate(180deg);
}

.subnav {
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 200px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 50px -28px rgba(17, 19, 21, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease),
    visibility 0.2s;
}

.nav__item:hover .subnav,
.nav__item:focus-within .subnav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.subnav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #4b5158;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}

.subnav__link:hover {
  background: var(--bg-soft);
  color: #000;
}

.subnav__link span {
  font-size: 11px;
  color: var(--muted-2);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.burger span {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s var(--ease), background-color 0.2s;
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s var(--ease);
}

.burger span::before {
  top: -6px;
}

.burger span::after {
  top: 6px;
}

/* ---------- 移动端抽屉 ---------- */

.drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  overflow: hidden;
}

.drawer__mask {
  position: absolute;
  inset: 0;
  background: rgba(11, 12, 14, 0.55);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(84vw, 360px);
  height: 100%;
  padding: 22px 24px 32px;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
  overflow-y: auto;
}

.drawer.is-open .drawer__mask {
  opacity: 1;
}

.drawer.is-open .drawer__panel {
  transform: translateX(0);
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.drawer__close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 20px;
  line-height: 1;
}

.drawer__list {
  padding: 8px 0;
}

.drawer__list a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid #f1f2f4;
  font-size: 15px;
  font-weight: 600;
}

.drawer__sub a {
  padding: 11px 0 11px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.drawer__foot {
  padding-top: 22px;
  font-size: 13px;
  color: var(--muted);
}

.drawer__foot a {
  display: block;
  padding: 5px 0;
  color: var(--text);
  font-weight: 600;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
  color: #fff;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-color: #fff;
  background-image: url("../img/hero-banner-2026-white.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(8, 10, 13, 0.9) 0%,
    rgba(8, 10, 13, 0.74) 44%,
    rgba(8, 10, 13, 0.34) 100%
  );
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 56px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px 12px;
  border: 1px solid rgba(245, 166, 35, 0.3);
  border-radius: var(--radius-sm);
  background: rgba(245, 166, 35, 0.12);
  color: #f8c26a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero__title {
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: #fff;
}

.hero__rule {
  display: block;
  width: 48px;
  height: 4px;
  margin: 22px 0 20px;
  background: var(--gold);
}

.hero__lead {
  max-width: 520px;
  color: #c2c7ce;
  font-size: 16px;
  line-height: 1.75;
}

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

.hero__visual {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.02)
  );
}

.hero__figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #fff;
}

.hero__figure img {
  width: 100%;
  height: clamp(300px, 34vw, 430px);
  object-fit: contain;
  padding: 18px;
  transition: transform 0.6s var(--ease);
}

.hero__visual:hover .hero__figure img {
  transform: scale(1.03);
}

.hero__caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(11, 12, 14, 0.88);
  backdrop-filter: blur(6px);
  font-size: 12px;
  color: #e7e9ec;
}

.hero__caption strong {
  color: #fff;
  font-size: 13px;
}

.hero__caption b {
  color: var(--gold);
}

.hero__tag {
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--gold);
  color: #000;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero--light {
  background: #e8ecf0;
  color: var(--ink);
}

.hero--light .hero__bg {
  background-position: right center;
  background-size: cover;
}

.hero--light .hero__inner {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.68fr);
  padding-top: 96px;
  padding-bottom: 96px;
  min-height: 760px;
}

.hero--light .hero__bg::after {
  background: linear-gradient(
    100deg,
    rgba(248, 250, 252, 0.94) 0%,
    rgba(248, 250, 252, 0.8) 26%,
    rgba(248, 250, 252, 0.34) 46%,
    rgba(248, 250, 252, 0) 62%
  );
}

.hero--light .eyebrow {
  border-color: rgba(191, 120, 24, 0.35);
  background: rgba(245, 166, 35, 0.16);
  color: #8a5a12;
}

.hero--light .hero__title {
  color: #101418;
}

.hero--light .hero__lead {
  color: #4d5561;
}

.hero--light .btn--ghost {
  border-color: rgba(16, 20, 24, 0.22);
  color: #101418;
  background: rgba(255, 255, 255, 0.66);
}

.hero--light .btn--ghost:hover {
  border-color: #101418;
  background: rgba(255, 255, 255, 0.95);
}

.hero--light .hero__visual {
  border-color: rgba(16, 20, 24, 0.08);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 30px 70px -34px rgba(16, 20, 24, 0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero--light .hero__figure {
  box-shadow: 0 10px 30px -22px rgba(16, 20, 24, 0.5);
}

@media (max-width: 992px) {
  .hero--light .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .hero--light {
    background-color: #fff;
  }

  .hero--light .hero__bg {
    background-image: none;
  }

  .hero--light .hero__bg::after {
    background: linear-gradient(
      180deg,
      rgba(248, 250, 252, 0.97) 0%,
      rgba(248, 250, 252, 0.94) 54%,
      rgba(248, 250, 252, 0.34) 84%,
      rgba(248, 250, 252, 0.5) 100%
    );
  }
}

.featurebar {
  position: relative;
  border-top: 1px solid #1f2227;
  background: #0f1013;
}

.featurebar__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  padding: 26px 24px;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature__icon {
  flex: none;
  color: var(--gold);
}

.feature__icon svg {
  width: 34px;
  height: 34px;
  stroke-width: 1.5;
}

.feature__title {
  margin-bottom: 4px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.feature__text {
  color: #8d939c;
  font-size: 12.5px;
  line-height: 1.6;
}

/* ---------- 通用区块 ---------- */

.section {
  padding: 88px 0;
}

.section--soft {
  background: var(--bg-soft);
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.section__title {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.section__sub {
  max-width: 720px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.section--dark .section__head {
  border-color: var(--line-dark);
}

.section--dark .section__title {
  color: #fff;
}

.section--dark .section__sub {
  color: #8d939c;
}

/* ---------- 产品 ---------- */

.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.tab {
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: all 0.2s var(--ease);
}

.tab:hover {
  border-color: #cdd2d8;
  color: var(--text);
}

.tab.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.tab em {
  margin-left: 6px;
  font-style: normal;
  font-size: 11px;
  color: var(--muted-2);
}

.tab.is-active em {
  color: rgba(255, 255, 255, 0.6);
}

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

.pcard {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--bg-soft);
  transition: box-shadow var(--dur-hover) var(--ease-ui),
    border-color var(--dur-hover) var(--ease-ui);
}

.pcard:hover {
  border-color: var(--line-hover);
  box-shadow: var(--shadow-hover);
}

/* <picture> 只做 webp 渐进增强，不参与布局；img 仍按原选择器直接生效 */
.pcard__media picture,
.about__media picture {
  display: contents;
}

.pcard__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 210px;
  margin-bottom: 20px;
  border: 1px solid #eef0f2;
  border-radius: var(--radius-sm);
  background: #fff;
  overflow: hidden;
}

.pcard__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--dur-hover) var(--ease-ui);
}

.pcard:hover .pcard__media img {
  transform: scale(1.05);
}

.pcard__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 3px;
  background: var(--ink);
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.pcard__title {
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
}

.pcard__en {
  display: block;
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pcard__specs {
  display: grid;
  gap: 5px;
  margin-bottom: 18px;
  font-size: 12.5px;
  color: var(--muted);
}

.pcard__specs li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.pcard__specs span {
  color: #3d434a;
  font-weight: 600;
}

.pcard__foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #e9ebee;
}

.pcard:hover .link-arrow {
  color: var(--gold-dark);
}

.pcard:hover .link-arrow svg {
  transform: translateX(4px);
}

.products__empty {
  grid-column: 1 / -1;
  padding: 56px 24px;
  border: 1px dashed #d5d9de;
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
  color: var(--muted);
}

.products__empty strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 15px;
}

/* ---------- 数据条 ---------- */

.stats {
  padding: 56px 0;
  background: #121316;
  border-top: 1px solid #202328;
  border-bottom: 1px solid #202328;
  color: #fff;
}

.stats__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.stats__intro {
  flex: 0 0 32%;
}

.stats__intro h2 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
}

.stats__intro p {
  margin-top: 6px;
  color: #8d939c;
  font-size: 13px;
}

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

.stat__num {
  color: var(--gold);
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.stat__label {
  margin-top: 6px;
  color: #b9bec5;
  font-size: 12.5px;
}

/* ---------- 关于我们 ---------- */

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.about__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.about__media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 12, 14, 0.45), transparent 55%);
}

.about__stamp {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  padding: 12px 16px;
  border-left: 3px solid var(--gold);
  background: rgba(11, 12, 14, 0.7);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.about__body p {
  color: #4b5158;
  font-size: 14.5px;
  line-height: 1.85;
}

.about__body p + p {
  margin-top: 16px;
}

.about__nums {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.about__num strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.about__num span {
  color: var(--muted);
  font-size: 12.5px;
}

/* ---------- 优势 ---------- */

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

.adv {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color var(--dur-hover) var(--ease-ui),
    box-shadow var(--dur-hover) var(--ease-ui);
}

.adv:hover {
  border-color: var(--line-hover);
  box-shadow: var(--shadow-hover);
}

.adv__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  background: var(--gold-soft);
  color: #b87807;
}

.adv__icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.6;
}

.adv__title {
  font-size: 16px;
  font-weight: 800;
}

.adv__en {
  display: block;
  margin: 4px 0 12px;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.adv__text {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.75;
}

/* ---------- 应用行业 ---------- */

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

.industry {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 26px 12px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.25s var(--ease);
}

.industry:hover {
  border-color: var(--line);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.industry__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: #2b3037;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.industry:hover .industry__icon {
  color: var(--gold-dark);
  border-color: rgba(245, 166, 35, 0.45);
}

.industry__icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.5;
}

.industry__name {
  font-size: 12.5px;
  font-weight: 700;
  color: #2f343a;
}

.industry__meta {
  display: block;
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 500;
}

/* ---------- 新闻 ---------- */

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

.ncard {
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color var(--dur-hover) var(--ease-ui),
    box-shadow var(--dur-hover) var(--ease-ui);
}

.ncard:hover {
  border-color: var(--line-hover);
  box-shadow: var(--shadow-hover);
}

.ncard__date {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--gold-dark);
}

.ncard__date strong {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.ncard__date span {
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 600;
}

.ncard__cat {
  display: inline-block;
  align-self: flex-start;
  margin: 14px 0 10px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.ncard__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ncard__excerpt {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ncard__foot {
  margin-top: auto;
  padding-top: 18px;
}

/* ---------- 联系 ---------- */

.contact {
  background: var(--ink-2);
  color: #fff;
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}

.contact__bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    760px 380px at 12% 0%,
    rgba(245, 166, 35, 0.14),
    transparent 65%
  );
}

.contact__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 60px;
}

.contact__title {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  line-height: 1.3;
}

.contact__sub {
  margin-top: 12px;
  color: #9aa0a9;
  font-size: 14px;
  line-height: 1.8;
}

.contact__list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.contact__row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: #c9ced4;
}

.contact__row svg {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  color: var(--gold);
  flex: none;
}

.contact__row b {
  color: #fff;
  font-weight: 600;
}

.contact__qr {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #23262b;
}

.contact__qr img {
  width: 92px;
  height: 92px;
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 5px;
  object-fit: cover;
}

.contact__qr p {
  font-size: 12.5px;
  color: #8d939c;
  line-height: 1.7;
}

.contact__qr strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 13px;
}

.form {
  padding: 32px;
  border: 1px solid #262a30;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.form__head {
  margin-bottom: 22px;
}

.form__head h3 {
  font-size: 17px;
  font-weight: 800;
}

.form__head p {
  margin-top: 4px;
  color: #8d939c;
  font-size: 12.5px;
}

.form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 12px;
  font-weight: 600;
  color: #b9bec5;
  letter-spacing: 0.04em;
}

.field label i {
  color: var(--gold);
  font-style: normal;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #2c3037;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font: inherit;
  font-size: 13.5px;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #6a7078;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(245, 166, 35, 0.06);
}

.field textarea {
  min-height: 108px;
  resize: vertical;
}

.field.is-error input,
.field.is-error textarea {
  border-color: #d9534f;
}

.form__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
}

.form__note {
  color: #7c828b;
  font-size: 12px;
}

.form__msg {
  margin-top: 14px;
  font-size: 13px;
  color: var(--gold);
  min-height: 20px;
}

/* ---------- 页脚 ---------- */

.footer {
  padding: 56px 0 26px;
  background: var(--ink-2);
  border-top: 1px solid #1c1f24;
  color: #9a9ea6;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 40px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer__logo {
  width: auto;
  height: 38px;
  flex: none;
}

.footer__brand strong {
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}

.footer__desc {
  max-width: 340px;
  font-size: 12.5px;
  line-height: 1.8;
  color: #8d939c;
}

.footer__title {
  margin-bottom: 16px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer__list li + li {
  margin-top: 10px;
}

.footer__list a,
.footer__list p {
  font-size: 12.5px;
  color: #9a9ea6;
  transition: color 0.2s var(--ease);
}

.footer__list a:hover {
  color: var(--gold);
}

.footer__list span {
  color: #fff;
  font-weight: 600;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid #1c1f24;
  font-size: 12px;
  color: #6f757d;
}

.footer__bottom a:hover {
  color: #b9bec5;
}

.footer__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 26px;
}

.footer__meta p {
  margin: 0;
}

/* 两条 ICP 备案号是一组：内部用小间距（14px）挨着，对外仍吃 .footer__meta 的 26px，
   换行时整组一起换，不会被拆成上一行一个、下一行一个。 */
.footer__beians {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 14px;
}

.footer__beian {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #8d939c;
  font-size: 12.5px;
  white-space: nowrap;
}

.footer__beian img {
  display: block;
  width: 17px;
  height: 18px;
  flex: none;
}

.footer__beian:hover {
  color: #c9ced4;
}

.footer__links {
  display: flex;
  gap: 22px;
}

/* ---------- 返回顶部 ---------- */

.totop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid #2c3037;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s var(--ease);
}

.totop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.totop:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}

.totop svg {
  width: 18px;
  height: 18px;
}

/* ---------- 入场动画 ---------- */

.reveal {
  opacity: 0;
  translate: 0 18px;
  transition: opacity 0.6s var(--ease), translate 0.6s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  translate: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    translate: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ---------- 文字依次淡入上浮（Staggered Fade In） ----------
   参数按《文字出场动效-实现规范.md》：位移 30px / 位移 0.7s / 透明度 0.9s /
   错开 0.15s / cubic-bezier(.4,0,.6,1)。
   注意：本套与 .reveal 互斥。.reveal 用独立属性 translate，本套用 transform，
   同一元素同时挂会让位移叠加（18px + 30px），且两套 transition 抢 opacity。 */
:root {
  --sf-ease: cubic-bezier(0.4, 0, 0.6, 1);
  --sf-stagger: 0.15s;
  --sf-dur-opacity: 0.9s;
  --sf-dur-move: 0.7s;
  --sf-rise: 30px;
}

[data-stagger] [data-stagger-item] {
  opacity: 0;
  transform: translateY(var(--sf-rise));
  transition:
    opacity var(--sf-dur-opacity) var(--sf-ease) calc(var(--i, 0) * var(--sf-stagger)),
    transform var(--sf-dur-move) var(--sf-ease) calc(var(--i, 0) * var(--sf-stagger));
  will-change: opacity, transform;
}

[data-stagger].is-in [data-stagger-item] {
  opacity: 1;
  transform: translateY(0);
}

[data-stagger].is-done [data-stagger-item] {
  will-change: auto;
}

[data-stagger].no-anim [data-stagger-item] {
  transition: none !important;
}

/* 位移按视觉重量分档：小正文给 30px 会像整块在跳，大标题给 16px 又看不出来。
   分档规则必须写在主规则之后——同特异性时后定义者生效。 */
[data-stagger] .section__sub,
[data-stagger] .cta__sub,
[data-stagger] .hero-lx__lead,
[data-stagger] p {
  --sf-rise: 16px;
}

[data-stagger] .btn,
[data-stagger] .link-arrow,
[data-stagger] .about__cta {
  --sf-rise: 14px;
}

[data-stagger] .pcard,
[data-stagger] .ncard {
  --sf-rise: 20px;
}

/* 卡片网格项数多，间距收紧到 0.08s，否则最后一张要等 1 秒以上 */
.products[data-stagger],
.news[data-stagger] {
  --sf-stagger: 0.08s;
}

/* 无 JS 兜底：文字必须可见（依赖 <html class="no-js"> + head 内的移除脚本） */
html.no-js [data-stagger] [data-stagger-item] {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-stagger] [data-stagger-item] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (max-width: 600px) {
  [data-stagger] .pcard,
  [data-stagger] .ncard {
    --sf-rise: 16px;
  }
}

/* ---------- 响应式 ---------- */

@media (max-width: 1180px) {
  .nav {
    gap: 24px;
  }

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

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

  .about {
    gap: 40px;
  }
}

@media (max-width: 992px) {
  .nav,
  .header__actions .btn {
    display: none;
  }

  .burger {
    display: inline-flex;
  }

  .drawer {
    display: block;
    pointer-events: none;
  }

  .drawer.is-open {
    pointer-events: auto;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .hero__visual {
    order: 2;
  }

  .featurebar__inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stats__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .stats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    width: 100%;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .about__media img {
    height: 320px;
  }

  .advs,
  .news {
    grid-template-columns: 1fr;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

  .section {
    padding: 64px 0;
  }
}

@media (max-width: 640px) {
  .topbar__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 8px 0;
  }

  .topbar__meta {
    display: none;
  }

  .header__inner {
    min-height: 64px;
  }

  .brand__logo {
    height: 32px;
  }

  .brand__text {
    gap: 3px;
  }

  .brand__text strong {
    font-size: 12.5px;
    letter-spacing: 0.02em;
  }

  .brand__text em {
    font-size: 7px;
    letter-spacing: 0.04em;
  }

  /* 英文站页头溢出（320~430 宽）：法定全名 "Zhejiang Lixin Jewelry Technology Co., Ltd."
     在 12.5px 下单行要 278px，加上 logo 44 + gap 32 + 汉堡 44 + 左右内边距 48 = 446，
     而 390 宽手机只有 390 —— 品牌名 nowrap 又 flex:none 不肯缩，于是汉堡被推出视口、
     整页可以左右拖动。这里只在英文站放开收缩并把全名放成 2 行（中文站品牌名短，不触发）。
     字号 11.5px + 行高 1.25 时 2 行共 29px，仍小于 logo 的 32px，页头高度保持 64 不变。 */
  html[lang="en"] .header__inner {
    gap: 12px;
  }

  /* 只限页头里的品牌，抽屉里那份（.brand--drawer）不受影响 */
  html[lang="en"] .header__inner > .brand {
    flex: 0 1 auto;
    min-width: 0;
  }

  html[lang="en"] .header__inner > .brand .brand__text {
    min-width: 0;
  }

  html[lang="en"] .header__inner > .brand .brand__text strong {
    font-size: 10.5px;
    line-height: 1.25;
    white-space: normal;
  }

  .brand--drawer .brand__logo {
    height: 30px;
  }

  .brand--drawer .brand__text strong {
    font-size: 12.5px;
  }

  .brand--drawer .brand__text em {
    font-size: 7px;
  }

  .products {
    grid-template-columns: 1fr;
  }

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

  .section__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .form {
    padding: 22px 18px;
  }

  .form__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hero__caption {
    left: 12px;
    bottom: 12px;
    padding: 8px 10px;
    font-size: 11px;
  }
}

/* ============================================================
   Hero LX · 金属大字首屏（首页 / 英文首页专用）
   ------------------------------------------------------------
   构图从后到前：光晕 → 金属大字 → 落地阴影 → 产品图
   产品图压在字上，两侧露出字母，形成「机器站在品牌字前面」的层次。

   主题：<html data-theme="light|dark">，按钮在右下角，
        选择存 localStorage('lx-theme')。
        注意：深色只作用于 .hero-lx 内部，不写 body / 全局背景，
        避免影响其它 20+ 个浅色页面。
   ============================================================ */

.hero-lx {
  --bg: #f1f1f3;
  --fg: #121316;
  --muted: rgba(0, 0, 0, 0.5);
  --line: rgba(0, 0, 0, 0.12);
  --glass: rgba(255, 255, 255, 0.55);
  --metal:
    linear-gradient(0deg,
      rgba(255, 158, 76, 0.48) 0%, rgba(255, 206, 142, 0.3) 5%,
      rgba(118, 198, 255, 0.24) 10%, transparent 19%),
    linear-gradient(104deg,
      transparent 26%, rgba(255, 255, 255, 0.8) 37%, rgba(150, 220, 255, 0.55) 44%,
      rgba(255, 255, 255, 0.18) 51%, transparent 61%),
    linear-gradient(180deg,
      #b7bec9 0%, #6e7684 15%, #3d444f 31%, #2b313a 45%,
      #4b5361 58%, #8c94a2 72%, #303640 85%, #606875 100%);
  /* 竖排专用：去掉最底那层暖反光。字柱高，暖光会把最后一个字母整块染成橙褐色。 */
  --metal-vert:
    linear-gradient(104deg,
      transparent 26%, rgba(255, 255, 255, 0.8) 37%, rgba(150, 220, 255, 0.55) 44%,
      rgba(255, 255, 255, 0.18) 51%, transparent 61%),
    linear-gradient(180deg,
      #b7bec9 0%, #6e7684 15%, #3d444f 31%, #2b313a 45%,
      #4b5361 58%, #8c94a2 72%, #303640 85%, #606875 100%);
  --metal-glow: 0 18px 50px rgba(120, 110, 100, 0.18);
  /* 首屏主按钮（设计稿的蓝，浅深两套主题同色） */
  --cta: #0a84ff;
  --cta-h: #3d9bff;
  --orb-a: rgba(255, 150, 70, 0.22);
  --orb-b: rgba(120, 180, 255, 0.2);
  --orb-c: rgba(255, 255, 255, 0.9);

  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(640px, calc(100svh - 120px), 900px);
  background: var(--bg);
  color: var(--fg);
  overflow: hidden;
  isolation: isolate;
  transition: background 0.45s ease, color 0.45s ease;
}

html[data-theme="dark"] .hero-lx {
  --bg: #07080a;
  --fg: #f5f5f7;
  --muted: rgba(255, 255, 255, 0.56);
  --line: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.08);
  --metal:
    linear-gradient(0deg,
      rgba(255, 172, 92, 0.62) 0%, rgba(255, 208, 142, 0.4) 4%,
      rgba(118, 214, 255, 0.34) 9%, rgba(158, 138, 255, 0.13) 14%, transparent 21%),
    linear-gradient(104deg,
      transparent 26%, rgba(255, 255, 255, 0.45) 37%, rgba(175, 235, 255, 0.32) 44%,
      rgba(255, 255, 255, 0.1) 51%, transparent 61%),
    linear-gradient(180deg,
      #f4f7fb 0%, #c3cad5 15%, #7e8592 31%, #5c636f 45%,
      #7f8795 58%, #c2c9d4 72%, #6f7683 85%, #a4acb7 100%);
  --metal-vert:
    linear-gradient(104deg,
      transparent 26%, rgba(255, 255, 255, 0.45) 37%, rgba(175, 235, 255, 0.32) 44%,
      rgba(255, 255, 255, 0.1) 51%, transparent 61%),
    linear-gradient(180deg,
      #f4f7fb 0%, #c3cad5 15%, #7e8592 31%, #5c636f 45%,
      #7f8795 58%, #c2c9d4 72%, #6f7683 85%, #a4acb7 100%);
  --metal-glow: 0 24px 70px rgba(0, 0, 0, 0.6), 0 0 110px rgba(255, 146, 64, 0.16);
  --orb-a: rgba(255, 138, 48, 0.2);
  --orb-b: rgba(90, 170, 255, 0.16);
  --orb-c: rgba(255, 255, 255, 0.1);
}

/* 深色首屏时顶栏一起换深色，避免白条压在深色首屏上。
   只有首页 / 英文首页的首帧脚本会设置 data-theme，内页不受影响。 */
html[data-theme="dark"] .header {
  --ink: #f5f5f7;
  background: #0b0c0e;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .header.is-scrolled {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px -22px rgba(0, 0, 0, 0.9);
}

html[data-theme="dark"] .brand__text strong {
  color: #f5f5f7;
}

html[data-theme="dark"] .brand__text em {
  color: rgba(255, 255, 255, 0.5);
}

html[data-theme="dark"] .nav__link {
  color: rgba(255, 255, 255, 0.74);
}

html[data-theme="dark"] .nav__link:hover,
html[data-theme="dark"] .nav__link.is-active {
  color: #fff;
}

html[data-theme="dark"] .header .btn--dark {
  background: #f5f5f7;
  color: #0b0c0e;
}

html[data-theme="dark"] .header .btn--dark:hover {
  background: #fff;
}

/* ---------- 背景光晕 ---------- */
.hero-lx__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-lx__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  transition: background 0.45s ease;
}

.hero-lx__orb--a {
  width: 56vw;
  height: 56vw;
  left: 50%;
  top: 58%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--orb-a), transparent 66%);
}

.hero-lx__orb--b {
  width: 42vw;
  height: 42vw;
  left: 14%;
  top: 28%;
  background: radial-gradient(circle, var(--orb-b), transparent 66%);
}

.hero-lx__orb--c {
  width: 34vw;
  height: 34vw;
  right: 6%;
  top: 42%;
  background: radial-gradient(circle, var(--orb-c), transparent 68%);
}

/* ---------- 文案（居中） ---------- */
.hero-lx__copy {
  position: relative;
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(24px, 4.4vh, 44px) clamp(20px, 5vw, 48px) 0;
  pointer-events: none;
}

.hero-lx__copy > * {
  pointer-events: auto;
}

.hero-lx__copy .eyebrow {
  /* 原 .eyebrow 是 inline-flex，长文案在窄屏不换行会把整页撑出横向滚动 */
  display: inline-block;
  max-width: 100%;
  /* 首屏按设计稿改成「纯文字 + 宽字距」，去掉全站徽标的金框与金底 */
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--muted);
  font-size: clamp(10px, 1.05vw, 13px);
  font-weight: 600;
  letter-spacing: 0.34em;
  /* 末字后面也会多算一份字距，不补回来整行视觉上会偏左 */
  text-indent: 0.34em;
  text-transform: uppercase;
  line-height: 1.5;
  margin-bottom: clamp(8px, 1.4vh, 16px);
  transition: color 0.45s ease;
}

.hero-lx__title {
  font-size: clamp(30px, 4.6vw, 64px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.hero-lx__lead {
  max-width: 680px;
  margin-top: clamp(8px, 1.5vh, 16px);
  color: var(--muted);
  font-size: clamp(13px, 1.15vw, 17px);
  letter-spacing: 0.01em;
  line-height: 1.7;
  transition: color 0.45s ease;
}

.hero-lx__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(14px, 2.6vh, 28px);
}

/* 首屏按钮按设计稿做成全圆角胶囊（全站 .btn 是方角 + uppercase + 13px，
   这里只覆盖首屏作用域，内页按钮不受影响） */
.hero-lx__actions .btn {
  min-height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}

.hero-lx__actions .btn--gold {
  background: var(--cta);
  color: #fff;
  box-shadow: 0 10px 24px -14px rgba(10, 132, 255, 0.9);
}

.hero-lx__actions .btn--gold:hover {
  background: var(--cta-h);
}

/* 次级按钮：设计稿的玻璃态——细边框 + 半透明底，颜色随主题 */
.hero-lx .btn--ghost {
  border: 1px solid var(--line);
  color: var(--fg);
  background: var(--glass);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hero-lx .btn--ghost:hover {
  border-color: var(--fg);
  background: var(--glass);
}

html[data-theme="dark"] .hero-lx .btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

/* ---------- 舞台 ---------- */
.hero-lx__stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  --type-top: 71%;
  --type-size: 33.4vw;
  --type-ls: -0.03em;
  --prod-h: 52%;
  --prod-bottom: 3%;
}

/* 地面光 */
.hero-lx__floor {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 44% 24% at 50% 101%, rgba(255, 160, 80, 0.22), transparent 72%),
    radial-gradient(ellipse 70% 30% at 50% 101%, rgba(120, 110, 100, 0.1), transparent 74%);
  transition: background 0.45s ease;
}

html[data-theme="dark"] .hero-lx__floor {
  background:
    radial-gradient(ellipse 46% 26% at 50% 101%, rgba(255, 146, 58, 0.3), transparent 72%),
    radial-gradient(ellipse 76% 34% at 50% 101%, rgba(255, 255, 255, 0.055), transparent 74%);
}

/* 金属大字 · 横排 */
.hero-lx__type {
  position: absolute;
  left: 50%;
  top: var(--type-top);
  /* 居中用独立的 translate 属性，transform 留给视差脚本覆盖 */
  translate: -50% -50%;
  z-index: 1;
  font-family: "Arial Black", "Helvetica Neue", Impact, sans-serif;
  font-weight: 900;
  font-size: var(--type-size);
  line-height: 0.82;
  letter-spacing: var(--type-ls);
  white-space: nowrap;
  background-image: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(var(--metal-glow));
  user-select: none;
  will-change: transform;
}

/* 金属大字 · 竖排（手机竖屏 / 平板竖屏） */
.hero-lx__type--vert {
  display: none;
  writing-mode: vertical-rl;
  text-orientation: upright;
  line-height: 1;
  letter-spacing: -0.66em;
  /* background-clip:text 只在元素盒内绘制背景，盒外字形一律透明。
     竖排字柱盒底正好卡在最后一个字母中间，B 的下缘会整块消失。
     用 padding 把盒撑长，再把 top 加回半个 padding，字形位置不动。 */
  padding-bottom: 0.34em;
  top: calc(var(--type-top) + var(--type-size) * 0.17);
  background-image: var(--metal-vert);
  /* 渐变按单字母周期重复，每个字母走一遍完整明暗。
     实测墨迹周期是 0.69em（不是元素盒的 0.75em），用元素盒值会让
     第二个字母吃到最亮的一段、在浅背景上几乎看不见。 */
  background-size: 100% calc(var(--type-size) * 0.69);
  background-repeat: repeat-y;
}

/* 手机端品牌图标：替代竖排 LIXIN 字柱（桌面/平板仍是横排大字与竖排字柱）。
   用背景图而不是 <img>：display:none 的元素不会下载背景图，
   桌面端因此零额外请求；手机端也只在下方 ≤600 竖屏块里才铺图。 */
.hero-lx__mark {
  display: none;
}

/* 落地阴影：在字层之上、产品之下，产品才像站在字前面 */
.hero-lx__contact {
  position: absolute;
  left: 50%;
  bottom: calc(var(--prod-bottom) - clamp(12px, 2.2vh, 24px));
  translate: -50% 0;
  width: calc(var(--prod-h) * 0.6);
  height: clamp(34px, 6vh, 74px);
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 45%,
    rgba(96, 86, 74, 0.34), rgba(96, 86, 74, 0.14) 45%, transparent 72%);
  filter: blur(16px);
  z-index: 2;
  pointer-events: none;
  transition: background 0.45s ease;
}

html[data-theme="dark"] .hero-lx__contact {
  background: radial-gradient(ellipse at 50% 45%,
    rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.28) 45%, transparent 72%);
}

/* 产品图 */
.hero-lx__product {
  position: absolute;
  left: 50%;
  bottom: var(--prod-bottom);
  /* 后台「封面图 · 位置」的位移通过这两个变量注入（见 applyHeroAdjust）。
     不能直接给元素写内联 translate：入场动画 lxProdIn 的 keyframes 里也有
     translate，而 CSS 动画的优先级高于内联样式（含 animation-fill-mode: both
     动画结束后仍持续生效），内联 translate 会被整条盖掉，dx/dy 看上去「没反应」。
     所以位移只能进变量、由 keyframes 一起读。 */
  --hero-dx: 0px;
  --hero-dy: 0px;
  /* 缩放同理走变量：height 有四个断点各一套基线（桌面 %、平板/手机吃 --type-size），
     内联 height 会一口气把这四套都盖掉，手机端就会丢掉「与玻璃标志对齐」的比例。
     所以变量只做倍数，乘在各自断点的基线上（见下面每个 height 声明）。 */
  --hero-scale: 1;
  translate: calc(-50% + var(--hero-dx)) var(--hero-dy);
  height: calc(var(--prod-h) * var(--hero-scale));
  z-index: 3;
  margin: 0;
  will-change: transform;
  /* 绝对定位 + left:50% 时宽度是 shrink-to-fit，可用宽只剩「50% 到右边缘」那半屏：
     手机端机器长到 298 高、按比例要 278 宽，实际被压到 195，img 的 object-fit:fill
     就把它横向压扁了（比例 0.934 → 0.654，肉眼可见变瘦）。
     max-content 让它按图片固有宽度撑开，不再受那半屏限制。 */
  width: max-content;
  max-width: none;
}

.hero-lx__product img {
  display: block;
  height: 100%;
  width: auto;
  filter:
    drop-shadow(0 26px 34px rgba(90, 84, 76, 0.22))
    drop-shadow(0 4px 10px rgba(90, 84, 76, 0.14))
    contrast(1.03) saturate(1.04);
}

html[data-theme="dark"] .hero-lx__product img {
  filter:
    drop-shadow(22px 34px 34px rgba(0, 0, 0, 0.55))
    drop-shadow(0 10px 18px rgba(0, 0, 0, 0.4))
    contrast(1.06) saturate(1.06) brightness(1.02);
}

/* ---------- 主题切换（右下角） ---------- */
.hero-lx__theme {
  position: absolute;
  right: clamp(16px, 2.2vw, 30px);
  bottom: clamp(16px, 2.2vh, 30px);
  z-index: 60;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--fg);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.2s ease, background 0.45s ease, transform 0.18s ease, color 0.45s ease;
}

.hero-lx__theme:hover {
  transform: scale(1.06);
}

.hero-lx__theme:active {
  transform: scale(0.94);
}

.hero-lx__theme:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.hero-lx__theme svg {
  width: 20px;
  height: 20px;
  display: block;
}

.hero-lx__theme .ic-sun {
  display: none;
}

html[data-theme="dark"] .hero-lx__theme .ic-sun {
  display: block;
}

html[data-theme="dark"] .hero-lx__theme .ic-moon {
  display: none;
}

/* ---------- 入场动画（纯 CSS，避免闪白） ---------- */
@keyframes lxRiseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes lxFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes lxProdIn {
  from { opacity: 0; translate: calc(-50% + var(--hero-dx)) calc(var(--hero-dy) + 34px); }
  to { opacity: 1; translate: calc(-50% + var(--hero-dx)) var(--hero-dy); }
}

.hero-lx__copy .eyebrow { animation: lxRiseIn 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.05s both; }
.hero-lx__title { animation: lxRiseIn 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.13s both; }
.hero-lx__lead { animation: lxRiseIn 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.21s both; }
.hero-lx__actions { animation: lxRiseIn 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.29s both; }
.hero-lx__type { animation: lxFadeIn 1.2s ease 0.1s both; }
.hero-lx__product { animation: lxProdIn 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.28s both; }

/* ---------- 桌面紧凑版：视口高度不足时整体收一档 ----------
   1440×900 / 1280×800 这类笔记本，hero 实际只有 ~680–780px，
   标准字号 + 52% 产品会顶到按钮上，所以按高度换成小一号比例。 */
@media (min-width: 1024px) and (max-height: 920px) {
  .hero-lx__copy {
    padding-top: clamp(20px, 3.4vh, 32px);
  }

  .hero-lx__title {
    font-size: clamp(28px, 4.35vw, 58px);
  }

  .hero-lx__lead {
    font-size: 14px;
    line-height: 1.68;
    margin-top: 12px;
  }

  .hero-lx__actions {
    margin-top: clamp(14px, 2vh, 20px);
  }

  .hero-lx__stage {
    --type-size: 30vw;
    --type-top: 70%;
    /* 设计稿的产品是整屏的 52% ≈ 468px；这里的 hero 扣掉 topbar+header 只有 780，
       同一像素高度要 60% 才能对上，否则文案缩短后按钮到机器之间会空出 130px */
    --prod-h: 60%;
    --prod-bottom: 3%;
  }
}

/* ---------- 平板竖屏：竖排，字号由高度兜底 ---------- */
@media (min-width: 601px) and (max-width: 1023px) and (orientation: portrait) {
  .hero-lx__type--main { display: none; }
  .hero-lx__type--vert { display: block; }

  /* 平板顶部 topbar 换行后约 100，加 header 65，首屏只剩 ~860 */
  .hero-lx {
    min-height: calc(100svh - 170px);
  }

  .hero-lx__stage {
    /* 文案缩成一行标题后，下方空出约 100px；字柱放大到 23vw / 17vh、
       起点上移到 58%，正好填满且最后一个字母仍在屏内。
       LIXIN 比 LXZB 多一个字母（字柱 3em → 3.75em），字号要比原来收 8%。 */
    --type-size: min(22.5vw, 16.5vh);
    --type-top: 57.5%;
  }

  .hero-lx__product {
    top: calc(var(--type-top) - var(--type-size) * 0.406);
    bottom: auto;
    /* 1.45 而不是"两个字母周期 = 1.36"：产品图顶部有圆角、底部轮脚之间透明，
       视觉高度只有元素的约 0.956，留出余量才不会露出字母头顶和底横 */
    height: calc(var(--type-size) * 1.483 * var(--hero-scale));
  }

  .hero-lx__contact {
    top: calc(var(--type-top) + var(--type-size) * 0.98);
    bottom: auto;
  }
}

/* ---------- 手机竖屏：LIXIN 竖排成字柱 ----------
   产品高 = 2 个字母周期 = 字号 × 1.5；再减 0.386em 补偿字形基线偏移，
   否则产品会切在 L 的横笔上。
   LIXIN 是 5 个字母，字柱总高 3.75em（LXZB 只有 3em）：同样的字号会顶到
   按钮、底部还溢出屏幕，所以字号收到 33vw / 16vh，起点下移到 61%。
   改字号务必重算：文案底到 hero 底的高度 ÷ 3.75 = 可用字号上限。 */
@media (max-width: 600px) and (orientation: portrait) {
  .hero-lx__type--main { display: none; }
  /* 手机端不再显示竖排 LIXIN 字柱，改由 .hero-lx__mark 铺品牌图标 */
  .hero-lx__type--vert { display: none; }

  /* 图标与产品共用同一套锚点：产品中心 = --type-top + 0.3355em
     （产品顶 --type-top-0.406em + 高 1.483em 的一半），再下移 0.06em 让
     视觉重心落在产品上；外圈刀刃从机器四周露出，作用等同原来的字柱。
     尺寸实测（390×844）：335px 时刀刃完整、机器与标志主次清楚；
     再放大到 96vw 会切掉左右刀刃、半透明后机器对比度下降，弃用。 */
  .hero-lx__mark {
    display: block;
    position: absolute;
    left: 50%;
    top: calc(var(--type-top) + var(--type-size) * 0.40);
    translate: -50% -50%;
    width: min(86vw, 45vh);
    aspect-ratio: 1;
    background: url("../img/hero-mark-v3.webp") center / contain no-repeat;
    z-index: 1;
    opacity: 0.9;
    pointer-events: none;
    animation: lxFadeIn 1.2s ease 0.1s both;
  }

  /* 浅色主题的首屏是浅底，白色玻璃图标会糊成一片（实测几乎看不见）；
     压暗成金属灰，与浅色主题下 LIXIN 字柱（#b7bec9→#2b313a 灰渐变）同色调。 */
  html[data-theme="light"] .hero-lx__mark {
    /* 新标志本身就是真透明玻璃，压太狠（原 brightness .55）会变成一块灰塑料、
       丢掉高光；0.8 既能在 #f1f1f3 背景上拉开层次，又保住金属质感 */
    filter: brightness(0.8) contrast(1.05);
  }

  /* 手机顶部是 topbar(约86) + header(65)，首屏实际只剩约 690，
     用 100svh-150 才能让 hero 正好填满一屏 */
  .hero-lx {
    min-height: calc(100svh - 150px);
  }

  .hero-lx__stage {
    --type-size: min(30vw, 15vh);
    --type-top: 61%;
  }

  /* 竖排定位改用 top 锚定，不再从底部推。
     手机端机器要「相对玻璃标志居中，且几乎占满标志」（用户第三轮要求）：
     玻璃标志（.hero-lx__mark）中心 = --type-top + 0.40em（它自己 top 也是这个值、
     再用 translate -50% -50% 归位），所以机器中心必须落在这条线上。
     机器高取标志的 94%（典型竖屏下标志 = 86vw、字号 = 30vw，
     94% × 86 / 30 = 2.695em），于是
        top = 中心 − 高/2 = (--type-top + 0.40em) − 1.3475em = --type-top − 0.9475em
     390×844 实测：机器 294×315、标志 335，上下各留 10px、左右各留 20px 刀刃，
     中心与标志中心差 0px；矮屏同理（见下方 max-height:760px 块）。
     **改高度必须同改 top**：top 必须跟着变成「中心 − 新高度的一半」，
     否则机器会重新偏上/偏下；落地阴影（.hero-lx__contact）也要跟着重算。 */
  .hero-lx__product {
    top: calc(var(--type-top) - var(--type-size) * 0.9475);
    bottom: auto;
    height: calc(var(--type-size) * 2.695 * var(--hero-scale));
  }

  /* 落地阴影跟着机器走：顶边比机器底边高 0.097em（机器脚下），
     宽度按机器宽度（2.695 × 0.934 ≈ 2.52em）的 0.6 缩放，避免机器长大、影子还是原来的小椭圆。 */
  .hero-lx__contact {
    top: calc(var(--type-top) + var(--type-size) * 1.65);
    bottom: auto;
    width: calc(var(--type-size) * 1.51);
  }

  .hero-lx__copy {
    padding-top: clamp(20px, 4vh, 34px);
  }

  /* 英文标题 "Genuine Rope Chain Machine" 在 30px 下要 413px 宽，
     390 宽手机可用仅 350px → 必然折成两行，多出的 32px 会把竖排字柱顶开
     （实测 360×640 文案底 325 / 字柱顶 292，重叠 33px；320 宽时按钮竖排，
     L 直接穿到按钮背后）。按「一行装得下」反算：每 1px 字号约 13.77px 宽，
     6.1vw 在 320~430 全档都有 5~22px 余量，34px 兜住平板边界的上限。
     只作用于英文站，中文 4 字标题不受影响。 */
  html[lang="en"] .hero-lx__title {
    font-size: min(6.1vw, 34px);
  }

  .hero-lx__lead {
    font-size: 13px;
    line-height: 1.7;
  }
}

/* 矮屏手机（375×667、320×640）：文案压到最小，字柱按剩余高度收 */
@media (max-width: 600px) and (orientation: portrait) and (max-height: 760px) {
  .hero-lx__stage {
    --type-size: min(25vw, 13vh);
    --type-top: 61%;
  }

  /* 矮屏同样「居中 + 占满标志」，但系数要另算：这档标志走 45vh、字号走 13vh
     （两档宽度/高度约束互换，比例是 45/13 而不是 86/30），
     所以机器高 = 94% × 45/13 = 3.254em，top = 中心 − 1.627em = --type-top − 1.227em。
     实测 320×568：机器 224×240、标志 256，上下各留 8px；360×640：252×271。
     底边落在 --type-top + 2.027em，落地阴影随之取 1.93em。 */
  .hero-lx__product {
    top: calc(var(--type-top) - var(--type-size) * 1.227);
    bottom: auto;
    height: calc(var(--type-size) * 3.254 * var(--hero-scale));
  }

  .hero-lx__contact {
    top: calc(var(--type-top) + var(--type-size) * 1.93);
    bottom: auto;
    width: calc(var(--type-size) * 1.823);
  }

  .hero-lx__lead {
    display: none;
  }
}

/* 320 宽小屏（iPhone SE 一代）：「Learn More」(147) + 「Contact Us」(122) + gap 12 = 281，
   容器只有 280 —— 差 1px 就换行，按钮竖排后文案高 56px，金属字柱会穿到按钮背后。
   中文站两个按钮更短，不受影响。 */
@media (max-width: 340px) {
  .hero-lx__actions {
    gap: 8px;
  }
}

/* ---------- 平板横屏 / 矮横屏：保持横排 ---------- */
@media (max-width: 1023px) and (orientation: landscape) {
  .hero-lx__stage {
    --type-size: 33.4vw;
    --type-top: 70%;
    --prod-h: 56%;
    --prod-bottom: 5%;
  }
}

@media (max-height: 560px) and (orientation: landscape) {
  /* 横屏手机高度不够放大字和产品，直接降级成纯文案首屏 */
  .hero-lx {
    min-height: 0;
    padding-bottom: clamp(24px, 5vh, 44px);
  }

  .hero-lx__stage {
    display: none;
  }

  .hero-lx__copy {
    padding-top: 14px;
  }

  .hero-lx__title {
    font-size: clamp(20px, 3vw, 28px);
  }

  .hero-lx__lead {
    display: none;
  }

  .hero-lx__actions {
    margin-top: 10px;
  }

  .hero-lx__theme {
    width: 36px;
    height: 36px;
    right: 10px;
    bottom: 10px;
  }

  .hero-lx__theme svg {
    width: 17px;
    height: 17px;
  }
}

/* ---------- 无障碍：减少动态 ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-lx__copy .eyebrow,
  .hero-lx__title,
  .hero-lx__lead,
  .hero-lx__actions,
  .hero-lx__type,
  .hero-lx__product {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-lx__type {
    translate: -50% -50%;
  }

  .hero-lx__mark {
    animation: none !important;
  }

  /* 关掉入场动画后要靠这条把居中位移补回来，位移变量必须照旧带上，
     否则「减少动态」的用户会丢掉后台配的位置 */
  .hero-lx__product {
    translate: calc(-50% + var(--hero-dx)) var(--hero-dy);
  }

  .hero-lx,
  .hero-lx__floor,
  .hero-lx__contact,
  .hero-lx__orb,
  .hero-lx__theme {
    transition: none;
  }
}
