/* ============================================================
   启远软件开发工作室 · 门户站样式（科技蓝 / 单页滚动）
   ============================================================ */

:root {
  --primary: #2563eb;
  --primary-deep: #1e40af;
  --navy: #0a1a3f;
  --accent: #38bdf8;
  --ink: #0f172a;
  --body: #33415c;
  --muted: #64748b;
  --line: #e3e9f5;
  --bg-soft: #f4f7fd;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(20, 45, 110, .08);
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Segoe UI", sans-serif;
  color: var(--body);
  background: var(--white);
  line-height: 1.75;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; }
img, svg { display: block; }
ul { list-style: none; }

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

section { scroll-margin-top: calc(var(--header-h) + 8px); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(15, 34, 92, .10);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .04em;
}
.brand-text small {
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: .28em;
  color: rgba(255, 255, 255, .62);
  text-transform: uppercase;
}
.scrolled .brand { color: var(--ink); }
.scrolled .brand-text small { color: var(--muted); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  position: relative;
  display: block;
  padding: 8px 13px;
  font-size: 15px;
  color: rgba(255, 255, 255, .88);
  border-radius: 8px;
  transition: color .25s, background .25s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transform: scaleX(0);
  transition: transform .25s;
}
.nav-link:hover { color: #fff; }
.nav-link.active::after { transform: scaleX(1); }
.nav-cta {
  margin-left: 10px;
  padding: 8px 20px !important;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 999px !important;
  color: #fff !important;
  background: rgba(255, 255, 255, .10);
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: rgba(255, 255, 255, .20); }

.scrolled .nav-link { color: var(--body); }
.scrolled .nav-link:hover,
.scrolled .nav-link.active { color: var(--primary-deep); }
.scrolled .nav-cta {
  border-color: var(--primary);
  color: var(--primary) !important;
  background: transparent;
}
.scrolled .nav-cta:hover { background: var(--primary); color: #fff !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px 9px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  cursor: pointer;
}
.nav-toggle span {
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform .3s, opacity .3s;
}
.scrolled .nav-toggle { border-color: var(--line); background: var(--bg-soft); }
.scrolled .nav-toggle span { background: var(--ink); }
.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;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: calc(var(--header-h) + 30px) 0 90px;
  background:
    radial-gradient(720px 420px at 12% 18%, rgba(56, 189, 248, .16), transparent 60%),
    radial-gradient(820px 520px at 88% 82%, rgba(37, 99, 235, .30), transparent 62%),
    linear-gradient(158deg, #07142e 0%, #0c2260 48%, #14369b 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(75% 75% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(75% 75% at 50% 40%, #000 30%, transparent 100%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border: 1px solid rgba(255, 255, 255, .30);
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(6px);
}
.hero-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.hero h1 {
  margin: 26px 0 14px;
  font-size: clamp(36px, 6.2vw, 64px);
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.25;
  text-shadow: 0 8px 30px rgba(6, 18, 50, .45);
}

.hero-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(255, 255, 255, .85);
  letter-spacing: .04em;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 26px auto 0;
}
.hero-tags span {
  padding: 6px 16px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 34px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .06em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #3b82f6);
  box-shadow: 0 12px 28px rgba(37, 99, 235, .45);
}
.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .06);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.btn-light {
  color: var(--primary-deep);
  background: #fff;
  box-shadow: 0 12px 28px rgba(2, 12, 40, .35);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .75);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 9px); }
}

/* ---------- 通用区块 ---------- */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-soft); }

.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .34em;
  color: var(--primary);
  text-transform: uppercase;
}
.section-head h2 {
  margin: 10px 0 8px;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: .05em;
}
.section-lead {
  color: var(--muted);
  font-size: 16px;
}
.section-dark { background: linear-gradient(165deg, #081838, #0e2560 70%, #12307f); }
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-lead { color: rgba(255, 255, 255, .72); }

/* ---------- 卡片网格 ---------- */
.card-grid {
  display: grid;
  gap: 24px;
}
.cols-5 { grid-template-columns: repeat(5, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  position: relative;
  padding: 30px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: #c9d9f8;
  box-shadow: 0 18px 40px rgba(20, 45, 110, .14);
}
.card:hover::before { transform: scaleX(1); }

.card h3 {
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: .04em;
}
.card p { font-size: 14.5px; color: var(--muted); }

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 14px;
  color: var(--primary);
  background: linear-gradient(135deg, #eaf2ff, #dcebff);
  border: 1px solid #d6e5ff;
}
.card-icon svg { width: 26px; height: 26px; }

.card-tile h3 { margin-top: 2px; }

.biz-note {
  margin-top: 34px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- 基本情况 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 48px;
  align-items: start;
}
.about-text p { margin-bottom: 16px; font-size: 16px; }
.about-text strong { color: var(--primary-deep); }

.about-stats {
  display: flex;
  gap: 16px;
  margin-top: 30px;
}
.stat {
  flex: 1;
  padding: 20px 10px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #fbfdff, #f2f6ff);
}
.stat b {
  display: block;
  font-size: 26px;
  color: var(--primary);
  line-height: 1.2;
}
.stat span { font-size: 13px; color: var(--muted); }

.about-card {
  padding: 30px 28px;
  border-radius: 20px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(140deg, var(--accent), var(--primary)) border-box;
  border: 2px solid transparent;
  box-shadow: 0 16px 40px rgba(23, 58, 145, .12);
}
.about-card h3 {
  font-size: 18px;
  color: var(--ink);
  padding-bottom: 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
  letter-spacing: .06em;
}
.about-card dl div {
  display: flex;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
}
.about-card dl div:last-child { border-bottom: 0; }
.about-card dt {
  flex: 0 0 92px;
  font-weight: 700;
  color: var(--primary-deep);
  font-size: 14px;
}
.about-card dd { font-size: 14.5px; color: var(--body); }

/* ---------- 产品展示（深色区） ---------- */
.product-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 44px;
  align-items: center;
  padding: 46px 42px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 24px 60px rgba(2, 12, 40, .4);
}

.product-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  color: #9bd4ff;
  border: 1px solid rgba(56, 189, 248, .45);
  background: rgba(56, 189, 248, .10);
  margin-bottom: 16px;
}
/* 自研产品卡片顶部：标签行（静态标签 + 演示外链按钮并排） */
.product-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.product-tags .product-tag { margin-bottom: 0; }
.product-demo {
  color: #fff;
  background: rgba(56, 189, 248, .22);
  border-color: rgba(56, 189, 248, .65);
  text-decoration: none;
  transition: background .25s, transform .25s, box-shadow .25s;
}
.product-demo:hover {
  background: rgba(56, 189, 248, .38);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(56, 189, 248, .25);
}
/* 产品展示：两张简介卡（无视觉图，双列并排） */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 26px;
}
.product-card.product-slim {
  grid-template-columns: 1fr;
  padding: 38px 36px;
}
.product-slim .product-intro > p { margin-bottom: 0; }
.product-intro h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  color: #fff;
  letter-spacing: .05em;
  margin-bottom: 14px;
}
.product-intro > p {
  color: rgba(255, 255, 255, .78);
  font-size: 15.5px;
  margin-bottom: 26px;
}

.product-feats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 32px;
}
.feat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  font-size: 15px;
  color: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
}
.feat-dot {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(56, 189, 248, .9);
}

/* 产品视觉模拟窗口（纯 CSS） */
.mock-window {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(2, 12, 40, .55);
  color: var(--body);
  font-size: 13px;
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform .4s;
}
.product-card:hover .mock-window { transform: perspective(1200px) rotateY(0) rotateX(0); }
.mock-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: #eef2f9;
  border-bottom: 1px solid var(--line);
}
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; }
.mock-bar span:nth-child(1) { background: #ff5f57; }
.mock-bar span:nth-child(2) { background: #febc2e; }
.mock-bar span:nth-child(3) { background: #28c840; }
.mock-bar em {
  margin-left: 10px;
  flex: 1;
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
  background: #fff;
  border-radius: 999px;
  padding: 3px 12px;
  border: 1px solid var(--line);
  white-space: nowrap;
  overflow: hidden;
}
.mock-body { padding: 16px; }
.mock-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.mock-title { font-weight: 700; color: var(--ink); font-size: 14px; }
.mock-timer {
  font-weight: 700;
  color: #e11d48;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.mock-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 14px;
  padding: 14px 0;
}
.mock-q b { color: var(--primary-deep); }
.mock-opts { margin-top: 10px; display: grid; gap: 8px; }
.mock-opts > div {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fbfcff;
}
.mock-opts i {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1.5px solid #c3cede;
  flex: 0 0 13px;
}
.mock-opts .on {
  color: var(--primary-deep);
  border-color: #b9cffb;
  background: #f0f5ff;
  font-weight: 600;
}
.mock-opts .on i {
  border-color: var(--primary);
  background: radial-gradient(circle at center, var(--primary) 45%, #fff 50%);
}
.mock-side {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  background: #fbfcff;
  align-self: start;
}
.mock-side-title { font-weight: 700; color: var(--ink); margin-bottom: 10px; font-size: 13px; }
.mock-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.mock-grid b {
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: #9aa8c2;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 0;
  background: #fff;
}
.mock-grid b.done {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #4f8ef7);
  border-color: transparent;
}
.mock-user {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
}
.mock-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border: 2px solid #fff;
  box-shadow: 0 0 0 1.5px var(--accent);
}
.mock-foot {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.mock-foot .mock-save { color: #16a34a; font-weight: 600; }

/* ---------- 服务宗旨 ---------- */
.slogan {
  text-align: center;
  font-size: clamp(30px, 4.6vw, 50px);
  font-weight: 800;
  letter-spacing: .14em;
  margin-bottom: 52px;
  background: linear-gradient(95deg, var(--primary-deep), var(--primary) 45%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.slogan-dot { margin: 0 16px; }

.mission-num {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  color: rgba(37, 99, 235, .14);
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

/* ---------- 联系我们 ---------- */
.contact-panel {
  display: grid;
  grid-template-columns: 1.4fr .9fr;
  gap: 28px;
  align-items: stretch;
}
.contact-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-content: space-between;
}
.c-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 20px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
}
.c-row:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(20, 45, 110, .13);
}
.c-row .card-icon { margin-bottom: 6px; flex: 0 0 46px; }
.c-row .card-icon svg { width: 24px; height: 24px; }
.c-body h3 {
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 0;
  letter-spacing: .05em;
}
.c-body p { font-size: 14px; color: var(--body); overflow-wrap: anywhere; line-height: 1.65; text-wrap: balance; }
.c-body a { color: var(--primary); font-weight: 600; }
.c-body a:hover { text-decoration: underline; }

.contact-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 26px;
  background: linear-gradient(#fff, #fff) padding-box,
              linear-gradient(140deg, var(--accent), var(--primary)) border-box;
  border: 2px solid transparent;
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(23, 58, 145, .12);
}
.contact-qr img {
  width: 220px;
  height: auto;
  border-radius: 10px;
  background: #fff;
}
.qr-hint {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .1em;
}
.qr-num { margin-top: 2px; font-size: 13.5px; color: var(--muted); }

.contact-note {
  margin-top: 36px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- 页脚 ---------- */
.site-footer {
  padding: 46px 0 40px;
  background:
    radial-gradient(600px 300px at 85% 0%, rgba(56, 189, 248, .12), transparent 60%),
    linear-gradient(160deg, #07142e, #0c2260);
  color: rgba(255, 255, 255, .75);
  text-align: center;
}
.footer-brand {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .08em;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 18px;
}
.footer-brand span {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .5);
}
.footer-contact {
  font-size: 14px;
  color: rgba(255, 255, 255, .78);
  letter-spacing: .03em;
  margin-bottom: 10px;
}
.footer-contact a { color: #9bd4ff; }
.footer-contact a:hover { text-decoration: underline; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 6px 18px;
  margin: 14px 0 12px;
  font-size: 14px;
}
.footer-links-label { color: rgba(255, 255, 255, .55); }
.footer-links a { color: #9bd4ff; }
.footer-links a:hover { text-decoration: underline; }
/* 页脚 APK 下载按钮（inline-block 便于窄屏换行） */
.footer-apk {
  display: inline-block;
  margin: 0 0 16px;
  padding: 9px 26px;
  border: 1px solid rgba(56, 189, 248, .65);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .03em;
  line-height: 1.6;
  color: #fff;
  background: rgba(56, 189, 248, .18);
  text-decoration: none;
  transition: background .25s, transform .25s, box-shadow .25s;
}
.footer-apk:hover {
  background: rgba(56, 189, 248, .32);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(56, 189, 248, .25);
}
.footer-apk svg {
  display: inline-block;
  vertical-align: -3px;
  margin-right: 8px;
}
.footer-copy { font-size: 13.5px; color: rgba(255, 255, 255, .55); }
/* 页脚公安备案行（徽标在文字前，ICP 备案号紧随其后） */
.footer-beian {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 4px 12px;
  margin-top: 6px;
  font-size: 13.5px;
}
.footer-beian a { color: rgba(255, 255, 255, .55); }
.footer-beian a:hover { color: #9bd4ff; }
.footer-beian .beian-icp { color: rgba(255, 255, 255, .55); }
.footer-beian .beian-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: -3px;
  margin-right: 5px;
}

/* ---------- 入场动画（js 启用后生效） ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, .61, .36, 1);
}
html.js .reveal.visible { opacity: 1; transform: none; }
html.js .d1 { transition-delay: .08s; }
html.js .d2 { transition-delay: .16s; }
html.js .d3 { transition-delay: .24s; }
html.js .d4 { transition-delay: .32s; }
html.js .d5 { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll { animation: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .cols-5 { grid-template-columns: repeat(3, 1fr); }
  .cols-5 > .card:nth-child(4) { grid-column: span 1; }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .product-card { grid-template-columns: 1fr; gap: 36px; }
  .mock-window { transform: none; max-width: 640px; margin-inline: auto; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 5%;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 30px rgba(15, 34, 92, .14);
    border-top: 1px solid var(--line);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-link, .scrolled .nav-link { color: var(--body); padding: 12px 14px; }
  .nav-link.active, .scrolled .nav-link.active { color: var(--primary-deep); background: var(--bg-soft); }
  .nav-cta, .scrolled .nav-cta {
    margin: 6px 0 0;
    text-align: center;
    color: var(--primary) !important;
    border: 1px solid var(--primary);
    background: transparent;
  }
  .cols-3 { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr; }
  .contact-panel { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .section { padding: 72px 0; }
  .hero { min-height: 92vh; }
  .hero-btns { flex-direction: column; align-items: center; }
  .btn { width: min(280px, 100%); }
  .about-stats { flex-direction: column; }
  .cols-5, .cols-4, .cols-3, .contact-panel, .contact-info { grid-template-columns: 1fr; }
  .mock-main { grid-template-columns: 1fr; }
  .product-card { padding: 30px 22px; }
  .card { padding: 26px 22px; }
}
