/* ================= 基础 ================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #1e50e5;
  --primary-dark: #163db8;
  --primary-light: #eef2ff;
  --danger: #e60012;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --bg-soft: #f8fafc;
  --radius: 14px;
}
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ================= 按钮 ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 10px; cursor: pointer; font-weight: 600;
  transition: all .2s ease; text-align: center; white-space: nowrap;
}
.btn--sm { padding: 8px 20px; font-size: 14px; }
.btn--lg { padding: 13px 42px; font-size: 16px; }
.btn--block { width: 100%; padding: 12px; font-size: 15px; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); }
.btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.6); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn--outline:hover { background: var(--primary-light); }

/* ================= 顶部导航 ================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: all .25s ease;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__logo { width: 38px; height: 38px; border-radius: 10px; object-fit: contain; }
.brand__name { font-size: 20px; font-weight: 700; letter-spacing: .5px; }
.brand__accent { color: var(--primary); }
.nav__menu { display: flex; align-items: center; gap: 30px; }
.nav__link { color: var(--text); font-size: 15px; font-weight: 500; transition: color .2s; position: relative; }
.nav__link:hover { color: var(--primary); }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 2px;
  background: var(--primary); border-radius: 2px; transition: width .2s;
}
.nav__link:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text); }

/* ================= Hero ================= */
.hero { position: relative; padding: 140px 0 90px; overflow: hidden; background: #fff; }
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background: #f6f8ff;
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero__eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--primary); background: var(--primary-light); padding: 6px 14px; border-radius: 20px; margin-bottom: 20px;
}
.hero__hot {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--primary);
  background: #fff; border: 1px solid #dbe3fb; border-radius: 20px;
  padding: 5px 14px 5px 6px; margin-bottom: 16px; box-shadow: 0 2px 8px rgba(30,80,229,.08);
}
.hero__hot-dot {
  background: linear-gradient(135deg, #e11d48, #f59e0b); color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: .5px;
  padding: 3px 8px; border-radius: 14px;
}
.hero__title { font-size: 46px; line-height: 1.2; font-weight: 800; letter-spacing: -1px; margin-bottom: 20px; }
.hero__gradient { color: var(--primary); }
.hero__subtitle { font-size: 17px; color: var(--text-muted); max-width: 520px; margin-bottom: 34px; }
.hero__subtitle b { color: var(--text); }
.hero__cta { display: flex; gap: 14px; margin-bottom: 52px; }
.hero__metrics { display: flex; gap: 40px; border-top: 1px solid var(--border); padding-top: 28px; }
.metric { display: flex; flex-direction: column; }
.metric strong { font-size: 26px; font-weight: 800; color: var(--text); }
.metric span { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* Hero 可视化窗口 */
.hero__visual { position: relative; }
.window {
  background: #fff; border-radius: 18px;
  border: 1px solid var(--border); overflow: hidden;
}
.window__bar {
  display: flex; align-items: center; gap: 8px; padding: 12px 16px;
  background: #f1f5f9; border-bottom: 1px solid var(--border);
}
.window__dot { width: 11px; height: 11px; border-radius: 50%; }
.window__dot--red { background: #ff5f57; }
.window__dot--yellow { background: #febc2e; }
.window__dot--green { background: #28c840; }
.window__title { margin-left: 10px; font-size: 12px; color: var(--text-muted); }
.window__body { display: flex; min-height: 320px; }
.dash-side { width: 130px; background: #0f1b3d; padding: 18px 12px; }
.dash-side__item {
  display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.6);
  font-size: 12px; padding: 9px 10px; border-radius: 8px; margin-bottom: 4px;
}
.dash-side__item span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.35); }
.dash-side__item--active { background: rgba(30,80,229,.35); color: #fff; }
.dash-side__item--active span { background: #fff; }
.dash-main { flex: 1; padding: 18px; background: #f8fafc; display: flex; flex-direction: column; gap: 16px; }
.dash-card { background: #fff; border-radius: 12px; border: 1px solid var(--border); padding: 16px; }
.dash-card--row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat__label { font-size: 11px; color: var(--text-muted); }
.stat__value { font-size: 18px; font-weight: 700; margin: 4px 0 2px; }
.stat__trend { font-size: 11px; color: var(--text-muted); }
.stat__trend.up { color: #16a34a; }
.color-warn { color: #f59e0b; }
.color-info { color: var(--primary); }
.dash-card--chart { padding: 14px 16px; flex: 1; }
.chart-bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; }
.bar { flex: 1; border-radius: 4px 4px 0 0; background: var(--primary); opacity: .9; }
.hero__float-card {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 12px;
  padding: 12px 16px; border: 1px solid var(--border); animation: float 5s ease-in-out infinite;
}
.hero__float-card--1 { top: 20px; left: -34px; }
.hero__float-card--2 { bottom: -18px; right: -20px; animation-delay: 1.6s; }
.fc__icon {
  width: 36px; height: 36px; border-radius: 10px; background: #16a34a; color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.fc__icon--blue { background: var(--primary); }
.hero__float-card b { display: block; font-size: 13px; }
.hero__float-card span { font-size: 11px; color: var(--text-muted); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ================= 智能盘点硬件（独立硬件模块） ================= */
.rfid {
  background: radial-gradient(1200px 480px at 15% 0%, rgba(30,80,229,.28), transparent 60%),
              radial-gradient(1000px 420px at 90% 100%, rgba(22,163,74,.18), transparent 55%),
              #0f1b3d;
  color: #fff;
}
.rfid .section__tag { background: rgba(255,255,255,.12); color: #bfd0ff; }
.rfid .section__title { color: #fff; }
.rfid .section__sub { color: #94a3b8; }
.rfid__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.rfid-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; color: var(--text); border-radius: 18px; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.rfid-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.rfid-card__img {
  height: 210px; position: relative; overflow: hidden;
}
.rfid-card__img img {
  position: absolute; inset: -12px;
  width: calc(100% + 24px); height: calc(100% + 24px);
  object-fit: cover;
  animation: rfidFloat 4s ease-in-out infinite;
}
.rfid-card:nth-child(2) .rfid-card__img img { animation-delay: 1.4s; }
@keyframes rfidFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.rfid-card__tag {
  position: absolute; top: 14px; left: 16px; z-index: 1;
  background: var(--primary); color: #fff; font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 14px;
}
.rfid-card__body { padding: 24px 26px 28px; }
.rfid-card h3 { font-size: 20px; margin: 0 0 8px; }
.rfid-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.rfid-card__list { list-style: none; margin: 16px 0 22px; }
.rfid-card__list li {
  position: relative; padding: 7px 0 7px 26px; font-size: 14px; color: var(--text);
  border-bottom: 1px dashed var(--border);
}
.rfid-card__list li:last-child { border-bottom: none; }
.rfid-card__list li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

/* ================= Section 通用 ================= */
.section { padding: 96px 0; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section__tag {
  display: inline-block; font-size: 13px; font-weight: 600; color: var(--primary);
  background: var(--primary-light); padding: 6px 14px; border-radius: 20px; margin-bottom: 16px;
}
.section__title { font-size: 34px; font-weight: 800; letter-spacing: -.5px; margin-bottom: 16px; }
.section__sub { font-size: 16px; color: var(--text-muted); }

/* ================= 产品概览 ================= */
.overview { background: var(--bg-soft); }
.overview__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ov-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 30px; transition: transform .25s, border-color .25s;
}
.ov-card:hover { transform: translateY(-4px); border-color: #c7d2fe; }
.ov-card__num { font-size: 40px; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 14px; }
.ov-card h3 { font-size: 18px; margin-bottom: 8px; }
.ov-card p { font-size: 14px; color: var(--text-muted); }

/* ================= 六大业务域 ================= */
.product__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.p-card {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 28px;
  transition: transform .25s, border-color .25s; background: #fff;
}
.p-card:hover { transform: translateY(-4px); border-color: #c7d2fe; }
.p-card__icon {
  width: 48px; height: 48px; border-radius: 12px; color: #fff; font-size: 20px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px; font-weight: 700;
}
.p-card__icon--blue { background: #1e50e5; }
.p-card__icon--green { background: #16a34a; }
.p-card__icon--orange { background: #f59e0b; }
.p-card__icon--purple { background: #7c3aed; }
.p-card__icon--cyan { background: #0891b2; }
.p-card__icon--red { background: #e11d48; }
.p-card h3 { font-size: 18px; margin-bottom: 8px; }
.p-card p { font-size: 14px; color: var(--text-muted); }

/* ================= 核心优势 ================= */
.features { background: var(--bg-soft); }
.feature__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.f-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); padding: 28px; transition: transform .25s, border-color .25s; }
.f-card:hover { transform: translateY(-3px); border-color: #c7d2fe; }
.f-card__icon { font-size: 26px; margin-bottom: 14px; }
.f-card h3 { font-size: 17px; margin-bottom: 6px; }
.f-card p { font-size: 14px; color: var(--text-muted); }

/* ================= 价格方案 ================= */
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.price-card {
  position: relative; background: #fff; border: 1.5px solid var(--border); border-radius: 18px;
  padding: 34px 30px; display: flex; flex-direction: column; transition: transform .25s, border-color .25s;
}
.price-card:hover { transform: translateY(-4px); border-color: #b6c2f7; }
.price-card--hot { border-color: var(--primary); }
.price-card--hot:hover { border-color: var(--primary); }
.price-card__tag {
  position: absolute; top: -13px; left: 30px; font-size: 12px; font-weight: 700;
  background: var(--border); color: var(--text-muted); padding: 4px 14px; border-radius: 20px;
}
.price-card__tag--hot { background: var(--primary); color: #fff; }
.price-card__name { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.price-card__amount { font-size: 44px; font-weight: 800; letter-spacing: -1px; margin-bottom: 22px; color: var(--primary); }
.price-card__cur { font-size: 22px; font-weight: 700; vertical-align: 8px; margin-right: 2px; }
.price-card__orig { font-size: 20px; font-weight: 600; color: var(--danger); text-decoration: line-through; margin-right: 10px; vertical-align: 8px; }
.price-card__unit { font-size: 14px; font-weight: 500; color: var(--text-muted); }
.price-card__list { list-style: none; margin-bottom: 28px; flex: 1; }
.price-card__list li {
  position: relative; padding: 8px 0 8px 26px; font-size: 14px; color: var(--text);
  border-bottom: 1px dashed var(--border);
}
.price-card__list li:last-child { border-bottom: none; }
.price-card__list li::before {
  content: "✓"; position: absolute; left: 0; top: 8px; color: var(--primary); font-weight: 700;
}
/* 在线购买流程 - 扁平简约 */
.flow { margin-top: 44px; }
.flow__head { text-align: center; margin-bottom: 28px; }
.flow__title { font-size: 17px; font-weight: 700; color: var(--text); }
.flow__sub { font-size: 13px; color: var(--text-muted); margin-top: 6px; }
.flow__steps {
  list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px 8px;
}
.flow__step { position: relative; text-align: center; }
.flow__step:not(:last-child)::after {
  content: ""; position: absolute; top: 19px; left: calc(50% + 27px);
  width: 22px; height: 1px; background: var(--border);
}
.flow__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--primary-light); color: var(--primary);
  font-size: 13px; font-weight: 700; font-style: normal;
}
.flow__text { margin-top: 12px; }
.flow__text b { display: block; font-size: 14px; color: var(--text); }
.flow__text p { font-size: 12px; color: var(--text-muted); margin-top: 4px; line-height: 1.5; }

/* ================= APP 下载 ================= */
.app { background: #fff; position: relative; overflow: hidden; }
.app__layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.app__intro { display: flex; flex-direction: column; gap: 32px; }
/* 手机模型 */
.phone {
  width: 230px; margin: 0 auto; border-radius: 38px; background: #0f1b3d;
  padding: 9px;
}
.phone__screen { border-radius: 28px; overflow: hidden; background: #eef2ff; }
.phone__statusbar { display: flex; justify-content: space-between; padding: 12px 16px 6px; font-size: 11px; color: #334155; }
.phone__apphead { display: flex; align-items: center; gap: 8px; padding: 6px 16px 10px; }
.phone__logo { width: 22px; height: 22px; border-radius: 6px; background: var(--primary); }
.phone__apphead span { font-size: 13px; font-weight: 700; }
.phone__cards { display: grid; gap: 8px; padding: 4px 12px 12px; }
.phone__card {
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  padding: 10px 12px;
}
.pc__label { font-size: 10px; color: var(--text-muted); }
.pc__val { font-size: 16px; font-weight: 700; }
.pc__green .pc__val { color: #16a34a; }
.pc__orange .pc__val { color: #f59e0b; }
.phone__menu { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 2px 12px 16px; }
.phone__menu-item {
  text-align: center; font-size: 10px; background: #fff; border: 1px solid var(--border);
  border-radius: 8px; padding: 7px 0; color: #334155;
}
/* App 卖点列表 */
.app__feature-list h3 { font-size: 20px; margin-bottom: 14px; }
.app__feature-list ul { list-style: none; }
.app__feature-list li {
  position: relative; padding: 8px 0 8px 26px; color: var(--text-muted); font-size: 14.5px;
}
.app__feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
/* 下载卡片 */
.app__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.app-card {
  display: flex; gap: 16px; align-items: center; border: 1px solid var(--border);
  border-radius: 16px; padding: 20px; background: #fff; transition: transform .25s, border-color .25s;
}
.app-card:hover { transform: translateY(-4px); border-color: #c7d2fe; }
.app-card--soon { opacity: .8; background: var(--bg-soft); }
.app-card--soon:hover { transform: none; box-shadow: none; border-color: var(--border); }
.app-card__badge {
  width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0; font-size: 20px; font-weight: 700;
}
.app-card__badge--ios { background: #0f1b3d; }
.app-card__badge--android { background: #3ddc84; color: #0f1b3d; }
.app-card__badge--harmony { background: #1e50e5; }
.app-card__badge--miniapp { background: #07c160; }
.app-card__info { flex: 1; min-width: 0; }
.app-card__info h3 { font-size: 16px; margin-bottom: 2px; }
.app-card__info p { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.app-card__btn { padding: 6px 14px; font-size: 12.5px; }
.btn--ghost-dark { background: #e2e8f0; color: #94a3b8; cursor: not-allowed; border: none; }
.soon-tag {
  display: inline-block; font-size: 10px; font-weight: 600; color: #b45309; background: #fef3c7;
  border-radius: 10px; padding: 1px 8px; vertical-align: middle; margin-left: 4px;
}
.app-card__qr {
  display: grid; grid-template-columns: repeat(5, 7px); grid-auto-rows: 7px; gap: 2px; flex-shrink: 0;
}
.app-card__qr i { width: 7px; height: 7px; background: #0f172a; border-radius: 1px; }
.app-card__qr i.off { background: transparent; }
.app-card__qr em {
  font-style: normal; font-size: 10px; color: var(--text-muted); grid-column: 1 / -1; text-align: center; margin-top: 3px;
}
.app-card--soon .app-card__qr em { color: #b45309; }
/* 自动不规律浮动：平台图标各自以不同节奏、不同方向的漂移浮动 */
@keyframes floatDrift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  20% { transform: translate(2px, -7px) rotate(2deg); }
  40% { transform: translate(-3px, -11px) rotate(-2deg); }
  60% { transform: translate(3px, -5px) rotate(1.5deg); }
  80% { transform: translate(-2px, -9px) rotate(-1deg); }
}
.app-card__badge { animation: floatDrift 6s ease-in-out infinite; }
.app-card[data-dl="android"] .app-card__badge { animation-duration: 7.4s; animation-delay: -1.2s; }
.app-card[data-dl="harmony"] .app-card__badge { animation-duration: 5.6s; animation-delay: -2.4s; }
.app-card--soon .app-card__badge { animation: none; }
/* 手机模型缓慢自动漂移 */
@keyframes floatPhone {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  30% { transform: translate(3px, -6px) rotate(.6deg); }
  65% { transform: translate(-4px, -10px) rotate(-.5deg); }
}
.phone { animation: floatPhone 9s ease-in-out infinite; }

/* ================= 联系我们 ================= */
.contact { background: #f6f8ff; }
.contact__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.c-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; text-align: center; }
.c-card__icon { font-size: 30px; margin-bottom: 12px; }
.c-card h3 { font-size: 16px; margin-bottom: 6px; }
.c-card p { font-size: 15px; color: var(--text-muted); }

/* ================= 页脚 ================= */
.footer { background: #0f1b3d; color: #94a3b8; padding: 40px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__icp {
  margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(148, 163, 184, .16);
  display: flex; justify-content: center; gap: 22px; flex-wrap: wrap;
  font-size: 12.5px; color: #64748b;
}
.footer__icp a { color: #64748b; transition: color .2s; }
.footer__icp a:hover { color: #fff; }
.footer__brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 18px; }
.footer__logo { width: 32px; height: 32px; border-radius: 8px; }
.footer__text { font-size: 13px; }

/* ================= 弹窗 ================= */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(15,23,42,.55); backdrop-filter: blur(4px); }
.modal__panel {
  position: relative; background: #fff; border-radius: 18px; border: 1px solid var(--border);
  width: 100%; max-width: 520px; max-height: 90vh; overflow: hidden; display: flex; flex-direction: column;
  animation: pop .25s ease;
}
@keyframes pop { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal__close {
  position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%;
  border: none; background: #f1f5f9; color: var(--text-muted); font-size: 14px; cursor: pointer; z-index: 3;
  transition: background .2s;
}
.modal__close:hover { background: #e2e8f0; }
.modal__body { overflow-y: auto; padding: 34px 32px; }

/* 购买步骤 */
.steps { display: flex; gap: 8px; margin-bottom: 28px; }
.step {
  flex: 1; height: 6px; border-radius: 4px; background: var(--border); transition: background .3s;
}
.step.active { background: var(--primary); }
.form__title { font-size: 21px; font-weight: 800; margin-bottom: 6px; }
.form__sub { font-size: 13.5px; color: var(--text-muted); margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; }
.field input, .field select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 10px;
  font-size: 15px; outline: none; transition: border-color .2s, box-shadow .2s; background: #fff;
}
.field input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30,80,229,.12); }
.field .err { font-size: 12px; color: #dc2626; margin-top: 5px; display: none; }
.field.error input { border-color: #dc2626; }
.field.error .err { display: block; }
.field__hint { font-size: 12px; color: var(--text-muted); margin-top: 6px; }
/* 数量步进器 */
.qty { display: flex; align-items: center; gap: 10px; }
.qty input {
  width: 72px; text-align: center; font-weight: 700; font-size: 16px;
  padding: 10px 8px; border: 1.5px solid var(--border); border-radius: 10px; outline: none;
}
.qty input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30,80,229,.12); }
.qty__btn {
  width: 40px; height: 40px; border-radius: 10px; border: 1.5px solid var(--border);
  background: #fff; color: var(--text); font-size: 18px; cursor: pointer; transition: all .2s;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}
.qty__btn:hover { border-color: var(--primary); color: var(--primary); }
/* 方案选择 */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.plan-opt {
  border: 1.5px solid var(--border); border-radius: 10px; padding: 12px 10px; text-align: center;
  cursor: pointer; transition: all .2s;
}
.plan-opt:hover { border-color: #c7d2fe; }
.plan-opt.selected { border-color: var(--primary); background: var(--primary-light); box-shadow: 0 0 0 3px rgba(30,80,229,.1); }
.plan-opt .plan__y { font-weight: 700; font-size: 14px; }
.plan-opt .plan__p { font-size: 12px; color: var(--primary); margin-top: 2px; }
.plan-opt.selected .plan__p { color: var(--primary); font-weight: 600; }
.plan-opt .plan__p s { font-size: 11px; color: var(--danger); margin-right: 6px; }
/* 支付方式 */
.channels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 20px; }
.channel {
  display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--border);
  border-radius: 12px; padding: 14px 16px; cursor: pointer; transition: all .2s;
}
.channel:hover { border-color: #c7d2fe; }
.channel.selected { border-color: var(--primary); background: var(--primary-light); }
.channel__icon {
  width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.channel__icon--wechat { background: #07c160; }
.channel__icon--alipay { background: #1677ff; }
.channel__icon--transfer { background: #b45309; }
.channel__name { font-size: 15px; font-weight: 600; }
.channel__desc { font-size: 12px; color: var(--text-muted); }
.form__total { display: flex; justify-content: space-between; align-items: center; background: var(--bg-soft); border-radius: 10px; padding: 14px 16px; margin-bottom: 20px; }
.form__total .t-label { font-size: 13.5px; color: var(--text-muted); }
.form__total .t-price { font-size: 24px; font-weight: 800; color: var(--primary); }
.form__total .t-price s { font-size: 15px; font-weight: 500; color: var(--danger); margin-right: 8px; }

/* 支付中 / 结果 */
.pay-qr { text-align: center; padding: 10px 0; }
.pay-qr__frame {
  width: 190px; height: 190px; margin: 0 auto 18px; border: 1px solid var(--border); border-radius: 14px;
  display: flex; align-items: center; justify-content: center; position: relative; background: #fff;
}
.mock-qr {
  width: 150px; height: 150px; display: grid; grid-template-columns: repeat(5,1fr);
  background: #fff; gap: 2px;
}
.mock-qr i { background: #0f172a; border-radius: 2px; }
.mock-qr i.off { background: transparent; }
.pay-qr__tip { font-size: 13.5px; color: var(--text-muted); margin-bottom: 20px; }
.pay-qr__amount { font-size: 28px; font-weight: 800; margin-bottom: 4px; }
.pay-qr__sub { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.result-box { text-align: center; padding: 10px 0; }
.result-box__icon { font-size: 56px; margin-bottom: 8px; }
.result-box h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.result-box .r-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.login-info { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 14px; padding: 20px; text-align: left; margin-bottom: 24px; }
.login-info h4 { font-size: 14px; font-weight: 700; margin-bottom: 14px; color: var(--text); }
.login-info .li-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--border); font-size: 14px; }
.login-info .li-row:last-child { border-bottom: none; }
.login-info .li-row span { color: var(--text-muted); }
.login-info .li-row b { color: var(--primary); word-break: break-all; }
.copy-btn { background: none; border: 1px solid var(--border); border-radius: 6px; padding: 2px 10px; font-size: 12px; cursor: pointer; color: var(--text-muted); }
.copy-btn:hover { border-color: var(--primary); color: var(--primary); }
.result-warn { background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; border-radius: 10px; padding: 12px 14px; font-size: 13px; margin-bottom: 18px; }

/* 加载 */
.loading { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 40px 0; }
.spinner { width: 40px; height: 40px; border: 4px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading p { font-size: 14px; color: var(--text-muted); }

/* ================= Toast ================= */
.toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: #0f172a; color: #fff; padding: 12px 22px; border-radius: 10px; font-size: 14px;
  opacity: 0; pointer-events: none; transition: all .3s ease; z-index: 300;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ================= 响应式 ================= */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__title { font-size: 36px; }
  .flow__steps { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .flow__step:not(:last-child)::after { display: none; }
  .overview__grid, .product__grid, .feature__grid, .pricing__grid, .contact__grid, .rfid__grid { grid-template-columns: repeat(2, 1fr); }
  .app__layout { grid-template-columns: 1fr; gap: 40px; }
  .hero__float-card--1 { left: -10px; }
  .hero__float-card--2 { right: -6px; }
  .nav__menu {
    position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column;
    padding: 20px 24px; gap: 18px;
    display: none; border-bottom: 1px solid var(--border);
  }
  .nav__menu.open { display: flex; }
  .nav__toggle { display: block; }
}
@media (max-width: 600px) {
  .overview__grid, .product__grid, .feature__grid, .pricing__grid, .contact__grid, .rfid__grid { grid-template-columns: 1fr; }
  .flow__steps { grid-template-columns: 1fr; row-gap: 18px; text-align: left; }
  .flow__step { display: flex; gap: 14px; align-items: flex-start; text-align: left; }
  .flow__text { margin-top: 2px; }
  .app__cards { grid-template-columns: 1fr; }
  .app-card { flex-wrap: wrap; }
  .app-card__qr { margin: 0 auto; }
  .hero__metrics { gap: 24px; flex-wrap: wrap; }
  .section { padding: 72px 0; }
  .section__title { font-size: 28px; }
  .modal__body { padding: 28px 22px; }
}
