/* ==========================================================
   临沂一道物联科技有限公司 - 静态展示网站样式
   ========================================================== */

:root {
  --primary: #2563eb;
  --primary-dark: #1746a2;
  --cyan: #12c2e9;
  --navy: #0a1930;
  --navy-2: #102a4c;
  --text: #1c2b41;
  --text-muted: #61718a;
  --line: #e6ecf4;
  --bg: #ffffff;
  --bg-soft: #f5f8fd;
  --radius: 16px;
  --shadow: 0 18px 48px rgba(22, 56, 110, .09);
  --shadow-lg: 0 28px 70px rgba(16, 45, 90, .16);
  --max: 1180px;
  --header-h: 76px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.75;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4, p { margin-top: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, #2f7cf6, #1668e3);
  box-shadow: 0 12px 28px rgba(37, 99, 235, .28);
}
.btn-primary:hover { box-shadow: 0 16px 36px rgba(37, 99, 235, .38); }
.btn-ghost {
  color: #eaf3ff;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, height .3s ease;
}
.site-header.scrolled {
  height: 66px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(16, 45, 90, .09);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 30px; }

.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { width: 40px; height: 40px; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 19px; letter-spacing: 1px; color: #fff; }
.brand-text small { font-size: 10px; letter-spacing: 2.4px; color: rgba(255, 255, 255, .65); margin-top: 4px; }
.scrolled .brand-text strong { color: var(--navy); }
.scrolled .brand-text small { color: #8b9ab0; }

.main-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-link {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, .82);
  padding: 6px 0;
  white-space: nowrap;
  transition: color .2s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transition: width .25s ease;
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.scrolled .nav-link { color: #4b5b73; }
.scrolled .nav-link:hover, .scrolled .nav-link.active { color: var(--primary); }
.scrolled .nav-link::after { background: var(--primary); }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.header-cta svg { width: 17px; height: 17px; }
.header-cta:hover { background: #fff; color: var(--primary); border-color: #fff; }
.scrolled .header-cta { border-color: var(--primary); color: var(--primary); }
.scrolled .header-cta:hover { background: var(--primary); color: #fff; }

.nav-toggle { display: none; width: 42px; height: 42px; border: 0; background: none; cursor: pointer; padding: 9px; }
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; margin: 5px 0; transition: transform .3s ease, opacity .3s ease, background .3s ease; }
.scrolled .nav-toggle span { background: var(--navy); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 78px) 0 0;
  color: #fff;
  background:
    radial-gradient(900px 520px at 85% 12%, rgba(23, 104, 227, .55), transparent 65%),
    radial-gradient(700px 480px at 8% 88%, rgba(18, 194, 233, .16), transparent 60%),
    linear-gradient(135deg, #07152b 0%, #0c2444 52%, #0a1c37 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(120, 175, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 175, 255, .055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000 20%, transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, #000 20%, transparent 95%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.hero-glow-a { width: 320px; height: 320px; background: rgba(47, 124, 246, .25); top: 18%; right: 12%; }
.hero-glow-b { width: 260px; height: 260px; background: rgba(18, 194, 233, .14); bottom: 12%; left: 4%; }

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: 60px;
  padding-bottom: 88px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px;
  border: 1px solid rgba(120, 180, 255, .35);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  color: #a9d2ff;
  font-size: 13px;
  letter-spacing: .5px;
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(18, 194, 233, .18); }

.hero h1 {
  margin: 26px 0 22px;
  font-size: clamp(38px, 4.3vw, 60px);
  line-height: 1.25;
  letter-spacing: -1px;
  font-weight: 800;
}
.text-gradient {
  background: linear-gradient(100deg, #6cb6ff 5%, #43d9ff 55%, #9defff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-desc { max-width: 540px; color: #b5c7df; font-size: 16px; line-height: 1.9; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 38px; color: #94aecb; font-size: 13px; }
.hero-points span { display: inline-flex; align-items: center; gap: 8px; }
.hero-points i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }

/* 首屏设备插画 */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 430px; }
.device-frame {
  position: relative;
  width: min(100%, 410px);
  padding: 20px;
  border: 1px solid rgba(140, 190, 255, .3);
  border-radius: 26px;
  background: linear-gradient(155deg, rgba(30, 75, 130, .8), rgba(9, 29, 57, .92));
  box-shadow: 0 35px 80px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .12);
  transform: perspective(1000px) rotateY(-8deg) rotateX(3deg);
  animation: floatDevice 7s ease-in-out infinite;
}
@keyframes floatDevice { 0%, 100% { transform: perspective(1000px) rotateY(-8deg) rotateX(3deg) translateY(0); } 50% { transform: perspective(1000px) rotateY(-8deg) rotateX(3deg) translateY(-12px); } }
.device-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.device-label { font-size: 10px; letter-spacing: 2px; color: #7fa9d8; font-family: monospace; }
.device-signal { display: flex; align-items: flex-end; gap: 3px; height: 14px; }
.device-signal b { display: block; width: 3px; border-radius: 2px; background: #48d8ff; }
.device-signal b:nth-child(1) { height: 5px; } .device-signal b:nth-child(2) { height: 8px; }
.device-signal b:nth-child(3) { height: 11px; } .device-signal b:nth-child(4) { height: 14px; }

.device-screen {
  border-radius: 14px;
  padding: 22px 24px;
  background: linear-gradient(140deg, #081c36, #062845);
  border: 1px solid rgba(90, 165, 245, .3);
  box-shadow: inset 0 0 32px rgba(20, 120, 220, .18);
  display: flex; flex-direction: column;
}
.screen-caption { font-size: 12px; color: #7ba8d8; }
.screen-value { font-size: 52px; font-weight: 700; line-height: 1.25; letter-spacing: 1px; color: #e6f7ff; text-shadow: 0 0 22px rgba(72, 216, 255, .45); }
.screen-sub { font-size: 12px; color: #4fe0c0; }

.board {
  position: relative;
  margin-top: 18px;
  height: 132px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #0d5b4f, #0a403d);
  border: 1px solid rgba(112, 240, 200, .35);
}
.board-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(130, 255, 210, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130, 255, 210, .09) 1px, transparent 1px);
  background-size: 18px 18px;
}
.chip {
  position: absolute;
  display: grid; place-items: center;
  font-family: monospace; font-size: 10px; font-weight: 700;
  color: #d4ffef;
  background: #123b39;
  border: 1px solid rgba(120, 255, 205, .55);
  border-radius: 4px;
  box-shadow: 0 0 14px rgba(50, 220, 170, .25);
}
.chip-main { width: 62px; height: 48px; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 14px; background: #114441; }
.chip-1 { width: 44px; height: 30px; left: 12%; top: 12%; }
.chip-2 { width: 44px; height: 30px; right: 12%; top: 12%; }
.chip-3 { width: 44px; height: 30px; left: 12%; bottom: 12%; }
.chip-4 { width: 44px; height: 30px; right: 12%; bottom: 12%; }
.node { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #8affd5; box-shadow: 0 0 10px #4fe0b0; }
.n1 { left: 26%; top: 30%; } .n2 { right: 26%; top: 30%; } .n3 { left: 26%; bottom: 30%; } .n4 { right: 26%; bottom: 30%; }
.circuit { position: absolute; height: 1px; background: rgba(130, 255, 210, .55); transform-origin: left center; }
.c1 { width: 90px; left: 24%; top: 33%; transform: rotate(26deg); }
.c2 { width: 90px; right: 24%; top: 33%; transform: rotate(154deg); }
.c3 { width: 90px; left: 24%; bottom: 33%; transform: rotate(-26deg); }
.device-bottom { display: flex; gap: 8px; margin-top: 14px; }
.device-bottom span { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .12); flex: 1; }
.device-bottom span:first-child { background: rgba(72, 216, 255, .6); flex: 2; }

.float-card {
  position: absolute;
  z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 13px 17px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .96);
  color: var(--navy);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
}
.float-card-1 { top: 36px; right: -4px; animation: floatCard 5s ease-in-out infinite; }
.float-card-2 { bottom: 54px; left: -8px; animation: floatCard 6s ease-in-out infinite reverse; }
@keyframes floatCard { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.float-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; background: #e8f2ff; color: var(--primary); flex-shrink: 0; }
.float-icon svg { width: 20px; height: 20px; }
.float-card b, .float-card small { display: block; }
.float-card b { font-size: 13px; line-height: 1.4; }
.float-card small { font-size: 11px; color: #8a99ae; }

.hero-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 26px 0 34px;
}
.hero-strip > div { padding: 0 24px; border-right: 1px solid rgba(255, 255, 255, .12); }
.hero-strip > div:first-child { padding-left: 0; }
.hero-strip > div:last-child { border-right: 0; }
.hero-strip strong, .hero-strip span { display: block; }
.hero-strip strong { font-size: 15px; margin-bottom: 5px; }
.hero-strip span { font-size: 12px; color: #8fa9c7; }

/* ---------- 通用区块 ---------- */
.section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-tag {
  display: inline-block;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.section-tag.light { color: #7fc4ff; }
.section-head h2, .mp-copy h2, .about-copy h2, .contact-head h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--navy);
  margin-bottom: 16px;
}
.section-head p, .mp-copy > p, .contact-head p { color: var(--text-muted); font-size: 15px; margin-bottom: 0; }

/* ---------- 产品中心 ---------- */
.products { background: var(--bg-soft); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(22, 56, 110, .04);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: #c7dcff; }
.product-visual { height: 186px; display: grid; place-items: center; overflow: hidden; position: relative; }
.product-visual::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px);
  background-size: 16px 16px;
}
.product-visual svg { position: relative; width: 76%; transition: transform .4s ease; }
.product-card:hover .product-visual svg { transform: scale(1.06); }
.visual-blue { background: linear-gradient(140deg, #eaf2ff, #d9e8ff); }
.visual-purple { background: linear-gradient(140deg, #eeefff, #dedfff); }
.visual-teal { background: linear-gradient(140deg, #e5f9f6, #d3f2ed); }
.visual-orange { background: linear-gradient(140deg, #fff3e6, #ffe6cb); }
.visual-pink { background: linear-gradient(140deg, #fff0f7, #ffe0ee); }
.visual-green { background: linear-gradient(140deg, #e9f9f0, #d6f3e3); }
.product-body { padding: 26px 26px 30px; position: relative; }
.product-no { position: absolute; top: 24px; right: 26px; font-size: 13px; font-weight: 700; color: #cbd7e8; font-family: monospace; }
.product-body h3 { font-size: 20px; color: var(--navy); margin-bottom: 12px; }
.product-body p { color: var(--text-muted); font-size: 14px; line-height: 1.85; min-height: 78px; margin-bottom: 18px; }
.feature-list { display: flex; flex-wrap: wrap; gap: 8px; }
.feature-list li { font-size: 12px; color: #3f6fae; background: #eff5ff; border: 1px solid #dfeaff; border-radius: 999px; padding: 4px 11px; }
.card-featured { border-color: #bcd6ff; box-shadow: 0 14px 34px rgba(37, 99, 235, .1); }

/* ---------- 缴费小程序 ---------- */
.miniprogram { overflow: hidden; background: linear-gradient(135deg, #f7faff 0%, #eef5ff 100%); }
.mp-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.mp-copy h2 { margin-bottom: 20px; }
.mp-features { margin-top: 34px; display: grid; gap: 20px; }
.mp-feature { display: flex; align-items: center; gap: 16px; }
.mp-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 12px;
  background: #fff; color: var(--primary);
  box-shadow: 0 8px 22px rgba(37, 99, 235, .12);
}
.mp-icon svg { width: 24px; height: 24px; }
.mp-feature b, .mp-feature small { display: block; }
.mp-feature b { font-size: 15px; color: var(--navy); }
.mp-feature small { font-size: 13px; color: var(--text-muted); }

.phone-wrap { position: relative; display: flex; flex-direction: column; align-items: center; }
.phone {
  position: relative;
  width: 290px;
  height: 560px;
  padding: 10px;
  border-radius: 42px;
  background: linear-gradient(150deg, #1a2e4e, #081729);
  box-shadow: 0 35px 70px rgba(15, 48, 95, .3), inset 0 0 0 1px rgba(255, 255, 255, .12);
  transform: rotate(3deg);
}
.phone-notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 92px; height: 18px; border-radius: 999px; background: #081729; z-index: 2; }
.phone-screen {
  height: 100%;
  border-radius: 33px;
  background: #f4f7fb;
  overflow: hidden;
  padding: 12px 14px;
}
.mp-bar { display: flex; justify-content: space-between; font-size: 10px; font-weight: 700; color: #2c3e58; padding: 0 6px; }
.mp-head { display: flex; justify-content: space-between; align-items: center; margin: 20px 4px 16px; font-size: 15px; font-weight: 700; color: #1b2a40; }
.mp-dots { letter-spacing: 2px; }
.mp-balance {
  border-radius: 16px;
  padding: 20px;
  color: #fff;
  background: linear-gradient(135deg, #2f7cf6, #12a9e6);
  box-shadow: 0 12px 24px rgba(37, 99, 235, .25);
}
.mp-balance > span, .mp-balance strong { display: block; }
.mp-balance > span { font-size: 11px; opacity: .85; }
.mp-balance strong { font-size: 32px; line-height: 1.4; }
.mp-meter { margin-top: 4px; font-size: 10px; opacity: .8; }
.mp-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 18px 0 22px; }
.mp-actions > div { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.mp-action-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: #fff; box-shadow: 0 6px 14px rgba(30, 70, 130, .08); }
.mp-action-icon svg { width: 22px; height: 22px; }
.mp-action-icon.pay { color: #2563eb; } .mp-action-icon.bill { color: #12a88e; } .mp-action-icon.dev { color: #ef8a3c; }
.mp-actions b { font-size: 11px; color: #40516b; }
.mp-list-title { font-size: 12px; font-weight: 700; color: #27374f; margin: 0 4px 10px; }
.mp-list { display: grid; gap: 8px; }
.mp-row { display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: 10px; padding: 10px 12px; }
.mp-row b, .mp-row small { display: block; }
.mp-row b { font-size: 11px; color: #32435d; }
.mp-row small { font-size: 9px; color: #9aa8ba; }
.mp-row strong { font-size: 11px; color: #e8694a; }
.phone-badge {
  position: absolute;
  bottom: 32px; right: 6px;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 13px; font-weight: 600; color: var(--navy);
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: #28c76f; box-shadow: 0 0 0 4px rgba(40, 199, 111, .16); }

/* ---------- 核心优势 ---------- */
.advantage { background: #fff; }
.advantage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.advantage-item {
  padding: 34px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.advantage-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #c7dcff; }
.adv-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, #eaf2ff, #dceaff); color: var(--primary); margin-bottom: 20px; }
.adv-icon svg { width: 26px; height: 26px; }
.advantage-item h3 { font-size: 18px; color: var(--navy); margin-bottom: 10px; }
.advantage-item p { font-size: 13px; color: var(--text-muted); line-height: 1.85; margin-bottom: 0; }

/* ---------- 应用场景 ---------- */
.scenes { padding-top: 0; background: #fff; }
.scene-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.scene-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 6px;
  padding: 30px 16px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}
.scene-card:hover { background: #fff; border-color: #c7dcff; transform: translateY(-5px); }
.scene-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--primary); box-shadow: 0 6px 18px rgba(37, 99, 235, .1); margin-bottom: 10px; }
.scene-icon svg { width: 25px; height: 25px; }
.scene-card b { font-size: 16px; color: var(--navy); }
.scene-card small { font-size: 12px; color: var(--text-muted); }

/* ---------- 关于我们 ---------- */
.about { background: var(--bg-soft); overflow: hidden; }
.about-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.about-visual { position: relative; min-height: 390px; display: grid; place-items: center; }
.about-board {
  position: relative;
  width: 100%; max-width: 400px;
  height: 330px;
  border-radius: 20px;
  background: linear-gradient(140deg, #0d3c5c, #0a233f);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(-3deg);
}
.about-board-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(120, 220, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 220, 255, .07) 1px, transparent 1px);
  background-size: 26px 26px;
}
.ab-chip {
  position: absolute;
  padding: 9px 17px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(130, 210, 255, .45);
  color: #d5efff;
  font-size: 13px; font-weight: 600;
  backdrop-filter: blur(4px);
}
.ab1 { left: 12%; top: 18%; } .ab2 { right: 14%; top: 14%; }
.ab3 { left: 40%; top: 44%; } .ab4 { left: 13%; bottom: 16%; } .ab5 { right: 13%; bottom: 19%; }
.ab-line { position: absolute; height: 1px; background: rgba(120, 220, 255, .4); transform-origin: left; }
.l1 { width: 140px; left: 26%; top: 27%; transform: rotate(23deg); }
.l2 { width: 130px; right: 24%; top: 26%; transform: rotate(155deg); }
.l3 { width: 150px; left: 22%; bottom: 25%; transform: rotate(-18deg); }
.about-badge {
  position: absolute; right: 2%; bottom: 38px;
  padding: 16px 22px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}
.about-badge strong, .about-badge span { display: block; }
.about-badge strong { font-size: 22px; color: var(--primary); }
.about-badge span { font-size: 12px; color: var(--text-muted); }
.about-copy > p { color: var(--text-muted); font-size: 15px; line-height: 1.9; margin-bottom: 16px; }
.about-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0 32px; }
.about-list > div { padding: 18px 20px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.about-list span { display: block; font-size: 12px; font-weight: 700; color: var(--cyan); margin-bottom: 4px; font-family: monospace; }
.about-list b, .about-list small { display: block; }
.about-list b { font-size: 15px; color: var(--navy); }
.about-list small { font-size: 12px; color: var(--text-muted); }

/* ---------- 联系我们 ---------- */
.contact { padding: 0 0 96px; background: var(--bg-soft); }
.contact-panel {
  position: relative;
  overflow: hidden;
  padding: 68px 60px 52px;
  border-radius: 24px;
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(47, 124, 246, .35), transparent 65%),
    linear-gradient(135deg, #0a1c37, #102c51);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.contact-panel::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(140, 190, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 190, 255, .05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.contact-head { position: relative; z-index: 1; text-align: center; max-width: 560px; margin: 0 auto 46px; }
.contact-head h2 { color: #fff; }
.contact-head p { color: #a9bfd9; }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.contact-card {
  padding: 28px 22px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(8px);
  text-align: center;
}
.contact-icon { width: 44px; height: 44px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 12px; background: rgba(72, 190, 255, .16); color: #6dc9ff; }
.contact-icon svg { width: 22px; height: 22px; }
.contact-card b, .contact-card .contact-value, .contact-card small { display: block; }
.contact-card b { font-size: 13px; color: #a9bfd9; font-weight: 500; margin-bottom: 8px; }
.contact-card .contact-value { font-size: 16px; font-weight: 700; color: #fff; word-break: break-all; }
.contact-card small { font-size: 11px; color: #7f9bbb; margin-top: 6px; }
.qr-box { width: 82px; height: 82px; margin: 0 auto 8px; border-radius: 8px; background: rgba(255, 255, 255, .92); display: grid; place-items: center; }
.qr-box span { font-size: 11px; color: #8a99ae; text-align: center; line-height: 1.5; }
.contact-bottom { position: relative; z-index: 1; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 40px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); }
.contact-bottom p { margin: 0; font-size: 12px; color: #8fa9c7; }

/* ---------- 页脚 ---------- */
.site-footer { background: #07152b; color: #8fa4bf; padding: 64px 0 22px; }
.footer-inner { display: flex; justify-content: space-between; gap: 50px; padding-bottom: 44px; }
.footer-brand p { font-size: 13px; line-height: 2; margin: 20px 0 0; }
.footer-links { display: flex; gap: 90px; }
.footer-links > div { display: flex; flex-direction: column; gap: 10px; }
.footer-links h4 { color: #fff; font-size: 15px; margin-bottom: 6px; }
.footer-links a { font-size: 13px; transition: color .2s ease; }
.footer-links a:hover { color: #6dc9ff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255, 255, 255, .09); padding-top: 22px; font-size: 12px; color: #6e829e; }
.footer-bottom a:hover { color: #6dc9ff; }

/* ---------- 返回顶部 ---------- */
.back-to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 26px rgba(37, 99, 235, .35);
  opacity: 0; visibility: hidden;
  transform: translateY(14px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg { width: 20px; height: 20px; }
.back-to-top:hover { background: var(--primary-dark); }

/* ---------- 滚动出现动画 ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
[data-reveal].visible { opacity: 1; transform: none; }
.product-card:nth-child(2), .advantage-item:nth-child(2), .scene-card:nth-child(2) { transition-delay: .08s; }
.product-card:nth-child(3), .advantage-item:nth-child(3), .scene-card:nth-child(3) { transition-delay: .16s; }
.product-card:nth-child(4), .advantage-item:nth-child(4), .scene-card:nth-child(4) { transition-delay: .24s; }
.product-card:nth-child(5) { transition-delay: .32s; }
.product-card:nth-child(6) { transition-delay: .4s; }

/* ==========================================================
   响应式适配
   ========================================================== */
@media (max-width: 1080px) {
  .main-nav { gap: 18px; }
  .nav-link { font-size: 13px; }
  .header-cta { display: none; }
  .hero-inner { gap: 30px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .advantage-grid, .scene-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { gap: 40px; }
  .mp-inner { gap: 30px; }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .site-header, .site-header.scrolled { background: rgba(10, 27, 52, .96); backdrop-filter: blur(12px); }
  .site-header.scrolled { height: var(--header-h); box-shadow: none; }
  .site-header.menu-open { background: #0a1b34; }
  .brand-text strong, .scrolled .brand-text strong { color: #fff; }
  .brand-text small, .scrolled .brand-text small { color: rgba(255, 255, 255, .6); }
  .nav-toggle { display: block; margin-left: auto; }
  .scrolled .nav-toggle span { background: #fff; }
  .main-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    display: none;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 20px 20px;
    background: #0a1b34;
    box-shadow: 0 20px 30px rgba(0, 0, 0, .25);
  }
  .main-nav.open { display: flex; }
  .nav-link, .scrolled .nav-link { color: rgba(255, 255, 255, .8); padding: 13px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
  .nav-link::after { display: none; }
  .nav-link.active, .scrolled .nav-link.active { color: #6dc9ff; }

  .hero { padding-top: calc(var(--header-h) + 50px); }
  .hero-inner { grid-template-columns: 1fr; padding-bottom: 56px; gap: 40px; }
  .hero-copy { text-align: center; }
  .hero-desc { margin-inline: auto; }
  .hero-actions, .hero-points { justify-content: center; }
  .hero-visual { min-height: 380px; }
  .hero-strip { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .hero-strip > div:nth-child(2) { border-right: 0; }
  .hero-strip > div:nth-child(3) { padding-left: 0; }

  .mp-inner, .about-inner { grid-template-columns: 1fr; gap: 46px; }
  .mp-copy { text-align: center; }
  .mp-features { max-width: 480px; margin-inline: auto; text-align: left; }
  .about-visual { order: 2; }
  .about-copy { text-align: center; }
  .about-copy .section-tag { margin-inline: auto; }
  .about-list { text-align: left; }
  .section { padding: 74px 0; }
  .scenes { padding-top: 0; }
  .contact { padding-bottom: 74px; }
  .contact-panel { padding: 52px 32px 40px; }
  .footer-inner { flex-direction: column; gap: 36px; }
  .footer-links { gap: 60px; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 32px, var(--max)); }
  .section { padding: 62px 0; }
  .hero h1 { font-size: 35px; }
  .hero-desc { font-size: 14px; }
  .hero-actions .btn { width: 100%; max-width: 280px; }
  .hero-points { gap: 12px 18px; font-size: 12px; }
  .hero-visual { min-height: 330px; }
  .device-frame { transform: none; animation: none; padding: 14px; }
  .screen-value { font-size: 42px; }
  .float-card { padding: 9px 12px; gap: 8px; }
  .float-icon { width: 30px; height: 30px; }
  .float-card b { font-size: 11px; } .float-card small { font-size: 10px; }
  .float-card-1 { right: -2px; top: 12px; } .float-card-2 { left: -2px; bottom: 26px; }
  .hero-strip { padding: 20px 0 26px; }
  .hero-strip > div { padding: 0 10px; }
  .hero-strip strong { font-size: 13px; }
  .hero-strip span { font-size: 11px; }

  .product-grid, .advantage-grid, .scene-grid, .contact-grid { grid-template-columns: 1fr; }
  .product-body p { min-height: auto; }
  .product-visual { height: 160px; }
  .about-list { grid-template-columns: 1fr; }
  .about-board { height: 270px; }
  .about-badge { right: 0; bottom: 8px; }
  .contact-panel { padding: 42px 20px 34px; }
  .contact-grid { gap: 12px; }
  .contact-bottom { margin-top: 28px; }
  .phone { transform: none; }
  .phone-badge { right: 0; bottom: 10px; font-size: 12px; }
  .footer-links { gap: 36px; }
  .back-to-top { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
