/* ==========================================================================
   摊掌柜官网 · 样式表
   配色沿用 App 端主题（ui/theme/Color.kt）：蔬菜绿主色 + 橙色强调 + 高对比浅底。
   全静态：无 web font、无 CDN、无外部请求，页面可直接放进任意静态托管。
   ========================================================================== */

/* ------------------------------------------------------------- 设计变量 */
:root {
  --green-900: #0F3D14;
  --green-800: #1B5E20;
  --green-700: #2E7D32;
  --green-600: #388E3C;
  --green-100: #C8E6C9;
  --green-50:  #E8F5E9;

  --orange-700: #E65100;
  --orange-500: #F57C00;
  --orange-100: #FFE0B2;

  --gray-900: #212121;
  --gray-700: #5F6B5E;
  --gray-400: #B5BDB3;
  --gray-100: #F4F6F3;
  --gray-50:  #FAFBF9;
  --line:     #E3E8E1;

  --white: #fff;
  --ink: #1C241B;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16, 40, 18, .06), 0 2px 8px rgba(16, 40, 18, .05);
  --shadow:    0 10px 30px rgba(16, 40, 18, .10);
  --shadow-lg: 0 26px 60px rgba(16, 40, 18, .16);
  --wrap: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", "WenQuanYi Micro Hei",
          "Helvetica Neue", Arial, sans-serif;
}

/* ------------------------------------------------------------------ 基础 */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }

h1, h2, h3, h4, h5 {
  margin: 0;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -.01em;
}

p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
a { color: inherit; text-decoration: none; }
b, strong { font-weight: 700; }
em { font-style: normal; }

:focus-visible {
  outline: 3px solid var(--orange-500);
  outline-offset: 3px;
  border-radius: 6px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 20px; height: 20px; display: block; flex: none; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}
.wrap--narrow { max-width: 800px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 12px 18px;
  background: var(--green-800);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------- 通用件 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease),
              background-color .16s var(--ease), color .16s var(--ease);
}
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--lg { padding: 15px 30px; font-size: 16px; }

.btn--primary {
  background: var(--green-700);
  color: #fff;
  box-shadow: 0 6px 18px rgba(46, 125, 50, .28);
}
.btn--primary:hover { background: var(--green-800); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(46, 125, 50, .32); }

.btn--ghost {
  background: #fff;
  color: var(--green-800);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--green-600); color: var(--green-700); transform: translateY(-1px); }

.btn.is-disabled,
.btn[aria-disabled="true"] {
  background: #E9ECE7;
  color: #9AA396;
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
}

.pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  color: var(--green-800);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
}
.pill--soft { background: var(--white); }
.pill--onDark {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .22);
  color: var(--green-100);
}

.is-placeholder { opacity: .62; }

/* --------------------------------------------------------------- 导航 */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 66px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.brand__name { font-size: 19px; font-weight: 800; letter-spacing: .04em; color: var(--green-900); }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav__menu a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 15px;
  color: var(--gray-700);
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.nav__menu a:hover { background: var(--green-50); color: var(--green-800); }

.nav__cta { display: flex; align-items: center; gap: 10px; }

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--green-800);
  cursor: pointer;
}

/* --------------------------------------------------------------- Hero */
.hero {
  position: relative;
  padding: 74px 0 90px;
  background:
    radial-gradient(880px 440px at 90% -14%, #DCEDC8 0%, transparent 62%),
    radial-gradient(620px 360px at -8% 6%, var(--green-50) 0%, transparent 70%),
    linear-gradient(180deg, #F3F8F1 0%, #FFFFFF 76%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 56px;
  align-items: center;
}
/* 网格子项默认 min-width:auto，窄屏下会被内容撑破视口，显式归零 */
.hero__inner > * { min-width: 0; }

.hero h1 {
  margin: 20px 0 18px;
  font-size: clamp(34px, 4.4vw, 55px);
  line-height: 1.16;
  letter-spacing: -.02em;
  color: var(--green-900);
}
.hero h1 em { color: var(--green-600); }

.lead {
  max-width: 34em;
  font-size: 17px;
  color: var(--gray-700);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 24px; }

.hero__points { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hero__points li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--gray-700);
}
.hero__points .ico { width: 16px; height: 16px; color: var(--green-600); }

/* ---- 收银台界面模型 ---- */
.hero__visual { position: relative; }

.pos {
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.pos__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #FBFCFA, #F3F6F1);
  border-bottom: 1px solid var(--line);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: #D8DED5; }
.dot:first-child { background: #E8B4AE; }
.dot:nth-child(2) { background: #EFD9A4; }
.dot:nth-child(3) { background: #B9D9B4; }
.pos__title { margin-left: 8px; font-size: 13px; font-weight: 600; color: var(--gray-700); }
.pos__net {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--green-50);
  color: var(--green-700);
  font-size: 11.5px;
  font-weight: 600;
}

.pos__body {
  display: grid;
  grid-template-columns: 1.05fr 1.35fr .95fr;
  gap: 12px;
  padding: 14px;
  background: var(--gray-50);
}
.pos__col {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}
.pos__col--sum { background: linear-gradient(180deg, #F7FBF6, #fff); padding-bottom: 30px; }
.pos__label {
  margin-bottom: 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--gray-400);
}

.goods { display: flex; flex-wrap: wrap; gap: 6px; }
.goods__i {
  padding: 6px 11px;
  border-radius: 8px;
  background: var(--gray-100);
  border: 1px solid transparent;
  font-size: 12.5px;
  color: var(--gray-700);
}
.goods__i.is-on {
  background: var(--green-50);
  border-color: var(--green-100);
  color: var(--green-800);
  font-weight: 600;
}

.cline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 12.5px;
}
.cline:last-child { border-bottom: 0; }
.cline span { color: var(--gray-900); font-weight: 600; }
.cline i { font-style: normal; font-weight: 400; color: var(--gray-400); font-size: 11.5px; }
.cline em { font-style: normal; color: var(--orange-700); font-size: 11.5px; }
.cline b { color: var(--orange-700); font-size: 13.5px; }

.sum__row {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--gray-700);
  padding: 5px 0;
}
.sum__row b { color: var(--gray-900); }
.sum__row--total {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  color: var(--green-900);
}
.sum__row--total b { color: var(--orange-700); font-size: 19px; }

.sum__btn {
  margin-top: 10px;
  padding: 10px;
  border-radius: 10px;
  background: var(--green-700);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
.sum__btn--ghost {
  margin-top: 7px;
  background: #fff;
  border: 1px solid var(--green-100);
  color: var(--green-800);
}

.float-card {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-size: 13px;
  color: var(--gray-700);
  white-space: nowrap;
}
.float-card .ico { width: 17px; height: 17px; color: var(--green-600); }
.float-card b { color: var(--green-900); }
.float-card--a { left: -26px; bottom: -16px; animation: float 4.6s ease-in-out infinite; }
.float-card--b { right: -18px; bottom: -16px; animation: float 4.6s ease-in-out infinite .9s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* --------------------------------------------------------------- 数据条 */
.stats {
  border-block: 1px solid var(--line);
  background: var(--white);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-block: 38px;
}
.stats__grid > div { text-align: center; }
.stats__grid b {
  display: block;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--green-800);
  letter-spacing: -.02em;
}
.stats__grid b small { font-size: .46em; font-weight: 700; margin-left: 3px; color: var(--green-600); }
.stats__grid p { margin-top: 6px; font-size: 13.5px; color: var(--gray-700); }

/* --------------------------------------------------------------- 区块 */
.sec { padding: 88px 0; }
.sec--tint { background: var(--gray-50); }

.sec__head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.sec__head h2 {
  margin: 16px 0 14px;
  font-size: clamp(26px, 3.1vw, 38px);
  color: var(--green-900);
}
.sec__head p { font-size: 16.5px; color: var(--gray-700); }

/* ---- 能力卡片 ---- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 20px;
}
.card {
  padding: 26px 24px 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--green-100);
}
.card__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 15px;
  border-radius: 13px;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  color: var(--green-700);
}
.card__ico .ico { width: 24px; height: 24px; }
.card h3 { margin-bottom: 9px; font-size: 18px; color: var(--green-900); }
.card p { font-size: 14.6px; color: var(--gray-700); }

/* ---- 一分钟看懂（摘要块） ---- */
.sec--summary { padding-top: 10px; }
.tldr {
  padding: 34px 36px;
  border-radius: var(--radius-lg);
  background: var(--green-50);
  border: 1px solid var(--green-100);
}
.tldr h2 { font-size: clamp(21px, 2.2vw, 26px); color: var(--green-900); }
.tldr p {
  margin: 14px 0 20px;
  max-width: 62em;
  font-size: 16px;
  line-height: 1.85;
  color: var(--gray-900);
}
.tldr__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 26px;
}
@media (max-width: 760px) {
  .tldr__list { grid-template-columns: 1fr; }
  .tldr { padding: 26px 22px; }
}
.tldr__list li {
  position: relative;
  padding-left: 16px;
  font-size: 14.4px;
  color: var(--gray-700);
}
.tldr__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-600);
}
.tldr__list b { margin-right: 7px; color: var(--green-900); }

/* ---- 业务闭环 ---- */
.flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  gap: 14px;
  counter-reset: step;
}
.flow li {
  position: relative;
  padding: 22px 18px 20px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.flow li::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -13px;
  width: 12px;
  height: 2px;
  background: var(--green-100);
}
.flow li:last-child::after { display: none; }
.flow__no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  margin-bottom: 11px;
  border-radius: 50%;
  background: var(--green-700);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.flow h3 { font-size: 15.5px; color: var(--green-900); }
.flow p { margin-top: 6px; font-size: 13.2px; color: var(--gray-700); }

/* ---- 多终端 ---- */
.devices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: 20px;
}
.device {
  padding: 26px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.device__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 13px;
  background: var(--green-800);
  color: #fff;
}
.device__ico .ico { width: 25px; height: 25px; }
.device h3 { font-size: 18px; color: var(--green-900); }
.device__tag {
  display: inline-block;
  margin: 8px 0 14px;
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--green-50);
  color: var(--green-700);
  font-size: 12.5px;
  font-weight: 600;
}
.device__tag--soft { background: var(--gray-100); color: var(--gray-700); }
.device ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 7px;
  font-size: 14.3px;
  color: var(--gray-700);
}
.device ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-100);
}
.device--soon { background: var(--gray-50); box-shadow: none; }
.device--soon .device__ico { background: var(--gray-400); }

/* ---- 终端对照表（并列信息用表格，搜索引擎与 AI 解析成本最低） ---- */
.spec__title {
  margin: 46px 0 14px;
  font-size: 18px;
  color: var(--green-900);
}
.spec {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.spec table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  font-size: 14.2px;
}
.spec caption {
  padding: 14px 18px 0;
  text-align: left;
  font-size: 12.8px;
  color: var(--gray-700);
}
.spec th, .spec td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.spec thead th {
  background: var(--green-50);
  color: var(--green-900);
  font-size: 13.4px;
  white-space: nowrap;
}
.spec tbody tr:last-child td { border-bottom: 0; }
.spec tbody th {
  font-weight: 700;
  color: var(--gray-900);
  white-space: nowrap;
}
.spec td { color: var(--gray-700); }
.spec th:last-child, .spec td:last-child { white-space: nowrap; }
.spec .is-soon { color: var(--gray-400); }


/* --------------------------------------------------------------- 下载区 */
.sec--dark {
  background: linear-gradient(158deg, #0F3D14 0%, #1B5E20 58%, #14471A 100%);
  color: #E7F2E5;
}
.sec__head--onDark h2 { color: #fff; }
.sec__head--onDark p { color: #BBD5B7; }
.sec__head--onDark b { color: #fff; }

.dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(242px, 1fr));
  gap: 20px;
}
.dl-card {
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  transition: transform .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease);
}
.dl-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .26);
}
.dl-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}
.dl-card__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
}
.dl-card__ico .ico { width: 24px; height: 24px; }

.badge {
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.badge--soon { background: rgba(255, 255, 255, .12); color: #C7DCC4; }
.badge--ready { background: var(--orange-500); color: #fff; }

.dl-card h3 { font-size: 17.5px; color: #fff; }
.dl-card__note { margin-top: 5px; font-size: 13.2px; color: #A9C6A5; }

.dl-card__meta {
  display: flex;
  gap: 26px;
  margin: 16px 0 18px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.dl-card__meta dt { font-size: 12px; color: #96B692; }
.dl-card__meta dd { margin-top: 2px; font-size: 13.6px; color: #E7F2E5; }

.qr-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 132px;
  margin: 0 auto 20px;
  border: 1.5px dashed rgba(255, 255, 255, .26);
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  color: #8FB08B;
  font-size: 12.5px;
  text-align: center;
}
.qr-slot.is-filled { border: 0; background: #fff; padding: 8px; max-width: 168px; }
.qr-slot.is-filled img { display: block; width: 100%; height: 100%; border-radius: 6px; }
/* 二维码本身是下载链接，给一点点的可点击反馈（不改变卡片节奏） */
a.qr-slot { transition: transform .15s ease, box-shadow .15s ease; }
a.qr-slot:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0, 0, 0, .22); }
a.qr-slot img { -webkit-user-drag: none; }
/* 已上线的卡片不该挂一个空的二维码框：hidden 要压过上面的 display:flex */
.qr-slot[hidden] { display: none; }

.dl-card .btn { margin-top: auto; width: 100%; }
.sec--dark .btn--primary { background: #fff; color: var(--green-800); box-shadow: none; }
.sec--dark .btn--primary:hover { background: var(--green-50); }
.sec--dark .btn.is-disabled,
.sec--dark .btn[aria-disabled="true"] {
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .5);
}

.dl__tip {
  margin-top: 30px;
  text-align: center;
  font-size: 14px;
  color: #A9C6A5;
}

/* --------------------------------------------------------------- 定价 */
.price {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: 30px;
  align-items: center;
  padding: 40px 44px;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, #F7FBF6, #FFFFFF 60%);
  border: 1px solid var(--green-100);
  box-shadow: var(--shadow);
}
.price__tag {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--green-700);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
}
.price__num {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
  margin: 14px 0 6px;
  color: var(--green-900);
}
.price__num small { font-size: 24px; font-weight: 700; }
.price__num b { font-size: 56px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.price__num span { font-size: 15px; font-weight: 600; color: var(--gray-700); }
.price__num i { font-size: 15px; font-style: normal; color: var(--gray-400); }
.price__sub { font-size: 13.6px; color: var(--gray-700); }

.price__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: 15px;
  color: var(--gray-900);
}
.price__list .ico { width: 18px; height: 18px; margin-top: 3px; color: var(--green-600); }

.price__cta { text-align: center; }
.price__cta .btn { width: 100%; }
.price__hint { margin-top: 12px; font-size: 13px; color: var(--gray-700); }

/* --------------------------------------------------------------- FAQ */
.faq { display: grid; gap: 12px; }
.faq details {
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.faq details[open] { border-color: var(--green-100); box-shadow: var(--shadow); }
.faq summary {
  position: relative;
  padding: 19px 56px 19px 22px;
  font-size: 16.2px;
  font-weight: 600;
  color: var(--green-900);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -6px;
  border-right: 2px solid var(--green-600);
  border-bottom: 2px solid var(--green-600);
  transform: rotate(45deg);
  transition: transform .22s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > p {
  padding: 0 22px 22px;
  font-size: 15px;
  color: var(--gray-700);
  border-top: 1px solid var(--gray-100);
  margin-top: -1px;
  padding-top: 16px;
}

/* --------------------------------------------------------------- 结尾 CTA */
.cta { padding: 0 0 88px; }
.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding: 44px 48px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(560px 260px at 92% -30%, rgba(200, 230, 201, .28), transparent 70%),
    linear-gradient(140deg, #14471A, #0F3D14);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta__inner h2 { font-size: clamp(23px, 2.6vw, 32px); color: #fff; }
.cta__inner p { margin-top: 10px; color: #B9D3B5; font-size: 15.5px; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn--primary { background: #fff; color: var(--green-800); box-shadow: none; }
.cta .btn--primary:hover { background: var(--green-50); }
.cta .btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .32);
}
.cta .btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }

/* --------------------------------------------------------------- 页脚 */
.foot {
  background: #0C2E10;
  color: #A9C1A6;
  padding: 56px 0 30px;
}
.foot__top {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.foot .brand__name { color: #fff; }
.foot__brand p { margin-top: 12px; font-size: 14px; max-width: 26em; }

.foot__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.foot__nav h3 {
  margin-bottom: 12px;
  font-size: 14px;
  color: #fff;
  letter-spacing: .04em;
}
.foot__nav a, .foot__nav p {
  display: block;
  margin-bottom: 9px;
  font-size: 14px;
  color: #A9C1A6;
  transition: color .15s var(--ease);
}
.foot__nav a:hover { color: #fff; }

.foot__bottom {
  display: flex;
  align-items: center;
  /* 工信部要求备案号在「首页底部中央位置」标明，所以版权与备案号整体居中，
     不做左右分栏 —— 巡查时按这条核对，居中是最省事的做法。 */
  justify-content: center;
  gap: 10px 26px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 13.2px;
  color: #8CA98A;
  text-align: center;
}
.foot__copy { display: flex; flex-wrap: wrap; gap: 0 6px; }
.foot__updated { font-size: 12.8px; color: #7C9679; }

.foot__filing {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  justify-content: center;
}
.filing-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  /* 用比正文更亮的一档：备案号要"清晰可见"，别让它看起来像灰色小字备注 */
  color: #A9C1A6;
  transition: color .15s var(--ease);
}
/* .filing-item 的 display 会盖掉 [hidden] 的默认 display:none，这里显式兜住 */
.filing-item[hidden] { display: none; }
.filing-item:hover { color: #fff; }
/* 公安联网备案官方徽标（20×20 原图，显示 18px：再小国徽细节就糊成一团金点了）：
   深绿页脚上不需要滤镜，但必须 flex:none —— 否则窄屏挤行时会被压成椭圆。 */
.filing-item__badge {
  width: 18px;
  height: 18px;
  flex: none;
  display: block;
  object-fit: contain;
}
/* 未配置备案号时显示为虚线占位块，一眼能看出这里还空着 */
.filing-placeholder,
.filing-item.is-placeholder {
  padding: 2px 9px;
  border: 1px dashed rgba(255, 255, 255, .26);
  border-radius: 6px;
  font-size: 12.6px;
}

/* --------------------------------------------------------------- 进场动画 */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* ============================================================ 响应式 */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 46px; }
  .hero__visual { max-width: 640px; }
  .float-card--a { left: -8px; }
  .float-card--b { right: -6px; }
  .price { grid-template-columns: 1fr; gap: 26px; padding: 34px 30px; }
  .price__cta { text-align: left; }
  .price__cta .btn { width: auto; }
}

@media (max-width: 900px) {
  .nav__menu {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 66px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    margin-left: 0;
    display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu a { padding: 12px 14px; border-radius: 10px; font-size: 15.5px; }
  .nav__toggle { display: inline-flex; }

  .sec { padding: 64px 0; }
  .sec__head { margin-bottom: 38px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; padding-block: 32px; }

  .foot__top { grid-template-columns: 1fr; gap: 30px; }
  /* 窄屏也保持居中：备案号要求「首页底部中央位置」清晰可见，
     改成左对齐在手机上会贴着屏边，巡查时不占便宜。 */
  .foot__bottom { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 18px; }
  .hero { padding: 46px 0 64px; }
  .hero__actions { gap: 10px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .pos__body { grid-template-columns: 1fr 1fr; }
  .pos__col--sum { grid-column: 1 / -1; }
  .float-card { display: none; }
  .flow li::after { display: none; }
  .cta__inner { padding: 32px 24px; }
  .cta__actions { width: 100%; }
  .cta__actions .btn { flex: 1 1 auto; }
  .foot__nav { grid-template-columns: 1fr 1fr; }
  .price__num b { font-size: 46px; }
}

@media (max-width: 560px) {
  /* 真机手机宽度（360–430px）下收银台模型改单列，杜绝两列挤爆 */
  .pos__body { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .stats__grid { grid-template-columns: 1fr; gap: 22px; }
}

/* --------------------------------------------------------------- 打印 */
@media print {
  .nav, .cta, .float-card { display: none !important; }
  .reveal { opacity: 1; transform: none; }
  .sec--dark, .foot { background: #fff !important; color: #000 !important; }
}
