/* =========================================================
   数票票官网 · shupiaopiao.online
   设计语言：深海军蓝 + 品牌蓝 + 暖金
   ========================================================= */

:root {
  --navy-950: #061322;
  --navy-900: #0a1d35;
  --navy-800: #102b4e;
  --navy-700: #173b68;
  --blue-600: #1d4e9e;
  --blue-500: #2f6fd0;
  --blue-100: #e8eefa;
  --gold-500: #c8a25c;
  --gold-400: #d9b979;
  --gold-100: #f7efdf;
  --ink: #12233d;
  --ink-2: #465873;
  --muted: #5f7089;
  --paper: #f6f8fb;
  --paper-2: #eef3f9;
  --line: #e3e8f1;
  --white: #fff;
  --radius: 20px;
  --shadow: 0 24px 60px -32px rgba(18, 35, 61, 0.35);
  --wrap: 1180px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

img {
  height: auto;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--gold-400);
  color: var(--navy-950);
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--white);
  color: var(--navy-900);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 19, 34, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: saturate(1.3) blur(16px);
  backdrop-filter: saturate(1.3) blur(16px);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(6, 19, 34, 0.97);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.7);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
  color: var(--white);
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.8);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-text strong {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.brand-text small {
  margin-top: 1px;
  color: #8fa3c4;
  font-size: 10px;
  letter-spacing: 0.22em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #c6d3e8;
  font-size: 14px;
}

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

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="true"] {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a[aria-current="true"]::after {
  transform: scaleX(1);
}

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

.nav-phone {
  color: #c6d3e8;
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.nav-phone:hover {
  color: var(--gold-400);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: transparent;
  color: var(--white);
  align-items: center;
  justify-content: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle span {
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease,
    color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-primary {
  background: var(--blue-500);
  color: var(--white);
  box-shadow: 0 14px 30px -14px rgba(47, 111, 208, 0.85);
}

.btn-primary:hover {
  background: var(--blue-600);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--navy-950);
  box-shadow: 0 14px 30px -14px rgba(200, 162, 92, 0.75);
}

.btn-gold:hover {
  background: var(--gold-400);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--blue-500);
  color: var(--blue-600);
}

.btn-sm {
  min-height: 42px;
  padding: 0 20px;
  font-size: 14px;
}

.btn-lg {
  min-height: 54px;
  padding: 0 30px;
  font-size: 16px;
}

/* ---------- 首屏 ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 78% 12%, rgba(47, 111, 208, 0.28), transparent 62%),
    radial-gradient(620px 420px at 8% 96%, rgba(200, 162, 92, 0.13), transparent 62%),
    linear-gradient(158deg, #061322 0%, #0a1d35 50%, #0e2a4f 100%);
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.045) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 78%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 78%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.18),
    transparent
  );
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 54px;
  align-items: center;
  padding: 74px 0 66px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border: 1px solid rgba(217, 185, 121, 0.28);
  border-radius: 999px;
  background: rgba(200, 162, 92, 0.08);
  color: var(--gold-400);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 0 4px rgba(200, 162, 92, 0.14);
}

.hero h1 {
  margin-top: 24px;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0.01em;
}

.hero h1 span {
  color: var(--gold-400);
}

.hero-lede {
  max-width: 540px;
  margin-top: 24px;
  color: #b9c8e6;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 12px 30px;
  margin-top: 36px;
  padding: 0;
  list-style: none;
  color: #c6d3e8;
  font-size: 13.5px;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-points li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-400);
  flex: none;
}

.hero-note {
  margin-top: 18px;
  color: #7f93b4;
  font-size: 12px;
  letter-spacing: 0.03em;
}

/* ---------- 首屏驾驶舱 ---------- */

.hero-visual {
  position: relative;
  min-width: 0;
  perspective: 1400px;
}

.dash {
  overflow: hidden;
  border-radius: 18px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 50px 90px -36px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: rotateY(-3.5deg) rotateX(1.6deg);
  transform-origin: 50% 50%;
}

.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  background: #0b2240;
  color: #dbe7fb;
  font-size: 11px;
}

.dash-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.dash-logo {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--blue-500), var(--navy-700));
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
}

.dash-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #9fb5d6;
  font-size: 10px;
}

.dash-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #56d39a;
  box-shadow: 0 0 0 4px rgba(86, 211, 154, 0.12);
}

.dash-body {
  padding: 14px;
  background: #f3f6fb;
}

.dash-kpis {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 8px;
}

.kpi {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #e6ecf5;
  border-radius: 10px;
  background: var(--white);
}

.kpi span {
  display: block;
  color: #7a8aa1;
  font-size: 9px;
  letter-spacing: 0.03em;
}

.kpi strong {
  display: block;
  margin-top: 3px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.kpi-main strong {
  color: var(--blue-600);
  font-size: 23px;
}

.kpi em {
  display: block;
  margin-top: 2px;
  color: #2f9e6f;
  font-size: 9px;
  font-style: normal;
}

.kpi:not(.kpi-main) em {
  color: #7a8aa1;
}

.dash-chart {
  margin-top: 8px;
  padding: 12px 13px 10px;
  border: 1px solid #e6ecf5;
  border-radius: 10px;
  background: var(--white);
}

.chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #44566f;
  font-size: 9.5px;
}

.chart-head span:last-child {
  color: #95a3b7;
  font-size: 9px;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 92px;
  margin-top: 8px;
}

.bar {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5px;
  height: 100%;
}

.bar i {
  display: block;
  width: 100%;
  height: var(--h);
  min-height: 8px;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, #7fa9ea, #2f6fd0);
}

.bar:nth-child(6) i,
.bar:nth-child(7) i {
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500));
}

.bar span {
  color: #95a3b7;
  font-size: 8px;
  text-align: center;
}

.dash-bottom {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.rank,
.alerts {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #e6ecf5;
  border-radius: 10px;
  background: var(--white);
}

.rank-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #44566f;
  font-size: 9.5px;
}

.rank-head span:last-child {
  color: #95a3b7;
  font-size: 9px;
}

.rank-row {
  display: grid;
  grid-template-columns: 15px 38px 1fr 36px;
  gap: 6px;
  align-items: center;
  margin-top: 8px;
  font-size: 9px;
}

.rank-row b {
  color: var(--gold-500);
  font-size: 8px;
  font-weight: 700;
}

.rank-row span {
  overflow: hidden;
  color: #53647c;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-bar {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf1f7;
}

.rank-bar i {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: #9db9e8;
}

.rank-row:first-of-type .rank-bar i {
  background: var(--blue-500);
}

.rank-row em {
  color: #53647c;
  font-size: 8.5px;
  font-style: normal;
  text-align: right;
}

.alerts {
  display: grid;
  gap: 7px;
}

.alert {
  padding: 8px 9px;
  border-radius: 7px;
  background: #f6f8fc;
}

.alert span {
  display: block;
  color: #7a8aa1;
  font-size: 8.5px;
}

.alert strong {
  display: inline-block;
  margin-top: 1px;
  color: var(--blue-600);
  font-size: 16px;
  line-height: 1.2;
}

.alert small {
  display: block;
  overflow: hidden;
  margin-top: 1px;
  color: #95a3b7;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.float-card {
  position: absolute;
  left: -26px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(10, 29, 53, 0.9);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.float-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(200, 162, 92, 0.14);
  color: var(--gold-400);
}

.float-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.float-card b {
  display: block;
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
}

.float-card span {
  display: block;
  margin-top: 1px;
  color: #8fa3c4;
  font-size: 9.5px;
}

.visual-note {
  margin-top: 12px;
  color: #6f84a6;
  font-size: 10px;
  text-align: right;
  letter-spacing: 0.05em;
}

/* ---------- 首屏底部数据 ---------- */

.hero-foot {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-foot div {
  padding: 22px 24px 24px 0;
}

.hero-foot div + div {
  padding-left: 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-foot b {
  display: block;
  color: var(--white);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.hero-foot span {
  display: block;
  margin-top: 3px;
  color: #8fa3c4;
  font-size: 12px;
}

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

.section {
  padding: 96px 0;
}

.section--white {
  background: var(--white);
}

.section--tint {
  background: var(--paper);
}

.section--tight {
  padding-top: 0;
}

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

.section-head--left {
  max-width: none;
  margin: 0 0 40px;
  text-align: left;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
}

.kicker::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.kicker--gold {
  background: var(--gold-100);
  color: #8a6a2c;
}

.kicker--dark {
  background: rgba(255, 255, 255, 0.09);
  color: var(--gold-400);
}

.section-head h2,
.inventory-copy h2,
.contact-copy h2 {
  margin-top: 16px;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: 0.015em;
  text-wrap: balance;
}

.section-head p,
.hero-lede,
.inventory-copy > p,
.contact-copy > p {
  text-wrap: pretty;
}

.mobile-break {
  display: none;
}

.section-head p {
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.8;
}

.section-head--left p {
  margin-left: 0;
}

/* ---------- 五个终端 ---------- */

.terminals {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.terminal {
  position: relative;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  min-height: 244px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.28s ease, box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.terminal:nth-child(4),
.terminal:nth-child(5) {
  grid-column: span 3;
  min-height: 224px;
}

.terminal:hover {
  transform: translateY(-4px);
  border-color: #c9d8ee;
  box-shadow: var(--shadow);
}

.terminal .num {
  position: absolute;
  top: 22px;
  right: 24px;
  color: #d9e2ef;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.term-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--blue-100);
  color: var(--blue-600);
}

.term-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.terminal h3 {
  margin-top: 18px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.terminal p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.term-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 18px;
}

.term-tags span {
  padding: 3px 9px;
  border-radius: 999px;
  background: #f2f6fc;
  color: #64758d;
  font-size: 11px;
}

/* ---------- 智能库存 ---------- */

.inventory-panel {
  position: relative;
  overflow: hidden;
  padding: 58px;
  border-radius: 30px;
  background:
    radial-gradient(700px 500px at 92% 4%, rgba(47, 111, 208, 0.3), transparent 60%),
    radial-gradient(500px 420px at 4% 100%, rgba(200, 162, 92, 0.12), transparent 62%),
    linear-gradient(152deg, #081a2e 0%, #0d2747 58%, #123a7a 100%);
  color: var(--white);
  box-shadow: 0 40px 80px -46px rgba(6, 19, 34, 0.9);
}

.inventory-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(circle at 70% 20%, #000, transparent 72%);
  mask-image: radial-gradient(circle at 70% 20%, #000, transparent 72%);
  pointer-events: none;
}

.inventory-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 56px;
  align-items: center;
}

.inventory-copy h2 {
  color: var(--white);
}

.inventory-copy > p {
  max-width: 480px;
  margin-top: 16px;
  color: #b9c8e6;
  font-size: 15.5px;
  line-height: 1.85;
}

.check-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
  color: #d4dfef;
  font-size: 14px;
}

.check-list li {
  position: relative;
  padding-left: 25px;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 11px;
  height: 6px;
  border-left: 1.5px solid var(--gold-400);
  border-bottom: 1.5px solid var(--gold-400);
  transform: rotate(-45deg);
}

.inventory-copy .btn {
  margin-top: 30px;
}

.scale-card {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.scale-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #c6d3e8;
  font-size: 12px;
}

.scale-top .sync {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8be0b5;
  font-size: 11px;
}

.scale-top .sync::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.scale-weight {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 16px;
}

.scale-weight strong {
  color: var(--white);
  font-size: 58px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.scale-weight span {
  color: var(--gold-400);
  font-size: 18px;
  font-weight: 600;
}

.scale-card > p {
  margin-top: 6px;
  color: #8fa3c4;
  font-size: 12px;
}

.scale-rows {
  display: grid;
  gap: 9px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.scale-rows div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #b9c8e6;
  font-size: 12px;
}

.scale-rows b {
  color: #8be0b5;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.scale-rows b.minus {
  color: var(--gold-400);
}

.scale-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  padding: 10px 12px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  color: #8fa3c4;
  font-size: 10.5px;
}

.scale-foot span:last-child {
  color: #d4dfef;
}

.inventory-flow {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.inv-step {
  position: relative;
  padding: 0 20px 0 0;
}

.inv-step + .inv-step::before {
  content: "";
  position: absolute;
  top: 9px;
  left: -8px;
  width: 1px;
  height: 42px;
  background: rgba(255, 255, 255, 0.12);
}

.inv-step b {
  display: block;
  color: var(--gold-400);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.inv-step h3 {
  margin-top: 7px;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
}

.inv-step p {
  margin-top: 3px;
  color: #8fa3c4;
  font-size: 12.5px;
  line-height: 1.7;
}

/* ---------- 功能 ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  transition: border-color 0.25s ease, transform 0.25s ease,
    box-shadow 0.25s ease;
}

.feature:hover {
  transform: translateY(-3px);
  border-color: #c9d8ee;
  box-shadow: var(--shadow);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--blue-100);
  color: var(--blue-600);
}

.feature-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature h3 {
  margin-top: 17px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.feature p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.feature-more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.feature-more span {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: #64758d;
  font-size: 12px;
}

.feature-more strong {
  margin-right: 4px;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
}

/* ---------- 业态 ---------- */

.modes {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.mode {
  position: relative;
  padding: 24px 20px 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.mode:hover {
  transform: translateY(-3px);
  border-color: #c9d8ee;
}

.mode::before {
  content: "";
  display: block;
  width: 24px;
  height: 3px;
  margin-bottom: 16px;
  border-radius: 2px;
  background: var(--gold-500);
}

.mode h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.mode p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.mode-note {
  margin-top: 26px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.mode-note a {
  color: var(--blue-600);
  border-bottom: 1px solid rgba(29, 78, 158, 0.25);
}

/* ---------- 部署 ---------- */

.deploy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.deploy-card {
  position: relative;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  overflow: hidden;
}

.deploy-card--featured {
  border-color: transparent;
  background:
    radial-gradient(520px 360px at 100% 0%, rgba(47, 111, 208, 0.32), transparent 62%),
    linear-gradient(150deg, #081a2e 0%, #0d2747 62%, #123a7a 100%);
  color: var(--white);
  box-shadow: 0 30px 60px -36px rgba(6, 19, 34, 0.8);
}

.deploy-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(200, 162, 92, 0.16);
  color: var(--gold-400);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.deploy-card h3 {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.deploy-card .sub {
  margin-top: 6px;
  color: var(--blue-600);
  font-size: 13.5px;
  font-weight: 600;
}

.deploy-card--featured .sub {
  color: var(--gold-400);
}

.deploy-list {
  display: grid;
  gap: 11px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
  color: var(--ink-2);
  font-size: 14px;
}

.deploy-card--featured .deploy-list {
  color: #c6d3e8;
}

.deploy-list li {
  position: relative;
  padding-left: 25px;
}

.deploy-list li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 11px;
  height: 6px;
  border-left: 1.5px solid var(--blue-500);
  border-bottom: 1.5px solid var(--blue-500);
  transform: rotate(-45deg);
}

.deploy-card--featured .deploy-list li::before {
  border-color: var(--gold-400);
}

.deploy-foot {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
}

.deploy-card--featured .deploy-foot {
  border-color: rgba(255, 255, 255, 0.12);
  color: #8fa3c4;
}

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

.faq {
  max-width: 860px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 2px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--blue-600);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
  background: var(--blue-100);
  transform: rotate(180deg);
}

.faq-item summary:hover {
  color: var(--blue-600);
}

.faq-a {
  max-width: 720px;
  padding: 0 0 26px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.85;
}

.faq-a p + p {
  margin-top: 10px;
}

/* ---------- 联系 ---------- */

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
  overflow: hidden;
  padding: 62px;
  border-radius: 30px;
  background:
    radial-gradient(700px 460px at 100% 0%, rgba(47, 111, 208, 0.32), transparent 62%),
    radial-gradient(480px 360px at 0% 100%, rgba(200, 162, 92, 0.14), transparent 62%),
    linear-gradient(150deg, #061322 0%, #0a1d35 55%, #123a7a 100%);
  color: var(--white);
}

.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(circle at 80% 20%, #000, transparent 70%);
  mask-image: radial-gradient(circle at 80% 20%, #000, transparent 70%);
  pointer-events: none;
}

.contact-copy,
.contact-card {
  position: relative;
  z-index: 1;
}

.contact-copy h2 {
  color: var(--white);
}

.contact-copy > p {
  max-width: 500px;
  margin-top: 16px;
  color: #b9c8e6;
  font-size: 15.5px;
  line-height: 1.85;
}

.contact-points {
  display: grid;
  gap: 9px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
  color: #c6d3e8;
  font-size: 13.5px;
}

.contact-points li {
  position: relative;
  padding-left: 22px;
}

.contact-points li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 10px;
  height: 5px;
  border-left: 1.5px solid var(--gold-400);
  border-bottom: 1.5px solid var(--gold-400);
  transform: rotate(-45deg);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.contact-card {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.contact-card .label {
  color: #8fa3c4;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.contact-card .phone {
  display: block;
  margin-top: 6px;
  color: var(--white);
  font-size: clamp(25px, 2.5vw, 32px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.contact-card .phone:hover {
  color: var(--gold-400);
}

.contact-card .card-note {
  margin-top: 8px;
  color: #8fa3c4;
  font-size: 12px;
}

.contact-divider {
  height: 1px;
  margin: 20px 0;
  background: rgba(255, 255, 255, 0.1);
}

.contact-card .mini-title {
  color: #d4dfef;
  font-size: 12px;
  font-weight: 600;
}

.contact-card .mini-list {
  display: grid;
  gap: 7px;
  margin-top: 10px;
  padding: 0;
  list-style: none;
  color: #8fa3c4;
  font-size: 12px;
}

.contact-card .mini-list li {
  padding-left: 14px;
  position: relative;
}

.contact-card .mini-list li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-400);
}

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

.site-footer {
  padding: 56px 0 26px;
  background: #061322;
  color: #8fa3c4;
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.8fr;
  gap: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.footer-brand strong {
  display: block;
  font-size: 18px;
  letter-spacing: 0.08em;
}

.footer-brand span {
  display: block;
  margin-top: 1px;
  color: #7f93b4;
  font-size: 10px;
  letter-spacing: 0.18em;
}

.footer-desc {
  max-width: 340px;
  margin-top: 16px;
  color: #7f93b4;
  font-size: 12.5px;
  line-height: 1.8;
}

.footer-col h3 {
  color: #d4dfef;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.footer-col ul {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 0;
  list-style: none;
}

.footer-col a {
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: #647a9b;
  font-size: 11.5px;
}

.footer-bottom a {
  border-bottom: 1px solid rgba(100, 122, 155, 0.4);
}

.footer-bottom a:hover {
  color: #b9c8e6;
}

/* ---------- 404 ---------- */

.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(700px 420px at 70% 10%, rgba(47, 111, 208, 0.22), transparent 62%),
    linear-gradient(158deg, #061322 0%, #0a1d35 60%, #0e2a4f 100%);
  color: var(--white);
}

.error-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 80px 24px;
  text-align: center;
}

.error-code {
  color: var(--gold-400);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
}

.error-main h1 {
  margin-top: 14px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.25;
}

.error-main p {
  max-width: 480px;
  margin: 14px auto 0;
  color: #b9c8e6;
  font-size: 15px;
}

.error-main .btn {
  margin-top: 28px;
}

.error-footer {
  padding: 24px;
  color: #647a9b;
  font-size: 11px;
  text-align: center;
}

/* ---------- 进场动画 ---------- */

.reveal-ready {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--delay, 0s);
}

.reveal-ready.on {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-ready {
    opacity: 1;
    transform: none;
  }
}

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

@media (max-width: 1080px) {
  .nav-links {
    gap: 22px;
  }

  .hero-grid {
    gap: 36px;
  }

  .float-card {
    display: none;
  }

  .inventory-panel {
    padding: 46px;
  }

  .inventory-head {
    gap: 36px;
  }

  .modes {
    grid-template-columns: repeat(3, 1fr);
  }

  .mode:nth-child(4),
  .mode:nth-child(5) {
    grid-column: span 1;
  }
}

@media (max-width: 920px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 24px 22px;
    background: #081a2e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.7);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 15px;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-phone {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 56px 0 54px;
  }

  .hero-lede {
    max-width: 620px;
  }

  .hero-visual {
    max-width: 620px;
    margin: 0 auto;
  }

  .dash {
    transform: none;
  }

  .hero-foot {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-foot div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .hero-foot div:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .inventory-head {
    grid-template-columns: 1fr;
  }

  .inventory-copy > p {
    max-width: 640px;
  }

  .inventory-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .inv-step:nth-child(3)::before {
    display: none;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .deploy-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    padding: 46px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .wrap {
    padding: 0 18px;
  }

  .nav {
    min-height: 64px;
  }

  .brand-text small {
    display: none;
  }

  .nav-actions {
    gap: 10px;
  }

  .nav-actions .btn {
    min-height: 38px;
    padding: 0 14px;
    font-size: 13px;
  }

  .mobile-break {
    display: inline;
  }

  .hero-grid {
    padding: 44px 0 48px;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .hero-lede {
    font-size: 15.5px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .hero-points {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .dash-kpis {
    grid-template-columns: 1fr 1fr;
  }

  .kpi-main {
    grid-column: 1 / -1;
  }

  .dash-bottom {
    grid-template-columns: 1fr;
  }

  .alerts {
    grid-template-columns: 1fr 1fr;
  }

  .hero-foot {
    grid-template-columns: 1fr 1fr;
  }

  .hero-foot div {
    padding: 18px 14px 18px 0;
  }

  .hero-foot div + div {
    padding-left: 18px;
  }

  .hero-foot b {
    font-size: 16px;
  }

  .hero-foot span {
    font-size: 11px;
  }

  .section {
    padding: 68px 0;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .section-head h2,
  .inventory-copy h2,
  .contact-copy h2 {
    font-size: 28px;
  }

  .section-head p {
    font-size: 15px;
  }

  .terminals {
    grid-template-columns: 1fr;
  }

  .terminal,
  .terminal:nth-child(4),
  .terminal:nth-child(5) {
    grid-column: span 1;
    min-height: 0;
  }

  .inventory-panel {
    padding: 32px 22px;
    border-radius: 22px;
  }

  .inventory-flow {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 30px;
    padding-top: 8px;
  }

  .inv-step {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  .inv-step:last-child {
    border-bottom: 0;
  }

  .inv-step + .inv-step::before {
    display: none;
  }

  .scale-card {
    padding: 22px;
  }

  .scale-weight strong {
    font-size: 48px;
  }

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

  .modes {
    grid-template-columns: 1fr 1fr;
  }

  .mode {
    padding: 20px 16px;
  }

  .mode:last-child {
    grid-column: 1 / -1;
  }

  .mode h3 {
    font-size: 16px;
  }

  .mode p {
    font-size: 12.5px;
  }

  .deploy-card {
    padding: 28px 22px;
  }

  .deploy-badge {
    top: 18px;
    right: 18px;
  }

  .contact-panel {
    padding: 34px 22px;
    border-radius: 22px;
  }

  .contact-actions .btn {
    width: 100%;
  }

  .contact-card {
    padding: 24px;
  }

  .faq-item summary {
    padding: 20px 2px;
    font-size: 15.5px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

@media (max-width: 380px) {
  .modes {
    grid-template-columns: 1fr;
  }

  .mode:last-child {
    grid-column: auto;
  }

  .alerts {
    grid-template-columns: 1fr;
  }
}
