/* ==========================================================================
   安识AI · 小程序 Demo 演示页样式
   ========================================================================== */

:root {
  color-scheme: light;
  --brand-50:  #EEF2FF;
  --brand-100: #DEE6FF;
  --brand-200: #C2CCFF;
  --brand-300: #9AA7FF;
  --brand-400: #7385F5;
  --brand-500: #4F63F0;
  --brand-600: #3B4EE0;
  --brand-700: #2A38B8;

  --mint: #0FA9A0;  --mint-soft: #E4F7F5;
  --violet: #7B2FFF; --violet-soft: #F0EAFF;
  --gold: #F2A93B;  --gold-soft: #FEF4E4;
  --rose: #E5484D;  --rose-soft: #FFF1F1;

  --ink-900: #0D1024; --ink-800: #171B36; --ink-700: #2B3050;
  --ink-600: #4A5075; --ink-500: #6B7194; --ink-400: #8D93B2; --ink-300: #B4B9D2;

  --line: #E6E9F5; --line-soft: #F0F2FB;
  --bg: #FFFFFF; --bg-soft: #F7F8FE; --bg-mute: #F2F4FD;

  --max: 1180px;
  --sh-sm: 0 2px 8px rgba(30,38,90,.05);
  --sh-md: 0 10px 30px rgba(30,38,90,.08);
  --sh-lg: 0 24px 60px rgba(38,48,120,.12);
  --sh-brand: 0 14px 34px rgba(59,78,224,.24);

  /* 微信小程序主题色（Demo 内部使用） */
  --wx-green: #07C160;
  --wx-bg:    #EDEDED;
  --wx-gray:  #F7F7F7;

  /* ---------- 小程序 UI 设计 Token ---------- */
  /* 文字阶梯（微信规范：主/次/辅/占位） */
  --m-t1: #0E1116;      /* 主标题 */
  --m-t2: #3A4048;      /* 正文 */
  --m-t3: #8A9099;      /* 次要说明 */
  --m-t4: #B9BEC6;      /* 占位/禁用 */
  --m-ink: #1A1D24;     /* 卡片标题 */

  /* 描边与分割 */
  --m-line: #ECEFF3;
  --m-line2: #F3F5F8;

  /* 价格／促销（统一收敛到一档，不再到处撒红） */
  --m-price: #F5222D;
  --m-price-soft: #FFF4F3;

  /* 圆角档位 */
  --m-r-sm: 8px;
  --m-r-md: 12px;
  --m-r-lg: 16px;
  --m-r-xl: 20px;

  /* 阴影档位（小程序内要克制：卡片悬浮感靠极浅投影 + 描边） */
  --m-sh-card: 0 1px 2px rgba(16,24,40,.03), 0 6px 18px rgba(16,24,40,.045);
  --m-sh-bar:  0 -6px 20px rgba(16,24,40,.06);
  --m-sh-float: 0 8px 24px rgba(16,24,40,.10);

  /* 品牌渐变（首页横幅 / 图标统一基色） */
  --m-grad: linear-gradient(135deg, #4F63F0 0%, #6E4BF0 48%, #7B2FFF 100%);
  --m-grad-soft: linear-gradient(135deg, #F4F6FF 0%, #F6F2FF 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", -apple-system,
               BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px; line-height: 1.75; color: var(--ink-700); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-700); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.icon { width: 1em; height: 1em; stroke: currentColor; stroke-width: 1.9;
        fill: none; stroke-linecap: round; stroke-linejoin: round; display: block; }

/* ==================== 顶部导航 ==================== */
.dnav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.dnav.stuck { border-bottom-color: var(--line); box-shadow: 0 6px 22px rgba(30,38,90,.06); }
.dnav__inner { display: flex; align-items: center; gap: 26px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink-900); }
.logo:hover { color: var(--ink-900); }
.logo__mark {
  width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center;
  color: #fff; background: linear-gradient(135deg, var(--brand-500), var(--violet) 55%, var(--mint));
  box-shadow: 0 6px 16px rgba(79,99,240,.32);
}
.logo__mark .icon { width: 18px; height: 18px; stroke-width: 2.2; }
.logo__text { display: block; font-weight: 800; font-size: 17px; line-height: 1.15; letter-spacing: -.4px; }
.logo__text span { color: var(--brand-500); }
.logo__en { display: block; font-size: 10px; letter-spacing: 2.2px; color: var(--ink-400); font-weight: 600; }
.dnav__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px; border: 0; border-radius: 999px;
  font-family: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer;
  transition: transform .18s, box-shadow .22s, background .22s, color .22s; white-space: nowrap;
}
.btn--primary { color: #fff; background: linear-gradient(135deg, var(--brand-500), var(--brand-600)); box-shadow: var(--sh-brand); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(59,78,224,.34); color: #fff; }
.btn--ghost { color: var(--ink-700); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--sh-sm); }
.btn--ghost:hover { color: var(--brand-600); box-shadow: inset 0 0 0 1px var(--brand-200), var(--sh-sm); }
.btn--lg { height: 52px; padding: 0 30px; font-size: 16px; }
.btn--sm { height: 36px; padding: 0 16px; font-size: 13.5px; }

/* ==================== Hero ==================== */
.dhero {
  position: relative; overflow: hidden; padding: 40px 0 34px;
  background:
    radial-gradient(720px 340px at 90% -14%, rgba(123,47,255,.10), transparent 62%),
    radial-gradient(640px 320px at 4% 8%, rgba(79,99,240,.12), transparent 60%),
    linear-gradient(180deg, var(--bg-soft), #fff 78%);
}
.crumb { display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
         padding-bottom: 16px; font-size: 13.5px; color: var(--ink-400); }
.crumb a { color: var(--ink-500); display: inline-flex; align-items: center; gap: 6px; }
.crumb a:hover { color: var(--brand-600); }
.crumb .icon { width: 15px; height: 15px; }
.crumb i { font-style: normal; color: var(--ink-300); }
.crumb b { color: var(--ink-700); font-weight: 600; }

.dhero__hd { max-width: 800px; margin-bottom: 30px; }
.badge {
  display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 14px;
  margin-bottom: 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: var(--brand-700); background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand-100);
}
.badge .icon { width: 14px; height: 14px; }
.dhero h1 { margin: 0 0 14px; font-size: 40px; line-height: 1.24; font-weight: 900;
            letter-spacing: -1px; color: var(--ink-900); }
.dhero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--brand-500), var(--violet) 60%, var(--mint));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.dhero__lead { margin: 0; font-size: 16.5px; line-height: 1.85; color: var(--ink-600); }

/* --------- Hero 里的付款方式横幅（核心卖点，放第一屏） --------- */
.paystrip {
  margin-top: 26px; padding: 20px 22px; border-radius: 18px;
  background: linear-gradient(135deg, #F5F8FF, #F3F0FF);
  box-shadow: inset 0 0 0 1px #DFE4FF, 0 14px 34px rgba(59,78,224,.08);
}
.paystrip__lb {
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 14px;
  font-size: 13px; font-weight: 800; color: var(--brand-700); letter-spacing: .2px;
}
.paystrip__lb .icon { width: 15px; height: 15px; color: var(--mint); }
.paystrip__row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.pstage {
  display: inline-flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 8px 14px; border-radius: 11px; font-size: 13px; font-weight: 700; line-height: 1.2;
  background: #fff; color: var(--ink-800); box-shadow: inset 0 0 0 1px var(--line);
}
.pstage i { font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .3px; }
.pstage--free { box-shadow: inset 0 0 0 1px #CFF0E4; background: #F4FDF9; }
.pstage--free i { color: var(--mint); }
.pstage--pay { background: linear-gradient(135deg, var(--brand-500), var(--violet)); color: #fff;
               box-shadow: 0 8px 20px rgba(79,99,240,.28); }
.pstage--pay i { color: #FFE7A8; }
.parrow { color: #B9C0E4; font-weight: 700; font-size: 13px; }
.paystrip__note { margin: 14px 0 0; font-size: 13.5px; line-height: 1.75;
                  color: #5A44B8; font-weight: 600; }

/* ==================== Demo 舞台（左手机 + 右说明） ==================== */
.stage { display: grid; grid-template-columns: 400px 1fr; gap: 48px; align-items: start; padding: 30px 0 60px; }

/* --------- 手机外壳 --------- */
.phone-col { position: sticky; top: 92px; }

.phone {
  position: relative; width: 372px; height: 760px; margin: 0 auto;
  background: #0A0C1A; border-radius: 44px; padding: 11px;
  box-shadow: 0 40px 90px rgba(20,26,70,.34), 0 0 0 2px #23273F, 0 0 0 8px #0A0C1A;
}
.phone::after { /* 侧边按钮 */
  content: ""; position: absolute; right: -11px; top: 170px; width: 3px; height: 62px;
  background: #2C3050; border-radius: 0 3px 3px 0;
}
.phone__screen {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  background: #F6F7F9; border-radius: 34px; display: flex; flex-direction: column;
}

/* 状态栏 + 小程序胶囊 */
.msbar {  flex: none; height: 44px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px; font-size: 13px; font-weight: 600; color: var(--m-ink);
  background: #F6F7F9; position: relative; z-index: 5;
}
.msbar__time { letter-spacing: .3px; }
.msbar__ico { display: flex; align-items: center; gap: 5px; }
.msbar__ico svg { width: 15px; height: 12px; }
.msbar__ico .bat { width: 22px; }

/* 胶囊按钮（··· ⊙） */
.capsule {
  position: absolute; right: 12px; top: 52px; z-index: 20;
  width: 88px; height: 32px; border-radius: 999px;
  background: rgba(255,255,255,.62); backdrop-filter: blur(8px);
  border: .5px solid rgba(0,0,0,.06);
  display: flex; align-items: center; justify-content: space-around; color: #333;
}
.capsule .divider { width: 1px; height: 16px; background: rgba(0,0,0,.12); }
.capsule .dots { display: flex; gap: 3px; }
.capsule .dots i { width: 4px; height: 4px; border-radius: 50%; background: #333; display: block; }
.capsule .circ { width: 13px; height: 13px; border: 1.6px solid #333; border-radius: 50%; }
.capsule .circ::after { content: ""; display: block; width: 5px; height: 5px; margin: 2.4px;
                        border: 1.4px solid #333; border-radius: 50%; }

/* 小程序标题栏 */
.mnav {
  flex: none; height: 42px; display: flex; align-items: center; padding: 0 16px;
  font-size: 15.5px; font-weight: 700; color: var(--m-ink); letter-spacing: -.2px;
  background: rgba(246,247,249,.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: .5px solid rgba(16,24,40,.05);
}
.mnav__back { display: none; align-items: center; gap: 2px; font-size: 14px; color: #333; cursor: pointer; }
.mnav__back.on { display: inline-flex; }
.mnav__back svg { width: 18px; height: 18px; stroke-width: 2.1; }
.mnav__title { flex: 1; text-align: center; }
.mnav__back.on + .mnav__title { text-align: left; padding-left: 4px; }

/* 内容滚动区 */
.mbody {
  flex: 1; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  background:
    radial-gradient(420px 200px at 100% 0%, rgba(79,99,240,.045), transparent 62%),
    radial-gradient(380px 190px at 0% 12%, rgba(15,169,160,.05), transparent 60%),
    #F6F7F9;
}
.mbody::-webkit-scrollbar { width: 0; }
.page { display: none; padding-bottom: 14px; }
.page.on { display: block; animation: fadeUp .28s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* 底部 tabBar */
.mtab {
  flex: none; height: 58px; display: flex; background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-top: .5px solid var(--m-line); padding-bottom: 4px;
  box-shadow: var(--m-sh-bar);
}
.mtab__i {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; font-size: 10.5px; color: #9AA0AA; cursor: pointer;
  transition: color .18s; position: relative;
  border: 0; background: none; font-family: inherit; padding: 0;
}
.mtab__i svg { width: 23px; height: 23px; stroke-width: 1.65; transition: stroke-width .18s, transform .18s; }
.mtab__i.on { color: var(--wx-green); font-weight: 600; }
.mtab__i.on svg { stroke-width: 2.15; }
/* 选中指示条：顶部一小段圆角绿条，比单纯变色明确得多 */
.mtab__i.on::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 20px; height: 2.5px; border-radius: 0 0 3px 3px; background: var(--wx-green);
}

/* iOS 小白条 */
.mhome { flex: none; height: 22px; background: #fff; display: flex;
         align-items: center; justify-content: center; }
.mhome::after { content: ""; width: 128px; height: 5px; border-radius: 3px; background: #111; opacity: .22; }

/* ==================== 小程序内部 UI ==================== */

/* 首页横幅：改成「圆角卡片 + 多层装饰」，不再通栏铺满 */
.swiper {
  position: relative; overflow: hidden; margin: 8px 12px 0;
  border-radius: var(--m-r-lg); min-height: 148px;
  background: var(--m-grad);
  display: flex; flex-direction: column; justify-content: center; padding: 22px 22px 26px;
  color: #fff; box-shadow: 0 10px 26px rgba(91,71,240,.24);
}
/* 用「光斑 + 细斜纹」替代原来两个大圆，层次细一点不土 */
.swiper::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(220px 130px at 88% 6%, rgba(255,255,255,.20), transparent 65%),
    radial-gradient(180px 120px at 10% 108%, rgba(255,255,255,.14), transparent 68%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.055) 0 1.5px, transparent 1.5px 11px);
}
.swiper > * { position: relative; z-index: 1; }
.swiper__deco, .swiper__deco2 { display: none; }
.swiper__tag {
  display: inline-flex; align-items: center; gap: 5px; align-self: flex-start;
  height: 22px; padding: 0 10px; margin-bottom: 10px; border-radius: 999px;
  background: rgba(255,255,255,.20); box-shadow: inset 0 0 0 .5px rgba(255,255,255,.35);
  font-size: 11px; font-weight: 600; letter-spacing: .2px; backdrop-filter: blur(4px);
}
.swiper h3 { margin: 0 0 7px; font-size: 22px; font-weight: 800; letter-spacing: -.4px; line-height: 1.3; }
.swiper h3 em { font-style: normal; color: #FFE39A; }
.swiper p { margin: 0; font-size: 12.5px; opacity: .9; line-height: 1.6; }
.swiper__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.swiper__btn {
  height: 30px; padding: 0 16px; border: 0; border-radius: 999px; cursor: pointer;
  font-family: inherit; font-size: 12.5px; font-weight: 700; color: #5B47F0;
  background: #fff; box-shadow: 0 4px 12px rgba(20,10,80,.18);
  display: inline-flex; align-items: center; gap: 4px; transition: transform .18s;
}
.swiper__btn:active { transform: scale(.96); }
.swiper__btn svg { width: 13px; height: 13px; stroke-width: 2.4; }
.swiper__dots { position: static; display: flex; gap: 5px; }
.swiper__dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.42); }
.swiper__dots i.on { width: 16px; border-radius: 3px; background: #fff; }

/* 搜索框：变细一点、加描边，从「灰面条」变成有边界的输入框 */
.searchbar { padding: 12px 12px 10px; background: transparent; }
.searchbar__in {
  height: 36px; border-radius: var(--m-r-md); background: #fff;
  box-shadow: inset 0 0 0 1px var(--m-line);
  display: flex; align-items: center; gap: 8px; padding: 0 13px;
  font-size: 13px; color: var(--m-t4); transition: box-shadow .2s;
}
.searchbar__in:active { box-shadow: inset 0 0 0 1px #DDE3EC; }
.searchbar__in svg { width: 15px; height: 15px; color: var(--m-t4); flex: none; }
.searchbar__in .sb-tag {
  margin-left: auto; flex: none; height: 20px; padding: 0 8px; border-radius: 999px;
  background: var(--brand-50); color: var(--brand-600); font-size: 10.5px; font-weight: 700;
  display: inline-flex; align-items: center;
}

/* 宫格：统一成「浅色底 + 品牌色图标」，8 个各一色 → 收敛为 4 组同族色 */
.gridnav {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 14px 0;
  background: #fff; margin: 2px 12px 0; padding: 18px 6px 18px;
  border-radius: var(--m-r-lg); box-shadow: var(--m-sh-card);
}
.gn { display: flex; flex-direction: column; align-items: center; gap: 7px; cursor: pointer;
      background: none; border: 0; font-family: inherit; padding: 0; }
.gn__ico {
  width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center;
  font-size: 22px; color: #fff; transition: transform .2s;
  box-shadow: 0 4px 10px rgba(16,24,40,.10), inset 0 0 0 .5px rgba(255,255,255,.22);
}
.gn:active .gn__ico, .gn:hover .gn__ico { transform: scale(.94); }
.gn span { font-size: 11.5px; color: var(--m-t2); font-weight: 500; }

/* 区块：白块 → 圆角卡片（左右留边 + 描边 + 极浅投影） */
.blk {
  background: #fff; margin: 10px 12px; padding: 15px 14px;
  border-radius: var(--m-r-lg); box-shadow: var(--m-sh-card);
}
.blk--flat { margin: 8px 12px; padding: 14px; }
.blk__hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.blk__hd h4 {
  margin: 0; font-size: 15.5px; font-weight: 700; color: var(--m-ink);
  position: relative; padding-left: 10px; letter-spacing: -.2px;
}
.blk__hd h4::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 13px; border-radius: 2px;
  background: linear-gradient(180deg, var(--brand-500), var(--violet));
}
.blk__more { font-size: 12px; color: var(--m-t3); display: flex; align-items: center; gap: 2px; }
.blk__more svg { width: 13px; height: 13px; }

/* 商品/服务卡：图片区改成「浅色渐变底 + 柔和光斑 + 居中图标 + 角标」 */
.prodrow { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.pcard {
  border-radius: var(--m-r-md); overflow: hidden; background: #fff; cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--m-line); transition: transform .18s, box-shadow .18s;
  display: flex; flex-direction: column;
}
.pcard:active { transform: scale(.975); }
.pcard__img {
  position: relative; height: 108px; display: grid; place-items: center;
  color: #fff; overflow: hidden; flex: none;
}
/* 图片区的三层：柔光斑 + 细纹理 + 底角渐深，让纯色块有「被拍过」的质感 */
.pcard__img::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(90px 70px at 76% 16%, rgba(255,255,255,.34), transparent 70%),
    radial-gradient(70px 60px at 14% 92%, rgba(255,255,255,.18), transparent 72%),
    repeating-linear-gradient(120deg, rgba(255,255,255,.07) 0 1px, transparent 1px 9px);
}
.pcard__img::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 46%;
  background: linear-gradient(180deg, transparent, rgba(12,10,40,.14));
}
.pcard__img .icon { position: relative; z-index: 1;
  width: 42px; height: 42px; stroke-width: 1.5;
  filter: drop-shadow(0 3px 8px rgba(10,8,40,.22)); }
/* 左上角小标签（如「热销」「新品」） */
.pcard__badge {
  position: absolute; z-index: 2; left: 8px; top: 8px;
  height: 19px; padding: 0 8px; border-radius: 6px;
  background: rgba(255,255,255,.92); color: #7A3E00;
  font-size: 10px; font-weight: 800; line-height: 19px; letter-spacing: .2px;
  box-shadow: 0 2px 6px rgba(10,8,40,.14);
}
.pcard__badge--hot { background: linear-gradient(135deg,#FF8A3D,#F5522D); color: #fff; }
.pcard__b { padding: 9px 10px 11px; display: flex; flex-direction: column; flex: 1; }
.pcard__b h5 {
  margin: 0 0 4px; font-size: 13.5px; font-weight: 700; color: var(--m-ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: -.2px;
}
.pcard__b p {
  margin: 0 0 8px; font-size: 11px; color: var(--m-t3); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard__ft { display: flex; align-items: baseline; gap: 5px; margin-top: auto; }
.pcard__price { font-size: 16.5px; font-weight: 900; color: var(--m-price); letter-spacing: -.4px; }
.pcard__price i { font-style: normal; font-size: 11px; font-weight: 700; margin-right: .5px; }
.pcard__price s { margin-left: 2px; font-size: 10.5px; color: var(--m-t4); font-weight: 400; }
.pcard__sold { margin-left: auto; font-size: 10px; color: var(--m-t4); white-space: nowrap; }

/* 列表行 */
.lrow { display: flex; align-items: center; gap: 11px; padding: 12px 0;
        border-bottom: .5px solid var(--m-line2); cursor: pointer; }
.lrow:last-child { border-bottom: 0; padding-bottom: 0; }
.lrow__ico { width: 40px; height: 40px; flex: none; border-radius: 13px;
             display: grid; place-items: center; font-size: 19px; color: #fff;
             box-shadow: 0 3px 9px rgba(16,24,40,.13), inset 0 0 0 .5px rgba(255,255,255,.2); }
.lrow__b { flex: 1; min-width: 0; }
.lrow__b h5 { margin: 0 0 3px; font-size: 14px; font-weight: 650; color: var(--m-ink); }
.lrow__b p { margin: 0; font-size: 11.5px; color: var(--m-t3);
             overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lrow__r { text-align: right; flex: none; }
.lrow__r b { display: block; font-size: 14.5px; font-weight: 900; color: var(--m-price); letter-spacing: -.3px; }
.lrow__r span { font-size: 11px; color: var(--m-t3); }
.lrow__arw { width: 14px; height: 14px; color: #CFD4DC; flex: none; }

/* 预约页：可选服务行（选中态用浅底 + 单选圈，替代原来的内联 style） */
.brows { margin: 0 -14px; padding: 12px 14px; border-radius: var(--m-r-md); }
.brows.on { background: var(--m-grad-soft); box-shadow: inset 0 0 0 1px #E4E7FB; }
.brows.on + .brows.on { margin-top: 2px; }
.brows__rd {
  width: 19px; height: 19px; flex: none; border-radius: 50%; margin-left: 6px;
  border: 1.5px solid #D5DAE3; background: #fff; display: grid; place-items: center;
  transition: all .18s;
}
.brows__rd.on {
  border-color: var(--wx-green); background: var(--wx-green); color: #fff;
  box-shadow: 0 3px 8px rgba(7,193,96,.32);
}
.brows__rd.on .icon { stroke-width: 3; }

/* 时间轴（订单进度） */
.tl { padding-left: 6px; }
.tl__i { display: flex; gap: 11px; position: relative; padding-bottom: 16px; }
.tl__i:last-child { padding-bottom: 0; }
.tl__i::before { content: ""; position: absolute; left: 5.5px; top: 15px; bottom: -2px;
                 width: 1.5px; background: var(--m-line); }
.tl__i:last-child::before { display: none; }
.tl__dot { width: 12px; height: 12px; flex: none; margin-top: 4px; border-radius: 50%;
           border: 2.5px solid var(--m-line); background: #fff; z-index: 1; }
.tl__i.done .tl__dot { border-color: var(--wx-green); background: var(--wx-green); }
.tl__i.now .tl__dot { border-color: var(--wx-green); background: #fff;
                      box-shadow: 0 0 0 3px rgba(7,193,96,.16); }
.tl__i.done::before { background: var(--wx-green); }
.tl__b { flex: 1; }
.tl__b h5 { margin: 0 0 2px; font-size: 13.5px; font-weight: 600; color: var(--m-ink); }
.tl__i .tl__b h5 { color: var(--m-t3); }
.tl__i.done .tl__b h5, .tl__i.now .tl__b h5 { color: var(--m-ink); }
.tl__b p { margin: 0; font-size: 11.5px; color: var(--m-t3); }

/* 我的页面头部：换成深青绿渐变，避免跟首页横幅撞色 */
.profile {
  padding: 22px 16px 24px; color: #fff; margin: 8px 12px 0;
  border-radius: var(--m-r-lg);
  background: linear-gradient(135deg, #0E9E96 0%, #0B7F8C 55%, #1E5FA8 100%);
  display: flex; align-items: center; gap: 13px;
  box-shadow: 0 10px 26px rgba(11,127,140,.26); position: relative; overflow: hidden;
}
.profile::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(180px 110px at 90% 4%, rgba(255,255,255,.20), transparent 66%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.05) 0 1.5px, transparent 1.5px 11px);
}
.profile > * { position: relative; z-index: 1; }
.profile__av { width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.22);
               display: grid; place-items: center; font-size: 24px; flex: none;
               box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.profile__b { flex: 1; min-width: 0; }
.profile__b h4 { margin: 0 0 4px; font-size: 17px; font-weight: 700; letter-spacing: -.2px; }
.profile__b p { margin: 0; font-size: 11.5px; opacity: .85; line-height: 1.5; }
.profile__vip { margin-left: auto; padding: 4px 11px; border-radius: 999px;
                background: linear-gradient(135deg,#FFE9B0,#FFCF6B); color: #7A4E00;
                font-size: 11px; font-weight: 800; flex: none; align-self: flex-start;
                box-shadow: 0 2px 8px rgba(0,0,0,.14); }

.stat3 {
  display: grid; grid-template-columns: repeat(3,1fr); background: #fff;
  margin: 10px 12px; padding: 16px 0; border-radius: var(--m-r-lg); box-shadow: var(--m-sh-card);
}
.stat3 div { text-align: center; border-right: .5px solid var(--m-line2); }
.stat3 div:last-child { border-right: 0; }
.stat3 b { display: block; font-size: 19px; font-weight: 900; color: var(--m-ink);
           letter-spacing: -.5px; line-height: 1.3; }
.stat3 span { font-size: 11.5px; color: var(--m-t3); }

/* 详情页 */
.detail__hero {
  position: relative; height: 168px; display: grid; place-items: center; color: #fff;
  margin: 8px 12px 0; border-radius: var(--m-r-lg); overflow: hidden;
  box-shadow: 0 8px 22px rgba(16,24,40,.12);
}
.detail__hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(200px 120px at 78% 12%, rgba(255,255,255,.32), transparent 68%),
    radial-gradient(150px 110px at 8% 96%, rgba(255,255,255,.16), transparent 70%),
    repeating-linear-gradient(120deg, rgba(255,255,255,.07) 0 1.5px, transparent 1.5px 10px);
}
.detail__hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 42%;
  background: linear-gradient(180deg, transparent, rgba(12,10,40,.16));
}
.detail__hero .icon { position: relative; z-index: 1;
  width: 58px; height: 58px; stroke-width: 1.4;
  filter: drop-shadow(0 4px 12px rgba(10,8,40,.26)); }
/* 图片区左上分类标签 */
.dhero__cat {
  position: absolute; z-index: 2; left: 13px; top: 12px;
  height: 21px; padding: 0 10px; border-radius: 999px;
  background: rgba(255,255,255,.22); box-shadow: inset 0 0 0 .5px rgba(255,255,255,.42);
  color: #fff; font-size: 11px; font-weight: 700; line-height: 21px;
  backdrop-filter: blur(4px);
}
/* 图片区底部小字说明 */
.dhero__tag {
  position: absolute; z-index: 2; left: 50%; transform: translateX(-50%); bottom: 12px;
  color: rgba(255,255,255,.92); font-size: 10.5px; font-weight: 600; letter-spacing: .2px;
  white-space: nowrap;
}

.detail__price {
  display: flex; align-items: baseline; gap: 8px; padding: 15px 14px 12px;
  background: #fff; margin: 10px 12px 0;
  border-radius: var(--m-r-lg) var(--m-r-lg) 0 0;
}
.detail__price b { font-size: 27px; font-weight: 900; color: var(--m-price); letter-spacing: -.8px; }
.detail__price b i { font-style: normal; font-size: 15px; font-weight: 800; }
.detail__price s { font-size: 12.5px; color: var(--m-t4); }
.detail__price em {
  margin-left: auto; font-style: normal; font-size: 11.5px; color: var(--m-t3);
  background: var(--m-price-soft); padding: 3px 9px; border-radius: 999px; align-self: center;
}
.detail__ttl {
  padding: 0 14px 15px; background: #fff; margin: 0 12px;
  border-radius: 0 0 var(--m-r-lg) var(--m-r-lg);
  box-shadow: var(--m-sh-card);
}
.detail__ttl h3 { margin: 0 0 7px; font-size: 18px; font-weight: 800; color: var(--m-ink);
                  line-height: 1.42; letter-spacing: -.3px; }
.detail__ttl p { margin: 0; font-size: 12.5px; color: var(--m-t3); line-height: 1.6; }

.spec { display: grid; gap: 10px; }
.spec__r { display: flex; gap: 10px; font-size: 13px; line-height: 1.55; }
.spec__r span:first-child { width: 62px; flex: none; color: var(--m-t3); }
.spec__r span:last-child { color: var(--m-t2); flex: 1; }

/* 数量加减按钮（小程序内） */
.qbtn {
  width: 28px; height: 28px; flex: none; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--m-line); background: #fff; color: var(--m-t2);
  display: grid; place-items: center; padding: 0; transition: all .16s;
}
.qbtn svg { width: 14px; height: 14px; stroke-width: 2.4; }
.qbtn:active { transform: scale(.92); }
.qbtn--on {
  border-color: transparent; color: #fff;
  background: linear-gradient(135deg, #4F63F0, #7B2FFF);
  box-shadow: 0 4px 10px rgba(79,99,240,.28);
}
.qbtn--on svg { color: #fff; }

/* 底部操作条 */
.mbar2 {
  flex: none; display: flex; align-items: center; gap: 10px; padding: 9px 12px;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-top: .5px solid var(--m-line);
  box-shadow: var(--m-sh-bar);
}
.mbar2__ico { display: flex; flex-direction: column; align-items: center; gap: 2px;
              font-size: 9.5px; color: #8A9099; cursor: pointer; padding: 0 6px; }
.mbar2__ico svg { width: 19px; height: 19px; }
.mbar2__btn {
  flex: 1; height: 44px; border: 0; border-radius: 999px; cursor: pointer;
  font-family: inherit; font-size: 15px; font-weight: 700; color: #fff; letter-spacing: .2px;
  background: linear-gradient(135deg, #07C160, #06A855);
  box-shadow: 0 7px 18px rgba(7,193,96,.30); transition: transform .18s;
}
.mbar2__btn:active { transform: scale(.97); }
.mbar2__btn.alt { background: linear-gradient(135deg, #4F63F0, #3B4EE0); box-shadow: 0 7px 18px rgba(79,99,240,.28); }
.mbar2__btn:disabled { background: #D8DBE6; box-shadow: none; color: #fff; }
.mbar2__sum { flex: 1; font-size: 12px; color: var(--m-t3); }
.mbar2__sum b { color: var(--m-price); font-size: 18px; font-weight: 900; letter-spacing: -.5px; }
.mbar2__sum b i { font-style: normal; font-size: 12px; font-weight: 800; }

/* 空态 */
.empty { padding: 60px 20px; text-align: center; }
.empty svg { width: 54px; height: 54px; margin: 0 auto 12px; color: var(--ink-300); stroke-width: 1.3; }
.empty h5 { margin: 0 0 5px; font-size: 14.5px; font-weight: 600; color: #555; }
.empty p { margin: 0 0 16px; font-size: 12.5px; color: #999; }

/* 表单（小程序内） */
.mfield { display: flex; align-items: center; gap: 10px; padding: 13px 0;
          border-bottom: .5px solid var(--m-line2); }
.mfield:last-of-type { border-bottom: 0; padding-bottom: 2px; }
.mfield label { width: 62px; flex: none; font-size: 14px; color: var(--m-t2); }
.mfield input, .mfield textarea, .mfield select {
  flex: 1; border: 0; outline: 0; font-family: inherit; font-size: 14px; color: var(--m-ink);
  background: none; padding: 0; min-width: 0;
}
.mfield textarea { resize: none; height: 52px; line-height: 1.6; }
.mfield input::placeholder, .mfield textarea::placeholder { color: var(--m-t4); }
.mfield label i { font-style: normal; color: var(--m-price); }

.slots { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }
.slot {
  height: 68px; border-radius: var(--m-r-md); border: 1px solid var(--m-line); background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; cursor: pointer; font-family: inherit; transition: all .18s;
}
.slot b { font-size: 15px; font-weight: 700; color: var(--m-ink); letter-spacing: -.2px; }
.slot span { font-size: 10.5px; color: var(--m-t4); }
.slot.on {
  border-color: var(--wx-green); background: #EDFBF3;
  box-shadow: 0 4px 12px rgba(7,193,96,.16), inset 0 0 0 .5px var(--wx-green);
}
.slot.on b { color: var(--wx-green); }
.slot.on span { color: #12A05B; }
.slot.off { opacity: .42; cursor: not-allowed; background: #FAFBFC; }
.slot.off span { color: var(--m-t4); }

/* 门店卡（原「收货地址卡」） */
.addr {
  display: flex; align-items: flex-start; gap: 11px; padding: 15px 14px;
  background: var(--m-grad-soft); margin: 8px 12px 0;
  border-radius: var(--m-r-lg); box-shadow: inset 0 0 0 1px #E4E7FB;
}
.addr__ico { width: 32px; height: 32px; flex: none; border-radius: 11px;
             background: linear-gradient(135deg, #4F63F0, #7B2FFF);
             display: grid; place-items: center; color: #fff; font-size: 15px;
             box-shadow: 0 4px 10px rgba(79,99,240,.28); }
.addr__b { flex: 1; min-width: 0; }
.addr__b h5 { margin: 0 0 4px; font-size: 13.5px; font-weight: 800; color: var(--m-ink); }
.addr__b h5 span {
  margin-left: 7px; padding: 1.5px 7px; border-radius: 999px; font-weight: 700;
  color: #0B7F8C; background: rgba(15,169,160,.13); font-size: 10.5px; vertical-align: 1.5px;
}
.addr__b p { margin: 0; font-size: 12px; color: var(--m-t3); line-height: 1.55; }
.addr .icon { width: 15px; height: 15px; color: #B9BFD9; flex: none; margin-top: 8px; }

/* 结算条 */
.payrow { display: flex; align-items: center; justify-content: space-between;
          padding: 12px 14px; background: #fff; font-size: 13.5px; color: var(--m-t3); }
.payrow b { font-size: 19px; font-weight: 900; color: var(--m-price); }
.payrow b i { font-style: normal; font-size: 12px; }

/* 成功页（用 .donebox 作用域，避免和 .tl__i.done 撞名） */
.done { padding: 46px 22px 32px; text-align: center; }
.done .done__ico {
  width: 78px; height: 78px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; background: #E9F9F0; color: var(--wx-green);
  animation: pop .4s cubic-bezier(.2,1.4,.5,1);
  box-shadow: 0 10px 26px rgba(7,193,96,.20), inset 0 0 0 1.5px rgba(7,193,96,.22);
}
@keyframes pop { from { transform: scale(.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.done .done__ico svg { width: 38px; height: 38px; stroke-width: 2.6; }
.done h3 { margin: 0 0 8px; font-size: 20px; font-weight: 800; color: var(--m-ink); letter-spacing: -.3px; }
.done p { margin: 0 0 20px; font-size: 13.5px; color: var(--m-t3); line-height: 1.7; }
.done .done__no { display: inline-block; padding: 8px 16px; border-radius: 999px;
            background: var(--wx-gray); font-size: 12.5px; color: var(--m-t2);
            font-family: ui-monospace, monospace; letter-spacing: .4px; }

/* 时间轴里的 .tl__i.done 只做「已完成」语义，覆盖掉 .done 的居中与内边距 */
.tl__i.done { padding: 0 0 16px; text-align: left; }

/* ==================== 右侧说明栏 ==================== */
.info-col { padding-top: 6px; }
.info-col h2 { margin: 0 0 12px; font-size: 30px; font-weight: 850;
               letter-spacing: -.6px; color: var(--ink-900); line-height: 1.32; }
.info-col > p.lead { margin: 0 0 26px; font-size: 15.5px; line-height: 1.85; color: var(--ink-500); }

.hint {
  display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; margin-bottom: 24px;
  border-radius: 12px; background: var(--gold-soft); box-shadow: inset 0 0 0 1px #F7E3BE;
  font-size: 13.5px; color: #8A6414; line-height: 1.75;
}
.hint .icon { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--gold); }

/* 热点列表 */
.spots { display: grid; gap: 10px; margin-bottom: 28px; }
.spot {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px;
  background: #fff; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line), var(--sh-sm);
  cursor: pointer; transition: transform .2s, box-shadow .2s; text-align: left;
  border: 0; font-family: inherit; width: 100%;
}
.spot:hover { transform: translateX(5px); box-shadow: inset 0 0 0 1px var(--brand-100), var(--sh-md); }
.spot__n { width: 26px; height: 26px; flex: none; border-radius: 9px; display: grid; place-items: center;
           font-size: 12.5px; font-weight: 800; color: #fff;
           background: linear-gradient(135deg, var(--brand-500), var(--violet)); }
.spot__b { flex: 1; min-width: 0; }
.spot__b h5 { margin: 0 0 3px; font-size: 14.5px; font-weight: 700; color: var(--ink-900); }
.spot__b p { margin: 0; font-size: 13px; color: var(--ink-500); line-height: 1.65; }
.spot__tag { flex: none; align-self: center; padding: 3px 9px; border-radius: 999px;
             font-size: 11px; font-weight: 600; color: var(--brand-700); background: var(--brand-50); }

/* 功能清单 */
.sec { padding: 52px 0; }
.sec--soft { background: var(--bg-soft); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.sec__hd { max-width: 760px; margin-bottom: 30px; }
.kicker { display: inline-block; margin-bottom: 10px; font-size: 13px; font-weight: 700;
          letter-spacing: 1.6px; text-transform: uppercase; color: var(--brand-500); }
.sec__hd h2 { margin: 0 0 12px; font-size: 29px; line-height: 1.32; font-weight: 850;
              letter-spacing: -.6px; color: var(--ink-900); }
.sec__hd p { margin: 0; font-size: 15.5px; color: var(--ink-500); line-height: 1.8; }

.grid3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.card {
  padding: 24px 22px; background: #fff; border-radius: 16px;
  box-shadow: inset 0 0 0 1px var(--line), var(--sh-sm);
  transition: transform .22s, box-shadow .22s, background .22s;
}
.card:hover { transform: translateY(-5px); background: linear-gradient(180deg,#fff,var(--brand-50));
              box-shadow: inset 0 0 0 1px var(--brand-100), var(--sh-md); }
.card__ico { width: 42px; height: 42px; margin-bottom: 14px; border-radius: 13px;
             display: grid; place-items: center; color: var(--brand-600); background: var(--brand-50);
             box-shadow: inset 0 0 0 1px var(--brand-100); transition: all .22s; }
.card:hover .card__ico { color: #fff; background: linear-gradient(135deg, var(--brand-500), var(--violet));
                         box-shadow: 0 10px 22px rgba(79,99,240,.28); }
.card__ico .icon { width: 21px; height: 21px; }
.card h4 { margin: 0 0 8px; font-size: 16px; font-weight: 750; color: var(--ink-900); }
.card p { margin: 0; font-size: 14px; line-height: 1.75; color: var(--ink-500); }

/* ==================== 价格 + 付款模式 ==================== */
.pricebox {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 22px; align-items: stretch;
}
.pcard2 {
  position: relative; overflow: hidden; padding: 34px 32px; border-radius: 24px; color: #fff;
  background: linear-gradient(135deg, #2A38B8, #4F63F0 48%, #7B2FFF 100%);
  box-shadow: 0 30px 70px rgba(59,78,224,.28); display: flex; flex-direction: column;
}
.pcard2::after { content: ""; position: absolute; right: -70px; top: -70px; width: 260px; height: 260px;
                 border-radius: 50%; background: rgba(255,255,255,.1); }
.pcard2__tag { position: relative; display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
               padding: 5px 13px; margin-bottom: 16px; border-radius: 999px;
               background: rgba(255,255,255,.2); font-size: 12.5px; font-weight: 600; }
.pcard2 h3 { position: relative; margin: 0 0 6px; font-size: 19px; font-weight: 700; }
.pcard2__amt { position: relative; margin: 0 0 4px; font-size: 52px; font-weight: 900;
               letter-spacing: -2px; line-height: 1.1; }
.pcard2__amt i { font-style: normal; font-size: 24px; font-weight: 700; margin-right: 2px; }
.pcard2__amt em { font-style: normal; font-size: 17px; font-weight: 600; margin-left: 4px; }
.pcard2__sub { position: relative; margin: 0 0 22px; font-size: 13.5px; opacity: .84; line-height: 1.7; }
.pcard2 ul { position: relative; margin: 0 0 24px; padding: 0; list-style: none; display: grid; gap: 9px; }
.pcard2 li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; }
.pcard2 li .icon { width: 16px; height: 16px; flex: none; margin-top: 4px; }
.pcard2__acts { position: relative; margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.pcard2__acts .btn { background: #fff; color: var(--brand-700); box-shadow: 0 12px 28px rgba(0,0,0,.2); }
.pcard2__acts .btn:hover { color: var(--brand-700); }
.pcard2__acts .btn.gh { background: rgba(255,255,255,.14); color: #fff;
                        box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.pcard2__acts .btn.gh:hover { background: rgba(255,255,255,.24); color: #fff; }

.paycard {
  padding: 30px 28px; background: #fff; border-radius: 24px;
  box-shadow: inset 0 0 0 1px var(--line), var(--sh-md); display: flex; flex-direction: column;
}
.paycard__hd { margin-bottom: 22px; }
.paycard__hd h3 { margin: 0 0 8px; font-size: 20px; font-weight: 850; color: var(--ink-900); }
.paycard__hd p { margin: 0; font-size: 14px; color: var(--ink-500); line-height: 1.7; }
.steps5 { display: grid; gap: 0; flex: 1; }
.step5 { display: flex; gap: 14px; position: relative; padding-bottom: 20px; }
.step5:last-child { padding-bottom: 0; }
.step5::before { content: ""; position: absolute; left: 15px; top: 34px; bottom: 0; width: 2px;
                 background: var(--line); }
.step5:last-child::before { display: none; }
.step5__n { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center;
            font-size: 13px; font-weight: 800; color: var(--brand-600); background: var(--brand-50);
            box-shadow: inset 0 0 0 1.5px var(--brand-100); z-index: 1; }
.step5--free .step5__n { color: var(--mint); background: var(--mint-soft); box-shadow: inset 0 0 0 1.5px #BFE9E5; }
.step5--pay .step5__n { color: #fff; background: linear-gradient(135deg, var(--brand-500), var(--violet));
                        box-shadow: 0 8px 18px rgba(79,99,240,.28); }
.step5__b { flex: 1; }
.step5__b h5 { margin: 0 0 3px; font-size: 15px; font-weight: 750; color: var(--ink-900); }
.step5__b h5 i { font-style: normal; font-size: 11.5px; font-weight: 700; margin-left: 7px;
                 padding: 2px 8px; border-radius: 999px; vertical-align: 2px;
                 color: var(--mint); background: var(--mint-soft); }
.step5--pay .step5__b h5 i { color: var(--brand-700); background: var(--brand-50); }
.step5__b p { margin: 0; font-size: 13px; color: var(--ink-500); line-height: 1.65; }

.paynote { margin-top: 22px; padding-top: 20px; border-top: 1px dashed var(--line);
           display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--ink-600); line-height: 1.7; }
.paynote .icon { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--brand-500); }

/* ==================== 交付清单 ==================== */
.deliver { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line);
           border-radius: 20px; overflow: hidden; box-shadow: var(--sh-sm); }
.dv { background: #fff; padding: 24px 20px; text-align: center; }
.dv__ico { width: 44px; height: 44px; margin: 0 auto 12px; border-radius: 14px; display: grid; place-items: center;
           color: #fff; background: linear-gradient(135deg, var(--brand-500), var(--violet)); font-size: 21px; }
.dv h4 { margin: 0 0 6px; font-size: 15px; font-weight: 750; color: var(--ink-900); }
.dv p { margin: 0; font-size: 13px; color: var(--ink-500); line-height: 1.7; }

/* ==================== CTA ==================== */
.dcta { padding: 56px 0; }
.dcta__box {
  position: relative; overflow: hidden; text-align: center; padding: 52px 32px;
  border-radius: 28px; color: #fff;
  background: linear-gradient(135deg, #2A38B8, #4F63F0 46%, #7B2FFF 100%);
  box-shadow: 0 30px 70px rgba(59,78,224,.30);
}
.dcta__box::after { content: ""; position: absolute; right: -18%; top: -60%; width: 620px; height: 620px;
                    border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.16), transparent 62%); }
.dcta__box h2 { position: relative; margin: 0 0 12px; font-size: 30px; font-weight: 900;
                letter-spacing: -.6px; color: #fff; }
.dcta__box p { position: relative; margin: 0 auto 26px; max-width: 620px; font-size: 15.5px;
               line-height: 1.8; color: rgba(255,255,255,.82); }
.dcta__acts { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.dcta__acts .btn--primary { background: #fff; color: var(--brand-700); box-shadow: 0 14px 34px rgba(0,0,0,.22); }
.dcta__acts .btn--primary:hover { color: var(--brand-700); }
.dcta__acts .btn--onDark { color: #fff; background: transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.dcta__acts .btn--onDark:hover { color: #fff; background: rgba(255,255,255,.12); }

/* ==================== 页脚 ==================== */
.dfoot { padding: 44px 0 28px; background: var(--ink-900); color: rgba(255,255,255,.62); font-size: 14px; }
.dfoot .logo, .dfoot .logo:hover { color: #fff; }
.dfoot .logo__en { color: rgba(255,255,255,.42); }
.dfoot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 34px; }
.dfoot__about { margin: 16px 0 18px; max-width: 470px; font-size: 13.5px; line-height: 1.85; color: rgba(255,255,255,.55); }
.dfoot__contact { display: grid; gap: 9px; }
.dfoot__contact span { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: rgba(255,255,255,.62); }
.dfoot__contact .icon { width: 15px; height: 15px; flex: none; margin-top: 4px; color: var(--brand-300); }
.dfoot h5 { margin: 4px 0 14px; font-size: 14px; font-weight: 700; color: #fff; }
.dfoot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.dfoot ul a { color: rgba(255,255,255,.58); font-size: 13.5px; }
.dfoot ul a:hover { color: #fff; }
.dfoot__bot { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1);
              display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
              font-size: 13px; color: rgba(255,255,255,.42); }
.dfoot__bot a { color: rgba(255,255,255,.5); }
.dfoot__bot a:hover { color: #fff; }

/* ==================== 悬浮 / 提示 ==================== */
.fab { position: fixed; right: 22px; bottom: 26px; z-index: 70; display: grid; gap: 10px; }
.fab button, .fab a {
  width: 46px; height: 46px; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  box-shadow: var(--sh-brand); transition: transform .2s, opacity .2s;
}
.fab button:hover, .fab a:hover { transform: translateY(-3px); color: #fff; }
.fab .ghost { color: var(--ink-600); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--sh-sm); }
.fab .ghost:hover { color: var(--brand-600); }
.fab .icon { width: 20px; height: 20px; }
#toTop { opacity: 0; pointer-events: none; }
#toTop.show { opacity: 1; pointer-events: auto; }

.toast {
  position: fixed; left: 50%; bottom: 40px; z-index: 200;
  transform: translate(-50%, 24px); opacity: 0; pointer-events: none;
  padding: 13px 24px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: #fff;
  background: var(--ink-900); box-shadow: 0 18px 40px rgba(13,16,36,.32);
  transition: opacity .25s, transform .25s; max-width: 90vw; text-align: center;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

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

/* ==================== 响应式 ==================== */
@media (max-width: 1080px) {
  .stage { grid-template-columns: 1fr; gap: 34px; }
  .phone-col { position: static; }
  .grid3 { grid-template-columns: repeat(2,1fr); }
  .deliver { grid-template-columns: repeat(2,1fr); }
  .pricebox { grid-template-columns: 1fr; }
  .dhero h1 { font-size: 34px; }
}

@media (max-width: 860px) {
  .wrap { padding: 0 20px; }
  .sec { padding: 44px 0; }
  .dnav__actions .btn--ghost { display: none; }
  .dhero h1 { font-size: 29px; letter-spacing: -.5px; }
  .info-col h2, .sec__hd h2, .dcta__box h2 { font-size: 24px; }
  .dfoot__grid { grid-template-columns: 1fr 1fr; }
  .phone { width: 340px; height: 700px; }
  .paystrip { padding: 18px; }
  .pstage { padding: 7px 11px; font-size: 12px; }
  .parrow { font-size: 12px; }
}

@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .grid3 { grid-template-columns: 1fr; }
  .deliver { grid-template-columns: 1fr 1fr; }
  .dfoot__grid { grid-template-columns: 1fr; gap: 26px; }
  .dfoot__bot { justify-content: flex-start; }
  /* 手机上直接铺满，不再套手机壳 */
  .phone {
    width: 100%; height: auto; min-height: 76vh; padding: 0; border-radius: 0;
    box-shadow: none; background: none;
  }
  .phone::after { display: none; }
  .phone__screen { border-radius: 0; min-height: 76vh; }
  .capsule { display: none; }
  .msbar { display: none; }
  .dcta__box { padding: 40px 22px; border-radius: 22px; }
  .pcard2 { padding: 28px 22px; border-radius: 20px; }
  .pcard2__amt { font-size: 42px; }
  .paycard { padding: 24px 20px; border-radius: 20px; }
  .fab { right: 14px; bottom: 16px; }
  .paystrip { margin-top: 20px; padding: 16px 14px; border-radius: 16px; }
  .paystrip__row { gap: 6px; }
  .pstage { padding: 7px 10px; font-size: 11.5px; }
  .parrow { display: none; }
  .paystrip__note { font-size: 12.5px; }
}
