/* ==========================================================================
   云南鸿创物联科技有限公司 · 官网样式
   Hongchuang IoT — Corporate Website Stylesheet
   ========================================================================== */

/* ---------- 1. 设计令牌 Design Tokens ---------- */
:root {
  /* 品牌色 */
  --c-primary: #1965fd;
  --c-primary-dark: #0f49c4;
  --c-primary-soft: #e6eefe;
  --c-primary-mist: #f4f8ff;
  --c-accent: #ffb029;
  --c-accent-soft: #fff6e6;

  /* 中性色 */
  --c-navy: #071c35;
  --c-navy-2: #0b2545;
  --c-navy-3: #123258;
  --c-heading: #12233d;
  --c-text: #677294;
  --c-text-light: #8b95b0;
  --c-line: #e4ebf8;
  --c-bg: #ffffff;
  --c-bg-soft: #f6f9ff;

  /* 语义色 */
  --c-success: #12b886;
  --c-danger: #f0506e;

  /* 尺寸 */
  --container: 1200px;
  --container-wide: 1340px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* 阴影 */
  --shadow-xs: 0 2px 10px rgba(15, 42, 90, 0.05);
  --shadow-sm: 0 8px 24px rgba(15, 42, 90, 0.07);
  --shadow: 0 18px 48px rgba(11, 35, 80, 0.1);
  --shadow-lg: 0 32px 80px rgba(11, 35, 80, 0.18);
  --shadow-blue: 0 16px 40px rgba(25, 101, 253, 0.28);

  /* 排版 */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  /* 动效 */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 0.18s;
  --t: 0.32s;

  --header-h: 78px;
}

/* ---------- 2. 基础重置 Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-text);
  background: var(--c-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  color: var(--c-heading);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.18;
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(26px, 3.1vw, 40px);
}
h3 {
  font-size: clamp(19px, 1.6vw, 22px);
}
h4 {
  font-size: 17px;
}

p {
  margin: 0;
}

a {
  color: var(--c-primary);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
a:hover {
  color: var(--c-primary-dark);
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: 15px;
}

::selection {
  background: rgba(25, 101, 253, 0.16);
  color: var(--c-navy);
}

/* ---------- 3. 布局工具 Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-wide {
  max-width: var(--container-wide);
}

.section {
  padding: 100px 0;
  position: relative;
}
.section-sm {
  padding: 72px 0;
}
.section-soft {
  background: var(--c-bg-soft);
}
.section-navy {
  background: var(--c-navy);
  color: #b9c7de;
}
.section-navy h2,
.section-navy h3,
.section-navy h4 {
  color: #fff;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 58px;
  text-align: center;
}
.section-head.left {
  margin-left: 0;
  text-align: left;
}
.section-head p {
  margin-top: 16px;
  font-size: 16.5px;
  line-height: 1.85;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--c-primary);
  background: var(--c-primary-soft);
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-primary);
}
.section-navy .eyebrow {
  color: #9ec0ff;
  background: rgba(25, 101, 253, 0.22);
}
.section-navy .eyebrow::before {
  background: #9ec0ff;
}

.text-center {
  text-align: center;
}
.mt-40 {
  margin-top: 40px;
}
.mt-56 {
  margin-top: 56px;
}

/* ---------- 4. 按钮 Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 50px;
  padding: 0 28px;
  font-size: 15.5px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: transform var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease), background var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #2d78ff 0%, var(--c-primary) 55%, #0d4fd6 100%);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  color: #fff;
  box-shadow: 0 22px 52px rgba(25, 101, 253, 0.38);
}

.btn-ghost {
  color: var(--c-heading);
  background: #fff;
  border: 1.5px solid var(--c-line);
  box-shadow: var(--shadow-xs);
}
.btn-ghost:hover {
  color: var(--c-primary);
  border-color: rgba(25, 101, 253, 0.45);
}

.btn-outline-light {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}
.btn-outline-light:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.13);
}

.btn-sm {
  height: 42px;
  padding: 0 20px;
  font-size: 14.5px;
}
.btn-lg {
  height: 56px;
  padding: 0 34px;
  font-size: 16.5px;
}
.btn-block {
  width: 100%;
}

.btn .ico {
  width: 18px;
  height: 18px;
  flex: none;
}

/* 文字箭头链接 */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 15px;
}
.link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform var(--t) var(--ease);
}
.link-arrow:hover svg {
  transform: translateX(4px);
}

/* ---------- 5. 页头 Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease),
    border-color var(--t) var(--ease);
}
.site-header.is-stuck {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--c-line);
  box-shadow: 0 8px 30px rgba(11, 35, 80, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
}
.brand-mark {
  width: 42px;
  height: 42px;
  flex: none;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-text strong {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-heading);
  letter-spacing: 0.01em;
}
.brand-text em {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--c-primary);
  text-transform: uppercase;
}

/* 主导航 */
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav > ul > li > a {
  position: relative;
  display: block;
  padding: 10px 15px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--c-heading);
  border-radius: var(--radius-sm);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.main-nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t) var(--ease);
}
.main-nav > ul > li > a:hover {
  color: var(--c-primary);
  background: var(--c-primary-mist);
}
.main-nav > ul > li > a:hover::after,
.main-nav > ul > li > a.active::after {
  transform: scaleX(1);
}
.main-nav > ul > li > a.active {
  color: var(--c-primary);
  font-weight: 600;
}

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-heading);
  transition: transform var(--t) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 6. 首页 Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 84px) 0 100px;
  background: var(--c-navy);
  color: #a9bcd8;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      900px 520px at 12% -6%,
      rgba(25, 101, 253, 0.5),
      transparent 62%
    ),
    radial-gradient(760px 520px at 96% 8%, rgba(0, 194, 255, 0.22), transparent 60%),
    radial-gradient(700px 460px at 60% 118%, rgba(25, 101, 253, 0.28), transparent 62%);
  z-index: -2;
}
.hero::after {
  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: 62px 62px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 8px;
  margin-bottom: 24px;
  font-size: 13.5px;
  font-weight: 600;
  color: #cfe0ff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
}
.hero-tag b {
  padding: 2px 10px;
  font-size: 12px;
  color: #04203f;
  background: linear-gradient(135deg, #7fb2ff, #b9d4ff);
  border-radius: var(--radius-pill);
}

.hero h1 {
  color: #fff;
}
.hero h1 .grad {
  background: linear-gradient(100deg, #6ea8ff 0%, #37d0ff 92%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lead {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.9;
  color: #a9bcd8;
  max-width: 560px;
}

.hero-points {
  margin-top: 30px;
  display: grid;
  gap: 13px;
}
.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 15.5px;
  color: #c3d3ea;
}
.hero-points .dot {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  border-radius: 50%;
  background: rgba(25, 101, 253, 0.9);
  display: grid;
  place-items: center;
}
.hero-points .dot svg {
  width: 12px;
  height: 12px;
  stroke: #fff;
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13.5px;
  color: #8fa4c2;
}
.hero-meta b {
  color: #fff;
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 15px;
}

/* Hero 右侧：控制台模拟 */
.hero-visual {
  position: relative;
}
.hero-visual .glow {
  position: absolute;
  inset: -14% -8%;
  background: radial-gradient(closest-side, rgba(25, 101, 253, 0.55), transparent 72%);
  filter: blur(28px);
  z-index: 0;
}
.console {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  background: rgba(9, 28, 53, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  backdrop-filter: blur(6px);
}
.console-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.console-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}
.console-bar i:nth-child(1) {
  background: #ff6b6b;
}
.console-bar i:nth-child(2) {
  background: #ffc93c;
}
.console-bar i:nth-child(3) {
  background: #4ad991;
}
.console-bar span {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #7f96b4;
}
.console-bar .live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  color: #7ef0c0;
  background: rgba(18, 184, 134, 0.16);
  border-radius: var(--radius-pill);
}
.console-bar .live em {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #12b886;
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(18, 184, 134, 0.6);
  }
  50% {
    opacity: 0.5;
    box-shadow: 0 0 0 6px rgba(18, 184, 134, 0);
  }
}

.console-body {
  padding: 16px;
}
.console-side {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 14px;
}
.console-list {
  display: grid;
  gap: 6px;
  align-content: start;
}
.console-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-size: 11.5px;
  color: #8ea4c2;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}
.console-list li.on {
  color: #fff;
  background: rgba(25, 101, 253, 0.32);
}
.console-list li .st {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #12b886;
  flex: none;
}
.console-list li.off .st {
  background: #ff7a7a;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.tile {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 9px;
  overflow: hidden;
  background: linear-gradient(150deg, #123258, #0a2540);
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.05) 0 2px,
    transparent 2px 12px
  );
}
.tile::after {
  content: attr(data-ch);
  position: absolute;
  left: 6px;
  bottom: 5px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.72);
}
.tile.on {
  border-color: rgba(25, 101, 253, 0.85);
  box-shadow: 0 0 0 1px rgba(25, 101, 253, 0.5) inset;
}
.tile .rec {
  position: absolute;
  top: 6px;
  right: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5b5b;
  animation: pulse 1.8s infinite;
}

.console-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.console-stats div {
  padding: 11px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.console-stats strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 17px;
  color: #fff;
}
.console-stats span {
  font-size: 10.5px;
  color: #7f96b4;
}

/* 悬浮小卡 */
.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  animation: floaty 5s ease-in-out infinite;
}
.float-card .fc-ic {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--c-primary-soft);
}
.float-card .fc-ic svg {
  width: 18px;
  height: 18px;
  stroke: var(--c-primary);
}
.float-card strong {
  display: block;
  font-size: 14px;
  color: var(--c-heading);
  line-height: 1.3;
}
.float-card span {
  font-size: 11.5px;
  color: var(--c-text-light);
}
.float-card.fc-a {
  top: 12%;
  left: -34px;
}
.float-card.fc-b {
  bottom: 9%;
  right: -26px;
  animation-delay: -2.4s;
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-11px);
  }
}

/* ---------- 7. 通用卡片 ---------- */
.card {
  position: relative;
  display: block;
  padding: 32px 30px;
  color: var(--c-text);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease),
    border-color var(--t) var(--ease);
}
.card:hover {
  color: var(--c-text);
  transform: translateY(-6px);
  border-color: rgba(25, 101, 253, 0.32);
  box-shadow: var(--shadow);
}
.card h3 {
  margin-bottom: 12px;
}
.card p {
  font-size: 15px;
  line-height: 1.85;
}

.card-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 15px;
  background: linear-gradient(140deg, var(--c-primary-soft), #f2f7ff);
  border: 1px solid rgba(25, 101, 253, 0.14);
  transition: background var(--t) var(--ease), transform var(--t) var(--ease);
}
.card-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--c-primary);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card:hover .card-icon {
  background: linear-gradient(140deg, var(--c-primary), #3d82ff);
  transform: scale(1.05) rotate(-3deg);
}
.card:hover .card-icon svg {
  stroke: #fff;
}

/* 卡片上的编号 */
.card-num {
  position: absolute;
  top: 26px;
  right: 28px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: rgba(25, 101, 253, 0.22);
}

/* 网格 */
.grid {
  display: grid;
  gap: 26px;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ---------- 8. 三大特性 ---------- */
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.feature {
  padding: 44px 34px;
  border-right: 1px solid var(--c-line);
  transition: background var(--t) var(--ease);
}
.feature:last-child {
  border-right: 0;
}
.feature:hover {
  background: var(--c-primary-mist);
}
.feature-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--c-primary-soft);
}
.feature-icon svg {
  width: 27px;
  height: 27px;
  stroke: var(--c-primary);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature h3 {
  margin-bottom: 12px;
}
.feature p {
  font-size: 15px;
}

/* ---------- 9. 软件界面展示 ---------- */
.shot-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #0a2540, #071c35);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.shot-win {
  border-radius: 12px;
  overflow: hidden;
  background: #061627;
}
.shot-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.shot-tabs button {
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: #8ea4c2;
  border-radius: 8px;
  transition: all var(--t-fast) var(--ease);
}
.shot-tabs button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}
.shot-tabs button.on {
  color: #fff;
  background: var(--c-primary);
}
.shot-stage {
  position: relative;
  padding: 18px;
  min-height: 400px;
}
.shot-pane {
  display: none;
}
.shot-pane.on {
  display: block;
  animation: fadeUp 0.45s var(--ease);
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.big-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.big-grid .tile {
  aspect-ratio: 16 / 9;
  border-radius: 10px;
}
.big-grid .tile::after {
  font-size: 10.5px;
}

.shot-side-panel {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 14px;
}
.panel {
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.panel h5 {
  margin: 0 0 12px;
  font-size: 12.5px;
  color: #cfe0ff;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  font-size: 12px;
  color: #93a9c7;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}
.panel-row:last-child {
  border-bottom: 0;
}
.panel-row b {
  font-family: var(--font-mono);
  color: #7ef0c0;
  font-weight: 600;
}
.panel-row b.warn {
  color: #ffce6b;
}

.meter {
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  margin-top: 8px;
}
.meter i {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #2d78ff, #37d0ff);
  width: 0;
  transition: width 1.1s var(--ease);
}

/* 告警列表（软件界面演示） */
.alarm-list {
  display: grid;
}
.alarm-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 4px;
  font-size: 12.5px;
  color: #93a9c7;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}
.alarm-row:last-child {
  border-bottom: 0;
}
.alarm-row .lv {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.lv-high {
  background: #ff6b6b;
  box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.16);
}
.lv-mid {
  background: #ffb029;
  box-shadow: 0 0 0 4px rgba(255, 176, 41, 0.16);
}
.lv-low {
  background: #4dabf7;
  box-shadow: 0 0 0 4px rgba(77, 171, 247, 0.16);
}
.alarm-row .txt {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.alarm-row .txt b {
  color: #fff;
  font-weight: 600;
}
.alarm-row .tm {
  flex: none;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #7f96b4;
}
.badge {
  flex: none;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  font-size: 10.5px;
  font-weight: 600;
}
.badge-pending {
  color: #ffce6b;
  background: rgba(255, 176, 41, 0.16);
}
.badge-done {
  color: #7ef0c0;
  background: rgba(18, 184, 134, 0.16);
}

/* 电子地图（软件界面演示） */
.map-canvas {
  position: relative;
  min-height: 330px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  overflow: hidden;
  background:
    linear-gradient(rgba(45, 120, 255, 0.16), rgba(45, 120, 255, 0.16)) 0 62% /
      100% 13px no-repeat,
    linear-gradient(rgba(45, 120, 255, 0.16), rgba(45, 120, 255, 0.16)) 38% 0 /
      11px 100% no-repeat,
    linear-gradient(rgba(45, 120, 255, 0.1), rgba(45, 120, 255, 0.1)) 72% 0 /
      8px 100% no-repeat,
    radial-gradient(520px 280px at 30% 24%, rgba(25, 101, 253, 0.28), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 46px),
    linear-gradient(160deg, #0c2a4d, #061627);
}
.map-dot {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 2;
}
.map-dot .pin {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2d78ff;
  box-shadow: 0 0 0 3px rgba(45, 120, 255, 0.22);
}
.map-dot.ok .pin {
  background: #12b886;
  box-shadow: 0 0 0 3px rgba(18, 184, 134, 0.22);
}
.map-dot.alarm .pin {
  background: #ff6b6b;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.24);
  animation: pulse 1.6s infinite;
}
.map-dot.off .pin {
  background: #677294;
  box-shadow: 0 0 0 3px rgba(103, 114, 148, 0.22);
}
.map-dot .lb {
  font-family: var(--font-mono);
  font-size: 9.5px;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(6, 22, 39, 0.78);
  padding: 1px 6px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.map-legend {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 6px 12px;
  font-size: 10.5px;
  color: #8ea4c2;
  background: rgba(6, 22, 39, 0.72);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.map-legend i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 5px;
  vertical-align: 1px;
}
.map-legend .lg-ok {
  background: #12b886;
}
.map-legend .lg-alarm {
  background: #ff6b6b;
}
.map-legend .lg-off {
  background: #677294;
}

/* ---------- 10. AI 分析区块 ---------- */
.ai-panel {
  padding: 34px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.ai-panel:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.ai-chip {
  display: inline-block;
  padding: 5px 13px;
  margin: 0 8px 10px 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-primary);
  background: var(--c-primary-soft);
  border-radius: var(--radius-pill);
  transition: all var(--t-fast) var(--ease);
}
.ai-chip:hover {
  color: #fff;
  background: var(--c-primary);
}
.ai-panel h3 {
  margin-bottom: 14px;
}

/* ---------- 11. 大屏上墙 ---------- */
.wall-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.wall-tile {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: linear-gradient(150deg, #10305a, #081f39);
  border: 1px solid rgba(25, 101, 253, 0.22);
  overflow: hidden;
}
.wall-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    70deg,
    rgba(255, 255, 255, 0.045) 0 2px,
    transparent 2px 14px
  );
}
.wall-tile span {
  position: absolute;
  left: 8px;
  bottom: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- 12. 设备兼容 ---------- */
.device-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.device {
  display: flex;
  gap: 18px;
  padding: 26px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--c-line);
  transition: all var(--t) var(--ease);
}
.device:hover {
  border-color: rgba(25, 101, 253, 0.35);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}
.device .dv-ic {
  flex: none;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--c-primary-soft);
}
.device .dv-ic svg {
  width: 23px;
  height: 23px;
  stroke: var(--c-primary);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.device h4 {
  margin-bottom: 7px;
}
.device p {
  font-size: 14.5px;
  line-height: 1.8;
}

/* ---------- 13. 数据统计 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.stat {
  text-align: center;
  padding: 34px 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background var(--t) var(--ease), transform var(--t) var(--ease);
}
.stat:hover {
  background: rgba(25, 101, 253, 0.2);
  transform: translateY(-5px);
}
.stat .num {
  font-family: var(--font-mono);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.stat .num em {
  font-style: normal;
  font-size: 0.55em;
  margin-left: 3px;
  color: #7fb2ff;
}
.stat .lbl {
  margin-top: 10px;
  font-size: 14.5px;
  color: #9db2cf;
}

/* ---------- 14. 页脚 Footer ---------- */
.site-footer {
  background: var(--c-navy);
  color: #8fa4c2;
  padding-top: 78px;
  font-size: 14.5px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -160px;
  left: 50%;
  width: 720px;
  height: 320px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(25, 101, 253, 0.32), transparent);
  filter: blur(30px);
}
.footer-top {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 56px;
}
.footer-brand .brand-text strong {
  color: #fff;
}
.footer-brand p {
  margin-top: 20px;
  max-width: 320px;
  line-height: 1.9;
  color: #8fa4c2;
}
.footer-contact-mini {
  margin-top: 22px;
  display: grid;
  gap: 9px;
}
.footer-contact-mini a,
.footer-contact-mini span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #b9c7de;
  font-size: 14px;
}
.footer-contact-mini svg {
  width: 16px;
  height: 16px;
  stroke: var(--c-primary);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.footer-contact-mini a:hover {
  color: #fff;
}

.footer-col h4 {
  margin-bottom: 20px;
  font-size: 15px;
  color: #fff;
  letter-spacing: 0.02em;
}
.footer-col ul {
  display: grid;
  gap: 12px;
}
.footer-col a {
  color: #8fa4c2;
  font-size: 14.5px;
}
.footer-col a:hover {
  color: #fff;
}
.footer-col li {
  line-height: 1.7;
}

.footer-bottom {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13.5px;
  color: #7086a6;
  text-align: center;
}
.footer-bottom .fb-copy {
  font-size: 14px;
  color: #8fa4c2;
}
.footer-bottom a {
  color: #7086a6;
}
.footer-bottom a:hover {
  color: #b9c7de;
}
.footer-bottom .fb-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 22px;
}

/* ---------- 15. 内页 Hero ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 66px) 0 66px;
  background: var(--c-navy);
  color: #a9bcd8;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      760px 400px at 16% 0%,
      rgba(25, 101, 253, 0.46),
      transparent 64%
    ),
    radial-gradient(620px 380px at 92% 40%, rgba(0, 194, 255, 0.18), transparent 62%);
  z-index: -2;
}
.page-hero::after {
  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: 56px 56px;
  mask-image: linear-gradient(180deg, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
  z-index: -1;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(30px, 3.6vw, 44px);
}
.page-hero p {
  margin-top: 18px;
  max-width: 700px;
  font-size: 16.5px;
  line-height: 1.9;
  color: #a9bcd8;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  font-size: 13.5px;
  color: #7f96b4;
}
.breadcrumb a {
  color: #a9bcd8;
}
.breadcrumb a:hover {
  color: #fff;
}
.breadcrumb .sep {
  opacity: 0.5;
}

/* ---------- 16. 交替图文 ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split.rev .split-media {
  order: -1;
}
.split-body h2 {
  margin-bottom: 18px;
}
.split-body p {
  font-size: 15.5px;
  line-height: 1.9;
}
.check-list {
  margin-top: 24px;
  display: grid;
  gap: 13px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 15px;
  color: var(--c-heading);
}
.check-list .ck {
  flex: none;
  width: 21px;
  height: 21px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--c-primary-soft);
  display: grid;
  place-items: center;
}
.check-list .ck svg {
  width: 12px;
  height: 12px;
  stroke: var(--c-primary);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 媒体占位块（渐变+图标，无外链图片） */
.media-box {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, #0d2c52, #071c35);
  border: 1px solid rgba(25, 101, 253, 0.2);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.media-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      420px 280px at 30% 20%,
      rgba(25, 101, 253, 0.45),
      transparent 68%
    ),
    repeating-linear-gradient(
      62deg,
      rgba(255, 255, 255, 0.045) 0 2px,
      transparent 2px 16px
    );
}
.media-box .mb-inner {
  position: relative;
  text-align: center;
  padding: 26px;
}
.media-box .mb-ic {
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
}
.media-box .mb-ic svg {
  width: 32px;
  height: 32px;
  stroke: #7fb2ff;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.media-box strong {
  display: block;
  color: #fff;
  font-size: 17px;
  letter-spacing: 0.01em;
}
.media-box span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #8fa4c2;
}

/* ---------- 17. 表格 ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-xs);
}
table.cmp {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 14.5px;
}
table.cmp th,
table.cmp td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--c-line);
}
table.cmp thead th {
  background: var(--c-bg-soft);
  color: var(--c-heading);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}
table.cmp tbody tr:last-child td {
  border-bottom: 0;
}
table.cmp tbody tr:hover {
  background: var(--c-primary-mist);
}
table.cmp td:first-child {
  color: var(--c-heading);
  font-weight: 600;
}
.tick {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--c-success);
  font-weight: 600;
}
.tick svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cross {
  color: var(--c-text-light);
}

/* ---------- 18. 时间轴 ---------- */
.timeline {
  position: relative;
  padding-left: 34px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--c-primary), rgba(25, 101, 253, 0.12));
}
.tl-item {
  position: relative;
  padding-bottom: 34px;
}
.tl-item:last-child {
  padding-bottom: 0;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 7px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--c-primary);
  box-shadow: 0 0 0 5px rgba(25, 101, 253, 0.1);
}
.tl-year {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.tl-item h4 {
  margin-bottom: 7px;
}
.tl-item p {
  font-size: 14.5px;
  line-height: 1.8;
}

/* ---------- 19. 联系页 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 50px;
  align-items: start;
}
.contact-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--c-line);
  transition: all var(--t) var(--ease);
}
.contact-card:hover {
  border-color: rgba(25, 101, 253, 0.34);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}
.contact-card .cc-ic {
  flex: none;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--c-primary-soft);
}
.contact-card .cc-ic svg {
  width: 22px;
  height: 22px;
  stroke: var(--c-primary);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-card h4 {
  margin-bottom: 6px;
}
.contact-card p,
.contact-card a {
  font-size: 15px;
  color: var(--c-text);
  line-height: 1.7;
  word-break: break-all;
}
.contact-card a:hover {
  color: var(--c-primary);
}

.form-card {
  padding: 36px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow);
}
.field {
  margin-bottom: 20px;
}
.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-heading);
}
.field label .req {
  color: var(--c-danger);
  margin-left: 3px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 15px;
  color: var(--c-heading);
  background: var(--c-bg-soft);
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}
.field input::placeholder,
.field textarea::placeholder {
  color: #a7b0c6;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  background: #fff;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(25, 101, 253, 0.12);
}
.field textarea {
  resize: vertical;
  min-height: 124px;
  line-height: 1.7;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field .err {
  display: none;
  margin-top: 7px;
  font-size: 13px;
  color: var(--c-danger);
}
.field.invalid input,
.field.invalid textarea {
  border-color: var(--c-danger);
  background: #fff6f8;
}
.field.invalid .err {
  display: block;
}
.form-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--c-text-light);
  line-height: 1.7;
}
.form-ok {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  font-size: 14.5px;
  color: #0b6b4f;
  background: #e9fbf4;
  border: 1px solid #b6ecd9;
  border-radius: var(--radius-sm);
}
.form-ok.show {
  display: block;
  animation: fadeUp 0.4s var(--ease);
}

/* FAQ */
.faq-item {
  padding: 26px 30px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: 16px;
  transition: box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.faq-item:hover {
  border-color: rgba(25, 101, 253, 0.3);
  box-shadow: var(--shadow-xs);
}
.faq-item h4 {
  margin-bottom: 10px;
  display: flex;
  gap: 11px;
}
.faq-item h4 .q {
  color: var(--c-primary);
  font-family: var(--font-mono);
}
.faq-item p {
  font-size: 15px;
  line-height: 1.85;
  padding-left: 25px;
}

/* ---------- 20. CTA 条幅 ---------- */
.cta-band {
  position: relative;
  padding: 66px 0;
  background: linear-gradient(115deg, #0b2545 0%, #123f7c 48%, #1965fd 100%);
  color: #cfe0ff;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    112deg,
    rgba(255, 255, 255, 0.05) 0 2px,
    transparent 2px 22px
  );
}
.cta-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.cta-inner h2 {
  color: #fff;
  font-size: clamp(23px, 2.6vw, 32px);
}
.cta-inner p {
  margin-top: 10px;
  font-size: 16px;
  color: #cfe0ff;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

/* ---------- 21. 滚动进场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal.d1 {
  transition-delay: 0.08s;
}
.reveal.d2 {
  transition-delay: 0.16s;
}
.reveal.d3 {
  transition-delay: 0.24s;
}
.reveal.d4 {
  transition-delay: 0.32s;
}
.reveal.d5 {
  transition-delay: 0.4s;
}

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

/* ---------- 22. 回到顶部 ---------- */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 800;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c-primary);
  box-shadow: var(--shadow-blue);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all var(--t) var(--ease);
}
.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.to-top svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.to-top:hover {
  background: var(--c-primary-dark);
}

/* ==========================================================================
   22. 微信联系弹窗
   ========================================================================== */
.wx-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  /* 关闭态：visibility 延迟到淡出结束后再切，避免过渡期间的闪烁 */
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), visibility 0s linear 0.25s;
}
.wx-modal.open {
  /* 打开态：visibility 立即生效（0s 无延迟），不依赖动画推进，任何环境都能显示 */
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.25s var(--ease), visibility 0s linear 0s;
}
.wx-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 14, 28, 0.72);
  backdrop-filter: blur(4px);
}
.wx-dialog {
  position: relative;
  z-index: 1;
  width: 340px;
  max-width: 100%;
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  padding: 34px 30px 26px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(4, 14, 28, 0.35);
  transform: translateY(16px) scale(0.96);
  transition: transform 0.25s var(--ease);
}
.wx-modal.open .wx-dialog {
  transform: none;
}
.wx-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  color: #8ea2bf;
  cursor: pointer;
  border-radius: 50%;
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
}
.wx-close:hover {
  background: #f0f4fb;
  color: #33475f;
}
.wx-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #22c55e, #0ea55b);
  box-shadow: 0 10px 24px rgba(16, 163, 74, 0.32);
  margin-bottom: 14px;
}
.wx-ic svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}
.wx-dialog h3 {
  font-size: 20px;
  color: #0f2540;
  margin: 0 0 6px;
}
.wx-sub {
  font-size: 14.5px;
  color: #5b6f8c;
  margin: 0 0 18px;
}
.wx-sub b {
  color: #0f2540;
}
.wx-qr {
  width: 220px;
  height: 220px;
  margin: 0 auto 14px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--c-line);
  background: #fff;
}
.wx-qr img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.wx-tip {
  font-size: 13.5px;
  color: #7d90ab;
  margin: 0 0 16px;
}
.wx-tel {
  display: inline-block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--c-primary);
  text-decoration: none;
  border-bottom: 1px dashed rgba(25, 101, 253, 0.45);
  padding-bottom: 2px;
}
.wx-tel:hover {
  color: #0d4fd6;
  border-bottom-color: #0d4fd6;
}
