
/* ---------- 色彩变量 ---------- */
:root {
  --c-dark:   #120C1E;
  --c-purple: #7B3FA0;
  --c-light:  #F7F4FC;
  --c-gray:   #EDE8F5;
  --c-text:   #1a1a18;
  --c-sub:    #6b6b68;
  --c-white:  #ffffff;
}

/* ========== 顶部导航 ========== */
.lmz-header-v3 {
  position: sticky;
  top: 0;
  z-index: 1000;
  background:#fff;
  border-bottom: 1px solid #EDE8F5;
  color:#1a1a18 !important;
  overflow: visible !important;
}
.lmz-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lmz-logo {
  font-size: 18px;
  font-weight: 700;
  color:#1a1a18;
  text-decoration: none;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.lmz-logo span { color:#7b61aa; }
.lmz-nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}
.lmz-nav-desktop > a {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  color:#5e6985;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.lmz-nav-desktop > a:hover { color:#1a1a18; }
.lmz-nav-pill {
  background:#eae9f6 !important;
  color:#17244c !important;
  padding: 6px 14px !important;
  border-radius: 999px;
  font-size: 13px !important;
  white-space: nowrap;
}
.lmz-nav-pill:hover {
  background:#eae9f6 !important;
  color:#17244c !important;
}
.lmz-nav-account {
  border:1px solid #e1e2ed !important;
  padding: 6px 16px !important;
  border-radius: 999px;
  white-space: nowrap;
}
/* ── 购物车图标（桌面） ── */
.lmz-nav-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color:#5e6985;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.lmz-nav-cart:hover { color:#1a1a18; background:#F7F4FC; }
.lmz-cart-badge {
  position: absolute;
  top: 0; right: 0;
  min-width: 16px;
  height: 16px;
  background:#FF4444;
  color:#17244c;
  font-size: 10px;
  font-weight: 700;
  font-family: -apple-system, sans-serif;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
  pointer-events: none;
  box-shadow: 0 0 0 2px #fff;
}
/* ── 购物车入口（手机菜单） ── */
.lmz-mobile-cart-link {
  display: flex !important;
  align-items: center;
  gap: 10px;
}
.lmz-mcart-badge {
  background:#FF4444;
  color:#17244c;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 9px;
  line-height: 1.5;
}
.lmz-hamburger {
  display: none;
  background:none;
  border:1px solid #e1e2ed;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 14px;
  color:#1a1a18;
  cursor: pointer;
  font-family: inherit;
  -webkit-appearance: none;
}
.lmz-mobile-menu {
  display: none;
  flex-direction: column;
  background:#f3f3fb;
  padding: 0.5rem 2rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.lmz-mobile-menu.open { display: flex; }
.lmz-mobile-menu a {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  color:#17244c;
  text-decoration: none;
  font-size: 17px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.2s;
}
.lmz-mobile-menu a:hover { color:#17244c; }
.lmz-mobile-menu a:last-child { border-bottom: none; }
.lmz-mobile-pill {
  color:#17244c !important;
  border-bottom: none !important;
  background:#eae9f6;
  border-radius: 999px;
  text-align: center;
  margin-top: 1.25rem;
  padding: 13px 0 !important;
  font-size: 15px !important;
}

/* ========== 底部TabBar（仅手机） ========== */
.lmz-tabbar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background:#fff;
  border-top: 1px solid #EDE8F5;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  min-height: 56px;
}
.lmz-tab {
  flex: 1;
  text-align: center;
  padding: 14px 4px;
  font-size: 12px;
  color:#5e6985 !important;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: color 0.2s;
}
.lmz-tab.active { color:#7b61aa !important; font-weight: 500; }
.lmz-tab:hover { color:#1a1a18 !important; }

/* ========== 响应式断点 ========== */
@media (max-width: 768px) {
  .lmz-nav-desktop { display: none; }
  .lmz-hamburger { display: block; }
  .lmz-tabbar { display: flex; }
  body.lmz-v3-page { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
}

/* 小程序 webview 环境：隐藏站点级导航（底部 TabBar + 汉堡菜单）——
   与原生 tabBar 重复、且会跳去 web-view 里打不开的官网页，故在小程序里收起；浏览器不受影响 */
body.lmz-in-miniprogram .lmz-tabbar,
body.lmz-in-miniprogram .lmz-hamburger {
  display: none !important;
}

/* ── header 保护：隔离 woocommerce-account 样式污染 ── */
.lmz-header-v3 * {
  color:inherit;
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC',
               'Helvetica Neue', Arial, sans-serif;
}
.lmz-header-v3 .lmz-logo { color:#1a1a18 !important; }
.lmz-header-v3 .lmz-logo span { color:#7b61aa !important; }

/* ========== 默认页面模板（page.php）：居中限宽 ==========
   page.php 的标题带内层和正文容器挂的是 Tailwind 工具类
   （max-w-5xl / mx-auto / px-4 / pb-24），但本主题从不加载 Tailwind
   —— 只有 template-gallery.php 自己用 CDN 引了一份。于是这些类全是
   空类，页面贴着屏幕左边缘铺满全宽。这里补上真实规则。
   max-w-5xl 在全主题只出现于 page.php 两处（标题带内层、正文容器），
   因此这条定义不会波及其他模板。
   注意：主题的 style.css 从未入队，别把这类全局规则写到那里去。 */
.max-w-5xl {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}
/* 标题带上下留白（原 Tailwind py-12 失效） */
.page-title-band {
  padding-top: 48px;
  padding-bottom: 48px;
}
/* 正文容器底部留白（原 Tailwind pb-24 失效） */
main > .max-w-5xl {
  padding-bottom: 96px;
}
/* 购物车 / 结账 / 我的账户也走 page.php，但各有自己的布局，保持通栏不变 */
body.woocommerce-cart .max-w-5xl,
body.woocommerce-checkout .max-w-5xl,
body.woocommerce-account .max-w-5xl {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
body.woocommerce-cart main > .max-w-5xl,
body.woocommerce-checkout main > .max-w-5xl,
body.woocommerce-account main > .max-w-5xl {
  padding-bottom: 0;
}
/* ---------- 自带完整布局的 page.php 页面：恢复全宽 + 隐藏标题带 ----------
   这类页面的正文是短代码或自绘 HTML，自己画了深色 Hero 和通栏底色，
   既不能被 860px 容器夹住，也不该再顶一条 page.php 的标题带
   —— 标题带的 h1 会和页面自带的 Hero 大标题重复一遍。
   一律以页面自带的 Hero 为准。
   新增这类页面时，把它的 page-id-xxx 加进下面三组选择器。
   当前成员：
     · page-id-1359 —— /care/ 守护计划（短代码 [lmz_care]，见 class-lmz-care.php）
   注意：/benefits/（1522）、/refund-policy/（953）、/terms-of-service/（952）、
   /privacy-policy/（3）是居中稿正文，不要加进来。 */
body.page-id-1359 .max-w-5xl {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
body.page-id-1359 main > .max-w-5xl {
  padding-bottom: 0;
}
body.page-id-1359 .page-title-band {
  display: none;
}
/* ---------- 只隐藏标题带、宽度不变 ----------
   /solutions/（29）与 /cases/（30）的正文是「即将开放」深色卡片，
   卡片内自带 h2，与标题带的 h1 文字一字不差地重复。但它们是卡片、
   不是通栏设计，恢复全宽只会把卡片横着拉满，所以这里只摘掉标题带，
   正文仍走上面 860px 的居中限宽。 */
body.page-id-29 .page-title-band,
body.page-id-30 .page-title-band {
  display: none;
}
@media (max-width: 768px) {
  .max-w-5xl {
    padding-left: 16px;
    padding-right: 16px;
  }
  .page-title-band {
    padding-top: 20px;
    padding-bottom: 16px;
  }
  main > .max-w-5xl {
    padding-bottom: 56px;
  }
}

/* ========== 星友权益说明页 /benefits/ ==========
   全部规则限定在 .lmz-benefits 作用域内，不影响任何其他页面。
   正文 HTML 走数据库（页面 1522），备份在 /root/page_benefits_*.html。 */
.lmz-benefits {
  color:#17244c;
  font-size: 15px;
  line-height: 1.85;
}
/* 开头介绍段 —— 醒目副标题 */
.lmz-benefits .lmz-bf-lead {
  font-size: 18px;
  line-height: 1.8;
  font-weight: 500;
  color:#17244c;
  text-align: center;
  margin: 4px 0 28px;
}
/* 小节卡片 */
.lmz-benefits .lmz-bf-card {
  background:#eeebfa;
  border:1px solid #d6d3e7;
  border-radius: 14px;
  padding: 26px 28px;
  margin: 0 0 18px;
}
.lmz-benefits .lmz-bf-card > p { margin: 0 0 12px; }
.lmz-benefits .lmz-bf-card > p:last-child { margin-bottom: 0; }
/* 小节标题 + 编号徽标 */
.lmz-benefits .lmz-bf-h {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  color:#17244c;
  margin: 0 0 14px;
}
.lmz-benefits .lmz-bf-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 9px;
  background:#eeebfa;
  border:1px solid #d6d3e7;
  color:#17244c;
  font-size: 14px;
  font-weight: 700;
}
/* 关键数字着色（主题金） */
.lmz-benefits .lmz-bf-hl {
  color:#7b61aa;
  font-weight: 700;
}
.lmz-benefits a { color:#17244c; text-decoration: none; }
.lmz-benefits a:hover { text-decoration: underline; }
/* 列表：紫色圆点代替默认符号 */
.lmz-benefits .lmz-bf-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}
.lmz-benefits .lmz-bf-list li {
  position: relative;
  padding-left: 18px;
  margin: 0 0 9px;
}
.lmz-benefits .lmz-bf-list li:last-child { margin-bottom: 0; }
.lmz-benefits .lmz-bf-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background:#eeebfa;
}
.lmz-benefits .lmz-bf-list + p { margin-top: 14px; }
/* 四张等级卡：桌面 4 列 */
.lmz-benefits .lmz-bf-tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 16px 0 4px;
}
.lmz-benefits .lmz-bf-tier {
  background:#edf4f6;
  border:1px solid #d6d3e7;
  border-radius: 12px;
  padding: 16px 10px;
  text-align: center;
}
.lmz-benefits .lmz-bf-tier__name {
  font-size: 14px;
  font-weight: 600;
  color:#17244c;
}
.lmz-benefits .lmz-bf-tier__off {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  color:#7b61aa;
  margin: 8px 0 6px;
}
.lmz-benefits .lmz-bf-tier__req {
  font-size: 12px;
  color:#5e6985;
}
/* 末尾生效说明 —— 小号灰字 */
.lmz-benefits .lmz-bf-note {
  font-size: 13px;
  line-height: 1.8;
  color:#5e6985;
  margin: 22px 0 0;
}
@media (max-width: 768px) {
  .lmz-benefits .lmz-bf-lead {
    font-size: 16px;
    text-align: left;
    margin-bottom: 22px;
  }
  .lmz-benefits .lmz-bf-card {
    padding: 20px 18px;
    margin-bottom: 14px;
    border-radius: 12px;
  }
  .lmz-benefits .lmz-bf-h { font-size: 17px; gap: 9px; }
  .lmz-benefits .lmz-bf-num {
    width: 27px;
    height: 27px;
    flex-basis: 27px;
    font-size: 13px;
  }
  /* 手机 2x2 */
  .lmz-benefits .lmz-bf-tiers {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .lmz-benefits .lmz-bf-tier__off { font-size: 23px; }
}


@media (max-width: 768px) {
  .lmz-page-nav { top: 60px; }
}

/* ---------- 色彩变量 ---------- */
:root {
  --c-dark:   #120C1E;
  --c-purple: #7B3FA0;
  --c-light:  #F7F4FC;
  --c-gray:   #EDE8F5;
  --c-text:   #1a1a18;
  --c-sub:    #6b6b68;
  --c-white:  #ffffff;
}

/* ---------- 全局重置（仅限 V3 命名空间） ---------- */
.lmz-hero-v3, .lmz-glory, .lmz-science, .lmz-gallery-preview,
.lmz-products, .lmz-faq-preview, .lmz-footer-v3, .lmz-page-nav,
.lmz-fab-group {
  box-sizing: border-box;
}
.lmz-hero-v3 *, .lmz-glory *, .lmz-science *, .lmz-gallery-preview *,
.lmz-products *, .lmz-faq-preview *, .lmz-footer-v3 *, .lmz-page-nav *,
.lmz-fab-group * {
  box-sizing: inherit;
}

/* ---------- 页内导航条 ---------- */
.lmz-page-nav {
  position: sticky;
  top: 60px; /* 根据主题 header 高度调整 */
  z-index: 200;
  background:var(--c-white);
  border-bottom: 1px solid var(--c-gray);
}
.lmz-page-nav-inner {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.lmz-page-nav-inner::-webkit-scrollbar { display: none; }
.lmz-page-nav-inner a {
  display: inline-block;
  padding: 12px 18px;
  font-size: 13px;
  color:var(--c-sub);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
  flex-shrink: 0;
}
.lmz-page-nav-inner a:hover,
.lmz-page-nav-inner a.active {
  color:var(--c-purple);
  border-bottom-color: var(--c-purple);
}

/* ---------- 通用 section header ---------- */
.lmz-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
  padding: 0 24px;
}
.lmz-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  color:var(--c-purple);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.lmz-section-header h2 {
  font-size: 28px;
  font-weight: 700;
  color:var(--c-text);
  line-height: 1.35;
  margin: 0 0 12px;
}
.lmz-section-sub {
  font-size: 14px;
  color:var(--c-sub);
  line-height: 1.6;
  margin: 0;
}

/* ---------- 通用按钮 ---------- */
.lmz-btn-primary {
  display: inline-block;
  padding: 12px 28px;
  background:var(--c-purple);
  color:var(--c-#17244c);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .2s, transform .2s;
}
.lmz-btn-primary:hover { opacity: .85; transform: translateY(-1px); }
.lmz-btn-outline {
  background:transparent;
  border:2px solid var(--c-#e1e2ed);
  color:var(--c-#17244c);
}
.lmz-btn-outline:hover { background:rgba(255,255,255,.12); opacity: 1; }
.lmz-btn-secondary {
  display: inline-block;
  padding: 11px 26px;
  border:1.5px solid var(--c-purple);
  color:var(--c-purple);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.lmz-btn-secondary:hover { background:var(--c-purple); color:var(--c-#17244c); }
.lmz-btn-ghost {
  display: inline-block;
  padding: 11px 26px;
  color:var(--c-sub);
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
}
.lmz-btn-ghost:hover { color:var(--c-purple); }
.lmz-btn-dashed {
  display: inline-block;
  padding: 11px 26px;
  border:1.5px dashed var(--c-purple);
  color:var(--c-purple);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.lmz-btn-dashed:hover { background:var(--c-purple); color:var(--c-#17244c); }
.lmz-text-link-sm {
  font-size: 12px;
  color:var(--c-sub);
  text-decoration: none;
  opacity: .75;
  transition: opacity .2s, color .2s;
}
.lmz-text-link-sm:hover { opacity: 1; color:var(--c-purple); }

/* ========== 板块1：Hero ========== */
.lmz-hero-v3 {
  background:var(--c-dark);
  min-height: 320px;
  height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.lmz-hero-v3::before {
  content: '';
  position: absolute;
  inset: 0;
  background:radial-gradient(ellipse 70% 60% at 50% 40%, #eae9f6 0%, transparent 70%);
  pointer-events: none;
}
.lmz-hero-v3-inner {
  position: relative;
  text-align: center;
  padding: 0 24px;
}
.lmz-hero-tag {
  display: inline-block;
  padding: 5px 14px;
  background:var(--c-purple);
  color:var(--c-#17244c);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: .04em;
}
.lmz-hero-title {
  font-size: 36px;
  font-weight: 800;
  color:var(--c-#17244c);
  line-height: 1.25;
  margin: 0 0 16px;
}
.lmz-hero-sub {
  font-size: 13px;
  color:#17244c;
  margin: 0 0 28px;
  letter-spacing: .03em;
}

/* ========== 板块2：荣耀时刻 ========== */
.lmz-glory {
  background:var(--c-light);
  padding: 80px 0 60px;
  overflow: hidden;
}
/* ── 轮播容器 ── */
.lmz-carousel {
  position: relative;
  padding: 0 60px;            /* 给箭头留空间 */
  max-width: 1200px;
  margin: 0 auto;
}
.lmz-carousel-viewport {
  overflow: hidden;
}
.lmz-carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease;
  will-change: transform;
}

/* ── 箭头按钮 ── */
.lmz-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background:#fff;
  border:1.5px solid var(--c-purple);
  color:var(--c-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
  transition: background .2s, color .2s;
  padding: 0;
}
.lmz-carousel-arrow:hover {
  background:var(--c-purple);
  color:#17244c;
}
.lmz-carousel-arrow:disabled {
  opacity: .3;
  cursor: default;
  pointer-events: none;
}
.lmz-carousel-prev { left: 4px; }
.lmz-carousel-next { right: 4px; }

/* ── 圆点导航 ── */
.lmz-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.lmz-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background:#ccc;
  border:none;
  padding: 0;
  cursor: pointer;
  transition: background .25s, transform .25s;
}
.lmz-carousel-dot.active {
  background:var(--c-purple);
  transform: scale(1.3);
}

.lmz-glory-card {
  background:var(--c-white);
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  width: 340px;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.lmz-glory-card--dark {
  background:var(--c-dark);
}
.lmz-glory-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.lmz-glory-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lmz-glory-img--text {
  background:var(--c-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lmz-glory-text-hero {
  text-align: center;
  color:var(--c-#17244c);
}
.lmz-glory-num {
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  color:var(--c-#17244c);
}
.lmz-glory-num-label {
  font-size: 13px;
  color:#17244c;
  margin: 6px 0 4px;
}
.lmz-glory-years {
  font-size: 14px;
  color:#17244c;
  letter-spacing: .08em;
}
.lmz-glory-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background:var(--c-purple);
  color:var(--c-#17244c);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: .04em;
}
.lmz-glory-body {
  padding: 20px 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.lmz-glory-stat {
  font-size: 22px;
  font-weight: 800;
  color:var(--c-purple);
  line-height: 1.2;
  margin-bottom: 4px;
}
.lmz-glory-card--dark .lmz-glory-stat {
  color:var(--c-#17244c);
}
.lmz-glory-stat-label {
  font-size: 12px;
  color:var(--c-sub);
  margin-bottom: 12px;
}
.lmz-glory-card--dark .lmz-glory-stat-label {
  color:#17244c;
}
.lmz-glory-desc {
  font-size: 13px;
  color:var(--c-sub);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 14px;
}
.lmz-glory-card--dark .lmz-glory-desc {
  color:#17244c;
}
.lmz-glory-link {
  font-size: 13px;
  color:var(--c-purple);
  text-decoration: none;
  font-weight: 600;
}
.lmz-glory-link:hover { text-decoration: underline; }

/* ========== 板块3：Why 222 ========== */
.lmz-science {
  background:var(--c-white);
  padding: 80px 0 60px;
}
.lmz-science-illustration {
  max-width: 1100px;
  margin: 0 auto 40px;
  padding: 0 24px;
}
.lmz-science-illustration img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}
.lmz-science-cards {
  display: flex;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto 40px;
  padding: 0 24px;
}
.lmz-science-card {
  flex: 1;
  background:var(--c-light);
  border-radius: 12px;
  padding: 32px 28px;
}
.lmz-science-icon {
  font-size: 40px;
  margin-bottom: 16px;
  line-height: 1;
}
.lmz-science-card h3 {
  font-size: 18px;
  font-weight: 700;
  color:var(--c-text);
  margin: 0 0 12px;
}
.lmz-science-card p {
  font-size: 14px;
  color:var(--c-sub);
  line-height: 1.8;
  margin: 0;
}
.lmz-science-cta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
  align-items: center;
  padding: 0 24px;
}

/* ========== 技术深度预告条 ========== */
.lmz-tech-teaser {
  margin: 32px 0 28px;
  padding: 0 24px;
}
.lmz-tt-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.lmz-tt-text {
  font-size: 13px;
  color:#5e6985;
  line-height: 1.5;
}
.lmz-tt-text strong { color:#1a1a18; }
.lmz-tt-link {
  font-size: 12px;
  font-weight: 700;
  color:#7b61aa;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.lmz-tt-link:hover { text-decoration: underline; }
.lmz-tt-outer {
  position: relative;
}
.lmz-tt-scroll {
  overflow-x: auto;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.lmz-tt-scroll::-webkit-scrollbar { display: none; }
.lmz-tt-row {
  display: flex;
  gap: 10px;
  width: max-content;
}
.lmz-tt-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 180px;
  flex-shrink: 0;
  background:#F7F4FC;
  border:1px solid #e1e2ed;
  border-radius: 10px;
  padding: 14px 14px 12px;
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .15s;
}
.lmz-tt-card:hover {
  border-color:#e1e2ed;
  box-shadow: 0 4px 14px rgba(123,63,160,.12);
  transform: translateY(-2px);
}
.lmz-tt-num {
  font-size: 10px;
  font-family: monospace;
  font-weight: 700;
  letter-spacing: 2px;
  color:#7b61aa;
}
.lmz-tt-title {
  font-size: 13px;
  font-weight: 700;
  color:#1a1a18;
  line-height: 1.4;
  flex: 1;
}
.lmz-tt-sub {
  font-size: 11px;
  color:#5e6985;
  line-height: 1.5;
}
.lmz-tt-arrow {
  font-size: 11px;
  color:#7b61aa;
  font-weight: 600;
  margin-top: 2px;
}

/* ========== 板块4：用户晒图 ========== */
.lmz-gallery-preview {
  background:var(--c-gray);
  padding: 80px 0 60px;
}
.lmz-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-width: 1100px;
  margin: 0 auto 32px;
  padding: 0 24px;
}
.lmz-gallery-item {
  aspect-ratio: 1/1;
  border-radius: 8px;
  overflow: hidden;
  background:#d8d0e8;
  transition: transform .25s;
}
.lmz-gallery-item:hover { transform: scale(1.02); }
.lmz-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lmz-gallery-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.lmz-gallery-placeholder span {
  font-size: 12px;
  color:#5e6985;
}
.lmz-gallery-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 24px;
}

/* ========== 板块5：产品方案 ========== */
.lmz-products {
  background:var(--c-light);
  padding: 80px 0 60px;
}
.lmz-product-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.lmz-product-card {
  background:var(--c-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s, transform .25s;
}
.lmz-product-card:hover {
  box-shadow: 0 6px 24px rgba(123,63,160,.15);
  transform: translateY(-2px);
}
.lmz-product-img-wrap {
  background:#f8f6fc;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.lmz-product-img-wrap img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.lmz-product-info {
  padding: 18px 16px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.lmz-product-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  background:#f3eeff;
  color:#7b61aa;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  letter-spacing: .04em;
}
.lmz-product-params {
  font-size: 11px;
  color:var(--c-sub);
  margin: 0 0 12px;
  line-height: 1.6;
  opacity: .8;
}
.lmz-product-info h3 {
  font-size: 15px;
  font-weight: 700;
  color:var(--c-text);
  margin: 0 0 6px;
}
.lmz-product-info p {
  font-size: 13px;
  color:var(--c-sub);
  line-height: 1.5;
  flex: 1;
  margin: 0 0 12px;
}
.lmz-product-price {
  font-size: 20px;
  font-weight: 700;
  color:var(--c-text);
  margin-bottom: 14px;
}
.lmz-product-info .lmz-btn-primary {
  font-size: 13px;
  padding: 9px 20px;
  text-align: center;
}

/* ========== 游戏入口板块 ========== */
.lmz-game-entry {
  background:var(--c-dark);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.lmz-game-entry::before {
  content: '';
  position: absolute;
  inset: 0;
  background:radial-gradient(ellipse 65% 80% at 50% 50%, #eae9f6 0%, transparent 68%);
  pointer-events: none;
}
.lmz-game-entry-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
}
.lmz-game-eyebrow {
  color:#17244c;
}
.lmz-game-entry-title {
  font-size: 42px;
  font-weight: 800;
  color:var(--c-#17244c);
  margin: 12px 0 16px;
  line-height: 1.2;
  letter-spacing: -.01em;
}
.lmz-game-entry-sub {
  font-size: 15px;
  color:#17244c;
  margin: 0 0 34px;
  letter-spacing: .03em;
}
.lmz-game-btn {
  font-size: 15px;
  padding: 14px 38px;
}
.lmz-game-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.lmz-game-particles span {
  position: absolute;
  border-radius: 50%;
  background:#eae9f6;
  animation: lmzGameFloat 7s ease-in-out infinite;
}
.lmz-game-particles span:nth-child(1){width:6px;height:6px;top:18%;left:8%;animation-delay:0s;}
.lmz-game-particles span:nth-child(2){width:4px;height:4px;top:72%;left:14%;animation-delay:1.2s;}
.lmz-game-particles span:nth-child(3){width:9px;height:9px;top:20%;left:82%;animation-delay:2.1s;}
.lmz-game-particles span:nth-child(4){width:5px;height:5px;top:68%;left:78%;animation-delay:3s;}
.lmz-game-particles span:nth-child(5){width:3px;height:3px;top:42%;left:4%;animation-delay:1.6s;}
.lmz-game-particles span:nth-child(6){width:7px;height:7px;top:82%;left:52%;animation-delay:2.8s;}
.lmz-game-particles span:nth-child(7){width:4px;height:4px;top:12%;left:58%;animation-delay:0.6s;}
.lmz-game-particles span:nth-child(8){width:5px;height:5px;top:58%;left:92%;animation-delay:3.8s;}
@keyframes lmzGameFloat {
  0%,100%{transform:translateY(0) scale(1);opacity:.35;}
  50%{transform:translateY(-18px) scale(1.25);opacity:.75;}
}
@media (max-width: 768px) {
  .lmz-game-entry { padding: 60px 24px; }
  .lmz-game-entry-title { font-size: 28px; }
  .lmz-game-entry-sub { font-size: 14px; }
}

/* ========== 板块6：FAQ ========== */
.lmz-faq-preview {
  background:var(--c-white);
  padding: 80px 0 60px;
}
.lmz-faq-list {
  max-width: 720px;
  margin: 0 auto 40px;
  padding: 0 24px;
}
.lmz-faq-item {
  border-bottom: 1px solid var(--c-gray);
}
.lmz-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background:none;
  border:none;
  padding: 18px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color:var(--c-text);
  text-align: left;
  gap: 12px;
  line-height: 1.4;
}
.lmz-faq-q:hover { color:var(--c-purple); }
.lmz-faq-arrow {
  font-size: 20px;
  font-weight: 400;
  color:var(--c-purple);
  flex-shrink: 0;
  transition: transform .25s;
  display: inline-block;
}
.lmz-faq-a {
  font-size: 14px;
  color:var(--c-sub);
  line-height: 1.8;
  padding: 0 0 20px;
  animation: lmzFadeIn .2s ease;
}
@keyframes lmzFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.lmz-faq-cta {
  display: flex;
  justify-content: center;
  padding: 0 24px;
}

/* ========== Footer V4 ========== */
.lmz-footer-v3 {
  background:#f3f3fb;
  color:#17244c;
  font-size: 14px;
}
.lmz-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px 40px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.lmz-footer-brand {
  flex: 0 0 180px;
}
.lmz-footer-logo {
  font-size: 22px;
  font-weight: 800;
  color:var(--c-#17244c);
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.lmz-footer-logo span { color:#7b61aa; }
.lmz-footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  color:#17244c;
  margin: 0 0 8px;
}
.lmz-footer-corp {
  font-size: 11px;
  color:#17244c;
  margin: 0;
}
.lmz-footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 90px;
}
.lmz-footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color:#17244c;
  margin: 0 0 12px;
}
.lmz-footer-col a {
  font-size: 13px;
  color:#17244c;
  text-decoration: none;
  transition: color .2s;
}
.lmz-footer-col a:hover { color:#17244c; }
.lmz-footer-contact {
  flex: 0 0 140px;
  margin-left: auto;
}
.lmz-footer-contact h4 {
  font-size: 14px;
  font-weight: 700;
  color:#17244c;
  margin: 0 0 10px;
}
.lmz-footer-contact p {
  font-size: 12px;
  color:#17244c;
  margin-bottom: 12px;
}
.lmz-footer-qr {
  width: 120px;
  height: 120px;
  border:1px dashed #e1e2ed;
  border-radius: 8px;
}
/* 底部条容器 */
.lmz-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 16px 0;
}
.lmz-footer-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color:#17244c;
}
.lmz-footer-bar a {
  color:#17244c;
  text-decoration: none;
  transition: color .2s;
}
.lmz-footer-bar a:hover { color:#17244c; }
.lmz-footer-links-row {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 16px;
  font-size: 11px;
  color:#17244c;
  line-height: 1.9;
}
.lmz-footer-links-row a {
  color:#17244c;
  text-decoration: none;
  transition: color .2s;
}
.lmz-footer-links-row a:hover { color:#17244c; }

/* ========== FAB 悬浮按钮 ========== */
.lmz-fab-group {
  position: fixed;
  bottom: 24px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}
.lmz-fab {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background:var(--c-white);
  border:1.5px solid var(--c-purple);
  color:var(--c-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(123,63,160,.18);
  position: relative;
  transition: background .2s, color .2s;
  -webkit-user-select: none;
  user-select: none;
}
.lmz-fab svg {
  display: block;
  stroke: #7B3FA0;
  fill: none;
}
.lmz-fab:hover {
  background:var(--c-purple);
  color:var(--c-#17244c);
}
.lmz-fab:hover svg {
  stroke: #ffffff;
}
.lmz-fab-label {
  position: absolute;
  left: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%) translateX(-8px);
  background:var(--c-dark);
  color:var(--c-#17244c);
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.lmz-fab:hover .lmz-fab-label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .lmz-product-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .lmz-hero-title { font-size: 26px; }
  .lmz-section-header h2 { font-size: 22px; }

  /* 手机端：箭头隐藏，卡片全宽 */
  .lmz-carousel { padding: 0 16px; }
  .lmz-carousel-arrow { display: none; }
  .lmz-glory-card { flex: 0 0 100%; }

  /* Why 222 竖排 */
  .lmz-science-cards { flex-direction: column; }

  /* 晒图 2列 */
  .lmz-gallery-grid { grid-template-columns: repeat(2, 1fr); }

  /* 产品 2列 */
  .lmz-product-cards { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .lmz-footer-inner { flex-direction: column; gap: 32px; padding: 40px 24px 32px; }
  .lmz-footer-contact { margin-left: 0; }
  .lmz-footer-bar { padding: 0 24px 10px; flex-direction: column; text-align: center; gap: 4px; }
  .lmz-footer-links-row { padding: 0 24px 16px; }

  /* 悬浮按钮避开底部TabBar */
  .lmz-fab-group {
    bottom: calc(56px + env(safe-area-inset-bottom, 0px) + 12px);
  }
}

@media (max-width: 480px) {
  .lmz-product-cards { grid-template-columns: 1fr; }
  .lmz-science-cta   { gap: 12px; }
}


/* ========== Footer V4 ========== */
.lmz-footer-v3 {
  background:#f3f3fb;
  color:#17244c;
  font-size: 14px;
  font-family: -apple-system, 'PingFang SC', 'Hiragino Sans GB', sans-serif;
}
.lmz-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px 40px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.lmz-footer-brand {
  flex: 0 0 180px;
}
.lmz-footer-logo {
  font-size: 22px;
  font-weight: 800;
  color:#17244c;
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.lmz-footer-logo span { color:#7b61aa; }
.lmz-footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  color:#17244c;
  margin: 0 0 8px;
}
.lmz-footer-corp {
  font-size: 11px;
  color:#17244c;
  margin: 0;
}
.lmz-footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 90px;
}
.lmz-footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color:#17244c;
  margin: 0 0 12px;
}
.lmz-footer-col a {
  font-size: 13px;
  color:#17244c;
  text-decoration: none;
  transition: color .2s;
}
.lmz-footer-col a:hover { color:#17244c; text-decoration: underline; }
.lmz-footer-contact {
  flex: 0 0 140px;
  margin-left: auto;
}
.lmz-footer-contact h4 {
  font-size: 14px;
  font-weight: 700;
  color:#17244c;
  margin: 0 0 10px;
}
.lmz-footer-contact p {
  font-size: 12px;
  color:#17244c;
  margin-bottom: 12px;
}
.lmz-footer-qr {
  width: 90px;
  height: 90px;
  border:1px dashed #e1e2ed;
  border-radius: 8px;
}
.lmz-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 0;
}
.lmz-footer-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 40px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color:#17244c;
}
.lmz-footer-bar a {
  color:#17244c;
  text-decoration: none;
  transition: color .2s;
}
.lmz-footer-bar a:hover { color:#17244c; }
.lmz-footer-global a {
  color:#17244c;
  letter-spacing: .3px;
}
.lmz-footer-global a:hover { color:#17244c; }
.lmz-footer-links-row {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 40px 14px;
  font-size: 11px;
  color:#17244c;
  line-height: 1.9;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.lmz-footer-links-row a {
  color:#17244c;
  text-decoration: none;
  transition: color .2s;
}
.lmz-footer-links-row a:hover { color:#17244c; }
.lmz-footer-company {
  max-width: 1200px; margin: 0 auto; padding: 20px 40px 28px;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center; font-size: 12px; line-height: 1.8; color:#17244c;
}
.lmz-footer-company-logo { height: 36px; width: auto; display: block; margin: 0 auto 12px; }
.lmz-footer-company p { margin: 0; }
.lmz-footer-company-name { color:#17244c; margin-bottom: 4px !important; }
.lmz-footer-company a { color:#17244c; text-decoration: none; }
.lmz-footer-company a:hover { color:#17244c; }
@media (max-width: 768px) {
  .lmz-footer-inner { flex-direction: column; gap: 32px; padding: 40px 24px 32px; }
  .lmz-footer-contact { margin-left: 0; }
  .lmz-footer-bar { padding: 14px 24px 16px; flex-direction: column; text-align: center; gap: 4px; }
  .lmz-footer-links-row { padding: 16px 24px 14px; }
  .lmz-footer-company { padding: 18px 24px 24px; }
}


#lmz-kf-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background:#ffffff;
  border:2px solid #e1e2ed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(7, 193, 96, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: lmz-kf-breathe 2.4s ease-in-out infinite;
  -webkit-tap-highlight-color: transparent;
}
#lmz-kf-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 22px rgba(7, 193, 96, 0.45);
  animation-play-state: paused;
}
@keyframes lmz-kf-breathe {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(7, 193, 96, 0.0), 0 2px 12px rgba(7, 193, 96, 0.25);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(7, 193, 96, 0.12), 0 2px 22px rgba(7, 193, 96, 0.32);
  }
}
#lmz-kf-tip {
  position: fixed;
  bottom: 82px;
  left: 16px;
  z-index: 9998;
  background:#ffffff;
  color:#7b61aa;
  font-size: 13px;
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  padding: 8px 14px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(108,63,212,0.18);
  border:1px solid #e1e2ed;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
#lmz-kf-btn:hover + #lmz-kf-tip,
#lmz-kf-tip.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 768px) {
  #lmz-kf-btn {
    bottom: calc(56px + env(safe-area-inset-bottom, 0px) + 12px) !important;
  }
  #lmz-kf-tip {
    bottom: calc(56px + env(safe-area-inset-bottom, 0px) + 76px) !important;
  }
}
