/* ==========================================================================
   AtBingo — Corporate Website
   Design system / global stylesheet
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* 深色体系：ink 系列只管文字色，深色块一律走 ink-solid / panel 系列 */
  --ink: #f3f0e9;
  --ink-2: #dcd7cd;
  --ink-3: #bdb8ae;
  --slate: #9c978e;
  --slate-2: #726e67;
  --line: #2c2d34;
  --line-2: #24252b;
  --bg: #08080a;
  --bg-soft: #17181c;
  --bg-dark: #050506;

  /* 纯深色块（只做背景，不要拿来当文字色） */
  --ink-solid: #0b0b0d;
  /* 悬浮面板三层：页面底 < panel < panel-2 < panel-3 */
  --panel: #111216;
  --panel-2: #16171b;
  --panel-3: #1b1c21;
  /* 产品图底片：照片压在浅底上才看得清，所以留一块暖白板 */
  --plate: #f0eee7;
  --hairline: rgba(255, 255, 255, 0.08);

  --accent: #c9a227;
  --accent-dark: #a8871a;
  --accent-soft: rgba(200, 164, 77, 0.14);
  /* 金色阶梯：gold 做装饰线，gold-ink 深底小字，gold-lit 高亮 */
  --gold: #c8a44d;
  --gold-ink: #cfab60;
  --gold-lit: #e5c877;
  --accent-ink: #e5c877;
  --navy-soft: #1e1f24;

  --ok: #3fbf86;

  --container: 1200px;
  --gutter: 24px;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 16px 34px -20px rgba(0, 0, 0, 0.85);
  --shadow-lg: 0 30px 60px -28px rgba(0, 0, 0, 0.95);

  --font-head: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", "Helvetica Neue", Arial, "PingFang SC",
    "Microsoft YaHei", sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* 移动端抽屉导航用 translateX(100%) 藏在右侧，会被算进可滚动区域；
     用 clip 而不是 hidden —— clip 不产生滚动容器，吸顶元素照常工作 */
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
}
h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
}
h3 {
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
}
h4 {
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
}

::selection {
  background: var(--accent);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- 3. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: 88px 0;
}

.section--tight {
  padding: 64px 0;
}

.section--soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}

.section--dark {
  background: var(--bg-dark);
  color: #fff;
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: #fff;
}

.section--dark p {
  color: rgba(255, 255, 255, 0.72);
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head p {
  color: var(--slate);
  font-size: 1.05rem;
  margin-bottom: 0;
}

/* 不配 h2 的区块标题：这段文字自己当主角 */
.section-head--lead {
  max-width: 680px;
}

.section-head--lead p {
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: var(--ink-2);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
  display: block;
}

.section--dark .eyebrow {
  color: #e5c877;
}
.section--dark .eyebrow::before {
  background: #e5c877;
}

.lede {
  font-size: 1.12rem;
  color: var(--slate);
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: -0.01em;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease),
    border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--accent);
  color: #121214;
  box-shadow: 0 8px 20px -12px rgba(200, 164, 77, 0.9);
}

.btn--primary:hover {
  background: var(--gold);
  color: #121214;
  box-shadow: 0 12px 26px -12px rgba(200, 164, 77, 0.95);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--ink);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-lit);
}

.btn--light {
  background: var(--gold);
  color: #0d0d0f;
}

.btn--light:hover {
  background: var(--gold-lit);
}

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}

.btn--outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn--block {
  width: 100%;
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1rem;
}

/* ---------- 5. Header ---------- */
.topbar {
  background: var(--ink-solid);
  border-bottom: 1px solid var(--hairline);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
  letter-spacing: 0.01em;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 38px;
}

.topbar__list {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.topbar__list li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.topbar a:hover {
  color: #fff;
}

.topbar svg {
  opacity: 0.65;
  flex: none;
}

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(9, 9, 11, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--hairline);
  transition: box-shadow 0.25s var(--ease);
}

.header.is-stuck {
  box-shadow: 0 14px 30px -22px rgba(0, 0, 0, 0.95);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  flex: none;
}

.logo__mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--panel-3);
  border: 1px solid rgba(200, 164, 77, 0.32);
  display: grid;
  place-items: center;
  flex: none;
}

.logo__mark svg {
  width: 19px;
  height: 19px;
}

.logo small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--slate-2);
  line-height: 1.2;
  margin-top: -2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink-3);
  transition: color 0.15s, background 0.15s;
}

.nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

.nav a.is-active {
  color: var(--ink);
  font-weight: 600;
}

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.header__phone {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  padding-right: 4px;
}

.header__phone span {
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-2);
  font-weight: 600;
}

.header__phone strong {
  font-family: var(--font-head);
  font-size: 0.95rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  background: transparent;
  padding: 0;
  place-items: center;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: background 0.2s;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.22s var(--ease), top 0.22s var(--ease);
}

.nav-toggle span::before {
  top: -6px;
}
.nav-toggle span::after {
  top: 6px;
}

body.nav-open .nav-toggle span {
  background: transparent;
}
body.nav-open .nav-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}
body.nav-open .nav-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  background: var(--bg-dark);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      100deg,
      rgba(10, 10, 12, 0.96) 0%,
      rgba(10, 10, 12, 0.88) 42%,
      rgba(10, 10, 12, 0.55) 100%
    ),
    radial-gradient(80% 60% at 80% 10%, rgba(200, 164, 77, 0.16), transparent 70%);
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.68);
}

.hero .eyebrow::before {
  background: var(--gold-lit);
}

.hero__inner {
  position: relative;
  padding: 96px 0 72px;
  max-width: 720px;
}

.hero h1 {
  color: #fff;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: #e5c877;
}

.hero__sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.76);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
  letter-spacing: 0.01em;
}

.pill svg {
  color: #e5c877;
  flex: none;
}

/* ---------- 7. Stat bar ---------- */
.stats {
  background: var(--panel-2);
  border-bottom: 1px solid var(--hairline);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 34px 28px;
  border-left: 1px solid var(--line);
}

.stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.stat__num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--ink);
}

.stat__num span {
  color: var(--gold-ink);
  font-size: 0.56em;
  font-weight: 800;
  margin-left: 3px;
  letter-spacing: 0;
}

.stat__label {
  font-size: 0.85rem;
  color: var(--slate);
  margin-top: 4px;
}

/* ---------- 8. Category cards ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--panel-3);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
    border-color 0.28s var(--ease);
}

.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 46px -30px rgba(0, 0, 0, 0.95);
  border-color: rgba(200, 164, 77, 0.42);
}

.cat-card__media {
  aspect-ratio: 4 / 3;
  background: var(--plate);
  overflow: hidden;
}

.cat-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.cat-card:hover .cat-card__media img {
  transform: scale(1.045);
}

.cat-card__body {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cat-card h3 {
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.cat-card p {
  font-size: 0.9rem;
  color: var(--slate);
  margin-bottom: 16px;
  flex: 1;
}

.cat-card__link {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-lit);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cat-card__link svg {
  transition: transform 0.22s var(--ease);
}

.cat-card:hover .cat-card__link svg {
  transform: translateX(4px);
}

/* ---------- 9. Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product {
  display: flex;
  flex-direction: column;
  background: var(--panel-3);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.product:hover {
  border-color: rgba(200, 164, 77, 0.4);
  box-shadow: 0 22px 40px -30px rgba(0, 0, 0, 0.95);
  transform: translateY(-3px);
}

/* 带产品图的卡片 */
.product--with-image {
  padding: 0;
  overflow: hidden;
}

/* 图片内嵌一圈深灰画框，白底不再一路顶到卡片边 */
.product--with-image .product__media {
  margin: 10px 10px 0;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
}

.product__media {
  aspect-ratio: 4 / 3;
  background: var(--plate);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
}

.product__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  display: block;
  transition: transform 0.5s var(--ease);
}

/* 照片边缘压一层极淡的暗角，白底才不会像一块生白，产品本身几乎不受影响 */
.product__media::after,
.cat-card__media::after,
.pick__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 46%,
    rgba(38, 34, 26, 0) 46%,
    rgba(38, 34, 26, 0.16) 100%
  );
  pointer-events: none;
}

.product__media,
.cat-card__media,
.pick__media {
  position: relative;
}

.product--with-image:hover .product__media img {
  transform: scale(1.04);
}

.product__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 24px;
}

.product__model {
  font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 0.72rem;
  line-height: 1.55;
  color: #8d887f;
  margin: 0 0 14px;
  word-break: break-word;
}

.product__tag {
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-lit);
  background: rgba(200, 164, 77, 0.1);
  border-radius: 3px;
  padding: 4px 8px;
  margin-bottom: 14px;
}

.product h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
  line-height: 1.4;
}

.product__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.product__specs span {
  font-size: 0.75rem;
  color: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 3px 7px;
  line-height: 1.4;
}

.product__foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.product__price {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.product__price small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.73rem;
  color: var(--slate-2);
  letter-spacing: 0;
  margin-top: 2px;
}

.product__cta {
  font-family: var(--font-head);
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--gold-lit);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: none;
  padding: 0;
}

.product__cta:hover {
  color: var(--gold);
  text-decoration: underline;
}

/* ---------- 9b. Catalogue sections ---------- */
.prod-jump {
  position: sticky;
  top: 70px;
  z-index: 40;
  background: rgba(8, 8, 10, 0.9);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--hairline);
}

.prod-jump__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  /* 这里同时挂了 .container，padding 会被本规则覆盖，所以左右要自己补回 gutter */
  padding: 12px var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
}

.prod-jump__inner::-webkit-scrollbar {
  display: none;
}

.prod-jump a {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--hairline);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-3);
  transition: all 0.16s var(--ease);
}

.prod-jump a:hover {
  border-color: var(--gold);
  color: var(--gold-lit);
}

.prod-jump a span {
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--slate-2);
}

.prod-jump a.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #0d0d0f;
}

.prod-jump a.is-active span {
  color: rgba(255, 255, 255, 0.62);
}

.prod-section {
  scroll-margin-top: 132px;
  padding: 64px 0;
}

.prod-section + .prod-section {
  border-top: 1px solid var(--line-2);
}

.prod-head {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 0 20px;
  align-items: start;
  margin-bottom: 32px;
}

.prod-head__idx {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold-ink);
  padding-top: 9px;
}

.prod-head h2 {
  font-size: clamp(1.45rem, 2.3vw, 1.95rem);
  margin-bottom: 9px;
}

.prod-head p {
  margin: 0;
  max-width: 640px;
  font-size: 0.97rem;
  color: var(--slate);
}

.prod-head__count {
  margin-top: 5px;
  padding: 5px 13px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.77rem;
  font-weight: 700;
  color: var(--slate-2);
  white-space: nowrap;
}

.prod-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.prod-points span {
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--bg-soft);
  font-size: 0.78rem;
  color: var(--ink-3);
}

.prod-sub {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 34px 0 18px;
}

.prod-sub--first {
  margin-top: 0;
}

.prod-sub h3 {
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-ink);
  white-space: nowrap;
}

.prod-sub::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.prod-section--muted .prod-head__idx {
  color: var(--slate-2);
}

.prod-section--muted .prod-head h2 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
}

@media (max-width: 860px) {
  .prod-head {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 0 14px;
  }
  .prod-head__count {
    grid-column: 2;
    justify-self: start;
    margin-top: 12px;
  }
  .prod-section {
    padding: 48px 0;
    scroll-margin-top: 120px;
  }
}

/* ---------- 10. Filters ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.filter {
  padding: 9px 17px;
  border-radius: 100px;
  border: 1px solid var(--hairline);
  background: transparent;
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--ink-3);
  transition: all 0.16s var(--ease);
}

.filter:hover {
  border-color: var(--ink-3);
}

.filter.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #0d0d0f;
}

.filter__count {
  opacity: 0.5;
  font-size: 0.76rem;
  margin-left: 4px;
}

/* ---------- 11. Feature list ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 40px;
}

.feature {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.feature__icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e5c877;
}

.feature h4 {
  margin-bottom: 4px;
  font-size: 0.98rem;
}

.feature p {
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.6;
}

/* ---------- 12. Split (image + text) ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}

.split--reverse .split__media {
  order: 2;
}

.split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split__badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: rgba(11, 11, 13, 0.86);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(200, 164, 77, 0.28);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: 0 18px 34px -24px rgba(0, 0, 0, 0.95);
}

.split__badge strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.split__badge span {
  font-size: 0.76rem;
  color: var(--slate);
}

.checklist {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
}

.checklist li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--ink-3);
}

.checklist svg {
  flex: none;
  margin-top: 3px;
  color: var(--ok);
}

/* ---------- 13. Process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.step {
  padding: 32px 28px 8px 0;
  border-right: 1px solid var(--line);
  position: relative;
}

.step:last-child {
  border-right: 0;
}

.step__num {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold-ink);
  margin-bottom: 12px;
  display: block;
}

.step h4 {
  margin-bottom: 6px;
}

.step p {
  font-size: 0.88rem;
  color: var(--slate);
  margin: 0;
  padding-right: 12px;
}

/* ---------- 14. App ecosystem / logos ---------- */
.eco {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.eco span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  background: var(--panel-3);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 10px 16px;
}

/* ---------- 15. CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--ink-solid);
  color: #fff;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      70% 120% at 85% 100%,
      rgba(200, 164, 77, 0.28),
      transparent 62%
    ),
    linear-gradient(90deg, rgba(10, 10, 12, 0), rgba(10, 10, 12, 0.5));
}

.cta-band__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 64px 0;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 8px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  max-width: 520px;
}

.cta-band__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex: none;
}

/* ---------- 16. Form ---------- */
.form-wrap {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 56px;
  align-items: start;
}

.form-card {
  background: var(--panel-3);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 26px 48px -34px rgba(0, 0, 0, 0.95);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0.005em;
}

.field label .req {
  color: var(--accent-ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: var(--ink);
  background: #0b0c0f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  transition: border-color 0.16s, box-shadow 0.16s;
  appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239c978e' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.field textarea {
  resize: vertical;
  min-height: 116px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 164, 77, 0.12);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--slate-2);
}

.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.form-actions .btn {
  flex: 1 1 0;
}

.form-note {
  font-size: 0.79rem;
  color: var(--slate-2);
  margin: 16px 0 0;
  line-height: 1.55;
}

.form-status {
  display: none;
  margin-top: 18px;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  line-height: 1.55;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-ok {
  background: rgba(63, 191, 134, 0.12);
  border: 1px solid rgba(63, 191, 134, 0.34);
  color: #6fe0ac;
}

.form-status.is-error {
  background: rgba(200, 164, 77, 0.12);
  border: 1px solid rgba(200, 164, 77, 0.34);
  color: var(--gold-lit);
}

/* ---------- 17. Contact aside ---------- */
.contact-list {
  display: grid;
  gap: 2px;
}

.contact-item {
  display: flex;
  gap: 15px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.contact-item__icon {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--navy-soft);
  color: var(--gold-lit);
}

.contact-item h4 {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-2);
  margin-bottom: 3px;
}

.contact-item p,
.contact-item a {
  font-size: 0.94rem;
  color: var(--ink);
  margin: 0;
  word-break: break-word;
}

.contact-item a:hover {
  color: var(--accent-ink);
}

/* 联系条目里直接内嵌二维码（不跳转、不弹窗） */
.contact-item--qr {
  align-items: flex-start;
}

.contact-item__body {
  flex: 1 1 auto;
  min-width: 0;
}

.contact-item .contact-item__note {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--slate);
  margin-top: 3px;
}

.qr-thumb {
  flex: none;
  /* 128 - 16(内边距) - 2(边框) = 110px 实际码面，低于约 105px 微信码就扫不出来了 */
  width: 128px;
  margin: 0;
  padding: 8px 8px 7px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  text-align: center;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.qr-thumb:hover {
  border-color: rgba(200, 164, 77, 0.5);
  box-shadow: 0 12px 26px -18px rgba(0, 0, 0, 0.9);
}

.qr-thumb img {
  width: 100%;
  display: block;
  border-radius: 4px;
}

.qr-thumb figcaption {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--slate-2);
  margin-top: 6px;
}

@media (max-width: 560px) {
  /* 手机上改为「文字在上、二维码在下」，并把码放大到可扫尺寸 */
  .contact-item--qr {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px 14px;
    align-items: start;
  }
  .contact-item--qr .contact-item__icon {
    grid-column: 1;
    grid-row: 1;
  }
  .contact-item--qr .contact-item__body {
    grid-column: 2;
    grid-row: 1;
  }
  .contact-item--qr .qr-thumb {
    grid-column: 2;
    grid-row: 2;
    width: 158px;
    margin: 2px 0 0;
    justify-self: start;
  }
  .qr-thumb figcaption {
    font-size: 0.58rem;
    letter-spacing: 0.05em;
    margin-top: 5px;
  }
  .contact-item .contact-item__note {
    font-size: 0.8rem;
  }
}

/* ---------- 18. Page hero (inner pages) ---------- */
/* 内页页头：深色渐变 + 金色晕光 + 斜纹，彻底不留白 */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(74% 165% at 94% -22%, rgba(200, 164, 77, 0.4), transparent 60%),
    radial-gradient(62% 130% at -4% 132%, rgba(200, 164, 77, 0.14), transparent 62%),
    linear-gradient(135deg, #23242b 0%, #16171c 48%, #0c0d10 100%);
  border: 1px solid rgba(200, 164, 77, 0.24);
  box-shadow: inset 0 1px 0 rgba(200, 164, 77, 0.2);
  padding: 56px 0 52px;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    115deg,
    rgba(200, 164, 77, 0.08) 0 1px,
    transparent 1px 16px
  );
  -webkit-mask-image: linear-gradient(to left, #000, transparent 56%);
  mask-image: linear-gradient(to left, #000, transparent 56%);
  pointer-events: none;
}

.page-hero > .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  margin-bottom: 12px;
  color: #fff;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.66);
  max-width: 640px;
  margin: 0;
  font-size: 1.02rem;
}

/* 标题中的强制换行只在宽屏生效，窄屏交给浏览器自然折行 */
@media (max-width: 640px) {
  .br-lg { display: none; }
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--slate-2);
  margin-bottom: 18px;
}

.crumbs a:hover {
  color: var(--ink);
}

/* ---------- 18b. QR / scan cards ---------- */
.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 560px;
}

.qr-card {
  background: var(--panel-3);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 24px 22px 22px;
  text-align: center;
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.qr-card:hover {
  box-shadow: 0 22px 40px -30px rgba(0, 0, 0, 0.95);
  border-color: rgba(200, 164, 77, 0.42);
}

.qr-card__img {
  width: 100%;
  max-width: 200px;
  margin: 0 auto 16px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px -12px rgba(10, 10, 12, 0.45);
}

.qr-card__img img {
  width: 100%;
  display: block;
}

.qr-card__platform {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slot, var(--ink));
  margin-bottom: 6px;
}

.qr-card h4 {
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.qr-card p {
  font-size: 0.82rem;
  color: var(--slate);
  margin: 0;
  line-height: 1.5;
}

.qr-card--wa {
  --slot: #1f9d63;
}

.qr-card--wc {
  --slot: #07c160;
}

/* 深色区块里的二维码卡片 */
.section--dark .qr-card,
.cta-band .qr-card {
  background: #191a1f;
  border-color: var(--hairline);
}

.chat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.chat-number {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  min-width: 210px;
}

.chat-number span {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-2);
  font-weight: 700;
}

.chat-number strong {
  font-family: var(--font-head);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

@media (max-width: 520px) {
  .qr-grid {
    grid-template-columns: 1fr;
  }
  .qr-card__img {
    max-width: 230px;
  }
}

/* ---------- 19. Spec table ---------- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.spec-table caption {
  text-align: left;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--slate-2);
  font-weight: 700;
  padding-bottom: 12px;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.spec-table th {
  width: 34%;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--bg-soft);
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

/* ---------- 20. Timeline ---------- */
.timeline {
  display: grid;
  gap: 0;
}

.tl-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 32px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.tl-item__year {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: var(--gold-ink);
}

.tl-item h4 {
  margin-bottom: 5px;
}

.tl-item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--slate);
}

/* ---------- 21. Footer ---------- */
.footer {
  background: var(--ink-solid);
  border-top: 1px solid var(--hairline);
  color: rgba(255, 255, 255, 0.62);
  padding: 68px 0 0;
  font-size: 0.9rem;
}

.footer a:hover {
  color: #fff;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 52px;
}

.footer .logo {
  color: #fff;
  margin-bottom: 16px;
}

.footer .logo__mark {
  background: var(--panel-3);
  border: 1px solid rgba(200, 164, 77, 0.34);
}

.footer .logo small {
  color: rgba(255, 255, 255, 0.45);
}

.footer__about {
  max-width: 330px;
  line-height: 1.7;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer h5 {
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 16px;
}

.footer__links {
  display: grid;
  gap: 10px;
}

.footer__links a {
  font-size: 0.89rem;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.81rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer__social {
  display: flex;
  gap: 8px;
}

.footer__social a {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  transition: all 0.18s var(--ease);
}

.footer__social a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
}

/* ---------- 22. Floating inquiry ---------- */
.fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--accent);
  color: #0d0d0f;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 13px 20px;
  border-radius: 100px;
  box-shadow: 0 14px 34px -12px rgba(200, 164, 77, 0.85);
  transition: transform 0.2s var(--ease), background 0.2s;
}

.fab:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

/* ---------- 23. Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn:hover,
  .cat-card:hover,
  .product:hover,
  .fab:hover {
    transform: none;
  }
}

/* ---------- 24. Responsive ---------- */
@media (max-width: 1080px) {
  .header__phone {
    display: none;
  }
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split {
    gap: 40px;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .process {
    grid-template-columns: repeat(2, 1fr);
  }
  .step:nth-child(2) {
    border-right: 0;
  }
  .step:nth-child(3),
  .step:nth-child(4) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 860px) {
  .section {
    padding: 64px 0;
  }
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat {
    border-left: 1px solid var(--line);
    padding: 26px 20px;
  }
  .stat:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }
  .stat:nth-child(3),
  .stat:nth-child(4) {
    border-top: 1px solid var(--line);
  }
  .split,
  .split--reverse {
    grid-template-columns: 1fr;
  }
  .split--reverse .split__media {
    order: 0;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .form-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
    padding: 52px 0;
  }

  /* mobile nav */
  .nav-toggle {
    display: grid;
    order: 3;
    margin-left: 8px;
  }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(84vw, 340px);
    background: var(--panel-2);
    border-left: 1px solid var(--hairline);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 84px 20px 20px;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    box-shadow: -20px 0 50px -30px rgba(10, 10, 12, 0.4);
    margin-left: 0;
    overflow-y: auto;
  }
  body.nav-open .nav {
    transform: none;
  }
  .nav a {
    padding: 15px 6px;
    border-bottom: 1px solid var(--hairline);
    border-radius: 0;
    font-size: 1rem;
  }
  .nav a.is-active::after {
    display: none;
  }
  .nav a.is-active {
    color: var(--accent);
  }
  .header__actions .btn {
    display: none;
  }
  .header__inner {
    gap: 12px;
  }
  .logo {
    margin-right: auto;
  }
  .topbar__inner {
    justify-content: center;
    min-height: 34px;
  }
  .topbar__list li:not(:first-child) {
    display: none;
  }
  .hero__inner {
    padding: 64px 0 56px;
  }
  .tl-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .fab {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 620px) {
  .topbar__inner {
    font-size: 0.74rem;
  }
  .topbar__list:last-child {
    display: none;
  }
  .cat-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }
  .field-grid {
    grid-template-columns: 1fr;
  }
  .form-card {
    padding: 24px 20px;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .stats__grid {
    grid-template-columns: 1fr 1fr;
  }
  .stat__num {
    font-size: 1.6rem;
  }
  .process {
    grid-template-columns: 1fr;
  }
  .step {
    border-right: 0;
    padding-right: 0;
    padding-bottom: 24px;
  }
  .step:nth-child(3),
  .step:nth-child(4) {
    border-top: 1px solid var(--line);
  }
  .fab span {
    display: none;
  }
  .fab {
    padding: 14px;
    border-radius: 50%;
  }
}

/* ---------- 24b. Factory carousel, CTA & exhibition ---------- */
.carousel {
  position: relative;
  outline: none;
}

.carousel:focus-visible .carousel__viewport {
  box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow);
}

.carousel__viewport {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--line-2);
  box-shadow: var(--shadow);
}

.carousel__track {
  display: flex;
  transition: transform 0.55s var(--ease);
  will-change: transform;
}

.carousel__slide {
  position: relative;
  flex: 0 0 100%;
  margin: 0;
}

.carousel__slide img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.carousel__slide figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 96px 32px 26px;
  background: linear-gradient(
    to top,
    rgba(10, 10, 12, 0.9),
    rgba(10, 10, 12, 0.55) 46%,
    rgba(10, 10, 12, 0)
  );
  color: #fff;
  pointer-events: none;
}

.carousel__slide figcaption strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.carousel__slide figcaption span {
  display: block;
  max-width: 64ch;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.84);
}

.carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #0d0d0f;
  cursor: pointer;
  box-shadow: 0 8px 22px -8px rgba(10, 10, 12, 0.55);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.carousel__nav:hover {
  background: #fff;
}

.carousel__nav:active {
  transform: translateY(-50%) scale(0.94);
}

.carousel__nav--prev {
  left: 16px;
}

.carousel__nav--next {
  right: 16px;
}

.carousel__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}

.carousel__thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.carousel__thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: var(--line-2);
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.2s var(--ease), border-color 0.2s var(--ease);
}

.carousel__thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.carousel__thumb:hover {
  opacity: 0.85;
}

.carousel__thumb.is-active {
  opacity: 1;
  border-color: var(--accent);
}

.carousel__counter {
  flex: 0 0 auto;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--slate-2);
  font-variant-numeric: tabular-nums;
}

.factory-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}

.factory-cta strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 2px;
}

.factory-cta span {
  display: block;
  font-size: 0.87rem;
  color: var(--slate);
  line-height: 1.5;
}

.show-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.show-grid figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--line-2);
}

.show-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}

.show-grid figure:hover img {
  transform: scale(1.03);
}

.show-grid figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 30px 14px 12px;
  background: linear-gradient(
    to top,
    rgba(10, 10, 12, 0.85),
    rgba(10, 10, 12, 0)
  );
  color: #fff;
  font-size: 0.78rem;
  line-height: 1.4;
}

@media (max-width: 860px) {
  .carousel__slide img {
    aspect-ratio: 4 / 3;
  }
  .show-grid {
    grid-template-columns: 1fr;
  }
  .show-grid img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 560px) {
  .carousel__slide img {
    aspect-ratio: 4 / 3;
  }
  .carousel__slide figcaption {
    padding: 70px 16px 16px;
  }
  .carousel__slide figcaption strong {
    font-size: 1rem;
  }
  .carousel__slide figcaption span {
    font-size: 0.8rem;
  }
  .carousel__nav {
    width: 38px;
    height: 38px;
  }
  .carousel__nav--prev {
    left: 8px;
  }
  .carousel__nav--next {
    right: 8px;
  }
  .carousel__thumbs {
    gap: 6px;
  }
  .carousel__thumb {
    border-width: 1.5px;
    border-radius: 6px;
  }
  .factory-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
  }
  .factory-cta .btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  /* 双通道提交按钮在手机上改为上下堆叠 */
  .form-actions {
    flex-direction: column;
  }
}

/* ---------- 25. Print ---------- */
@media print {
  .header,
  .topbar,
  .fab,
  .footer,
  .cta-band {
    display: none;
  }
  .hero {
    background: #fff;
    color: #000;
  }
}

/* 移动端：产品区标题里的系列计数与顶部导航重复，隐藏避免单独占行 */
@media (max-width: 700px) {
  .prod-head__count {
    display: none;
  }
}

/* 没有产品图的系列：内容垂直居中，避免被同行有图卡拉高后中间留出大片空白 */
.product.product--no-image {
  justify-content: center;
  padding-top: 34px;
  padding-bottom: 34px;
}

.product--no-image .product__foot {
  margin-top: 4px;
}

/* ---------- 26. Legal pages (privacy / terms) ---------- */
.legal {
  padding: 60px 0 92px;
}

.legal__layout {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.legal__toc {
  position: sticky;
  top: 92px;
  border-left: 2px solid var(--line);
  padding-left: 18px;
}

.legal__toc h4 {
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--slate-2);
  font-weight: 700;
  margin-bottom: 14px;
}

.legal__toc ol {
  counter-reset: toc;
  display: grid;
  gap: 1px;
}

.legal__toc li {
  counter-increment: toc;
}

.legal__toc a {
  display: block;
  padding: 5px 0;
  font-size: 0.855rem;
  line-height: 1.45;
  color: var(--slate);
  transition: color 0.16s var(--ease);
}

.legal__toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--slate-2);
  margin-right: 9px;
  letter-spacing: 0.02em;
}

.legal__toc a:hover,
.legal__toc a:focus-visible {
  color: var(--accent-ink);
}

.legal__toc a:hover::before {
  color: var(--gold-ink);
}

.legal__body {
  max-width: 780px;
  min-width: 0;
}

.legal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--slate-2);
}

.legal__meta strong {
  color: var(--ink);
  font-weight: 600;
}

.legal__body h2 {
  font-size: 1.24rem;
  margin: 46px 0 10px;
  scroll-margin-top: 92px;
}

.legal__body h2:first-of-type {
  margin-top: 34px;
}

.legal__body h3 {
  font-size: 1rem;
  margin: 26px 0 8px;
  scroll-margin-top: 92px;
}

.legal__body p,
.legal__body li {
  color: var(--slate);
  font-size: 0.945rem;
  line-height: 1.72;
}

.legal__body p {
  margin-bottom: 0.9em;
}

.legal__body ul {
  list-style: disc;
  padding-left: 22px;
  margin: 0 0 1em;
}

.legal__body ol {
  list-style: decimal;
  padding-left: 22px;
  margin: 0 0 1em;
}

.legal__body li {
  margin-bottom: 7px;
}

.legal__body li::marker {
  color: var(--gold);
  font-weight: 600;
}

.legal__body strong {
  color: var(--ink);
  font-weight: 600;
}

.legal__body a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.legal__body a:hover {
  color: var(--accent-ink);
}

.legal__body .spec-table {
  margin: 6px 0 1.7em;
  font-size: 0.875rem;
}

.legal__body .spec-table th,
.legal__body .spec-table td {
  line-height: 1.5;
}

/* 提示框 */
.legal-note {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 15px 20px;
  margin: 0 0 1.5em;
  font-size: 0.9rem;
  line-height: 1.68;
  color: var(--ink-3);
}

.legal-note p:last-child {
  margin-bottom: 0;
}

.legal-note strong {
  color: var(--ink);
}

/* 联系方式块 */
.legal-contact {
  display: grid;
  gap: 3px;
  padding: 18px 20px;
  margin: 0 0 1.5em;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  font-size: 0.9rem;
  line-height: 1.66;
  color: var(--slate);
}

.legal-contact strong {
  color: var(--ink);
  font-weight: 600;
}

.legal__foot {
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  font-size: 0.845rem;
  color: var(--slate-2);
}

.legal__foot a {
  color: var(--ink-3);
  font-weight: 500;
}

.legal__foot a:hover {
  color: var(--accent-ink);
}

/* 页脚法务链接 */
.footer__legal {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.62);
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.footer__legal a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 900px) {
  .legal {
    padding: 36px 0 64px;
  }
  .legal__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .legal__toc {
    position: static;
    border-left: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-soft);
    padding: 16px 18px;
  }
  .legal__toc ol {
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
  }
  .legal__toc a {
    font-size: 0.82rem;
  }
  .legal__body h2 {
    margin-top: 38px;
  }
}

@media (max-width: 560px) {
  .legal__toc ol {
    grid-template-columns: 1fr;
  }
  .legal__body h2 {
    font-size: 1.12rem;
    margin-top: 34px;
  }
  .legal__body p,
  .legal__body li {
    font-size: 0.925rem;
  }
  .legal__meta {
    gap: 4px 16px;
    font-size: 0.78rem;
  }
  .legal-note,
  .legal-contact {
    padding: 14px 16px;
  }
}

/* 窄屏：法务页的两列表格改为上下堆叠，避免 th 被压到几十像素宽 */
@media (max-width: 640px) {
  .legal__body .spec-table,
  .legal__body .spec-table tbody,
  .legal__body .spec-table tr,
  .legal__body .spec-table th,
  .legal__body .spec-table td {
    display: block;
    width: 100%;
  }
  .legal__body .spec-table caption {
    display: block;
    padding-bottom: 8px;
  }
  .legal__body .spec-table tr {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .legal__body .spec-table tr:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }
  .legal__body .spec-table th {
    background: transparent;
    border-bottom: 0;
    padding: 0 0 3px;
    font-size: 0.83rem;
    color: var(--ink);
  }
  .legal__body .spec-table td {
    border-bottom: 0;
    padding: 0;
    font-size: 0.9rem;
  }
}

/* ---------- 27. Product categories: app badge, view-all, active tab ---------- */
.product__app {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 9px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-2);
  line-height: 1.3;
}

.product__app span {
  font-family: var(--font-head);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--gold-lit);
  background: var(--accent-soft);
  border: 1px solid rgba(200, 164, 77, 0.3);
  border-radius: 3px;
  padding: 2px 5px;
  line-height: 1.35;
}

.prod-more {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.prod-more .btn {
  gap: 8px;
}

.prod-jump a.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #0d0d0f;
}

.prod-jump a.is-active span {
  color: var(--gold-lit);
}

/* 类目页顶部：返回全部类目 */
.prod-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 26px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--slate);
}

.prod-back:hover {
  color: var(--ink);
}

/* 类目页 hero：标签行与计数 */
.page-hero .eyebrow {
  margin-bottom: 10px;
}

.page-hero .prod-points {
  margin-top: 18px;
}

/* 首页四个产品类目：一行四张，窄屏两列 */
.cat-grid {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .cat-grid {
    grid-template-columns: 1fr;
  }
}

.cat-card__body {
  padding: 18px 18px 22px;
}

.cat-card h3 {
  font-size: 1.05rem;
}

.cat-card p {
  font-size: 0.9rem;
}

/* ---------- 28. Section panels — each block floats as its own card ---------- */
/* 页面底压到近黑，内容块换成深灰 + 细边 + 投影，"一块一块浮起来"。 */
:root {
  --bg-page: #08080a;
  --panel-shadow: 0 1px 0 rgba(255, 255, 255, 0.045) inset,
    0 18px 34px -26px rgba(0, 0, 0, 0.9), 0 54px 90px -64px rgba(0, 0, 0, 1);
}

body {
  background: var(--bg-page);
}

.section,
.section--soft,
.section--tight,
.prod-section,
.legal,
.stats {
  width: calc(100% - 32px);
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 26px auto;
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  box-shadow: var(--panel-shadow);
}

.section--soft,
.stats {
  background: var(--panel-2);
}

/* 深色区块比普通面板更黑，用金边提亮 —— 层次立刻分开 */
.section--dark,
.cta-band {
  width: calc(100% - 32px);
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 26px auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 26px 52px -34px rgba(0, 0, 0, 0.95);
}

.section--dark {
  background: #0c0d10;
  border: 1px solid rgba(200, 164, 77, 0.16);
}

.cta-band {
  background: #0a0a0c;
  border: 1px solid rgba(200, 164, 77, 0.22);
}

/* 面板之间靠留白分隔 */
.prod-section + .prod-section {
  border-top: 1px solid var(--hairline);
}

.stats {
  border-bottom: 1px solid var(--hairline);
}

.prod-section {
  padding: 56px 0;
}

/* 产品卡在面板上再补一层薄阴影 = 第二层立体 */
.product {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
}

/* 顶部类目条与页面底色融合，不切断面板间隙 */
.prod-jump {
  background: linear-gradient(to bottom, var(--bg-page) 74%, rgba(8, 8, 10, 0));
  border-bottom: 0;
}

/* 首屏也是一块浮起的面板 */
.hero {
  width: calc(100% - 32px);
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 18px auto 0;
  border: 1px solid rgba(200, 164, 77, 0.18);
  border-radius: 22px;
  box-shadow: 0 34px 64px -42px rgba(0, 0, 0, 0.98),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

@media (max-width: 760px) {
  :root {
    --gutter: 18px;
  }
  .section,
  .section--soft,
  .section--tight,
  .prod-section,
  .legal,
  .stats,
  .section--dark,
  .cta-band,
  .hero {
    width: calc(100% - 16px);
    margin: 13px auto;
    border-radius: 16px;
  }
  .section {
    padding: 62px 0;
  }
  .prod-section {
    padding: 42px 0;
  }
}

/* ---------- 29. Dark theme finishing + best-seller rows ---------- */
/* 深底上金色终于站得住：eyebrow 统一香槟金 */
.eyebrow,
.section--dark .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow {
  color: var(--gold-lit);
}

.eyebrow::before,
.section--dark .eyebrow::before {
  background: var(--gold);
}

/* 页头右侧巨型描边数字，压住右侧空白 */
.page-hero--range::before {
  content: "47";
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-head);
  font-size: clamp(120px, 16vw, 210px);
  font-weight: 800;
  line-height: 0.78;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(200, 164, 77, 0.34);
  pointer-events: none;
}

@media (max-width: 720px) {
  .page-hero--range::before {
    display: none;
  }
}

/* 首页"畅销款"：小图 + 文字左右摆放 */
.pick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.pick {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  background: var(--panel-3);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease),
    box-shadow 0.22s var(--ease);
}

.pick:hover {
  transform: translateY(-2px);
  border-color: rgba(200, 164, 77, 0.4);
  box-shadow: 0 20px 36px -28px rgba(0, 0, 0, 0.95);
}

.pick__media {
  flex: 0 0 116px;
  width: 116px;
  aspect-ratio: 4 / 3;
  border-radius: 9px;
  overflow: hidden;
  background: var(--plate);
}

.pick__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.12);
  transition: transform 0.5s var(--ease);
}

.pick:hover .pick__media img {
  transform: scale(1.2);
}

.pick__body {
  min-width: 0;
  flex: 1 1 auto;
}

.pick__tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-head);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-lit);
}

.pick__tag::before {
  content: "";
  width: 14px;
  height: 1.5px;
  background: var(--gold);
  flex: none;
}

.pick h3 {
  font-size: 0.94rem;
  line-height: 1.35;
  margin: 7px 0 5px;
}

.pick p {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--slate);
  margin: 0;
}

.pick__cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 9px;
  font-family: var(--font-head);
  font-size: 0.77rem;
  font-weight: 700;
  color: var(--ink-2);
  transition: color 0.18s var(--ease);
}

.pick:hover .pick__cta {
  color: var(--gold-lit);
}

@media (max-width: 940px) {
  .pick-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .pick__media {
    flex: 0 0 96px;
    width: 96px;
  }
  .pick h3 {
    font-size: 0.89rem;
  }
  .pick p {
    font-size: 0.79rem;
  }
}

/* ==========================================================================
   30. 404 页面
   ========================================================================== */
.err__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: clamp(28px, 5vw, 64px) 0;
}

.err__code {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(7rem, 17vw, 15rem);
  line-height: 0.82;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(200, 164, 77, 0.5);
  user-select: none;
}

.err h1 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  margin: 14px 0 0;
  letter-spacing: -0.025em;
}

.err__lead {
  color: var(--slate);
  font-size: 1.02rem;
  max-width: 46ch;
  margin: 14px 0 0;
}

.err__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.err__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.err__links a {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--gold-ink);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

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

@media (max-width: 760px) {
  .err__grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .err__code {
    font-size: clamp(5.5rem, 26vw, 9rem);
    -webkit-text-stroke-width: 1.6px;
  }
}
