/* ==========================================================================
   云舆情官网 · 样式表
   主色沿用云网安视觉体系：深蓝 #1a365d → #3182ce，强调色琥珀 #f59e0b
   ========================================================================== */

:root {
  --primary: #1a365d;
  --primary-2: #2c5282;
  --primary-3: #3182ce;
  --primary-4: #4299e1;
  --accent: #f59e0b;
  --accent-2: #d97706;
  --bg-light: #f0f7ff;
  --bg-soft: #f7fafc;
  --text: #0f2137;
  --text-sub: #4a5568;
  --text-mute: #718096;
  --border: #e2e8f0;
  --white: #ffffff;
  --green: #07c160;
  --green-2: #06ad56;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(26, 54, 93, .06);
  --shadow: 0 8px 26px rgba(26, 54, 93, .1);
  --shadow-lg: 0 18px 48px rgba(26, 54, 93, .16);
  --nav-h: 68px;
  --maxw: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

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

.section-title { text-align: center; margin-bottom: 56px; }
.section-title h2 {
  font-size: 34px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -.4px;
  line-height: 1.35;
}
.section-title p {
  margin-top: 14px;
  color: var(--text-sub);
  font-size: 16px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.section-title .eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 700;
  margin-bottom: 12px;
}

/* ---------- 顶部导航 ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background .3s, box-shadow .3s, border-color .3s;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.navbar.scrolled {
  background: rgba(255, 255, 255, .93);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  box-shadow: 0 2px 18px rgba(26, 54, 93, .08);
  border-bottom-color: var(--border);
}
.nav-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 50%, var(--primary-3) 100%);
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 17px;
  box-shadow: 0 4px 12px rgba(49, 130, 206, .35);
}
.brand-logo { height: 38px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 18px; font-weight: 700; color: var(--primary); letter-spacing: .5px; }
.brand-sub { font-size: 11px; color: var(--text-mute); letter-spacing: 1.4px; text-transform: uppercase; }

.navbar-menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.navbar-menu a {
  padding: 8px 14px;
  font-size: 15px;
  color: var(--text-sub);
  border-radius: 8px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.navbar-menu a:hover { color: var(--primary-3); background: rgba(49, 130, 206, .08); }
.navbar-menu a.active { color: var(--primary-3); font-weight: 600; }

/* AIMSS 产品家族下拉 */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; font-size: 15px; font-weight: 600;
  color: var(--text-sub); border-radius: 8px; cursor: pointer;
  white-space: nowrap; transition: color .2s, background .2s;
}
.nav-dropdown-toggle::after {
  content: ""; width: 7px; height: 7px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .25s;
}
.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown.open .nav-dropdown-toggle {
  color: var(--primary-3); background: rgba(49, 130, 206, .08);
}
.nav-dropdown:hover .nav-dropdown-toggle::after,
.nav-dropdown.open .nav-dropdown-toggle::after {
  transform: rotate(225deg) translateY(-2px);
}
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 158px; padding: 8px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s, transform .22s, visibility .22s;
  z-index: 1001;
}
.nav-dropdown-menu::before {
  content: ""; position: absolute; top: -7px; left: 22px;
  border: 7px solid transparent; border-bottom-color: #fff;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown-menu a {
  padding: 9px 14px !important; font-size: 14px !important;
  color: var(--text-sub); border-radius: 8px; border-bottom: 0 !important;
  display: block;
}
.nav-dropdown-menu a:hover {
  color: var(--primary-3); background: rgba(49, 130, 206, .08);
}

.navbar-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* 语言切换 */
.lang-switch {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px;
  background: #fff;
  height: 34px;
}
.lang-switch button {
  border: 0; background: transparent; cursor: pointer;
  font-size: 13px; font-weight: 600; font-family: inherit;
  padding: 4px 12px; border-radius: 999px; color: var(--text-mute);
  transition: all .25s;
}
.lang-switch button.on {
  background: linear-gradient(135deg, var(--primary-2), var(--primary-3));
  color: #fff;
  box-shadow: 0 2px 8px rgba(49, 130, 206, .3);
}

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 15px; font-weight: 600; font-family: inherit;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(217, 119, 6, .3);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(217, 119, 6, .4); }
.btn--ghost { border-color: var(--border); color: var(--primary); background: #fff; }
.btn--ghost:hover { border-color: var(--primary-3); color: var(--primary-3); }
.btn--outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--outline-light:hover { background: rgba(255, 255, 255, .14); }
.btn--lg { padding: 14px 34px; font-size: 16px; }
.btn--block { width: 100%; }

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  padding: 9px 8px;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--primary); border-radius: 2px;
  transition: transform .3s, opacity .2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 60px) 0 70px;
  background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #3182ce 100%);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 460px at 12% 18%, rgba(66, 153, 225, .38), transparent 62%),
    radial-gradient(760px 420px at 88% 78%, rgba(245, 158, 11, .2), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 110px;
  background: linear-gradient(180deg, rgba(26, 54, 93, 0), #fff 92%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 15px; border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .25);
  font-size: 13px; letter-spacing: .4px; margin-bottom: 22px;
}
.hero-badge i {
  width: 7px; height: 7px; border-radius: 50%; background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, .22); font-style: normal;
}
.hero h1 {
  font-size: 46px; line-height: 1.24; font-weight: 800; letter-spacing: -.6px;
  margin-bottom: 18px;
}
.hero h1 .hl {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 19px; color: rgba(255, 255, 255, .9); margin-bottom: 12px; font-weight: 500; }
.hero-desc { font-size: 15.5px; color: rgba(255, 255, 255, .78); margin-bottom: 30px; max-width: 560px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 560px; }
.stat {
  padding: 14px 10px; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  text-align: center;
}
.stat b { display: block; font-size: 24px; font-weight: 800; color: #fbbf24; line-height: 1.2; }
.stat span { font-size: 12.5px; color: rgba(255, 255, 255, .8); }

/* Hero 右侧：监测面板示意 */
.hero-panel {
  background: rgba(255, 255, 255, .97);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  color: var(--text);
}
.hp-head {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 16px; border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.hp-dot { width: 10px; height: 10px; border-radius: 50%; }
.hp-head span { font-size: 13px; color: var(--text-sub); font-weight: 600; margin-left: 4px; }
.hp-body { padding: 16px; }
.hp-row {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); margin-bottom: 9px;
  background: #fff; transition: border-color .2s, box-shadow .2s;
}
.hp-row:hover { border-color: var(--primary-4); box-shadow: var(--shadow-sm); }
.hp-tag {
  font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 6px; flex-shrink: 0;
}
.hp-tag.neg { background: #fee2e2; color: #b91c1c; }
.hp-tag.warn { background: #fef3c7; color: #b45309; }
.hp-tag.pos { background: #d1fae5; color: #047857; }
.hp-txt { font-size: 13.5px; color: var(--text); flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp-time { font-size: 11.5px; color: var(--text-mute); flex-shrink: 0; }
.hp-bars { display: flex; align-items: flex-end; gap: 6px; height: 60px; padding: 4px 2px 0; }
.hp-bars i {
  flex: 1; border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--primary-4), var(--primary-2));
}

/* ---------- 核心优势 ---------- */
.advantage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.advantage-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 24px;
  transition: transform .28s, box-shadow .28s, border-color .28s;
}
.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--primary-4);
}
.advantage-icon {
  width: 52px; height: 52px; border-radius: 13px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(49, 130, 206, .14), rgba(49, 130, 206, .04));
}
.advantage-icon svg { width: 26px; height: 26px; stroke: var(--primary-3); fill: none; stroke-width: 1.9; }
.advantage-card h3 { font-size: 18px; color: var(--primary); margin-bottom: 10px; font-weight: 700; }
.advantage-card p { font-size: 14.5px; color: var(--text-sub); }

/* ---------- 核心功能（交替） ---------- */
.feature-list { display: flex; flex-direction: column; gap: 24px; }
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center;
  background: #fff; border: 1px solid var(--border);
  border-radius: 18px; padding: 34px 38px;
  transition: box-shadow .28s, border-color .28s;
}
.feature-row:hover { box-shadow: var(--shadow); border-color: var(--primary-4); }
.feature-row.reverse .feature-visual { order: -1; }
.feature-visual {
  border-radius: 14px; overflow: hidden;
  background: linear-gradient(135deg, var(--bg-light), #e6f0fb);
  aspect-ratio: 16 / 10;
  display: grid; place-items: center;
  border: 1px solid var(--border);
}
.feature-visual .fv-inner { width: 100%; height: 100%; padding: 22px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.fv-line { height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--primary-4), rgba(49,130,206,.18)); }
.fv-line.s { width: 62%; }
.fv-line.m { width: 84%; }
.fv-line.xs { width: 44%; background: linear-gradient(90deg, var(--accent), rgba(245,158,11,.16)); }
.fv-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.fv-chip {
  font-size: 12px; padding: 4px 11px; border-radius: 999px;
  background: #fff; border: 1px solid var(--border); color: var(--primary-2); font-weight: 600;
}
.feature-icon-box {
  width: 50px; height: 50px; border-radius: 13px; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 50%, var(--primary-3) 100%);
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(49, 130, 206, .3);
}
.feature-icon-box svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 1.9; }
.feature-content h3 { font-size: 22px; color: var(--primary); margin-bottom: 12px; font-weight: 700; }
.feature-content > p { font-size: 15px; color: var(--text-sub); margin-bottom: 18px; }
.feature-points { display: flex; flex-direction: column; gap: 9px; }
.feature-points li {
  display: flex; align-items: flex-start; gap: 9px; font-size: 14.5px; color: var(--text-sub);
}
.feature-points li svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 4px; stroke: var(--green-2); fill: none; stroke-width: 2.4; }

/* ---------- 应用场景 ---------- */
.scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.scene-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: #fff;
  transition: transform .28s, box-shadow .28s;
}
.scene-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.scene-top { height: 120px; display: grid; place-items: center; }
.scene-top svg { width: 42px; height: 42px; stroke: #fff; fill: none; stroke-width: 1.7; }
.scene-body { padding: 22px 24px 26px; }
.scene-body h3 { font-size: 18px; color: var(--primary); margin-bottom: 9px; font-weight: 700; }
.scene-body p { font-size: 14.5px; color: var(--text-sub); }

/* ---------- 价格 ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  background: #fff; border: 1px solid var(--border); border-radius: 18px;
  padding: 32px 28px; display: flex; flex-direction: column;
  transition: transform .28s, box-shadow .28s, border-color .28s;
  position: relative;
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.price-card.featured {
  border-color: var(--primary-3);
  box-shadow: 0 12px 34px rgba(49, 130, 206, .18);
}
.price-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; font-size: 12.5px; font-weight: 700;
  padding: 4px 16px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 4px 12px rgba(217, 119, 6, .3);
}
.price-name { font-size: 19px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.price-for { font-size: 13.5px; color: var(--text-mute); margin-bottom: 18px; }
.price-val { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.price-val .cur { font-size: 22px; font-weight: 700; color: var(--accent-2); }
.price-val .num { font-size: 40px; font-weight: 800; color: var(--primary); line-height: 1; letter-spacing: -1px; }
.price-val .unit { font-size: 14px; color: var(--text-mute); }
.price-note { font-size: 12.5px; color: var(--text-mute); margin-bottom: 22px; min-height: 20px; }
.price-feats { display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; flex: 1; }
.price-feats li { display: flex; gap: 9px; font-size: 14.5px; color: var(--text-sub); align-items: flex-start; }
.price-feats li svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 4px; stroke: var(--primary-3); fill: none; stroke-width: 2.4; }
.price-feats li.off { color: var(--text-mute); opacity: .6; }
.price-feats li.off svg { stroke: var(--text-mute); }

/* ---------- CTA ---------- */
.free-trial { padding: 0 0 92px; }
.free-trial-box {
  border-radius: 22px; overflow: hidden;
  background: linear-gradient(135deg, #1a365d 0%, #2c5282 52%, #3182ce 100%);
  position: relative; padding: 58px 56px; text-align: center; color: #fff;
}
.free-trial-box::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 340px at 20% 10%, rgba(66, 153, 225, .35), transparent 60%),
              radial-gradient(620px 320px at 84% 90%, rgba(245, 158, 11, .22), transparent 60%);
}
.free-trial-content { position: relative; z-index: 2; }
.free-trial-box h2 { font-size: 32px; font-weight: 800; margin-bottom: 14px; letter-spacing: -.4px; }
.free-trial-box p { font-size: 16px; color: rgba(255, 255, 255, .84); margin-bottom: 30px; }
.free-trial-box .hero-cta { justify-content: center; margin-bottom: 0; }

/* ---------- 页脚 ---------- */
.footer { background: #0f2137; color: rgba(255, 255, 255, .72); padding: 62px 0 0; }
.footer-content {
  display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px;
  padding-bottom: 40px;
}
.footer-section h4 { color: #fff; font-size: 15px; margin-bottom: 18px; font-weight: 700; }
.footer-section ul { display: flex; flex-direction: column; gap: 10px; }
.footer-section a { font-size: 14px; transition: color .2s; }
.footer-section a:hover { color: var(--primary-4); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: rgba(255, 255, 255, .5); }
.footer-about { font-size: 14px; max-width: 340px; }
.footer-contact { margin-top: 16px; font-size: 14px; display: flex; flex-direction: column; gap: 7px; }
.footer-contact b { color: #fff; font-weight: 600; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 20px 0 26px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255, 255, 255, .55);
}

/* ---------- 悬浮客服 ---------- */
.float-service { position: fixed; right: 18px; bottom: 26px; z-index: 900; display: flex; flex-direction: column; gap: 10px; }
.fs-btn {
  width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; box-shadow: var(--shadow);
  display: grid; place-items: center; color: var(--primary-2);
  transition: transform .2s, background .2s, color .2s;
}
.fs-btn:hover { transform: translateY(-3px); background: var(--primary-3); color: #fff; }
.fs-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.9; }
.fs-btn.wechat:hover { background: var(--green); }
#backTop { opacity: 0; pointer-events: none; transition: opacity .3s, transform .2s; }
#backTop.show { opacity: 1; pointer-events: auto; }

.service-modal {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(15, 33, 55, .58);
  display: none; place-items: center; padding: 20px;
}
.service-modal.show { display: grid; }
.service-modal-content {
  background: #fff; border-radius: 18px; padding: 34px 40px 30px; text-align: center;
  max-width: 340px; width: 100%; position: relative;
  box-shadow: var(--shadow-lg);
}
.sm-close {
  position: absolute; top: 12px; right: 14px; border: 0; background: transparent;
  font-size: 24px; line-height: 1; cursor: pointer; color: var(--text-mute);
}
.service-modal-content h4 { font-size: 18px; color: var(--primary); margin-bottom: 6px; }
.service-modal-content p { font-size: 14px; color: var(--text-sub); margin-bottom: 18px; }
.service-qrcode {
  width: 100%; max-width: 250px; margin: 0 auto;
  border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden; background: var(--bg-soft);
}
.service-qrcode img {
  width: 100%; height: auto; display: block;
}

/* ---------- 滚动动效 ---------- */
.animate-on-scroll { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.animate-on-scroll.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .animate-on-scroll { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 44px); }
  .hero h1 { font-size: 38px; }
  .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .scene-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .footer-content { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  body { font-size: 15.5px; }
  .container { padding: 0 18px; }
  .nav-inner { padding: 0 18px; gap: 12px; }
  .nav-toggle { display: flex; }
  .brand-sub { display: none; }

  .navbar-menu {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 28px rgba(26, 54, 93, .12);
    padding: 10px 18px 18px;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .25s, opacity .25s;
  }
  .navbar-menu.open { transform: none; opacity: 1; pointer-events: auto; }
  .navbar-menu a { padding: 13px 8px; font-size: 16px; border-radius: 0; border-bottom: 1px solid var(--border); }
  .navbar-menu a:last-child { border-bottom: 0; }
  .navbar-actions .btn--ghost { display: none; }
  .navbar-actions { margin-left: 0; }

  /* AIMSS 移动端手风琴 */
  .nav-dropdown { flex-direction: column; align-items: stretch; }
  .nav-dropdown-toggle {
    width: 100%; justify-content: space-between;
    padding: 13px 8px; font-size: 16px; border-radius: 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-dropdown.open .nav-dropdown-toggle { background: none; }
  .nav-dropdown-menu {
    position: static; min-width: 0; margin: 0; padding: 0 0 6px;
    border: 0; border-radius: 0; box-shadow: none;
    display: none; opacity: 1; visibility: visible; transform: none;
  }
  .nav-dropdown-menu::before { display: none; }
  .nav-dropdown.open .nav-dropdown-menu { display: flex; }
  .nav-dropdown-menu a {
    padding: 11px 18px !important; font-size: 14.5px !important;
    color: var(--text-sub); border-bottom: 0 !important;
  }
  .brand-logo { height: 32px; }

  .section { padding: 60px 0; }
  .section-title { margin-bottom: 38px; }
  .section-title h2 { font-size: 26px; }
  .section-title p { font-size: 15px; }

  .hero { padding: calc(var(--nav-h) + 30px) 0 54px; }
  .hero h1 { font-size: 29px; line-height: 1.3; }
  .hero-sub { font-size: 16.5px; }
  .hero-desc { font-size: 14.5px; margin-bottom: 24px; }
  .hero-cta { gap: 10px; margin-bottom: 30px; }
  .hero-cta .btn { flex: 1; min-width: 140px; padding: 12px 18px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat b { font-size: 21px; }
  .stat span { font-size: 12px; }
  .hero-panel { margin-top: 4px; }

  .advantage-grid { grid-template-columns: 1fr; gap: 16px; }
  .advantage-card { padding: 24px 20px; }

  .feature-row { grid-template-columns: 1fr; gap: 22px; padding: 24px 20px; }
  .feature-row.reverse .feature-visual { order: 0; }
  .feature-content h3 { font-size: 19px; }

  .scene-grid { grid-template-columns: 1fr; gap: 16px; }
  .scene-top { height: 96px; }
  .scene-top svg { width: 36px; height: 36px; }

  .price-grid { gap: 18px; }
  .price-card { padding: 28px 22px; }

  .free-trial-box { padding: 40px 22px; border-radius: 16px; }
  .free-trial-box h2 { font-size: 24px; }
  .free-trial-box p { font-size: 15px; }

  .footer { padding-top: 44px; }
  .footer-content { grid-template-columns: 1fr; gap: 28px; padding-bottom: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .float-service { right: 12px; bottom: 16px; }
  .fs-btn { width: 44px; height: 44px; }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 26px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .btn--lg { padding: 12px 22px; font-size: 15px; }
}
