/* ==========================================================================
   迈擎 MAD ENGINE 官网 · 全站样式
   ========================================================================== */

:root {
  --ink: #0d1116;
  --ink-2: #171e27;
  --ink-3: #232c38;
  --steel: #5f6b78;
  --muted: #8b95a1;
  --line: #e6e9ee;
  --line-dark: rgba(255, 255, 255, .12);
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --bg-dark: #0d1116;
  --accent: #ff6a1a;
  --accent-dark: #e2550a;
  --accent-soft: #fff2e9;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 10px 30px rgba(13, 17, 22, .07);
  --shadow-lg: 0 24px 60px rgba(13, 17, 22, .12);
  --container: 1200px;
  --header-h: 74px;
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Source Han Sans SC",
          -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }

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

.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: #fff; }
.section--tight { padding: 64px 0; }

/* ---------- 通用区块标题 ---------- */
.sec-head { max-width: 720px; margin-bottom: 48px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); }
.sec-head--center .eyebrow::before { display: none; }
.sec-title { font-size: clamp(28px, 3.4vw, 42px); }
.sec-desc { margin-top: 18px; color: var(--steel); font-size: 17px; }
.section--dark .sec-desc { color: rgba(255, 255, 255, .68); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 12px 26px rgba(255, 106, 26, .3); }
.btn--primary:hover { background: var(--accent-dark); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); }
.btn--ghost { border-color: var(--line); background: #fff; color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--outline-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- 顶部条 ---------- */
.topbar {
  background: var(--ink); color: rgba(255, 255, 255, .78);
  font-size: 13px; height: 38px; display: flex; align-items: center;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar__right { display: flex; align-items: center; gap: 22px; }
.topbar__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; }

/* ---------- 导航 ---------- */
.header {
  position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(13, 17, 22, .06); }
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 44px; height: 44px; border-radius: 12px; background: #fff;
  border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; flex: none;
}
.brand__mark img { width: 34px; height: 34px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-size: 17px; font-weight: 800; letter-spacing: .01em; }
.brand__sub { font-size: 11px; letter-spacing: .22em; color: var(--muted); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 16px; border-radius: 999px; font-size: 15px; font-weight: 500;
  color: var(--steel); transition: color .18s, background .18s;
}
.nav a:hover { color: var(--ink); background: var(--bg-soft); }
.nav a.is-active { color: var(--ink); font-weight: 700; background: var(--bg-soft); }

.header__actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(900px 520px at 78% 18%, rgba(255, 106, 26, .22), transparent 62%),
              linear-gradient(160deg, #0b0f14 0%, #141b24 55%, #0d1116 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 100%);
}
.hero__inner {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 64px; align-items: center; padding: 96px 0 104px;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px;
  border-radius: 999px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .06);
  font-size: 13px; letter-spacing: .04em; color: rgba(255, 255, 255, .85); margin-bottom: 26px;
}
.hero h1 { font-size: clamp(34px, 4.6vw, 58px); letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__desc { margin-top: 24px; max-width: 520px; color: rgba(255, 255, 255, .72); font-size: 17px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 44px; }
.hero__meta div { display: flex; flex-direction: column; }
.hero__meta strong { font-size: 24px; color: #fff; }
.hero__meta span { font-size: 13px; color: rgba(255, 255, 255, .55); }

.hero__visual { position: relative; }
.hero__shot {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(180deg, #f2f3f5, #e7e9ed); box-shadow: var(--shadow-lg);
  aspect-ratio: 1 / 1;
}
.hero__shot img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero__tag {
  position: absolute; left: 18px; bottom: 18px; background: rgba(13, 17, 22, .86); color: #fff;
  border-radius: 999px; padding: 9px 16px; font-size: 13px; backdrop-filter: blur(6px);
}
.hero__card {
  position: absolute; right: auto; left: -18px; top: 26px; background: #fff; color: var(--ink);
  border-radius: 18px; padding: 16px 20px; box-shadow: var(--shadow-lg); display: flex; gap: 14px; align-items: center;
}
.hero__card b { font-size: 22px; }
.hero__card span { font-size: 12px; color: var(--steel); display: block; }
.hero__card i {
  width: 38px; height: 38px; border-radius: 12px; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-style: normal; font-weight: 700; flex: none;
}

/* ---------- 信任条 ---------- */
.trust { border-bottom: 1px solid var(--line); background: #fff; }
.trust__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.trust__item { padding: 28px 24px; border-left: 1px solid var(--line); display: flex; gap: 14px; align-items: center; }
.trust__item:first-child { border-left: 0; }
.trust__item b { font-size: 26px; display: block; line-height: 1.2; }
.trust__item span { font-size: 13px; color: var(--steel); }

/* ---------- 分类 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card {
  position: relative; padding: 30px; border-radius: var(--radius-lg); background: #fff;
  border: 1px solid var(--line); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  overflow: hidden;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.cat-card::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px;
  border-radius: 50%; background: var(--accent-soft); opacity: 0; transition: opacity .25s ease;
}
.cat-card:hover::after { opacity: 1; }
.cat-card__icon {
  width: 48px; height: 48px; border-radius: 14px; background: var(--ink); color: #fff;
  display: grid; place-items: center; margin-bottom: 20px; position: relative; z-index: 1;
}
.cat-card__icon svg { width: 24px; height: 24px; }
.cat-card h3 { font-size: 19px; position: relative; z-index: 1; }
.cat-card p { margin-top: 10px; color: var(--steel); font-size: 14px; position: relative; z-index: 1; }
.cat-card__more { margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--accent); display: inline-flex; gap: 6px; position: relative; z-index: 1; }

/* ---------- 产品卡片 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.product-card__media { position: relative; aspect-ratio: 1 / 1; background: #f6f7f9; overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; transition: transform .5s ease; }
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__cat {
  position: absolute; left: 12px; top: 12px; background: rgba(255, 255, 255, .92);
  border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 600; color: var(--ink);
}
.product-card__body { padding: 18px 18px 22px; display: flex; flex-direction: column; flex: 1; }
.product-card__title { font-size: 16px; font-weight: 700; line-height: 1.5; }
.product-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tag {
  font-size: 12px; color: var(--steel); background: var(--bg-soft);
  border-radius: 6px; padding: 4px 9px;
}
.product-card__foot {
  margin-top: auto; padding-top: 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
}
.price { font-size: 20px; font-weight: 800; color: var(--accent); }
.price small { font-size: 13px; font-weight: 600; }
.price--ask { font-size: 15px; color: var(--steel); font-weight: 600; }
.product-card__link { font-size: 13px; color: var(--steel); font-weight: 600; }
.product-card:hover .product-card__link { color: var(--accent); }

/* ---------- 卖点 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  padding: 30px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line-dark);
}
.section--soft .feature, .section:not(.section--dark) .feature { background: #fff; border-color: var(--line); }
.feature__icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 20px;
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 18px; }
.feature p { margin-top: 10px; color: var(--steel); font-size: 14.5px; }
.section--dark .feature p { color: rgba(255, 255, 255, .62); }

/* ---------- 场景 ---------- */
.scene-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.scene {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 280px;
  background: var(--ink); display: flex; align-items: flex-end;
}
.scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: transform .6s ease, opacity .3s ease; }
.scene:hover img { transform: scale(1.05); opacity: .62; }
.scene__body { position: relative; padding: 32px; color: #fff; }
.scene__body h3 { font-size: 22px; }
.scene__body p { margin-top: 10px; max-width: 380px; color: rgba(255, 255, 255, .8); font-size: 14.5px; }
.scene__badge {
  display: inline-block; margin-bottom: 14px; font-size: 12px; letter-spacing: .1em;
  border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; padding: 5px 12px;
}

/* ---------- 流程 ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.process__item { position: relative; padding: 32px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.process__num {
  font-size: 34px; font-weight: 800; color: var(--accent-soft); line-height: 1;
  -webkit-text-stroke: 1px rgba(255, 106, 26, .35); margin-bottom: 18px; letter-spacing: .02em;
}
.process__item h3 { font-size: 18px; }
.process__item p { margin-top: 10px; color: var(--steel); font-size: 14.5px; }

/* ---------- 关于 / 数据 ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about__media { border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-soft); }
.about__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about__list { margin-top: 26px; display: grid; gap: 14px; }
.about__list li { display: flex; gap: 12px; align-items: flex-start; color: var(--steel); font-size: 15px; }
.about__list li::before {
  content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 700;
  display: grid; place-items: center; margin-top: 3px;
}
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.stat { padding: 22px; border-radius: var(--radius); background: var(--bg-soft); }
.stat b { font-size: 28px; display: block; color: var(--ink); }
.stat span { font-size: 13px; color: var(--steel); }

/* ---------- 评价 ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); display: flex; flex-direction: column; }
.quote__mark { font-size: 40px; color: var(--accent); line-height: 1; font-family: Georgia, serif; }
.quote p { margin-top: 12px; color: var(--ink-3); font-size: 15.5px; }
.quote__author { margin-top: auto; padding-top: 24px; display: flex; align-items: center; gap: 12px; }
.quote__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.quote__author b { display: block; font-size: 14px; }
.quote__author span { font-size: 12.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; background: none; border: 0; text-align: left; padding: 26px 44px 26px 0;
  font-size: 17px; font-weight: 600; color: var(--ink); position: relative; line-height: 1.6;
}
.faq__q::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 400; color: var(--accent); transition: transform .25s ease;
}
.faq__item.is-open .faq__q::after { transform: translateY(-50%) rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { padding: 0 44px 26px 0; color: var(--steel); font-size: 15px; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 60px;
  background: radial-gradient(700px 400px at 85% 20%, rgba(255, 106, 26, .28), transparent 60%), linear-gradient(140deg, #0d1116, #1b232e);
  color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.cta h2 { font-size: clamp(24px, 3vw, 34px); }
.cta p { margin-top: 12px; color: rgba(255, 255, 255, .7); max-width: 520px; }
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 页眉（子页面） ---------- */
.page-head { position: relative; background: linear-gradient(140deg, #0d1116, #1a222c); color: #fff; padding: 72px 0 76px; overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; inset: 0; opacity: .45;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 80% at 40% 30%, #000 20%, transparent 100%);
}
.page-head .container { position: relative; }
.page-head h1 { font-size: clamp(30px, 4vw, 46px); }
.page-head p { margin-top: 16px; max-width: 640px; color: rgba(255, 255, 255, .7); }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .55); margin-bottom: 20px; }
.breadcrumb a:hover { color: #fff; }

/* ---------- 产品筛选 ---------- */
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 36px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 18px;
  font-size: 14px; color: var(--steel); transition: all .18s ease;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }
.search-box { position: relative; min-width: 260px; }
.search-box input {
  width: 100%; height: 46px; border-radius: 999px; border: 1px solid var(--line);
  padding: 0 18px 0 44px; font-size: 14px; font-family: inherit; outline: none; transition: border-color .18s;
}
.search-box input:focus { border-color: var(--ink); }
.search-box svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); }
.empty { padding: 80px 0; text-align: center; color: var(--steel); }

/* ---------- 产品详情 ---------- */
.pd { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: start; }
.pd__media { border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-soft); border: 1px solid var(--line); }
.pd__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 42%; }
.pd__title { font-size: clamp(24px, 3vw, 34px); }
.pd__summary { margin-top: 18px; color: var(--steel); font-size: 16px; }
.pd__price { margin-top: 26px; font-size: 32px; font-weight: 800; color: var(--accent); }
.pd__price small { font-size: 15px; font-weight: 600; color: var(--steel); margin-left: 10px; }
.pd__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.pd__panel { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 30px; }
.pd__panel h3 { font-size: 17px; margin-bottom: 16px; }
.pd__panel ul { display: grid; gap: 10px; }
.pd__panel li { display: flex; gap: 10px; color: var(--steel); font-size: 15px; }
.pd__panel li::before { content: "—"; color: var(--accent); }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.spec-table th { width: 140px; color: var(--steel); font-weight: 500; }
.note { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* ---------- 表单 ---------- */
.form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-3); }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px;
  font-size: 15px; font-family: inherit; background: #fff; outline: none; transition: border-color .18s, box-shadow .18s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 106, 26, .12); }
.field textarea { min-height: 140px; resize: vertical; }
.form__note { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.form-success {
  grid-column: 1 / -1; background: #ecfdf3; border: 1px solid #b7ebc9; color: #0f7b46;
  border-radius: 12px; padding: 14px 18px; font-size: 14px; display: none;
}
.form-success.is-visible { display: block; }

/* ---------- 联系信息 ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.info-list { display: grid; gap: 22px; margin-top: 32px; }
.info { display: flex; gap: 16px; }
.info__icon { width: 44px; height: 44px; border-radius: 14px; background: var(--bg-soft); color: var(--ink); display: grid; place-items: center; flex: none; }
.info__icon svg { width: 20px; height: 20px; }
.info b { display: block; font-size: 15px; }
.info span { font-size: 14.5px; color: var(--steel); }

/* ---------- 页脚 ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .66); padding: 72px 0 32px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer__brand img { width: 40px; height: 40px; object-fit: contain; background: #fff; border-radius: 10px; padding: 4px; }
.footer__brand b { color: #fff; font-size: 17px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.footer li { margin-bottom: 10px; font-size: 14px; }
.footer a:hover { color: #fff; }
.footer__bottom { padding-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px; color: rgba(255, 255, 255, .45); }
.footer__bottom a:hover { color: #fff; }

/* ---------- 滚动动效 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 24px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: #fff; border: 0; display: grid; place-items: center;
  opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; transform: translateY(10px); z-index: 50;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .hero__inner { gap: 44px; }
}

@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .hero__inner { grid-template-columns: 1fr; padding: 64px 0 72px; }
  .hero__visual { max-width: 520px; }
  .trust__inner { grid-template-columns: repeat(2, 1fr); }
  .trust__item { border-left: 0; border-top: 1px solid var(--line); }
  .trust__item:nth-child(1), .trust__item:nth-child(2) { border-top: 0; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .quote-grid { grid-template-columns: 1fr; }
  .pd { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__top { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .cta { padding: 44px; }
}

@media (max-width: 760px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .header__actions .btn { display: none; }
  .header__actions .btn--mobile-keep { display: inline-flex; }
  .header.is-open .nav {
    display: flex; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 14px 20px 20px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .header.is-open .nav a { padding: 13px 16px; border-radius: 10px; }
  .topbar { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .scene-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .form { grid-template-columns: 1fr; }
  .hero__card { right: 8px; top: 12px; }
  .cta { padding: 34px; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .section { padding: 56px 0; }
  .cat-grid, .feature-grid, .process, .product-grid { grid-template-columns: 1fr; }
  .trust__inner { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__meta { gap: 20px; }
}

/* ---------- 价格与详情补充 ---------- */
.price__old { font-size: 13px; font-weight: 500; color: var(--muted); text-decoration: line-through; margin-left: 6px; }
.price__old--lg { font-size: 15px; margin-left: 12px; }
.pd__fullname { margin-top: 12px; font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ---------- SKU 规格选择 ---------- */
.sku-group { margin-bottom: 20px; }
.sku-group:last-of-type { margin-bottom: 8px; }
.sku-group__title { font-size: 13.5px; font-weight: 600; color: var(--steel); margin-bottom: 10px; }
.sku-group__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.sku-opt {
  display: inline-block; padding: 7px 13px; border: 1px solid var(--line); border-radius: 8px;
  background: #fff; font-size: 13px; color: var(--ink-3); line-height: 1.5; transition: all .18s ease;
}
.sku-opt:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

/* ---------- 图文详情 ---------- */
.pd-detail { margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--line); }
.pd-detail__head { text-align: center; margin-bottom: 36px; }
.pd-detail__head h2 { font-size: clamp(22px, 2.6vw, 28px); }
.pd-detail__head span { display: block; margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.pd-detail__img {
  display: block; width: 100%; max-width: 860px; margin: 0 auto 10px;
  border-radius: 10px; background: var(--bg-soft);
}
@media (max-width: 760px) {
  .pd-detail { margin-top: 48px; padding-top: 36px; }
  .pd-detail__img { border-radius: 6px; margin-bottom: 6px; }
}

/* 详情页左侧主图跟随滚动（右侧内容较长时体验更好） */
@media (min-width: 901px) {
  .pd__media { position: sticky; top: 94px; }
}

/* ---------- 语言切换 ---------- */
.lang-switch {
  display: inline-flex; align-items: center; height: 38px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; font-weight: 600;
  color: var(--steel); transition: all .18s ease; white-space: nowrap;
}
.lang-switch:hover { border-color: var(--ink); color: var(--ink); background: var(--bg-soft); }
@media (max-width: 760px) { .lang-switch { height: 34px; padding: 0 10px; font-size: 12.5px; } }

/* ---------- 英文版商品详情区块 ---------- */
.pd-blocks { display: grid; gap: 22px; max-width: 1060px; margin: 0 auto; }
.pd-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 34px; }
.pd-block h3 { font-size: 19px; margin-bottom: 20px; }
.pd-block--split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.pd-block--split h3:first-child, .pd-block--split > div > h3 { margin-bottom: 16px; }
.pd-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 28px; }
.pd-feature { display: flex; gap: 14px; align-items: flex-start; }
.pd-feature b {
  flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--accent-soft);
  color: var(--accent); font-size: 13px; display: grid; place-items: center; font-weight: 800;
}
.pd-feature p { font-size: 15px; color: var(--ink-3); margin: 4px 0 0; }
.pd-info, .pd-trust, .pd-list { display: grid; gap: 14px; }
.pd-info li, .pd-trust li { display: grid; gap: 4px; padding-left: 16px; position: relative; }
.pd-info li::before, .pd-trust li::before, .pd-list li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.pd-info b, .pd-trust b { font-size: 14.5px; }
.pd-info span, .pd-trust span { font-size: 13.5px; color: var(--steel); }
.pd-list li { position: relative; padding-left: 16px; font-size: 14.5px; color: var(--ink-3); }
.pd-block .spec-table { margin-top: 0; }
.pd-block .note { margin-top: 14px; }
@media (max-width: 900px) {
  .pd-block { padding: 24px 20px; }
  .pd-block--split { grid-template-columns: 1fr; gap: 28px; }
  .pd-features { grid-template-columns: 1fr; }
}