/* =========================================================================
   智子科技官网 · 样式表
   结构：令牌 → 基础 → 布局 → 按钮/图标 → 滚动淡入 → 导航 → Hero(极光)
        → 服务 → 价格 → 优势 → 流程 → 案例 → 联系 → 页脚 → 吸底/弹层 → 响应式
   配色/字体/圆角等令牌集中在 :root，可一键替换。
   ========================================================================= */

/* ---------- 设计令牌 ---------- */
:root {
  --ink: #0E1726;
  --ink-panel: #141F30;
  --accent: #16B8A6;
  --accent-deep: #0E9B8C;
  --accent-blue: #2F6BFF;          /* 仅用于极光背景的冷色层 */
  --accent-tint: #E6F6F3;
  --bg: #FFFFFF;
  --bg-soft: #F5F7FA;
  --border: #E5E9F0;
  --text: #5B6B7F;
  --heading: #0E1726;
  --on-dark: #FFFFFF;
  --on-dark-soft: #9FB0C3;
  --border-dark: #243246;

  --r-card: 16px;
  --r-btn: 10px;
  --r-pill: 999px;

  --shadow-card: 0 8px 24px rgba(14,23,38,.06);
  --shadow-lift: 0 18px 44px rgba(14,23,38,.12);
  --shadow-pop: 0 24px 60px rgba(5,8,15,.45);

  --maxw: 1120px;
  --pad-section: 60px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
h1, h2, h3 { color: var(--heading); line-height: 1.2; font-weight: 700; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-btn);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- 布局 ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }

.section { padding-block: var(--pad-section); scroll-margin-top: 72px; }
.section--soft { background: var(--bg-soft); }

.section-head { text-align: center; max-width: 620px; margin-inline: auto; margin-bottom: 32px; }
.section-head__title { font-size: clamp(24px, 5vw, 32px); margin-top: 12px; }
.section-head__sub { margin-top: 12px; font-size: 15px; color: var(--text); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em;
  color: var(--accent-deep); text-transform: uppercase;
}
.eyebrow--dark {
  color: var(--on-dark-soft); text-transform: none; letter-spacing: .01em;
  font-weight: 500; font-size: 13px;
  padding: 7px 14px; border: 1px solid var(--border-dark); border-radius: var(--r-pill);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.grid { display: grid; gap: 16px; }
.grid--4 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }

/* ---------- 图标 ---------- */
.icon {
  width: 20px; height: 20px; flex: none; vertical-align: middle;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: var(--r-btn);
  font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease);
}
.btn .icon { width: 18px; height: 18px; }
.btn[hidden] { display: none; }
/* PNG 图标（如白色微信图标），用于按钮内 */
.ico-img { width: 18px; height: 18px; object-fit: contain; flex: none; vertical-align: middle; }
.btn--lg .ico-img { width: 20px; height: 20px; }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 15px 26px; font-size: 16px; }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(22,184,166,.28); }
.btn--accent:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(22,184,166,.36); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn--ghost { color: #fff; border: 1px solid var(--border-dark); background: rgba(255,255,255,.02); }
.btn--ghost:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.06); }
.btn .icon--arrow { transition: transform .2s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }

/* ---------- 滚动淡入 ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.reduce-motion [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ---------- 导航 ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  color: var(--on-dark);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.nav.is-scrolled {
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  color: var(--heading);
  box-shadow: 0 1px 0 var(--border), 0 6px 20px rgba(14,23,38,.05);
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: inherit; }
.logo__mark {
  width: 32px; height: 32px; border-radius: 9px; overflow: hidden; flex: none;
  display: grid; place-items: center; background: var(--accent);
}
.logo__mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.logo__name { color: inherit; }

.nav__links { display: none; gap: 30px; }
.nav__links a { color: inherit; opacity: .82; font-size: 15px; transition: opacity .2s; }
.nav__links a:hover { opacity: 1; }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__toggle { display: inline-grid; place-items: center; width: 40px; height: 40px; color: inherit; }
.nav__toggle .icon { width: 24px; height: 24px; }

.nav__sheet { display: none; }
.nav.is-open .nav__sheet {
  display: flex; flex-direction: column; gap: 4px;
  padding: 8px 20px 18px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.nav__sheet a { color: var(--heading); padding: 12px 4px; font-weight: 500; border-bottom: 1px solid var(--border); }
.nav__sheet .btn { margin-top: 12px; }
.nav.is-open { background: rgba(255,255,255,.92); color: var(--heading); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

/* ---------- Hero（极光背景） ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); isolation: isolate; }
.hero__inner { position: relative; z-index: 2; display: grid; gap: 40px; padding-top: 116px; padding-bottom: 64px; }

.aurora { position: absolute; inset: 0; z-index: 0; }
/* 梦幻流动光团：各自沿环形路径缓慢漂移 + 明暗呼吸，0%/100% 同帧 → 无缝循环 */
.aurora__blob { position: absolute; border-radius: 50%; opacity: .5; mix-blend-mode: screen; will-change: transform, opacity; }
.aurora__blob--1 { width: 480px; height: 480px; top: -140px; left: -70px; filter: blur(74px);
  background: radial-gradient(circle at 50% 50%, var(--accent) 0%, rgba(22,184,166,0) 70%); animation: drift1 14s ease-in-out infinite; }
.aurora__blob--2 { width: 560px; height: 560px; top: -90px; right: -150px; filter: blur(80px);
  background: radial-gradient(circle at 50% 50%, var(--accent-blue) 0%, rgba(47,107,255,0) 70%); animation: drift2 18s ease-in-out infinite; }
.aurora__blob--3 { width: 500px; height: 500px; bottom: -210px; left: 26%; filter: blur(76px);
  background: radial-gradient(circle at 50% 50%, var(--accent-deep) 0%, rgba(14,155,140,0) 70%); animation: drift3 16s ease-in-out infinite; }
.aurora__blob--4 { width: 380px; height: 380px; top: 24%; left: 40%; filter: blur(88px); opacity: .4;
  background: radial-gradient(circle at 50% 50%, #3FE0CE 0%, rgba(63,224,206,0) 70%); animation: drift4 12s ease-in-out infinite; }
.aurora__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero::after { /* 底部融入，衔接下一区块 */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 1;
  background: linear-gradient(transparent, rgba(14,23,38,.6));
}
@keyframes drift1 {
  0%, 100% { transform: translate(0,0) scale(1); opacity: .5; }
  33%      { transform: translate(70px,55px) scale(1.18); opacity: .64; }
  66%      { transform: translate(-30px,90px) scale(1.06); opacity: .44; }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0,0) scale(1.04); opacity: .42; }
  30%      { transform: translate(-80px,45px) scale(1.16); opacity: .54; }
  60%      { transform: translate(-20px,110px) scale(.94); opacity: .34; }
}
@keyframes drift3 {
  0%, 100% { transform: translate(0,0) scale(1); opacity: .5; }
  40%      { transform: translate(60px,-55px) scale(1.2); opacity: .62; }
  70%      { transform: translate(95px,25px) scale(1.08); opacity: .4; }
}
@keyframes drift4 {
  0%, 100% { transform: translate(0,0) scale(1); opacity: .35; }
  50%      { transform: translate(-45px,-35px) scale(1.28); opacity: .52; }
}
.reduce-motion .aurora__blob { animation: none !important; }

.grad-text {
  display: inline-block; font-size: 0.82em;
  background: linear-gradient(100deg, #fff 0%, var(--accent) 60%, #5fe3d3 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__title { font-size: clamp(34px, 9vw, 56px); font-weight: 800; letter-spacing: -.01em; margin-top: 22px; color: #fff; }
.hero__sub { margin-top: 18px; font-size: clamp(15px, 2.4vw, 18px); color: var(--on-dark-soft); max-width: 30em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__reassure { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; color: var(--on-dark-soft); }
.hero__reassure .icon { width: 16px; height: 16px; color: var(--accent); }

.stats { display: flex; flex-wrap: wrap; gap: 26px 34px; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--border-dark); }
.stat__num { font-size: 30px; font-weight: 800; color: #fff; line-height: 1; }
.stat__label { font-size: 13px; color: var(--on-dark-soft); margin-top: 6px; }

/* Hero 设备样机 */
.hero__device { display: none; position: relative; justify-self: center; }
.device {
  width: 280px; border-radius: 30px; background: #fff; padding: 10px 0 0;
  box-shadow: var(--shadow-pop), 0 0 0 1px rgba(255,255,255,.06);
  overflow: hidden; transition: transform .3s var(--ease);
}
.device__notch { width: 96px; height: 6px; border-radius: 999px; background: #E2E7EF; margin: 0 auto 8px; }
.device__screen { padding: 0 0 12px; }
.appbar { padding: 18px 16px 16px; background: linear-gradient(125deg, var(--ink) 0%, var(--accent) 130%); color: #fff; display: flex; flex-direction: column; gap: 5px; }
.appbar__eyebrow { font-size: 12px; color: rgba(255,255,255,.78); }
.appbar__title { font-size: 19px; font-weight: 700; }
.appbody { padding: 14px; display: flex; flex-direction: column; gap: 11px; }
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.app-tile { background: var(--bg-soft); border-radius: 12px; padding: 14px 8px; display: flex; flex-direction: column; align-items: center; gap: 7px; color: var(--heading); font-size: 12px; font-weight: 500; }
.app-tile .icon { width: 22px; height: 22px; color: var(--accent-deep); }
.app-row { display: flex; align-items: center; gap: 10px; }
.app-row__ic { width: 36px; height: 36px; border-radius: 9px; background: var(--bg-soft); display: grid; place-items: center; flex: none; }
.app-row__ic .icon { width: 18px; height: 18px; color: var(--accent-deep); }
.app-row__t { display: flex; flex-direction: column; line-height: 1.35; }
.app-row__t b { font-size: 13px; color: var(--heading); }
.app-row__t i { font-size: 11px; color: var(--text); font-style: normal; }
.app-build { display: flex; align-items: center; gap: 9px; padding: 9px 11px; background: var(--accent-tint); border-radius: 10px; }
.app-build__bar { flex: 1; height: 5px; border-radius: 999px; background: rgba(14,155,140,.18); overflow: hidden; }
.app-build__bar i { display: block; height: 100%; width: 40%; border-radius: 999px; background: var(--accent-deep); animation: build 2.6s var(--ease) infinite; }
.app-build__txt { font-size: 11px; color: var(--accent-deep); font-weight: 600; white-space: nowrap; }
@keyframes build { 0% { width: 8%; } 60% { width: 86%; } 100% { width: 8%; } }
.reduce-motion .app-build__bar i { animation: none; width: 72%; }
.app-cta { margin: 2px 14px 0; height: 44px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 600; display: grid; place-items: center; }
.device__badge {
  position: absolute; top: 26px; right: -10px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; background: #fff; color: var(--heading); font-size: 13px; font-weight: 600;
  border-radius: var(--r-pill); box-shadow: 0 10px 24px rgba(14,23,38,.18);
  animation: bob 4s ease-in-out infinite;
}
.device__badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.reduce-motion .device__badge { animation: none; }

/* ---------- 卡片通用 ---------- */
.card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--shadow-card); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.card__title { font-size: 20px; font-weight: 600; }
.card__desc { margin-top: 10px; font-size: 14px; }

/* ---------- 服务 ---------- */
.service { padding: 26px; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.service__ic { width: 64px; height: 64px; border-radius: 18px;
  background: linear-gradient(145deg, #ECF9F6 0%, #D6F0EB 100%);
  box-shadow: inset 0 0 0 1px rgba(22,184,166,.18);
  display: grid; place-items: center; margin-bottom: 18px;
  transition: transform .28s var(--ease), background .28s var(--ease), box-shadow .28s var(--ease); }
.service__ic .icon { width: 32px; height: 32px; color: var(--accent-deep); stroke-width: 1.7; transition: color .28s var(--ease); }
.service:hover .service__ic { background: linear-gradient(145deg, var(--accent) 0%, var(--accent-deep) 100%); box-shadow: 0 12px 24px rgba(22,184,166,.32); transform: translateY(-3px); }
.service:hover .service__ic .icon { color: #fff; }

/* ---------- 价格 ---------- */
.pricing { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: stretch; }
.price { position: relative; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--shadow-card); padding: 28px; display: flex; flex-direction: column; }
/* 三档平行展示，无主次之分；「推荐」仅作角标信息，不改变卡片层级、不暗示可选中 */
.price__badge { position: absolute; top: 18px; right: 18px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: var(--r-pill); background: var(--accent-tint); color: var(--accent-deep); font-size: 11px; font-weight: 700; }
.price__badge .icon { width: 13px; height: 13px; }
.price__tier { font-size: 19px; }
.price__amount { display: flex; align-items: baseline; gap: 6px; margin-top: 10px; }
.price__amount b { font-size: 36px; font-weight: 800; color: var(--heading); }
.price__amount span { font-size: 15px; color: var(--text); }
.price__tag { margin-top: 8px; font-size: 14px; }
.price__list { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.price__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.price__list .icon { width: 18px; height: 18px; color: var(--accent-deep); margin-top: 1px; }
.price__cta { margin-top: 22px; width: 100%; }
.price__note { text-align: center; margin-top: 18px; font-size: 13px; color: var(--text); }

/* ---------- 为什么选我 ---------- */
.why__item { padding: 4px 0; }
.why__ic { width: 76px; height: 76px; border-radius: 22px;
  background: linear-gradient(150deg, #1B2C42 0%, var(--ink) 100%);
  box-shadow: 0 16px 30px rgba(14,23,38,.20), inset 0 1px 0 rgba(255,255,255,.07);
  display: grid; place-items: center; margin-bottom: 20px; }
.why__ic .icon { width: 36px; height: 36px; color: var(--accent); stroke-width: 1.75; }
.why__title { font-size: 20px; }
.why__desc { margin-top: 10px; font-size: 15px; }

/* ---------- 合作流程 ---------- */
.flow { display: grid; grid-template-columns: 1fr; gap: 22px; counter-reset: step; }
.flow__step { position: relative; padding-left: 60px; }
.flow__num { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 17px; }
.flow__title { font-size: 17px; font-weight: 600; }
.flow__desc { margin-top: 5px; font-size: 14px; }

/* ---------- 案例 ---------- */
.case { display: flex; flex-direction: column; overflow: hidden; width: 100%; padding: 0; text-align: left; color: inherit; font: inherit; -webkit-appearance: none; appearance: none; }
button.case { cursor: pointer; }
/* 按截图原始比例完整显示，不裁切（界面正常） */
.case__media { position: relative; background: var(--bg-soft); }
.case__media img { width: 100%; height: auto; display: block; }
.case__ph { display: inline-flex; align-items: center; gap: 8px; color: #94A3B5; font-size: 12px; }
.case__ph .icon { width: 22px; height: 22px; color: #AEB9C7; }
.case__cap { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; }
.case__txt { display: flex; flex-direction: column; line-height: 1.4; }
.case__txt b { font-size: 16px; color: var(--heading); }
.case__txt i { font-size: 13px; color: var(--text); font-style: normal; }
.case__ur { width: 20px; height: 20px; color: var(--accent); }
/* 仅有兽卡可点 */
.case--link { border-color: var(--accent); }
.case--link .case__txt i { color: var(--accent-deep); font-weight: 600; }
.case__tag { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: var(--r-pill); background: rgba(14,23,38,.82); color: #fff; font-size: 12px; }
.case__tag .icon { width: 14px; height: 14px; }
.case--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

/* ---------- 联系 ---------- */
.contact { max-width: 800px; margin-inline: auto; display: flex; flex-direction: column; gap: 18px; }
.contact__card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; padding: 28px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--r-card); }
.qr { width: 168px; height: 168px; border-radius: 12px; background: #fff; border: 1px solid var(--border); display: grid; place-items: center; gap: 8px; flex: none; }
.qr img { width: 100%; height: 100%; object-fit: contain; border-radius: 12px; }
.qr__ic { width: 52px; height: 52px; color: #94A3B5; }
.qr__label { font-size: 12px; color: #94A3B5; }
.contact__info { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.contact__h { font-size: 20px; }
.contact__p { font-size: 14px; }
.wxrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.wxrow--center { justify-content: center; }
.chip { padding: 11px 16px; border-radius: var(--r-btn); background: #fff; border: 1px solid var(--border); font-size: 16px; font-weight: 600; color: var(--heading); }
.contact__mail { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.contact__mail .icon { width: 16px; height: 16px; }
.tip { display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px; border-radius: var(--r-card); background: #FBF7EC; border: 1px solid #EFE6CE; }
.tip .icon { width: 20px; height: 20px; color: #C99A2E; flex: none; margin-top: 1px; }
.tip p { font-size: 14px; line-height: 1.55; }

/* ---------- 页脚 ---------- */
.footer { background: var(--ink); color: var(--on-dark); padding-block: 36px; }
.footer__inner { display: flex; flex-direction: column; gap: 22px; }
.logo--dark .logo__mark { background: var(--accent); color: var(--ink); }
.logo--dark .logo__name { color: #fff; }
.footer__copy { margin-top: 12px; font-size: 13px; color: var(--on-dark-soft); }
.footer__icp { font-size: 12px; color: var(--on-dark-soft); margin-top: 4px; }
.footer__right { display: flex; flex-direction: column; gap: 14px; }
.footer__links { display: flex; gap: 24px; }
.footer__links a { font-size: 14px; color: var(--on-dark-soft); transition: color .2s; }
.footer__links a:hover { color: #fff; }
.footer__cta { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; color: var(--accent); font-weight: 600; font-size: 14px; }
.footer__cta .icon { width: 15px; height: 15px; }

/* ---------- 移动端吸底 CTA ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border); box-shadow: 0 -6px 20px rgba(14,23,38,.08);
  transform: translateY(120%); transition: transform .3s var(--ease);
}
.dock.is-visible { transform: none; }
.dock__btn { width: 100%; border-radius: var(--r-pill); }

/* ---------- 二维码弹层 ---------- */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal__scrim { position: absolute; inset: 0; background: rgba(14,23,38,.62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; transition: opacity .25s var(--ease); }
.modal__card { position: relative; width: 100%; max-width: 340px; background: #fff; border-radius: var(--r-card); padding: 28px; text-align: center; box-shadow: var(--shadow-pop); display: flex; flex-direction: column; align-items: center; gap: 14px; transform: translateY(16px) scale(.96); opacity: 0; transition: transform .28s var(--ease), opacity .28s var(--ease); }
.modal.is-open .modal__scrim { opacity: 1; }
.modal.is-open .modal__card { transform: none; opacity: 1; }
.modal__close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; color: var(--text); transition: background-color .2s; }
.modal__close:hover { background: var(--border); }
.modal__close .icon { width: 18px; height: 18px; }
.qr--lg { width: 180px; height: 180px; }
.modal__title { font-size: 18px; margin-top: 4px; }
.modal__hint { font-size: 13px; color: var(--text); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 88px; z-index: 130;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: var(--r-pill);
  background: rgba(14,23,38,.95); color: #fff; font-size: 14px;
  box-shadow: 0 8px 24px rgba(14,23,38,.3);
  transform: translate(-50%, 14px); opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.toast[hidden] { display: inline-flex; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast .icon { width: 17px; height: 17px; color: var(--accent); }

/* =========================================================================
   响应式（移动优先 → 平板 → 桌面）
   ========================================================================= */
@media (min-width: 600px) {
  .grid--4 { grid-template-columns: 1fr 1fr; }
  .contact__card { flex-direction: row; text-align: left; gap: 28px; }
  .contact__info { align-items: flex-start; }
  .wxrow { justify-content: flex-start; }
}

@media (min-width: 768px) {
  :root { --pad-section: 84px; }
  .container { padding-inline: 32px; }
  .nav__links { display: flex; }
  .nav__toggle { display: none; }
  .nav.is-open .nav__sheet { display: none; }
  .dock { display: none; }

  .hero__inner { grid-template-columns: 1.1fr .9fr; align-items: center; padding-top: 132px; padding-bottom: 88px; }
  .hero__device { display: block; }
  .stats { gap: 30px 46px; }
  .stat__num { font-size: 34px; }

  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .pricing { grid-template-columns: repeat(3, 1fr); align-items: stretch; }

  .flow { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .flow__step { padding-left: 0; padding-top: 60px; }
  .flow__num { left: 0; }
  .flow__step::before { content: ""; position: absolute; left: 52px; top: 21px; right: -24px; height: 2px; background: var(--border); }
  .flow__step:last-child::before { display: none; }

  .footer__inner { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .footer__right { align-items: flex-end; }
}

@media (min-width: 1024px) {
  :root { --pad-section: 96px; }
  .section-head { margin-bottom: 44px; }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .grid--3 { gap: 40px; }
  .pricing { gap: 24px; }
  .hero__title { margin-top: 24px; }
}
