/* ============================================================
   Mobifold 中树时空 · 设计稿 v2 预览样式
   特征：衬线深蓝大标题 + 粉色胶囊标签 + 浅暖灰底 + 圆角卡片
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #223a66;          /* 深蓝衬线标题 */
  --navy-deep: #16294d;
  --ink: #3a3a3a;           /* 正文 */
  --ink-2: #6f6f6f;         /* 次要文字 */
  --bg: #f1efec;            /* 页面浅暖灰底 */
  --card: #ffffff;
  --line: #e5e2de;
  --pink-bg: #f9e8eb;       /* 胶囊底 */
  --pink-line: #eec3cc;
  --pink-text: #b25e74;
  --pink-active: #f3d9d6;   /* 侧栏选中底 */
  --link-blue: #7fa8c9;
  --serif: Georgia, "Times New Roman", "STZhongsong", "SimSun", serif;
  --sans: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
}

html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: #e8e6e2;
  color: var(--ink);
}

/* 手机画布：桌面上居中显示 480px 宽的"手机" */
.phone {
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg);
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 40px rgba(0,0,0,.08);
  padding-bottom: 76px; /* 给底部 tab bar 留位 */
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ---------- 子页头部 ---------- */
.pagehead {
  position: sticky; top: 0; z-index: 50;
  height: 52px;
  display: flex; align-items: center;
  background: rgba(248,247,244,.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.pagehead .back {
  position: absolute; left: 6px; top: 0;
  width: 44px; height: 52px;
  display: flex; align-items: center; justify-content: center;
}
.pagehead .back svg { width: 20px; height: 20px; stroke: var(--navy); }
.pagehead h1 {
  flex: 1; text-align: center;
  font-family: var(--serif);
  font-size: 21px; font-weight: 600;
  letter-spacing: 6px; text-indent: 6px;
  color: var(--navy);
}

/* ---------- 首页区块标题（INTRODUCE / SCENARIO ...） ---------- */
.sec-head { text-align: center; padding: 34px 0 10px; }
.sec-head .en {
  font-family: var(--serif);
  font-size: 34px; font-weight: 600;
  letter-spacing: 3px;
  color: var(--navy-deep);
  line-height: 1.1;
}
.sec-head .cn {
  margin-top: 6px;
  font-size: 14px; letter-spacing: 8px; text-indent: 8px;
  color: #43506e;
}
.sec-head .go {
  margin-top: 8px;
  font-size: 12px; color: var(--ink-2); letter-spacing: 2px;
  display: inline-flex; align-items: center; gap: 4px;
}
.sec-head .go::after { content: "↓"; font-size: 12px; }

/* ---------- 粉色胶囊标签 ---------- */
.pill-wrap { text-align: center; padding: 18px 0 12px; }
.pill {
  display: inline-block;
  background: var(--pink-bg);
  border: 1px solid var(--pink-line);
  color: var(--pink-text);
  border-radius: 999px;
  padding: 7px 26px;
  font-size: 13.5px; letter-spacing: 3px; text-indent: 3px;
}

/* ---------- 卡片 ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  margin: 0 16px 16px;
  overflow: hidden;
}
.pad { padding: 16px; }

/* ---------- 正文 ---------- */
.para {
  padding: 4px 22px 10px;
  font-size: 13.5px; line-height: 2; color: var(--ink);
  text-align: justify;
}
.more-link {
  display: block; text-align: right;
  padding: 2px 22px 8px;
  font-size: 12.5px; color: var(--link-blue); letter-spacing: 1px;
}

/* ---------- 图 ---------- */
.figure { padding: 8px 16px 16px; }
.figure img { width: 100%; border-radius: 12px; }
.figure .ph {
  width: 100%; border-radius: 12px;
  background: repeating-linear-gradient(45deg, #ececea, #ececea 12px, #e6e4e1 12px, #e6e4e1 24px);
  border: 1px dashed #cfccc7;
  color: #a9a6a1;
  display: flex; align-items: center; justify-content: center;
  text-align: center; font-size: 12px; letter-spacing: 1px; line-height: 1.8;
}

/* ---------- 首页 Banner ---------- */
.banner { position: relative; }
.banner img { width: 100%; height: 300px; object-fit: cover; }
.banner .brand-chip {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 16px;
  background: rgba(255,255,255,.93);
  padding: 12px 20px 10px;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(0,0,0,.12);
}
.banner .brand-chip img { height: 32px; display: block; }

/* logo 行内图 */
.logo-line { display: block; margin: 0 auto 12px; height: 34px; }

/* ---------- 首页 SCENARIO 横滑 ---------- */
.strip {
  display: flex; gap: 10px;
  padding: 6px 16px 6px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.strip::-webkit-scrollbar { display: none; }
.strip .shot { flex: 0 0 46%; }
.strip .shot img { width: 100%; height: 210px; object-fit: cover; border-radius: 10px; }
.strip .shot .ph {
  width: 100%; height: 210px; border-radius: 10px;
  background: repeating-linear-gradient(45deg, #ececea, #ececea 12px, #e6e4e1 12px, #e6e4e1 24px);
  border: 1px dashed #cfccc7;
  display: flex; align-items: center; justify-content: center;
  color: #a9a6a1; font-size: 11px; text-align: center; line-height: 1.7;
}

/* ---------- 首页 CONNECT 案例轮播 ---------- */
.carousel { overflow: hidden; padding: 6px 0 2px; }
.car-track {
  display: flex; gap: 14px;
  padding: 0 44px;
  transition: transform .35s ease;
  cursor: grab;
}
.car-track.grabbing { cursor: grabbing; transition: none; }
.car-item { flex: 0 0 72%; transition: transform .35s ease, opacity .35s ease; opacity: .55; transform: scale(.94); }
.car-item.on { opacity: 1; transform: scale(1); }
.car-item img { width: 100%; height: 250px; object-fit: cover; border-radius: 10px; }
.car-item .cap { text-align: center; font-size: 12px; color: var(--ink-2); padding-top: 8px; letter-spacing: 1px; }
.dots { display: flex; justify-content: center; gap: 7px; padding: 12px 0 4px; }
.dots i { width: 18px; height: 4px; border-radius: 2px; background: #d8d5d0; transition: background .25s; }
.dots i.on { background: var(--pink-text); }

/* ---------- 产品参数表 ---------- */
.prod-title { text-align: center; padding: 20px 0 2px; }
.prod-title .cn {
  font-family: var(--serif); font-size: 21px; color: var(--navy);
  letter-spacing: 3px; font-weight: 600;
}
.prod-title .en {
  margin-top: 4px; font-size: 10.5px; letter-spacing: 3px;
  color: #8d94a8; text-transform: uppercase;
}
.spec { margin: 12px 16px 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.spec table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 12px; }
.spec th {
  background: #faf9f7; color: var(--navy); font-weight: 600;
  padding: 9px 8px; border-bottom: 1px solid var(--line);
  letter-spacing: 1px;
}
.spec td { padding: 8px 8px; border-bottom: 1px solid #efece8; color: var(--ink); }
.spec tr:last-child td { border-bottom: none; }
.spec td:first-child { color: var(--ink-2); }
.spec td:not(:first-child) { text-align: center; font-family: var(--serif); }
.spec .dim { width: 46px; }
.spec .dim svg { width: 22px; height: 16px; stroke: var(--navy); }
.spec-more {
  display: block; text-align: center; padding: 10px 0 4px;
  font-size: 12px; color: var(--link-blue); letter-spacing: 1px;
}
.spec-extra { display: none; padding: 0 16px 14px; }
.spec-extra.open { display: block; }
.spec-extra .ph {
  height: 130px; border-radius: 10px;
  background: repeating-linear-gradient(45deg, #ececea, #ececea 12px, #e6e4e1 12px, #e6e4e1 24px);
  border: 1px dashed #cfccc7;
  display: flex; align-items: center; justify-content: center;
  color: #a9a6a1; font-size: 11px; text-align: center; line-height: 1.7;
}
.spec-extra img { width: 100%; height: 130px; object-fit: cover; border-radius: 10px; }

/* ---------- 质保表 ---------- */
.warranty { margin: 0 16px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.warranty table { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.warranty th {
  background: var(--navy-deep); color: #fff; font-weight: 500;
  padding: 10px 8px; letter-spacing: 1px;
}
.warranty td { padding: 10px 8px; border-bottom: 1px solid #efece8; color: var(--ink); line-height: 1.5; }
.warranty tr:last-child td { border-bottom: none; }
.warranty tr.hl td { background: var(--navy); color: #fff; }
.warranty td:not(:first-child) { text-align: center; width: 130px; font-family: var(--serif); line-height: 1.4; }

/* ---------- 侧栏页（客户案例 / 场景应用） ---------- */
.pager { display: flex; align-items: stretch; min-height: calc(100vh - 128px); }
.side {
  flex: 0 0 108px;
  background: #f6f4f1;
  border-right: 1px solid var(--line);
}
.side .item {
  padding: 19px 8px;
  text-align: center;
  font-size: 13.5px; letter-spacing: 2px;
  color: #57544f;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background .2s;
}
.side .item.on { background: var(--pink-active); color: #4a4741; font-weight: 600; }
.gallery { flex: 1; padding: 14px 12px 20px; display: flex; flex-direction: column; gap: 14px; }
.gallery .shot img { width: 100%; border-radius: 10px; cursor: pointer; }
.gallery .shot video { width: 100%; border-radius: 10px; display: block; background: #000; }
.gallery .shot .ph {
  width: 100%; height: 300px; border-radius: 10px;
  background: repeating-linear-gradient(45deg, #ececea, #ececea 12px, #e6e4e1 12px, #e6e4e1 24px);
  border: 1px dashed #cfccc7;
  display: flex; align-items: center; justify-content: center;
  color: #a9a6a1; font-size: 12px; text-align: center; line-height: 1.8;
}
.gallery .shot .cap {
  text-align: center; font-size: 11.5px; color: var(--ink-2);
  padding-top: 7px; letter-spacing: 1px;
}

/* ---------- 联系我们 ---------- */
.contact-card { margin: 8px 16px 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 18px; }
.contact-card .co-name {
  text-align: center; font-family: var(--serif);
  font-size: 17px; color: var(--navy); letter-spacing: 2px; font-weight: 600;
}
.contact-card .co-en {
  text-align: center; font-size: 10px; color: #9aa0b0;
  letter-spacing: 2px; margin-top: 3px; text-transform: uppercase;
}
.contact-line {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 2px; border-bottom: 1px solid #f0ede9;
  font-size: 13px; color: var(--ink); line-height: 1.7;
}
.contact-line:last-of-type { border-bottom: none; }
.contact-line svg { width: 16px; height: 16px; stroke: var(--pink-text); flex: 0 0 16px; margin-top: 4px; }
.qr-row { display: flex; gap: 14px; margin-top: 16px; }
.qr { flex: 1; text-align: center; }
.qr img { width: 108px; height: 108px; object-fit: cover; border-radius: 10px; margin: 0 auto; border: 1px solid var(--line); }
.qr .cap { font-size: 11.5px; color: var(--ink-2); padding-top: 8px; letter-spacing: 1px; }

/* ---------- 精英团队 ---------- */
.team { margin: 0 16px 18px; }
.team .t-item {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 16px; margin-bottom: 12px;
  font-size: 12.5px; line-height: 1.9; color: var(--ink);
}
.team .t-item b { color: var(--navy); font-weight: 600; }

/* ---------- 底部 Tab Bar ---------- */
.tabbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; z-index: 90;
  background: #fffdfb;
  border-top: 1px solid var(--line);
  display: flex;
  padding-bottom: env(safe-area-inset-bottom);
}
.tab {
  flex: 1; height: 58px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px;
  font-size: 10.5px; color: #a09d98; letter-spacing: 1px;
}
.tab svg { width: 21px; height: 21px; stroke: #a09d98; fill: none; stroke-width: 1.6; }
.tab.on { color: #d47184; }
.tab.on svg { stroke: #d47184; }

/* ---------- 展合 / 抽拉 动效演示 ---------- */
.diagram {
  background: #0b1f3a;
  border-radius: 16px;
  padding: 14px 14px 12px;
  margin: 0 16px 14px;
  overflow: hidden;
}
.diagram__tabs { display: flex; gap: 8px; }
.diagram__tab {
  appearance: none; -webkit-appearance: none;
  border: 1px solid rgba(255,255,255,.24);
  background: transparent; color: rgba(255,255,255,.70);
  font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: .5px;
  padding: 6px 14px; border-radius: 999px; cursor: pointer;
  transition: all .2s ease;
}
.diagram__tab:hover { border-color: rgba(255,255,255,.5); color: #fff; }
.diagram__tab.on { background: #fff; color: #0b1f3a; border-color: #fff; }

.diagram__stage {
  position: relative; width: 100%;
  aspect-ratio: 21 / 10;
  margin-top: 10px;
}
.diagram__stage img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain;
  opacity: 0; transition: opacity .35s ease;
}
.diagram__stage img.on { opacity: 1; }

.diagram__cap {
  font-size: 11.5px; line-height: 1.7;
  color: rgba(255,255,255,.55);
  margin-top: 8px;
}
.diagram__cap em { color: #fff; font-style: normal; font-weight: 600; }

.diagram__layers { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.diagram__layers span {
  font-size: 10.5px; letter-spacing: .5px; color: rgba(255,255,255,.60);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px; padding: 3px 9px; white-space: nowrap;
}
.diagram__layers b { color: #fff; font-weight: 600; margin-right: 4px; }
.diagram__layers i { font-style: normal; }
.diagram__layers[hidden] { display: none; }

/* 产品页用的大尺寸版本 */
.diagram--lg .diagram__stage { aspect-ratio: 16 / 9; }
.diagram--lg .diagram__cap { font-size: 12px; }

/* ---------- 语言切换（右上角胶囊） ---------- */
.lang-switch {
  position: fixed;
  top: calc(env(safe-area-inset-top) + 10px);
  left: 50%;
  width: 100%;
  max-width: 480px;
  transform: translateX(-50%);
  display: flex; justify-content: flex-end;
  padding-right: 12px;
  pointer-events: none;
  z-index: 95;
}
.lang-switch__inner {
  pointer-events: auto;
  display: flex; gap: 2px;
  padding: 3px;
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0,0,0,.10);
}
.lang-switch button {
  appearance: none; -webkit-appearance: none;
  border: 0; background: transparent; cursor: pointer;
  font-family: var(--sans);
  font-size: 11px; line-height: 1;
  letter-spacing: .5px;
  color: #7d7a75;
  padding: 6px 10px;
  border-radius: 999px;
  transition: background .18s ease, color .18s ease;
}
.lang-switch button.on { background: var(--navy); color: #fff; }

/* ---------- 英文排版微调 ---------- */
html[data-lang="en"] .sec-head .cn {
  font-size: 11px;
  letter-spacing: .24em;
  text-indent: .24em;
  text-transform: uppercase;
  color: #5b6684;
}
html[data-lang="en"] .pagehead h1 {
  font-size: 18px;
  letter-spacing: .1em;
  text-indent: .1em;
}
html[data-lang="en"] .para { text-align: left; }
html[data-lang="en"] .pill { letter-spacing: .12em; text-indent: .12em; font-size: 12px; }
html[data-lang="en"] .prod-title .en { display: none; }
html[data-lang="en"] .prod-title .cn { font-size: 19px; letter-spacing: .02em; }
html[data-lang="en"] .contact-card .co-name { font-size: 14px; letter-spacing: 0; line-height: 1.5; }
html[data-lang="en"] .side .item { font-size: 11.5px; letter-spacing: .02em; line-height: 1.45; padding: 15px 6px; }
html[data-lang="en"] .tab { letter-spacing: 0; }
html[data-lang="en"] .more-link,
html[data-lang="en"] .spec-more { letter-spacing: 0; }
html[data-lang="en"] .warranty td:not(:first-child) { width: 108px; font-family: var(--sans); font-size: 11px; }
html[data-lang="en"] .warranty th { letter-spacing: .04em; }
html[data-lang="en"] .note-band { font-size: 10.5px; }

/* ---------- 其他 ---------- */
.spacer { height: 10px; }
.note-band {
  margin: 0 16px 14px; padding: 8px 14px;
  background: #fbf3ee; border: 1px solid #eed9cd; border-radius: 10px;
  font-size: 11px; color: #a4714f; line-height: 1.7;
}

/* ---------- 3D 互动漫游 · 主入口卡片 ---------- */
.tour-cta {
  display: block; position: relative; overflow: hidden; text-decoration: none;
  margin: 18px 16px 8px; padding: 22px 22px 20px; border-radius: 16px;
  background: linear-gradient(135deg, #101f38 0%, #223a66 58%, #2b4a7d 100%);
  color: #fff; box-shadow: 0 12px 26px rgba(16,31,56,.26);
}
.tour-cta__glow {
  position: absolute; right: -50px; top: -70px; width: 210px; height: 210px;
  border-radius: 50%; background: radial-gradient(circle, rgba(126,206,255,.30), rgba(126,206,255,0) 68%);
}
.tour-cta__big {
  position: absolute; right: 12px; bottom: -22px; font-size: 96px; font-weight: 800;
  letter-spacing: -3px; color: rgba(255,255,255,.055); line-height: 1;
}
.tour-cta__kicker {
  position: relative; display: block; font-size: 10.5px; letter-spacing: 3.4px; opacity: .60;
}
.tour-cta__title {
  position: relative; display: block; margin-top: 9px; font-size: 21px; font-weight: 700; letter-spacing: .4px;
}
.tour-cta__desc {
  position: relative; display: block; margin-top: 9px; font-size: 12.5px; line-height: 1.7; opacity: .78;
}
.tour-cta__btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  margin-top: 17px; padding: 9px 20px; border-radius: 999px;
  background: #fff; color: #1b3358; font-size: 13px; font-weight: 700; letter-spacing: .3px;
}
.tour-cta__btn .arr { transition: transform .18s ease; }
.tour-cta:active .tour-cta__btn .arr { transform: translateX(3px); }

/* ---------- 联系方式：标签左 · 号码右（号码不折行） ---------- */
.co-phones { flex: 1 1 auto; min-width: 0; }
.co-phone {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 12px;
  padding: 9px 0; border-bottom: 1px dashed #f1eeea;
}
.co-phone:first-child { padding-top: 2px; }
.co-phone:last-child { border-bottom: none; padding-bottom: 2px; }
.co-phone .lb { font-size: 12.5px; color: #8b8f9b; letter-spacing: .6px; }
.co-phone .num {
  margin-left: auto; font-size: 13.5px; font-weight: 600; color: var(--navy);
  font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: .3px;
}
html[data-lang="en"] .co-phone .lb { font-size: 11.5px; letter-spacing: 0; }
html[data-lang="en"] .co-phone .num { font-size: 12.5px; }

/* 拓展舱入口卡 */
.tour-cta--box .tour-cta__big{font-size:44px}
