/* ==========================================================================
   银马收银 · 官网样式
   配色以「暖阳橙」为主色，与 App 内同名皮肤保持一致
   ========================================================================== */

:root {
  /* 品牌橙阶 */
  --brand-50: #fff7f0;
  --brand-100: #ffeddf;
  --brand-200: #ffd8b8;
  --brand-300: #ffbc87;
  --brand-400: #ff9a4d;
  --brand-500: #ff7a1a;
  --brand-600: #f05e00;
  --brand-700: #c74a00;
  --brand-800: #9c3b08;

  /* 中性色 */
  --ink-900: #1a1614;
  --ink-700: #3d3532;
  --ink-500: #6b5f5a;
  --ink-400: #8b7f79;
  --ink-300: #a89c96;
  --line: #f0e6df;
  --surface: #ffffff;
  --surface-soft: #fffaf6;
  --canvas: #fffdfb;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(60, 30, 10, .05), 0 2px 8px rgba(60, 30, 10, .04);
  --shadow: 0 4px 12px rgba(80, 40, 10, .06), 0 12px 32px rgba(80, 40, 10, .06);
  --shadow-lg: 0 8px 24px rgba(80, 40, 10, .08), 0 24px 64px rgba(80, 40, 10, .1);
  --shadow-brand: 0 8px 24px rgba(240, 94, 0, .22);

  --maxw: 1160px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-900);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  font-size: 16px;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: -.02em;
  font-weight: 800;
}

p { margin: 0; }

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

/* ---------- 顶栏 ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 251, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -.02em;
  flex-shrink: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--brand-400), var(--brand-600));
  box-shadow: var(--shadow-brand);
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-700);
}

.nav-links a {
  position: relative;
  padding: 4px 0;
  transition: color .18s ease;
}

.nav-links a:hover { color: var(--brand-600); }

.nav-links a.active { color: var(--brand-600); font-weight: 700; }

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-500);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--brand-600);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-brand);
  transition: transform .18s ease, background .18s ease;
  white-space: nowrap;
}

.nav-cta:hover { background: var(--brand-700); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-600);
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover { background: var(--brand-700); transform: translateY(-2px); }

.btn-ghost {
  background: var(--surface);
  color: var(--ink-900);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.btn-ghost:hover { border-color: var(--brand-300); color: var(--brand-700); transform: translateY(-2px); }

.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ---------- 通用区块 ---------- */

.section { padding: 92px 0; }
.section-tight { padding: 64px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 15px;
  border-radius: 999px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  color: var(--brand-700);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  margin: 18px 0 14px;
}

.section-head p {
  color: var(--ink-500);
  font-size: 16.5px;
}

.section-alt { background: var(--surface-soft); border-block: 1px solid var(--line); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 88px;
  background:
    radial-gradient(900px 460px at 12% -8%, #ffe9d6 0%, rgba(255, 233, 214, 0) 62%),
    radial-gradient(760px 420px at 96% 6%, #fff1e4 0%, rgba(255, 241, 228, 0) 58%),
    var(--canvas);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: 54px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(34px, 4.5vw, 55px);
  margin: 22px 0 20px;
  letter-spacing: -.035em;
}

.hero h1 .accent {
  background: linear-gradient(96deg, var(--brand-500), var(--brand-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 17.5px;
  color: var(--ink-500);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin: 32px 0 26px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 13.5px;
  color: var(--ink-400);
  font-weight: 500;
}

.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-400);
  flex-shrink: 0;
}

/* ---------- 收银台模拟图（纯 CSS） ---------- */

.device-stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 52px 20px 46px;
}

.device {
  width: 100%;
  max-width: 520px;
  border-radius: 22px;
  background: linear-gradient(#fff, #fff);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1600px) rotateY(-3.5deg) rotateX(1.5deg);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}

.device:hover { transform: perspective(1600px) rotateY(0deg) rotateX(0deg); }

.device-bar {
  height: 30px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 13px;
  background: #fdf8f4;
  border-bottom: 1px solid var(--line);
}

.device-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ecd9cc;
  display: block;
}

.device-bar i:first-child { background: var(--brand-300); }

.device-top {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  flex-wrap: wrap;
}

.pill {
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  white-space: nowrap;
}

.pill-brand { background: var(--brand-500); color: #fff; }
.pill-soft { background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-100); }
.pill-ghost { background: #fbf6f2; color: var(--ink-400); border: 1px solid var(--line); }

.device-cats {
  display: flex;
  gap: 7px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}

.device-body {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  min-height: 262px;
  background: var(--surface);
}

.device-goods {
  padding: 13px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  align-content: start;
  border-right: 1px solid var(--line);
}

.good {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffdfb;
  padding: 9px 6px 7px;
  text-align: center;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.good:hover { border-color: var(--brand-300); box-shadow: var(--shadow-sm); transform: translateY(-2px); }

.good em { font-size: 21px; font-style: normal; line-height: 1; display: block; }
.good b { display: block; font-size: 10.5px; font-weight: 700; margin-top: 4px; color: var(--ink-900); }
.good s { display: block; font-size: 9.5px; color: var(--brand-600); font-weight: 700; text-decoration: none; margin-top: 1px; }

.device-cart { padding: 13px; display: flex; flex-direction: column; }

.cart-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--ink-400);
  letter-spacing: .06em;
  margin-bottom: 9px;
}

.cart-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 11.5px;
}

.cart-row span { color: var(--ink-500); }
.cart-row b { font-weight: 700; }

.cart-total {
  margin-top: auto;
  padding-top: 12px;
}

.cart-total .sum {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 9px;
}

.cart-total .sum b { font-size: 21px; color: var(--brand-600); letter-spacing: -.02em; }

.cart-total .pay {
  height: 32px;
  border-radius: 10px;
  background: var(--brand-600);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(240, 94, 0, .25);
}

/* 浮动标签 */
.float-tag {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 15px;
  box-shadow: var(--shadow);
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 9px;
  animation: float 5.5s ease-in-out infinite;
}

.float-tag small { display: block; font-weight: 500; color: var(--ink-400); font-size: 10.5px; }

.float-tag.t1 { top: 2px; right: 0; }
.float-tag.t2 { bottom: 2px; left: 0; animation-delay: -2.7s; }

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

@media (prefers-reduced-motion: reduce) {
  .float-tag { animation: none; }
  .device { transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 卡片 ---------- */

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--brand-200);
}

.card h3 { font-size: 18px; margin-bottom: 9px; }

.card p { color: var(--ink-500); font-size: 14.5px; }

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--brand-50), var(--brand-100));
  border: 1px solid var(--brand-100);
  color: var(--brand-600);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.card-icon svg { width: 23px; height: 23px; }

/* 功能大卡（带模拟界面） */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 46px;
  align-items: center;
  padding: 38px 0;
}

.feature:nth-child(even) .feature-media { order: -1; }

.feature h3 { font-size: clamp(21px, 2.4vw, 27px); margin-bottom: 14px; }

.feature > div > p { color: var(--ink-500); font-size: 16px; margin-bottom: 18px; }

.tick-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }

.tick-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 14.8px;
  color: var(--ink-700);
}

.tick-list svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--brand-500);
}

.feature-media {
  background: linear-gradient(150deg, var(--brand-50), #fff 62%);
  border: 1px solid var(--brand-100);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

/* 迷你面板：用于 feature 区演示 */
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.panel-head {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink-500);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fffdfb;
}

.panel-body { padding: 16px; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

.stat {
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: 13px;
  padding: 12px 13px;
}

.stat em { font-style: normal; font-size: 11px; color: var(--brand-700); font-weight: 700; }

.stat b { display: block; font-size: 19px; letter-spacing: -.02em; margin-top: 3px; }

.stat span { font-size: 11px; color: var(--ink-400); }

.bar-list { margin-top: 16px; display: grid; gap: 11px; }

.bar-item { font-size: 12px; }

.bar-item .bar-top { display: flex; justify-content: space-between; margin-bottom: 5px; color: var(--ink-500); }

.bar-item .bar-top b { color: var(--ink-900); font-weight: 700; }

.bar-track { height: 7px; border-radius: 999px; background: #f6efe9; overflow: hidden; }

.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-400), var(--brand-600));
  width: 0;
  transition: width 1.1s cubic-bezier(.2, .8, .2, 1);
}

.is-visible .bar-fill { width: var(--w); }

/* 订单列表演示 */
.order-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 12.5px;
}

.order-row:last-child { border-bottom: 0; }

.order-badge {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--brand-50);
  color: var(--brand-600);
  display: grid;
  place-items: center;
  font-size: 15px;
  flex-shrink: 0;
}

.order-row .oc { flex: 1; min-width: 0; }
.order-row .oc b { display: block; font-size: 12.5px; }
.order-row .oc small { color: var(--ink-400); font-size: 11px; }
.order-row .amt { font-weight: 800; color: var(--brand-700); }

/* 小票演示 */
.receipt-demo {
  background: #fff;
  border-radius: 12px;
  padding: 18px 18px 14px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 11.5px;
  line-height: 1.85;
  color: var(--ink-700);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.receipt-demo::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 10px;
  background: repeating-linear-gradient(90deg, transparent 0 5px, var(--canvas) 5px 10px);
}

.receipt-demo .rc { text-align: center; }

.receipt-demo .rline {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.receipt-demo .rdash { border-top: 1px dashed #e3d5cb; margin: 7px 0; }

.receipt-demo .rbrand {
  margin-top: 10px;
  font-size: 10.5px;
  color: var(--brand-600);
  font-weight: 700;
  text-align: center;
}

/* ---------- 数据条 ---------- */

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.metric { background: var(--surface); padding: 30px 24px; text-align: center; }

.metric b {
  display: block;
  font-size: clamp(25px, 3vw, 34px);
  letter-spacing: -.03em;
  color: var(--brand-600);
}

.metric span { font-size: 13.5px; color: var(--ink-500); }

/* ---------- 步骤 ---------- */

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }

/* 四步版本（下载页安装流程）—— 用类而非内联样式，保证能跟随断点降级 */
.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px 26px;
  box-shadow: var(--shadow-sm);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: -16px;
  left: 26px;
  width: 40px;
  height: 32px;
  border-radius: 10px;
  background: var(--brand-600);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-brand);
}

.step h3 { font-size: 17px; margin: 12px 0 8px; }
.step p { color: var(--ink-500); font-size: 14.5px; }

/* ---------- 下载卡 ---------- */

.download-hero {
  background:
    radial-gradient(760px 380px at 80% -20%, #ffe3cc 0%, rgba(255, 227, 204, 0) 60%),
    linear-gradient(180deg, var(--brand-50), var(--canvas));
  border-bottom: 1px solid var(--line);
  padding: 70px 0 76px;
}

.dl-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 38px;
  box-shadow: var(--shadow-lg);
}

.dl-ver {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.dl-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.dl-meta div b { display: block; font-size: 15px; font-weight: 700; }
.dl-meta div span { font-size: 12px; color: var(--ink-400); }

.hash {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 11px;
  color: var(--ink-500);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 12px;
  overflow-wrap: anywhere;
  margin-top: 16px;
}

/* ---------- 二维码 ---------- */

.qr-card { text-align: center; }

.qr-frame {
  width: 176px;
  height: 176px;
  margin: 0 auto 16px;
  padding: 11px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.qr-frame img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- 表格 ---------- */

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }

table { width: 100%; border-collapse: collapse; font-size: 14.5px; }

th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }

th { background: var(--surface-soft); font-size: 13px; font-weight: 800; color: var(--ink-500); white-space: nowrap; }

tbody tr:last-child td { border-bottom: 0; }

td b { font-weight: 700; }

/* ---------- 更新日志 ---------- */

.log-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 30px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.log-ver {
  position: sticky;
  top: 90px;
  align-self: start;
}

.log-ver b { display: block; font-size: 21px; letter-spacing: -.02em; }
.log-ver span { font-size: 13px; color: var(--ink-400); }

.log-tag {
  display: inline-block;
  margin-top: 9px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

.log-tag.new { background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-100); }
.log-tag.old { background: #f8f4f1; color: var(--ink-400); border: 1px solid var(--line); }

.log-body h3 { font-size: 17px; margin: 22px 0 9px; }
.log-body h3:first-child { margin-top: 0; }

.log-body ul { margin: 0; padding-left: 20px; color: var(--ink-500); font-size: 15px; }

.log-body li { margin-bottom: 7px; }

.log-body li b { color: var(--ink-900); }

/* ---------- FAQ ---------- */

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}

details[open] { border-color: var(--brand-200); box-shadow: var(--shadow-sm); }

summary {
  padding: 18px 22px;
  font-weight: 700;
  font-size: 15.5px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--brand-500);
  border-bottom: 2px solid var(--brand-500);
  transform: rotate(45deg);
  transition: transform .22s ease;
  flex-shrink: 0;
  margin-top: -4px;
}

details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }

details p { padding: 0 22px 20px; color: var(--ink-500); font-size: 14.8px; }

/* ---------- 提示条 ---------- */

.notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 14.5px;
  color: var(--ink-700);
}

.notice svg { width: 21px; height: 21px; color: var(--brand-600); flex-shrink: 0; margin-top: 2px; }

.notice b { color: var(--brand-800); }

/* ---------- CTA 区 ---------- */

.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--brand-600), var(--brand-800));
  border-radius: var(--radius-xl);
  padding: 60px 52px;
  color: #fff;
  text-align: center;
}

.cta::before,
.cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .09);
}

.cta::before { width: 320px; height: 320px; top: -160px; right: -80px; }
.cta::after { width: 240px; height: 240px; bottom: -140px; left: -60px; }

.cta > * { position: relative; }

.cta h2 { font-size: clamp(25px, 3.2vw, 35px); margin-bottom: 14px; }

.cta p { color: rgba(255, 255, 255, .85); max-width: 560px; margin: 0 auto 30px; font-size: 16.5px; }

.cta .btn-primary { background: #fff; color: var(--brand-700); box-shadow: 0 8px 24px rgba(0, 0, 0, .16); }
.cta .btn-primary:hover { background: var(--brand-50); }

.cta .btn-outline {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .4);
}

.cta .btn-outline:hover { background: rgba(255, 255, 255, .2); }

.cta-actions { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; }

/* ---------- 文章详情页 ---------- */

.article {
  max-width: 720px;
  margin: 0 auto;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--ink-400);
  font-size: 13.5px;
  margin: 18px 0 28px;
}

.article-body {
  color: var(--ink-700);
  font-size: 16.5px;
  line-height: 1.9;
}

.article-body h2 {
  font-size: 22px;
  margin: 34px 0 14px;
  color: var(--ink-900);
}

.article-body h3 {
  font-size: 18px;
  margin: 28px 0 10px;
  color: var(--ink-900);
}

.article-body p { margin-bottom: 16px; }

.article-body ul, .article-body ol {
  margin: 0 0 18px;
  padding-left: 24px;
}

.article-body li { margin-bottom: 9px; }

.article-body strong { color: var(--ink-900); }

.article-body .callout {
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-left: 3px solid var(--brand-500);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 22px 0;
  font-size: 15px;
  color: var(--ink-700);
}

.article-body .formula {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--brand-800);
  text-align: center;
  letter-spacing: .01em;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
}

.article-nav a { color: var(--brand-600); font-weight: 700; }

.article-nav a:hover { color: var(--brand-700); }

/* ---------- 页脚 ---------- */

.footer {
  background: var(--ink-900);
  color: #cbc2bd;
  padding: 60px 0 32px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.footer .brand { color: #fff; margin-bottom: 15px; }

.footer p { font-size: 14px; color: #9c928c; max-width: 290px; }

.footer h4 { font-size: 13.5px; color: #fff; margin-bottom: 16px; letter-spacing: .03em; }

.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; font-size: 14px; }

.footer ul a { color: #a99f99; transition: color .18s ease; }

.footer ul a:hover { color: var(--brand-400); }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #837a75;
}

/* ---------- 动效 ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .62s cubic-bezier(.2, .8, .2, 1), transform .62s cubic-bezier(.2, .8, .2, 1);
}

.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 响应式 ---------- */

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-lead { max-width: none; }
  .feature { grid-template-columns: 1fr; gap: 28px; padding: 30px 0; }
  .feature:nth-child(even) .feature-media { order: 0; }
  .dl-card { grid-template-columns: 1fr; padding: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .device { transform: none; }
  .float-tag { display: none; }
  .steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 24px 22px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-links.open a { padding: 11px 0; width: 100%; }
  .nav-toggle { display: flex; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .log-item { grid-template-columns: 1fr; gap: 14px; }
  .log-ver { position: static; }
}

@media (max-width: 620px) {
  .section { padding: 62px 0; }
  .section-tight { padding: 48px 0; }
  .wrap { padding: 0 18px; }
  .cta { padding: 44px 24px; }
  .grid-4, .metrics { grid-template-columns: 1fr; }
  .dl-meta { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 52px 0 62px; }
  .nav-cta { display: none; }
  .dl-card { padding: 24px; }
  .card { padding: 24px 22px; }
  .device-body { grid-template-columns: 1fr; min-height: 0; }
  .device-goods { border-right: 0; border-bottom: 1px solid var(--line); }
}
