/* =========================================================
   净衣通 · 干洗店管理系统官网
   版式仿 workbuddy.cn：亮色主题、大标题、产品演示窗、
   功能场景 Tab、生态网格、定价卡片、CTA、四栏页脚
   ========================================================= */

:root {
  --brand: #1677ff;
  --brand-deep: #0958d9;
  --brand-soft: #e8f2ff;
  --ink: #0f1115;
  --ink-2: #4e5561;
  --ink-3: #8a919c;
  --line: #e8eaee;
  --tint: #f7f9fc;
  --card: #ffffff;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-1: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow-2: 0 2px 6px rgba(16, 24, 40, .06), 0 8px 24px rgba(16, 24, 40, .07);
  --shadow-3: 0 8px 24px rgba(16, 24, 40, .10), 0 24px 48px rgba(16, 24, 40, .10);
  --shadow-brand: 0 8px 24px rgba(22, 119, 255, .28);

  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", "JetBrains Mono", Consolas, "Courier New", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; }
button { font-family: inherit; border: 0; background: none; cursor: pointer; color: inherit; }

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.mono { font-family: var(--mono); font-size: .92em; letter-spacing: -.2px; }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  height: 44px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #23262d; box-shadow: var(--shadow-2); }

.btn-ghost {
  background: #fff; color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: #c9cdd4; box-shadow: var(--shadow-1); }

.btn-lg { height: 52px; padding: 0 30px; font-size: 16px; }
.btn-sm { height: 36px; padding: 0 16px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ============ 导航 ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(232, 234, 238, .9);
}

.nav-inner {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, #1677ff, #0ea5e9);
  display: grid; place-items: center;
  box-shadow: var(--shadow-brand);
}
.brand-name { font-size: 19px; font-weight: 800; letter-spacing: .5px; }

.nav-links { display: flex; gap: 34px; margin-right: auto; }
.nav-links a {
  position: relative;
  font-size: 15px;
  color: var(--ink-2);
  font-weight: 500;
  padding: 6px 0;
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 3px;
  border-radius: 3px;
  background: var(--brand);
}

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.nav-burger span {
  width: 16px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  margin: 0 auto;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 88px 0 40px;
  overflow: visible;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
}
.hero-glow-1 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(22, 119, 255, .22), transparent 65%);
  top: -180px; left: -120px;
}
.hero-glow-2 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(14, 165, 233, .18), transparent 65%);
  top: -120px; right: -100px;
}

/* 极淡的斜向发丝线纹理 */
.hero-lines {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg,
      rgba(15, 17, 21, .028) 0 1px,
      transparent 1px 26px);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 78%);
}

.hero-top { position: relative; text-align: center; }

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 34px;
}
.hero-logo {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, #1677ff, #0ea5e9);
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(22, 119, 255, .35);
}
.hero-wordmark {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 8px;
}
.hero-wordmark-en {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--ink-3);
  margin-top: 1px;
}

.hero-title {
  font-size: clamp(44px, 7vw, 84px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.12;
}

.rotator {
  position: relative;
  display: inline-block;
  color: var(--brand);
  text-align: left;
}
.rotator-word {
  display: inline-block;
  background: linear-gradient(transparent 68%, rgba(22, 119, 255, .16) 68%);
  border-radius: 4px;
  padding: 0 4px;
  min-width: 5em;
}
.rotator-caret {
  display: inline-block;
  width: 5px;
  height: .82em;
  margin-left: 6px;
  border-radius: 3px;
  background: var(--brand);
  vertical-align: -0.08em;
  animation: caret-blink 1s steps(1) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }

.hero-sub {
  max-width: 640px;
  margin: 26px auto 0;
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.9;
}

.hero-cta {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* ============ 产品演示窗 ============ */
.hero-demo-wrap {
  position: relative;
  margin-top: 64px;
}

.demo-shell {
  position: relative;
  z-index: 2;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-3);
  overflow: hidden;
}

.demo-chrome {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  background: #f5f6f8;
  border-bottom: 1px solid var(--line);
}
.demo-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--c); }
.demo-url {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 auto;
  height: 24px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 11px;
  font-family: var(--mono);
}
.demo-url svg { color: #9aa1ab; }

.demo-body {
  display: grid;
  grid-template-columns: 176px 1fr;
  min-height: 430px;
  text-align: left;
}

/* 演示窗侧栏 */
.demo-side {
  background: #fafbfc;
  border-right: 1px solid var(--line);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.demo-side-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px 14px;
}
.demo-side-logo-mark {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: grid; place-items: center;
}
.demo-side-logo-text { font-size: 14px; font-weight: 700; }
.demo-side-group {
  font-size: 10.5px;
  color: var(--ink-3);
  padding: 10px 8px 4px;
  letter-spacing: 1px;
}
.demo-side-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--ink-2);
  cursor: default;
}
.demo-side-item svg { width: 15px; height: 15px; opacity: .8; }
.demo-side-item.active {
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-weight: 600;
}
.demo-side-badge {
  margin-left: auto;
  min-width: 18px;
  height: 16px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ff7875;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  display: grid;
  place-items: center;
}

/* 演示窗主区 */
.demo-main { display: flex; flex-direction: column; min-width: 0; }

.demo-topbar {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.demo-topbar-store {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--ink-2);
}
.demo-store-chip {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-weight: 600;
  font-size: 12px;
}
.demo-topbar-store svg { color: var(--ink-3); }

.demo-topbar-user {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--ink-2);
}
.demo-avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffb75e, #ed8f03);
  color: #fff;
  font-size: 11px;
  display: grid; place-items: center;
}

.demo-content { padding: 16px; display: flex; flex-direction: column; gap: 12px; }

.demo-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.demo-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
}
.demo-card-label { font-size: 11px; color: var(--ink-3); margin-bottom: 3px; }
.demo-card-value { font-size: 17px; font-weight: 700; letter-spacing: -.3px; }
.demo-card-value small { font-size: 11px; font-weight: 500; color: var(--ink-3); }
.demo-card.warn { background: #fffbe6; border-color: #ffe58f; }

.demo-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
}
.demo-toolbar-title { font-size: 13.5px; font-weight: 700; }
.demo-search {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink-3);
  font-size: 11.5px;
}
.demo-caret {
  width: 1px; height: 12px;
  background: var(--brand);
  animation: caret-blink 1s steps(1) infinite;
}
.demo-btn-primary {
  height: 30px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.demo-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.demo-table th {
  text-align: left;
  font-weight: 500;
  color: var(--ink-3);
  font-size: 11px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  background: #fafbfc;
  white-space: nowrap;
}
.demo-table td {
  padding: 9px 10px;
  border-bottom: 1px solid #f2f4f7;
  color: var(--ink-2);
  white-space: nowrap;
}
.demo-table tr.row-danger td { background: #fff1f0; }
.demo-table tr.row-danger td:first-child { border-radius: 6px 0 0 6px; }
.demo-table tr.row-danger td:last-child { border-radius: 0 6px 6px 0; }

.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}
.tag-blue   { background: var(--brand-soft); color: var(--brand-deep); }
.tag-green  { background: #e9f7ef; color: #12a150; }
.tag-red    { background: #fdecec; color: #e5484d; animation: tag-pulse 2.4s ease infinite; }
.tag-gray   { background: #f0f1f3; color: var(--ink-3); }
.tag-plain  { background: #f0f5ff; color: var(--ink-2); }
@keyframes tag-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(229, 72, 77, 0); }
  50% { box-shadow: 0 0 0 4px rgba(229, 72, 77, .08); }
}

.demo-link { color: var(--brand); font-size: 12px; margin-right: 8px; }

/* 演示窗旁浮动卡片 */
.float-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-2);
  padding: 12px 16px;
  animation: float-y 5.2s ease-in-out infinite;
}
.float-chip-1 { top: -26px; right: -18px; }
.float-chip-2 { bottom: -26px; left: -18px; animation-delay: -2.6s; }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.float-chip-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 16px;
  font-weight: 700;
  display: grid; place-items: center;
}
.float-chip-icon.qr { color: var(--brand); }
.float-chip-title { font-size: 11px; color: var(--ink-3); }
.float-chip-value { font-size: 14px; font-weight: 700; }
.float-chip-value em { font-style: normal; font-size: 11px; color: #12a150; }

/* ============ 通用 Section ============ */
.section { padding: 96px 0; position: relative; }
.section-tint { background: var(--tint); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-title { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -.5px; }
.section-sub { margin-top: 14px; font-size: 16px; color: var(--ink-2); }

/* 进场动画 */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ============ 功能场景 ============ */
.feature-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.feature-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  transition: all .18s ease;
}
.feature-tab svg { width: 16px; height: 16px; }
.feature-tab:hover { border-color: #c9cdd4; color: var(--ink); }
.feature-tab.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-2);
}

.feature-panel {
  display: none;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: center;
}
.feature-panel.active { display: grid; animation: panel-in .5s ease; }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.feature-text h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.4px; line-height: 1.35; }
.feature-text > p { margin-top: 8px; font-size: 15px; color: var(--brand); font-weight: 600; }
.feature-list { margin-top: 22px; display: flex; flex-direction: column; gap: 13px; }
.feature-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.7;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--brand-soft);
}
.feature-list li::after {
  content: "";
  position: absolute;
  left: 5.2px; top: 11.6px;
  width: 5px; height: 8.5px;
  border: solid var(--brand-deep);
  border-width: 0 2px 2px 0;
  transform: rotate(43deg);
  border-radius: 1px;
}
.feature-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
}
.feature-more:hover { color: var(--brand-deep); }
.feature-more svg { transition: transform .18s ease; }
.feature-more:hover svg { transform: translateX(4px); }

/* 功能演示小窗口 */
.mini-shell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.mini-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
  padding: 0 16px;
  background: #fafbfc;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.mini-chrome b { font-size: 13.5px; }
.mini-chrome > span:last-child:not(.mini-add) { font-size: 11.5px; color: var(--ink-3); font-family: var(--mono); }
.mini-add {
  height: 26px;
  padding: 0 12px;
  border-radius: 7px;
  background: var(--brand);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.mini-body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }

.mini-fields {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.mini-field { position: relative; }
.mini-field label {
  display: block;
  font-size: 10.5px;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.mini-input {
  display: flex;
  align-items: center;
  height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 11.5px;
  color: var(--ink-3);
  background: #fff;
  white-space: nowrap;
  overflow: hidden;
}
.mini-input.filled { color: var(--ink); border-color: #bcd9ff; background: #f7fbff; }
.mini-clear {
  position: absolute;
  right: 8px; top: 24px;
  font-style: normal;
  color: var(--ink-3);
  font-size: 12px;
}

.mini-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.mini-table th {
  text-align: left;
  font-weight: 500;
  font-size: 11px;
  color: var(--ink-3);
  padding: 7px 8px;
  border-bottom: 1px solid var(--line);
  background: #fafbfc;
  white-space: nowrap;
}
.mini-table td {
  padding: 8px;
  border-bottom: 1px solid #f2f4f7;
  color: var(--ink-2);
  white-space: nowrap;
}
.mini-table tr:last-child td { border-bottom: 0; }

.swatch {
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 3px;
  background: var(--sw);
  border: 1px solid rgba(0, 0, 0, .08);
  vertical-align: -1.5px;
  margin-right: 6px;
}

.mini-pay {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.mini-pays { display: flex; gap: 6px; flex-wrap: wrap; }
.mini-pays span {
  height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
}
.mini-pays span.on {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-weight: 600;
}
.mini-total { font-size: 12.5px; color: var(--ink-2); }
.mini-total b { font-size: 16px; color: var(--ink); margin: 0 2px; }

.mini-member { display: grid; grid-template-columns: 150px 1fr; gap: 12px; }
.mini-rule-card {
  grid-row: span 2;
  border: 1px solid #ffe1b8;
  background: linear-gradient(160deg, #fffaf0, #fff5e6);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
}
.mini-rule-title { font-size: 11px; color: #ad6800; font-weight: 700; }
.mini-rule-item {
  background: #fff;
  border: 1px solid #ffe1b8;
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 11.5px;
  color: var(--ink-2);
  text-align: center;
}
.mini-rule-item b { color: #ad6800; }
.mini-rule-item.hot { border-color: #ffa940; box-shadow: 0 0 0 3px rgba(250, 173, 20, .12); }

.mini-flow {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.mini-flow-tag {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--mono);
}
.mini-flow-tag.in { background: #e9f7ef; color: #12a150; }
.mini-flow-tag.out { background: #fdecec; color: #e5484d; }

.chip {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
}
.chip-blue { background: var(--brand-soft); color: var(--brand-deep); }
.chip-gray { background: #f0f1f3; color: var(--ink-3); }

.mini-stats { gap: 14px; }
.mini-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini-stat {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mini-stat span { font-size: 10.5px; color: var(--ink-3); }
.mini-stat b { font-size: 16px; letter-spacing: -.3px; }

.mini-chart { padding-top: 6px; }
.mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 130px;
}
.mini-bars i {
  flex: 1;
  height: var(--h);
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, #4d9bff, var(--brand));
  opacity: .9;
  transform-origin: bottom;
  animation: bar-grow .8s cubic-bezier(.2,.8,.3,1) both;
}
.mini-bars i:nth-child(2n) { background: linear-gradient(180deg, #5ad8d0, #13c2c2); }
@keyframes bar-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.mini-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--ink-3);
  margin-top: 6px;
  font-family: var(--mono);
}
.mini-legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: var(--ink-2);
}
.mini-legend .dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--d);
  margin-right: 5px;
}

.code-chip {
  display: inline-grid;
  place-items: center;
  width: 20px; height: 20px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.mini-switch-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
}
.mini-switch-label { color: var(--ink-3); }
.mini-switch {
  height: 28px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  color: var(--ink-2);
}
.mini-switch.on { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-deep); font-weight: 600; }
.mini-switch.disabled { opacity: .45; text-decoration: line-through; }
.mini-switch.all { border-style: dashed; }

.mini-log {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fafbfc;
}
.mini-log-title { font-size: 11px; font-weight: 700; color: var(--ink-3); margin-bottom: 6px; }
.mini-log-line { font-size: 11.5px; color: var(--ink-2); padding: 3px 0; }
.mini-log-line .mono { color: var(--ink-3); margin-right: 8px; }

/* ============ 生态网格 ============ */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.eco-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.eco-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: #d4e6ff;
}
.eco-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  display: grid; place-items: center;
  flex: none;
}
.eco-icon svg { width: 21px; height: 21px; }

/* 业态跑马灯 */
.marquee {
  position: relative;
  margin-top: 56px;
  overflow: hidden;
  padding: 4px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  flex: none;
  height: 40px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ 安全 ============ */
.sec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.sec-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 24px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.sec-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.sec-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1677ff, #0ea5e9);
  color: #fff;
  display: grid; place-items: center;
  margin-bottom: 16px;
  box-shadow: var(--shadow-brand);
}
.sec-icon svg { width: 22px; height: 22px; }
.sec-card h4 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.sec-card p { font-size: 13.5px; color: var(--ink-2); line-height: 1.8; }

/* ============ 定价 ============ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 26px 26px;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.price-card.featured {
  border: 2px solid var(--brand);
  box-shadow: 0 12px 36px rgba(22, 119, 255, .14);
}
.price-badge {
  position: absolute;
  top: -13px; left: 26px;
  height: 26px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1677ff, #0ea5e9);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  box-shadow: var(--shadow-brand);
}
.price-name { font-size: 17px; font-weight: 700; }
.price-flag {
  display: inline-flex;
  margin: 8px 0 2px;
  padding: 2px 10px;
  border-radius: 999px;
  background: #e9f7ef;
  color: #12a150;
  font-size: 11.5px;
  font-weight: 600;
  align-self: flex-start;
}
.price-value { margin-top: 14px; font-size: 40px; font-weight: 800; letter-spacing: -1px; line-height: 1; }
.price-value .cur { font-size: 20px; font-weight: 700; margin-right: 2px; }
.price-value .per { font-size: 14px; font-weight: 500; color: var(--ink-3); margin-left: 4px; }
.price-origin {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--ink-3);
  text-decoration: line-through;
  min-height: 19px;
}
.price-desc { margin-top: 8px; font-size: 13px; color: var(--ink-2); min-height: 40px; }
.price-card .btn { margin: 14px 0 18px; height: 42px; }

.price-list { display: flex; flex-direction: column; gap: 11px; }
.price-list li {
  position: relative;
  padding-left: 24px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.price-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--brand-soft);
}
.price-list li::after {
  content: "";
  position: absolute;
  left: 4.6px; top: 9px;
  width: 4.5px; height: 7.5px;
  border: solid var(--brand-deep);
  border-width: 0 2px 2px 0;
  transform: rotate(43deg);
}
.price-list li.muted { color: var(--ink-3); }

.pricing-more {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
}
.pricing-more a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--brand);
  font-weight: 600;
}
.pricing-more a:hover { color: var(--brand-deep); }

/* ============ CTA ============ */
.cta { padding: 120px 0; }
.cta-inner { text-align: center; }
.cta h2 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 900; letter-spacing: -1px; }
.cta p {
  max-width: 600px;
  margin: 20px auto 0;
  font-size: 16.5px;
  color: var(--ink-2);
  line-height: 1.9;
}
.cta-actions {
  margin-top: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}
.cta-phone { font-size: 14px; color: var(--ink-2); }
.cta-phone b { font-size: 17px; color: var(--ink); }

.cta-qr {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  gap: 100px;
}
.cta-qr-item { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.qr-box {
  width: 108px; height: 108px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: #b6bcc4;
}
.qr-box svg { width: 44px; height: 44px; }
.cta-qr-item em { font-style: normal; font-size: 12.5px; color: var(--ink-3); }

/* ============ 页脚 ============ */
.footer {
  position: relative;
  background: #f5f6f8;
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
  overflow: hidden;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.footer-col h5 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-col h5::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--brand);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13.5px; color: var(--ink-2); transition: color .15s ease; }
.footer-col a:hover { color: var(--brand); }

.footer-watermark {
  position: absolute;
  right: -30px;
  bottom: -70px;
  font-size: 200px;
  font-weight: 900;
  letter-spacing: 20px;
  color: rgba(15, 17, 21, .04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 1;
}
.footer-bottom p { font-size: 12.5px; color: var(--ink-3); text-align: center; }
.footer-icp a { color: var(--ink-3); }
.footer-icp a:hover { color: var(--brand); }

/* ============ 回到顶部 ============ */
.back-top {
  position: fixed;
  right: 28px;
  bottom: 32px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-2);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 90;
}
.back-top.show { opacity: 1; transform: none; pointer-events: auto; }
.back-top:hover { background: #23262d; }

/* ============ 响应式 ============ */
@media (max-width: 1080px) {
  .feature-panel { gap: 40px; }
  .eco-grid, .sec-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .float-chip-1 { right: 6px; }
  .float-chip-2 { left: 6px; }
}

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 16px;
    display: none;
    box-shadow: var(--shadow-2);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; font-size: 15.5px; }
  .nav-links a.active::after { display: none; }
  .nav-burger { display: flex; }
  .nav-actions .btn-ghost { display: none; }

  .feature-panel { grid-template-columns: 1fr; }
  .feature-visual { order: -1; }

  .demo-body { grid-template-columns: 1fr; }
  .demo-side { display: none; }
  .demo-cards { grid-template-columns: repeat(2, 1fr); }
  .demo-shell { overflow-x: auto; }
  .demo-content { min-width: 620px; }

  .hero-demo-wrap { margin-top: 56px; }
  .float-chip { display: none; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .section { padding: 64px 0; }
  .hero { padding-top: 56px; }
  .hero-title { letter-spacing: 0; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .eco-grid, .sec-grid, .pricing-grid { grid-template-columns: 1fr; }
  .mini-fields { grid-template-columns: repeat(2, 1fr); }
  .mini-member { grid-template-columns: 1fr; }
  .mini-rule-card { grid-row: auto; flex-direction: row; flex-wrap: wrap; }
  .cta-qr { gap: 24px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .back-top { right: 16px; bottom: 20px; }
}

/* 动效偏好：减弱 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .float-chip, .rotator-caret, .demo-caret, .tag-red { animation: none; }
}

/* =========================================================
   细节打磨层（纯追加，不改任何现有选择器行为）：
   横向溢出修复 / 锚点补偿 / 键盘焦点 / 入场编排 /
   导航进度条 / 演示窗倾斜与高光
   ========================================================= */

/* 修复手机端因 hero 光晕负偏移导致的页面横向溢出 */
html { overflow-x: hidden; scroll-padding-top: 76px; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: rgba(22, 119, 255, .18); }

.reveal {
  transition: opacity .7s cubic-bezier(.16, 1, .3, 1),
              transform .7s cubic-bezier(.16, 1, .3, 1);
}

/* Hero 入场编排：JS 加载后按序浮现；无 JS 默认可见不受影响 */
.hero-anim {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.16, 1, .3, 1),
              transform .8s cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--hd, 0s);
}
.hero-anim.in { opacity: 1; transform: none; }

/* 导航底部阅读进度条（元素由 JS 注入） */
.nav-progress {
  position: absolute;
  left: 0; bottom: -1px;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--brand), #0ea5e9);
  border-radius: 0 2px 2px 0;
  z-index: 1;
  pointer-events: none;
}

/* 演示窗指针高光（元素由 JS 注入） */
.demo-glow {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  background: radial-gradient(480px circle at var(--gx, 50%) var(--gy, 0%), rgba(22, 119, 255, .07), transparent 62%);
  opacity: 0;
  transition: opacity .3s ease;
}
.demo-shell:hover .demo-glow { opacity: 1; }
.demo-shell { will-change: transform; }

/* 减弱动效偏好下全部停用 */
@media (prefers-reduced-motion: reduce) {
  .hero-anim { opacity: 1; transform: none; transition: none; }
  .nav-progress { display: none; }
  .demo-glow { display: none; }
}

/* =========================================================
   品质精修层（企业成熟简约风）：
   留白节奏 / 中文排版字距 / 数字对齐 / 栅格交错入场 /
   按钮微交互 / CTA 二维码盒子修复
   ========================================================= */

/* ---- 留白节奏：桌面端加大呼吸感 ---- */
@media (min-width: 901px) {
  .section { padding: 116px 0; }
  .section-head { margin-bottom: 68px; }
}
.hero-sub, .section-sub { line-height: 2; }

/* ---- 中文大标题：零字距更稳重大气 ---- */
.hero-title, .section-title, .cta h2 { letter-spacing: 0; }

/* ---- 数字统一等宽对齐（表格与价格更整齐） ---- */
.demo-table, .mini-table, .demo-card-value,
.price-value, .mini-stat b, .mono {
  font-variant-numeric: tabular-nums;
}

/* ---- 按钮微交互：轻微上浮，反馈明确 ---- */
.btn { will-change: transform; }
.btn:not(:disabled):hover { transform: translateY(-1px); }

/* ---- 栅格交错入场（只动位移，不碰透明度，灰显卡不受影响） ---- */
@keyframes grid-rise {
  from { transform: translateY(22px); }
  to   { transform: translateY(0); }
}
.eco-grid .eco-item, .sec-grid .sec-card, .pricing-grid .price-card {
  --stagger-i: 0;
}
.eco-grid .eco-item:nth-child(2), .sec-grid .sec-card:nth-child(2), .pricing-grid .price-card:nth-child(2) { --stagger-i: 1; }
.eco-grid .eco-item:nth-child(3), .sec-grid .sec-card:nth-child(3), .pricing-grid .price-card:nth-child(3) { --stagger-i: 2; }
.eco-grid .eco-item:nth-child(4), .sec-grid .sec-card:nth-child(4), .pricing-grid .price-card:nth-child(4) { --stagger-i: 3; }
.eco-grid .eco-item:nth-child(5) { --stagger-i: 4; }
.eco-grid .eco-item:nth-child(6) { --stagger-i: 5; }
.eco-grid .eco-item:nth-child(7) { --stagger-i: 6; }
.eco-grid .eco-item:nth-child(8) { --stagger-i: 7; }
.eco-grid.reveal.visible .eco-item,
.sec-grid.reveal.visible .sec-card,
.pricing-grid.reveal.visible .price-card {
  animation: grid-rise .6s cubic-bezier(.16, 1, .3, 1) both;
  animation-delay: calc(var(--stagger-i) * 70ms);
}

/* ---- CTA 二维码：让盒子随图片自适应（修复 150px 图溢出 108px 盒） ---- */
.cta-qr .qr-box {
  width: auto;
  height: auto;
  padding: 10px;
}
.cta-qr .qr-box img {
  display: block;
  width: 128px;
  height: 128px;
  object-fit: contain;
  border-radius: 8px;
}

/* ---- 表单输入：悬停也有反馈（申请表单体验细化） ---- */
.apply-field input:hover:not(:focus),
.apply-field textarea:hover:not(:focus) {
  border-color: #c9d8f0;
}

/* ---- 精修层同样尊重减弱动效偏好 ---- */
@media (prefers-reduced-motion: reduce) {
  .eco-grid.reveal.visible .eco-item,
  .sec-grid.reveal.visible .sec-card,
  .pricing-grid.reveal.visible .price-card { animation: none; }
  .btn:not(:disabled):hover { transform: none; }
}
