/* ============================================================
   慧丰农业 Huifeng AgTech — 设计系统
   暗色农业科技主题 · 零依赖 · 响应式
   ============================================================ */

:root {
  --bg: #06130b;
  --bg-2: #0a1d11;
  --panel: rgba(14, 34, 22, 0.72);
  --panel-solid: #0c2013;
  --line: rgba(120, 200, 150, 0.16);
  --green: #3ee87f;
  --green-2: #14b85a;
  --green-deep: #1f9d4d;
  --cyan: #38c8f8;
  --amber: #f0a41c;
  --ink: #e9f5ec;
  --muted: #93ad9c;
  --cream: #f2efe5;
  --cream-card: #fcfbf6;
  --cream-line: #e3ddcd;
  --cream-ink: #12220f;
  --cream-muted: #5d7264;
  --radius: 18px;
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  /* 全屏分段区块自带 72px 顶部内边距，锚点对齐视口顶部即可整屏可见 */
  scroll-padding-top: 0;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

::selection { background: rgba(62, 232, 127, 0.35); color: #fff; }

img, svg, canvas, video { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

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

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #081409; }
::-webkit-scrollbar-thumb { background: #1d3a26; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #2a5538; }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.section { padding: 104px 0; position: relative; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px; border-radius: 999px;
  font-size: 15px; font-weight: 600; line-height: 1;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s, border-color 0.25s, color 0.25s;
  white-space: nowrap;
}
.btn:active { transform: translateY(0); }
.btn-lg { padding: 17px 34px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }

.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: #04160b;
  box-shadow: 0 10px 26px rgba(30, 200, 110, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(30, 200, 110, 0.5); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }

.chev { font-size: 0.8em; transition: transform 0.3s var(--ease); }
.specs-open .chev, .btn-team:hover .chev { transform: translateY(2px); }
.btn-team:hover .chev { transform: translateX(4px); }

/* ---------- 头部导航 ---------- */
#siteHeader {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
#siteHeader.scrolled {
  background: rgba(6, 19, 11, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 28px;
  height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo svg { width: 34px; height: 34px; }
.logo-txt { display: flex; flex-direction: column; line-height: 1.15; }
.logo-txt b { font-size: 18px; letter-spacing: 2px; }
.logo-txt span { font-size: 10px; letter-spacing: 3.5px; color: var(--muted); }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-link {
  font-size: 15px; color: #cfe2d5; position: relative; padding: 6px 0;
  transition: color 0.25s;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; border-radius: 2px;
  background: var(--green); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--green); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

#navBurger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 8px;
}
#navBurger i {
  width: 22px; height: 2px; border-radius: 2px;
  background: var(--ink); transition: transform 0.3s var(--ease), opacity 0.3s;
}
#navBurger.open i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#navBurger.open i:nth-child(2) { opacity: 0; }
#navBurger.open i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
  padding: 120px 0 48px;
}
.hero-video {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -1;
}
/* 视频加载失败时的兜底渐变（JS 隐藏 video 后生效） */
.hero.no-video {
  background:
    radial-gradient(900px 420px at 20% 0%, rgba(255, 190, 110, 0.14), transparent 55%),
    radial-gradient(1100px 620px at 80% 100%, rgba(31, 157, 77, 0.22), transparent 60%),
    linear-gradient(160deg, #0d2a18 0%, #06130b 55%, #04170c 100%);
}
.hero-shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 12, 7, 0.55) 0%, rgba(4, 12, 7, 0.18) 30%, rgba(4, 12, 7, 0.15) 55%, rgba(4, 12, 7, 0.68) 100%),
    rgba(0, 0, 0, 0.4);
}
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; border-radius: 999px;
  border: 1px solid rgba(62, 232, 127, 0.4);
  background: rgba(10, 30, 18, 0.55);
  backdrop-filter: blur(6px);
  font-size: 13.5px; letter-spacing: 1px; color: #b9e8c8;
}
.hero-eyebrow i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 10px var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse { 50% { opacity: 0.35; } }

.hero h1 {
  margin: 26px 0 20px;
  font-size: clamp(38px, 6.2vw, 74px);
  line-height: 1.14; font-weight: 800; letter-spacing: 1px;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.5);
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(92deg, #6ef5a2, var(--green) 45%, #2fd0e8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  font-size: clamp(15px, 1.6vw, 18px); color: #b9cfbf;
  max-width: 620px; letter-spacing: 0.5px;
}
.hero-cta { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.hero-scope {
  margin-top: 14px; font-size: 14px; color: #9fbfae; letter-spacing: 0.5px;
}
.hero-scope em { font-style: normal; color: var(--green); font-weight: 700; }

.hero-stats {
  position: relative; z-index: 2;
  margin-top: 64px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius);
  border: 1px solid rgba(120, 200, 150, 0.2);
  background: rgba(8, 22, 13, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}
.hero-stat {
  padding: 26px 20px; text-align: center;
  border-right: 1px solid rgba(120, 200, 150, 0.14);
}
.hero-stat:last-child { border-right: 0; }
.stat-num {
  font-size: clamp(26px, 3.4vw, 40px); font-weight: 800;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, #8df7b4, var(--green));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { font-size: 13px; color: var(--muted); letter-spacing: 2px; margin-top: 2px; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  z-index: 2; width: 22px; height: 34px;
  border: 1.6px solid rgba(200, 235, 210, 0.5); border-radius: 12px;
}
.scroll-hint::after {
  content: ""; position: absolute; left: 50%; top: 6px;
  width: 4px; height: 8px; border-radius: 3px;
  background: var(--green); transform: translateX(-50%);
  animation: wheel 1.8s infinite;
}
@keyframes wheel { 0% { opacity: 0; top: 5px; } 30% { opacity: 1; } 100% { opacity: 0; top: 18px; } }

/* ---------- 区块标题 ---------- */
.section-head { margin-bottom: 52px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 999px;
  border: 1px solid rgba(62, 232, 127, 0.45);
  color: var(--green); font-size: 13px; letter-spacing: 2px;
  background: rgba(62, 232, 127, 0.06);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.section-head h2 {
  margin-top: 18px;
  font-size: clamp(26px, 3.6vw, 42px); font-weight: 800; letter-spacing: 1px;
}
.section-sub { color: var(--muted); font-size: 16px; margin-top: 12px; max-width: 640px; }

/* ---------- 全国布局 ---------- */
#layout {
  background:
    radial-gradient(1000px 480px at 85% 0%, rgba(31, 157, 77, 0.12), transparent 60%),
    radial-gradient(800px 420px at 0% 100%, rgba(20, 120, 90, 0.1), transparent 60%),
    var(--bg-2);
}
.layout-grid {
  display: grid; grid-template-columns: 1.28fr 1fr; gap: 40px; align-items: start;
}

.map-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(13, 32, 20, 0.85), rgba(8, 20, 12, 0.92));
  padding: 22px 22px 14px;
  box-shadow: var(--shadow-lg);
}
#chinaMap { position: relative; aspect-ratio: 950 / 800; }
.china-map { width: 100%; height: 100%; }
.map-halo { pointer-events: none; }

.prov {
  stroke: rgba(6, 18, 10, 0.9); stroke-width: 1.1;
  transition: filter 0.25s, opacity 0.25s;
  cursor: pointer;
}
.prov:hover { filter: brightness(1.35) saturate(1.25); stroke: rgba(255, 255, 255, 0.85); stroke-width: 1.4; }
.prov-name {
  fill: #dcefe2; font-size: 13px; letter-spacing: 1px;
  pointer-events: none; user-select: none;
  paint-order: stroke; stroke: rgba(5, 14, 8, 0.75); stroke-width: 3px;
}
.city-name { font-size: 11px; }
.city-dot { cursor: pointer; }
.city-dot:hover .dot-core { filter: brightness(1.4); }

.survey-dot .survey-core { pointer-events: none; }
.survey-dot .survey-ring {
  opacity: 0.9; transform-box: fill-box; transform-origin: center;
  animation: ring 2.6s ease-out infinite;
}
@keyframes ring {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(3.2); opacity: 0; }
}
.base-ring {
  transform-box: fill-box; transform-origin: center;
  animation: ring 2s ease-out infinite;
}

.callout-line { stroke: rgba(94, 240, 150, 0.55); stroke-width: 1.4; stroke-dasharray: 3 3; }
.base-card { pointer-events: auto; }
.card-rect {
  fill: rgba(10, 26, 15, 0.92);
  stroke: rgba(62, 232, 127, 0.55); stroke-width: 1.3;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.4));
}
.card-name { fill: #d9ecde; font-size: 13.5px; font-weight: 700; letter-spacing: 0.5px; }
.card-crop { fill: #8fb0a0; font-size: 12px; }
.card-area { fill: var(--green); font-size: 12.5px; font-weight: 700; }
.card-tag { fill: #ff8d80; font-size: 10.5px; letter-spacing: 0.5px; }

/* 重点运营（红点）样式变体 */
.card-rect.keyops { stroke: rgba(240, 68, 56, 0.6); }
.callout-line.keyops { stroke: rgba(240, 68, 56, 0.55); }

.survey-dot, .target-dot, .base-card { cursor: pointer; }
.survey-dot:hover .survey-core { filter: brightness(1.5); }
.target-dot:hover .target-core { filter: brightness(1.4); }

/* 地图底部数据列表 */
.map-lists {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  margin-top: 14px; padding-top: 16px;
  border-top: 1px dashed rgba(120, 200, 150, 0.18);
}
.map-list-head {
  display: flex; align-items: center; gap: 9px;
  font-size: 13.5px; color: #cfe2d5; margin-bottom: 10px;
}
.map-list-head .legend-swatch { width: 11px; height: 11px; }
.map-list-items { display: flex; flex-wrap: wrap; gap: 6px; }
.map-list-item {
  font-size: 12px; padding: 3px 11px; border-radius: 999px;
  border: 1px solid rgba(120, 200, 150, 0.25);
  color: #b8d2c0; background: rgba(62, 232, 127, 0.05);
  white-space: nowrap;
}

.sea-box { fill: rgba(20, 40, 28, 0.35); stroke: rgba(120, 200, 150, 0.4); stroke-dasharray: 5 4; stroke-width: 1.2; }
.sea-label { fill: #9dc3ac; font-size: 12px; letter-spacing: 2px; }
.sea-dashes { stroke: rgba(120, 200, 150, 0.6); stroke-dasharray: 4 5; stroke-width: 1.6; }
.sea-island { fill: rgba(120, 200, 150, 0.75); }

.map-legend {
  display: flex; flex-wrap: wrap; gap: 22px;
  padding: 14px 8px 6px; margin-top: 6px;
  border-top: 1px dashed rgba(120, 200, 150, 0.18);
}
.legend-item { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: #b8d2c0; }
.legend-swatch { width: 14px; height: 14px; border-radius: 4px; box-shadow: 0 0 8px rgba(62, 232, 127, 0.25); }

.map-tooltip {
  position: absolute; left: 0; top: 0; z-index: 6;
  max-width: 250px; padding: 10px 14px;
  border-radius: 12px;
  background: rgba(7, 20, 12, 0.94);
  border: 1px solid rgba(62, 232, 127, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  color: #dcecE1; font-size: 13px; line-height: 1.55;
  opacity: 0; pointer-events: none;
  transition: opacity 0.18s;
  will-change: transform;
}
.map-tooltip.show { opacity: 1; }
.tt-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.tt-head b { font-size: 15px; color: #fff; }
.tt-stage {
  font-size: 11px; padding: 2px 9px; border-radius: 999px;
  color: var(--c, #2fbf5f); border: 1px solid var(--c, #2fbf5f);
}
.tt-line { color: #a9c6b2; }

/* ROI 面板 */
.layout-side { display: flex; flex-direction: column; gap: 22px; }

.roi-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(16, 38, 23, 0.9), rgba(8, 20, 12, 0.95));
  padding: 26px 26px 22px;
  box-shadow: var(--shadow-lg);
}
.roi-card h3 { font-size: 19px; font-weight: 800; letter-spacing: 0.5px; }

.roi-controls { margin-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.ctrl { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; }
.ctrl label { font-size: 13.5px; color: #a9c6b2; }
.ctrl output { font-size: 13px; color: var(--green); font-weight: 700; font-variant-numeric: tabular-nums; }
.ctrl input[type="range"] { grid-column: 1 / -1; width: 100%; }

input[type="range"] {
  -webkit-appearance: none; appearance: none;
  height: 22px; background: transparent;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 5px; border-radius: 3px;
  background: linear-gradient(90deg, rgba(62, 232, 127, 0.55), rgba(62, 232, 127, 0.15));
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 17px; height: 17px; border-radius: 50%; margin-top: -6px;
  background: linear-gradient(135deg, #6ef5a2, var(--green-2));
  border: 2.5px solid #07130c;
  box-shadow: 0 0 12px rgba(62, 232, 127, 0.6);
  cursor: grab;
}
input[type="range"]::-moz-range-track {
  height: 5px; border-radius: 3px;
  background: linear-gradient(90deg, rgba(62, 232, 127, 0.55), rgba(62, 232, 127, 0.15));
}
input[type="range"]::-moz-range-thumb {
  width: 15px; height: 15px; border-radius: 50%;
  background: linear-gradient(135deg, #6ef5a2, var(--green-2));
  border: 2.5px solid #07130c;
  box-shadow: 0 0 12px rgba(62, 232, 127, 0.6);
  cursor: grab;
}

.roi-out { margin-top: 20px; border-top: 1px dashed rgba(120, 200, 150, 0.2); padding-top: 16px; }
.roi-row {
  display: grid; grid-template-columns: 96px 1fr auto;
  align-items: center; gap: 12px; margin-bottom: 12px;
}
.roi-row .roi-label { font-size: 13.5px; color: #a9c6b2; }
.roi-track { height: 10px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.roi-fill {
  display: block; height: 100%; width: 0; border-radius: 6px;
  transition: width 0.55s var(--ease);
}
.bars-in .roi-fill { width: var(--w, 0); }
.fill-invest { background: linear-gradient(90deg, #55657c, #8b9cb5); }
.fill-save   { background: linear-gradient(90deg, var(--green-2), var(--green)); box-shadow: 0 0 10px rgba(62, 232, 127, 0.4); }
.fill-gain   { background: linear-gradient(90deg, #0e9bd8, var(--cyan)); box-shadow: 0 0 10px rgba(56, 200, 248, 0.4); }
.fill-payback{ background: linear-gradient(90deg, var(--amber), var(--green)); box-shadow: 0 0 10px rgba(240, 164, 28, 0.4); }
.roi-val { font-size: 14.5px; font-weight: 800; font-variant-numeric: tabular-nums; color: #eaf6ee; min-width: 74px; text-align: right; }
.roi-val.accent-green { color: var(--green); }
.roi-val.accent-cyan { color: var(--cyan); }
.roi-val.accent-amber { color: var(--amber); }

.roi-note { margin-top: 6px; font-size: 12px; color: #7e9a89; line-height: 1.6; }
.roi-net {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 14px; padding: 12px 16px; border-radius: 12px;
  background: rgba(62, 232, 127, 0.08); border: 1px solid rgba(62, 232, 127, 0.25);
  font-size: 14px; color: #bfe6cb;
}
.roi-net b { font-size: 20px; color: var(--green); font-variant-numeric: tabular-nums; }

.metrics-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.metric-card {
  border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(16, 38, 23, 0.85), rgba(8, 20, 12, 0.92));
  padding: 20px 22px; display: flex; align-items: center; gap: 16px;
}
.metric-card svg { width: 42px; height: 42px; flex: none; }
.metric-num { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; color: #eaf6ee; line-height: 1.2; }
.metric-num small { font-size: 14px; color: var(--green); font-weight: 700; }
.metric-label { font-size: 13px; color: var(--muted); }

.market-card {
  border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(16, 38, 23, 0.85), rgba(8, 20, 12, 0.92));
  padding: 22px 26px;
}
.market-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 16px; }
.market-row { display: grid; grid-template-columns: 128px 1fr 52px; gap: 14px; align-items: center; margin-bottom: 13px; }
.market-name { font-size: 13.5px; color: #cfe2d5; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.market-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px rgba(240, 164, 28, 0.6); }
.market-track { height: 9px; border-radius: 5px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.market-fill {
  display: block; height: 100%; width: 0; border-radius: 5px;
  background: linear-gradient(90deg, var(--green-2), var(--green));
  transition: width 0.9s var(--ease);
}
.market-card.in .market-fill { width: var(--w); }
.market-pct { font-size: 14px; font-weight: 800; color: var(--green); text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- 产品中心（米色） ---------- */
#products {
  background:
    radial-gradient(900px 400px at 100% 0%, rgba(31, 157, 77, 0.06), transparent 55%),
    var(--cream);
  color: var(--cream-ink);
}
#products .section-sub { color: var(--cream-muted); }
#products .eyebrow { border-color: rgba(20, 120, 60, 0.5); color: #15803d; background: rgba(20, 120, 60, 0.06); }
#products .eyebrow::before { background: #15803d; }

/* ---------- 产品中心：横向轮播 ---------- */
.carousel { position: relative; }
.carousel-viewport {
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  border-radius: 24px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.carousel-viewport::-webkit-scrollbar { display: none; }
.carousel-viewport:focus-visible { outline: 2px solid #15803d; outline-offset: 4px; }
.carousel-track { display: flex; align-items: stretch; }

.carousel-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  display: grid; grid-template-columns: 1.02fr 1fr;
  gap: 56px; align-items: center;
  padding: 44px 48px;
  background: var(--cream-card);
  border: 1px solid var(--cream-line);
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(20, 45, 28, 0.1);
}

.carousel-nav {
  display: flex; align-items: center; justify-content: center;
  margin-top: 28px;
}
.carousel-dots { display: flex; align-items: center; gap: 10px; }
.carousel-dot {
  width: 9px; height: 9px; border-radius: 999px;
  background: rgba(18, 34, 15, 0.22); border: 0; padding: 0;
  transition: width 0.3s var(--ease), background 0.3s;
}
.carousel-dot:hover { background: rgba(21, 128, 61, 0.5); }
.carousel-dot.active { width: 30px; background: #15803d; position: relative; overflow: hidden; }

/* 自动轮播进度条：激活圆点内 5s 线性填充，悬停 / 暂停时冻结 */
.carousel-dots.autoplay .carousel-dot.active::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 100%;
  background: rgba(252, 251, 246, 0.9);
  transform-origin: left center;
  animation: dotProgress var(--auto-ms, 5s) linear forwards;
}
.carousel.paused .carousel-dots.autoplay .carousel-dot.active::after { animation-play-state: paused; }
@keyframes dotProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.prod-media {
  border-radius: 22px; overflow: hidden;
  background: linear-gradient(160deg, #0c2415, #07160d);
  border: 1px solid rgba(20, 60, 34, 0.35);
  box-shadow: 0 30px 60px rgba(20, 45, 28, 0.28);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.prod-media:hover { transform: translateY(-8px) rotate(-0.4deg); box-shadow: 0 42px 80px rgba(20, 45, 28, 0.36); }
.prod-art { width: 100%; height: auto; }

.prod-index {
  font-size: 64px; font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.4px rgba(20, 120, 60, 0.4);
  font-variant-numeric: tabular-nums;
}
.prod-info h3 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; margin-top: 10px; letter-spacing: 0.5px; }
.prod-tagline { color: #15803d; font-weight: 700; font-size: 16px; margin-top: 10px; }
.prod-desc { color: var(--cream-muted); font-size: 15px; margin-top: 14px; }

.prod-specs { max-height: 0; overflow: hidden; transition: max-height 0.6s var(--ease); }
.specs-open .prod-specs { max-height: 520px; }
.spec-grid {
  margin-top: 18px; padding: 18px 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--cream-line); border-radius: 14px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 9px 22px;
}
.spec-line { display: flex; justify-content: space-between; gap: 14px; font-size: 13.5px; padding: 6px 0; border-bottom: 1px dashed rgba(90, 110, 95, 0.25); align-items: flex-start; }
.spec-line:last-child { border-bottom: 0; }
.spec-line span { color: var(--cream-muted); flex: none; white-space: nowrap; }
.spec-line b { color: var(--cream-ink); font-weight: 700; text-align: right; min-width: 0; }

.prod-actions { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
#products .btn-ghost { border-color: rgba(18, 34, 15, 0.35); color: var(--cream-ink); }
#products .btn-ghost:hover { border-color: #15803d; color: #15803d; }

/* 数字孪生小仪表盘 */
.twin {
  background: #08170e; color: #d8ecdd;
  padding: 0; aspect-ratio: 13 / 9; display: flex; flex-direction: column;
}
.tw-head {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-bottom: 1px solid rgba(120, 200, 150, 0.15);
  font-size: 14px;
}
.tw-logo { width: 16px; height: 16px; border-radius: 5px; background: linear-gradient(135deg, var(--green), var(--green-2)); box-shadow: 0 0 10px rgba(62, 232, 127, 0.5); }
.tw-live { margin-left: auto; font-size: 10.5px; letter-spacing: 2px; color: #ff8d7a; display: flex; align-items: center; gap: 6px; }
.tw-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff6b52; animation: pulse 1.4s infinite; }
.tw-body { flex: 1; display: grid; grid-template-columns: 96px 1fr 108px; min-height: 0; }
.tw-side { border-right: 1px solid rgba(120, 200, 150, 0.12); padding: 12px 10px; display: flex; flex-direction: column; gap: 4px; }
.tw-side span { font-size: 12px; padding: 7px 10px; border-radius: 8px; color: #8fb0a0; }
.tw-side span.on { background: rgba(62, 232, 127, 0.14); color: var(--green); }
.tw-main { padding: 14px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.tw-grid {
  flex: 1; display: grid; grid-template-columns: repeat(10, 1fr);
  gap: 6px; padding: 10px; border-radius: 10px;
  background:
    linear-gradient(rgba(62, 232, 127, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 232, 127, 0.05) 1px, transparent 1px);
  background-size: 18px 18px;
  border: 1px solid rgba(120, 200, 150, 0.12);
}
.tw-tree {
  align-self: center; justify-self: center;
  width: 9px; height: 9px; border-radius: 50%;
  background: #2f9e55; box-shadow: 0 0 6px rgba(62, 232, 127, 0.35);
  animation: treeGlow 3s ease-in-out infinite;
}
.tw-tree.warm { background: var(--amber); box-shadow: 0 0 8px rgba(240, 164, 28, 0.55); }
.tw-tree.hot  { background: #ff7a5c; box-shadow: 0 0 9px rgba(255, 120, 90, 0.65); }
@keyframes treeGlow { 50% { opacity: 0.55; } }
.tw-bars { display: flex; align-items: flex-end; gap: 5px; height: 44px; padding: 0 4px; }
.tw-bars span {
  flex: 1; height: var(--h); border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--cyan), rgba(56, 200, 248, 0.15));
  animation: barWave 2.4s ease-in-out infinite;
  transform-origin: bottom;
}
@keyframes barWave { 50% { transform: scaleY(0.72); } }
.tw-right { border-left: 1px solid rgba(120, 200, 150, 0.12); padding: 12px 10px; display: flex; flex-direction: column; gap: 10px; }
.tw-stat { background: rgba(62, 232, 127, 0.07); border: 1px solid rgba(62, 232, 127, 0.18); border-radius: 10px; padding: 9px 10px; }
.tw-stat em { font-style: normal; font-size: 19px; font-weight: 800; color: var(--green); font-variant-numeric: tabular-nums; }
.tw-stat em small { font-size: 12px; }
.tw-stat span { display: block; font-size: 11px; color: #8fb0a0; margin-top: 1px; }

/* ---------- 核心团队（米色） ---------- */
#team { background: var(--cream); color: var(--cream-ink); }
#team .section-sub { color: var(--cream-muted); }
#team .eyebrow { border-color: rgba(20, 120, 60, 0.5); color: #15803d; background: rgba(20, 120, 60, 0.06); }
#team .eyebrow::before { background: #15803d; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card {
  background: var(--cream-card);
  border: 1px solid var(--cream-line);
  border-radius: 18px; padding: 24px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.team-card:hover {
  transform: translateY(-7px);
  border-color: rgba(21, 128, 61, 0.45);
  box-shadow: 0 26px 50px rgba(20, 45, 28, 0.18);
}
.team-top { display: flex; align-items: center; gap: 16px; }
.avatar { width: 64px; height: 64px; border-radius: 16px; overflow: hidden; flex: none; box-shadow: 0 8px 18px rgba(20, 45, 28, 0.22); }
.team-card h3 { font-size: 19px; font-weight: 800; }
.team-title { font-size: 13.5px; color: #15803d; font-weight: 600; margin-top: 3px; }
.team-field { font-size: 14px; color: var(--cream-muted); margin: 16px 0 18px; min-height: 44px; }
#team .btn-ghost { border-color: rgba(18, 34, 15, 0.3); color: var(--cream-ink); width: 100%; justify-content: center; }
#team .btn-ghost:hover { border-color: #15803d; color: #15803d; }

/* 虚位以待占位卡 */
.team-card--open {
  background: rgba(252, 251, 246, 0.55);
  border: 1.5px dashed rgba(21, 128, 61, 0.45);
  box-shadow: none;
}
.team-card--open:hover {
  transform: translateY(-5px);
  border-color: rgba(21, 128, 61, 0.75);
  box-shadow: 0 20px 40px rgba(20, 45, 28, 0.1);
}
.avatar--open { box-shadow: none; }
.team-card--open .team-field { color: #6d8375; }
#team .btn-team-join { border-style: dashed; }

/* ---------- 页脚 ---------- */
footer {
  background:
    radial-gradient(900px 380px at 8% 0%, rgba(31, 157, 77, 0.14), transparent 60%),
    #050f08;
  border-top: 1px solid var(--line);
  padding: 72px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 52px; }
.footer-slogan { color: var(--muted); font-size: 15px; margin-top: 16px; max-width: 300px; line-height: 1.9; }
.footer-col h4 { font-size: 15px; letter-spacing: 2px; color: #cfe2d5; margin-bottom: 18px; }
.footer-col a, .footer-contact li {
  display: block; font-size: 14.5px; color: #93ad9c;
  padding: 5px 0; transition: color 0.25s, transform 0.25s;
}
.footer-col a:hover { color: var(--green); transform: translateX(4px); }
.footer-contact { list-style: none; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.6; }
.footer-contact svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--green); }
.footer-bottom {
  border-top: 1px solid rgba(120, 200, 150, 0.12);
  padding: 22px 0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 13px; color: #6e8878;
}

/* ---------- 弹窗 ---------- */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(3, 9, 5, 0.72);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.modal.open { opacity: 1; pointer-events: auto; }
.modal-card {
  position: relative;
  width: 100%; max-width: 560px; max-height: 86vh; overflow-y: auto;
  background: linear-gradient(170deg, #102619, #081a0f);
  border: 1px solid rgba(62, 232, 127, 0.3);
  border-radius: 22px; padding: 36px;
  box-shadow: var(--shadow-lg);
  transform: translateY(26px) scale(0.97);
  transition: transform 0.35s var(--ease);
}
.modal.open .modal-card { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
  color: #cfe2d5; font-size: 17px; line-height: 1;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.modal-close:hover { background: rgba(62, 232, 127, 0.15); color: var(--green); transform: rotate(90deg); }

/* 团队弹窗（增强版：创始人详细档案） */
.modal-card.rich { max-width: 840px; }
.tm-head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.tm-avatar .avatar { width: 84px; height: 84px; border-radius: 22px; }
.tm-name { font-size: 24px; font-weight: 800; }
.tm-title { color: var(--green); font-size: 14px; font-weight: 600; margin-top: 4px; }
.tm-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; }
.tag {
  font-size: 12px; padding: 4px 12px; border-radius: 999px;
  border: 1px solid rgba(62, 232, 127, 0.4); color: #a9e8bf;
}
.tm-bio1, .tm-bio2 { font-size: 14.5px; color: #b9cfbf; line-height: 1.9; margin-bottom: 12px; }
.tm-facts { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 9px; }
.tm-facts li {
  position: relative; padding-left: 24px; font-size: 14px; color: #dcecE1;
}
.tm-facts li::before {
  content: ""; position: absolute; left: 2px; top: 8px;
  width: 9px; height: 9px; border-radius: 3px;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  box-shadow: 0 0 8px rgba(62, 232, 127, 0.5);
}

/* ---- 增强档案：入场动效 ---- */
.modal.open .tm-anim { animation: tmRise 0.55s var(--ease) both; }
@keyframes tmRise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* ---- 小节标题 ---- */
.tm-sec { margin-top: 26px; }
.tm-sec-title {
  font-size: 15px; font-weight: 800; letter-spacing: 2px; color: var(--green);
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.tm-sec-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(62, 232, 127, 0.35), transparent); }

/* ---- 从业经历时间线 ---- */
.tl { position: relative; padding-left: 6px; }
.tl::before {
  content: ""; position: absolute; left: 10px; top: 8px; bottom: 10px;
  width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, rgba(62, 232, 127, 0.55), rgba(62, 232, 127, 0.08));
}
.tl-item { position: relative; padding: 0 0 16px 32px; }
.tl-item:last-child { padding-bottom: 2px; }
.tl-item::before {
  content: ""; position: absolute; left: 5px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #07130c; border: 2.5px solid var(--green);
  box-shadow: 0 0 10px rgba(62, 232, 127, 0.55);
}
.tl-year {
  font-size: 12px; font-weight: 800; letter-spacing: 1px;
  color: var(--amber); font-variant-numeric: tabular-nums;
}
.tl-org { font-size: 14.5px; font-weight: 700; color: #eaf6ee; margin-top: 3px; }
.tl-desc { font-size: 13px; color: #a9c6b2; line-height: 1.75; margin-top: 4px; }

/* ---- 专利成果 ---- */
.pat {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 11px 14px; margin-bottom: 9px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(62, 232, 127, 0.18);
  border-radius: 13px;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.pat:hover { border-color: rgba(62, 232, 127, 0.5); transform: translateX(4px); }
.pat-num {
  flex: none; width: 25px; height: 25px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: #04160b; font-size: 13px; font-weight: 800;
}
.pat-name { font-size: 13.5px; font-weight: 700; color: #eaf6ee; line-height: 1.5; }
.pat-src { font-size: 12px; color: #8fb0a0; margin-top: 3px; line-height: 1.6; }
.pat-status {
  flex: none; margin-left: auto;
  font-size: 11px; padding: 3px 10px; border-radius: 999px;
  color: var(--amber); border: 1px solid rgba(240, 164, 28, 0.55);
  white-space: nowrap;
}

/* ---- 荣誉奖项 ---- */
.honor {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 9px 14px; margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(240, 164, 28, 0.22);
  border-radius: 13px;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.honor:hover { border-color: rgba(240, 164, 28, 0.5); transform: translateX(4px); }
.honor-medal {
  flex: none; color: var(--amber); font-size: 15px;
  text-shadow: 0 0 10px rgba(240, 164, 28, 0.5); margin-top: 1px;
}
.honor-name { font-size: 13.5px; font-weight: 600; color: #eaf6ee; line-height: 1.55; }
.honor-detail { font-size: 12px; color: #8fb0a0; margin-top: 3px; line-height: 1.65; }

/* ---- 技术栈 ---- */
.skills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.skill {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(120, 200, 150, 0.16);
  border-radius: 13px; padding: 12px 14px;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.skill:hover { border-color: rgba(62, 232, 127, 0.45); transform: translateY(-3px); }
.skill b { display: block; font-size: 13.5px; color: #7ef0a6; margin-bottom: 6px; }
.skill span { font-size: 12px; color: #a9c6b2; line-height: 1.8; display: block; }

/* ---- 实拍图集 ---- */
.gallery {
  display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 10px;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}
.gallery::-webkit-scrollbar { height: 6px; }
.gallery::-webkit-scrollbar-thumb { background: rgba(120, 200, 150, 0.3); border-radius: 4px; }
.gallery figure { flex: none; width: 132px; scroll-snap-align: start; }
.gallery img {
  width: 132px; height: 88px; object-fit: cover;
  border-radius: 11px; border: 1px solid rgba(120, 200, 150, 0.28);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.gallery figure:hover img { transform: scale(1.06); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45); }
.gallery figcaption { font-size: 11px; color: #8fb0a0; margin-top: 5px; line-height: 1.4; }

/* ---- 媒体报道 ---- */
.media-link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 14px; margin-bottom: 9px;
  border: 1px solid rgba(120, 200, 150, 0.22); border-radius: 13px;
  font-size: 13px; color: #dcefe2; line-height: 1.6;
  transition: border-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.media-link:hover { border-color: var(--green); color: var(--green); transform: translateX(4px); }
.media-arrow { flex: none; font-size: 15px; opacity: 0.75; }

/* 预约弹窗 */
.modal-card h3.dh { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.dm-sub { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.dm-form { display: grid; gap: 14px; }
.dm-form label { font-size: 13.5px; color: #a9c6b2; display: grid; gap: 7px; }
.dm-form input, .dm-form select {
  width: 100%; padding: 12px 14px; border-radius: 11px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--ink); font-size: 14.5px;
  transition: border-color 0.25s, background 0.25s;
}
.dm-form input:focus, .dm-form select:focus {
  outline: none; border-color: var(--green); background: rgba(62, 232, 127, 0.06);
}
.dm-form input.bad { border-color: #ff7a7a; }
.dm-form select option { background: #0c2013; color: var(--ink); }
.dm-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-err { display: none; font-size: 13px; color: #ff8f8f; }
.dm-success { display: none; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 26px 0 10px; }
.dm-check {
  width: 76px; height: 76px; border-radius: 50%;
  border: 2.5px solid var(--green);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 30px rgba(62, 232, 127, 0.4);
  animation: pop 0.5s var(--ease);
}
.dm-check svg { width: 36px; height: 36px; stroke: var(--green); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 0.6s 0.25s forwards; }
@keyframes pop { 0% { transform: scale(0.4); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.dm-success h4 { font-size: 19px; }
.dm-success p { font-size: 14px; color: var(--muted); }

/* ---------- 返回顶部 ---------- */
#toTop {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  border: none; color: #04160b; font-size: 19px; font-weight: 800;
  box-shadow: 0 10px 26px rgba(30, 200, 110, 0.4);
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease);
}
#toTop.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
#toTop:hover { transform: translateY(-3px); }

/* ---------- 滚动显现 ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 全屏分段：每个区块占满一屏，信息一屏可见 ---------- */
.section--screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(78px, 8.5vh, 96px) 0 clamp(20px, 3.4vh, 36px);
}
.section--screen .container { width: 100%; }

/* 标题与 eyebrow 同行，省出垂直空间 */
.section--screen .section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 20px;
  margin-bottom: clamp(14px, 2.4vh, 26px);
}
.section--screen .section-head .eyebrow { grid-column: 1; grid-row: 1; justify-self: start; }
.section--screen .section-head h2 { grid-column: 2; grid-row: 1; margin: 0; line-height: 1.2; }
.section--screen .section-head .section-sub { grid-column: 1 / -1; grid-row: 2; margin-top: 4px; line-height: 1.6; }

/* --- 全国布局：地图卡片紧凑化 --- */
.section--screen .layout-grid { gap: clamp(20px, 2vw, 30px); }
.section--screen .layout-side { gap: clamp(10px, 1.4vh, 16px); }
.section--screen .map-card { padding: 14px 14px 10px; }
/* 地图高度随视口收缩：矮屏下保持一屏可见（SVG 等比缩放，留白居中） */
.section--screen #chinaMap { max-height: calc(100vh - 380px); }
.section--screen .map-legend { padding: 8px 6px 2px; margin-top: 2px; gap: 16px; }
.section--screen .legend-item { font-size: 12.5px; gap: 7px; }
.section--screen .legend-swatch { width: 12px; height: 12px; }
.section--screen .map-lists { gap: 12px; margin-top: 8px; padding-top: 10px; }
.section--screen .map-list-head { font-size: 12.5px; margin-bottom: 7px; }
.section--screen .map-list-item { font-size: 11px; padding: 2px 9px; }

/* --- ROI 测算：滑杆两列排布，整体压缩 --- */
.section--screen .roi-card { padding: 16px 18px 14px; }
.section--screen .roi-card h3 { font-size: 17px; }
.section--screen .roi-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; margin-top: 10px; }
.section--screen .ctrl label { font-size: 12px; }
.section--screen .ctrl output { font-size: 12px; }
.section--screen .ctrl input[type="range"] { height: 18px; }
.section--screen .roi-out { margin-top: 12px; padding-top: 10px; }
.section--screen .roi-row { margin-bottom: 8px; grid-template-columns: 84px 1fr auto; gap: 10px; }
.section--screen .roi-label { font-size: 12.5px; }
.section--screen .roi-val { font-size: 13.5px; min-width: 66px; }
.section--screen .roi-track { height: 8px; }
.section--screen .roi-net { margin-top: 10px; padding: 8px 12px; font-size: 13px; }
.section--screen .roi-net b { font-size: 18px; }
.section--screen .roi-note { font-size: 11px; margin-top: 4px; }

/* --- 指标与市场条紧凑化 --- */
.section--screen .metrics-strip { gap: 12px; }
.section--screen .metric-card { padding: 11px 14px; gap: 12px; }
.section--screen .metric-card svg { width: 32px; height: 32px; }
.section--screen .metric-num { font-size: 20px; }
.section--screen .metric-label { font-size: 12px; }
.section--screen .market-card { padding: 13px 18px; }
.section--screen .market-card h3 { font-size: 15px; margin-bottom: 10px; }
.section--screen .market-row { margin-bottom: 8px; grid-template-columns: 116px 1fr 46px; gap: 12px; }
.section--screen .market-name { font-size: 12.5px; }
.section--screen .market-pct { font-size: 12.5px; }
.section--screen .market-track { height: 8px; }

/* --- 产品轮播：撑满一屏，字号放大 --- */
.section--screen .carousel-slide {
  padding: clamp(18px, 2.6vh, 32px) clamp(24px, 3.2vw, 46px);
  gap: clamp(28px, 3vw, 48px);
  grid-template-columns: 1.12fr 1fr;
  min-height: min(calc(100vh - 250px), 620px);
}
.section--screen .slide-media { align-self: center; }
.section--screen .prod-media { width: 100%; }
.section--screen .prod-info h3 { font-size: clamp(26px, 2.5vw, 36px); line-height: 1.25; }
.section--screen .prod-tagline { font-size: 18px; margin-top: 12px; }
.section--screen .prod-desc { font-size: 16px; line-height: 1.85; margin-top: 14px; }
.section--screen .prod-index { font-size: clamp(42px, 5vh, 56px); }
.section--screen .carousel-nav { margin-top: clamp(12px, 1.8vh, 20px); }
.section--screen .carousel-dot { width: 11px; height: 11px; }
.section--screen .carousel-dot.active { width: 42px; }

/* --- 团队：加大卡片，占满一屏 --- */
.section--screen .team-grid { gap: clamp(18px, 2.2vw, 30px); }
.section--screen .team-card {
  min-height: min(calc(100vh - 400px), 500px);
  padding: clamp(26px, 3.4vh, 38px);
  display: flex;
  flex-direction: column;
}
.section--screen .avatar { width: clamp(72px, 10vh, 100px); height: clamp(72px, 10vh, 100px); border-radius: 20px; }
.section--screen .team-card h3 { font-size: clamp(22px, 2.6vh, 28px); }
.section--screen .team-title { font-size: 15px; }
.section--screen .team-field { font-size: 15.5px; margin: 18px 0 16px; line-height: 1.8; }
.section--screen .team-tags { margin-bottom: 20px; }
.section--screen .team-card .tag { font-size: 12.5px; padding: 4px 13px; }
.section--screen .team-card .btn { margin-top: auto; padding: 15px 26px; font-size: 15.5px; }

/* 团队区底部招募提示（填补版面） */
.team-foot {
  margin-top: clamp(20px, 3vh, 34px);
  text-align: center; font-size: 14px; letter-spacing: 3px;
  color: #6d8375;
}
.team-foot a { color: #15803d; font-weight: 700; border-bottom: 1px dashed rgba(21, 128, 61, 0.5); }
.team-foot a:hover { color: #0f5c2c; }

/* 团队卡片上的标签行 */
.team-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 16px; }
.team-card .tag {
  font-size: 11.5px; padding: 3px 11px;
  border-color: rgba(21, 128, 61, 0.35);
  color: #15803d; background: rgba(21, 128, 61, 0.06);
}

/* 矮屏（笔记本）进一步压缩，保证一屏可见 */
@media (min-width: 901px) and (max-height: 920px) {
  .section--screen { padding: 74px 0 14px; }
  .section--screen .section-head { margin-bottom: 8px; }
  .section--screen .map-list-item { font-size: 10.5px; padding: 2px 8px; }
  .section--screen .roi-note { display: none; }
  .section--screen .roi-card { padding: 12px 14px 10px; }
  .section--screen .roi-card h3 { font-size: 16px; }
  .section--screen .roi-row { margin-bottom: 6px; }
  .section--screen .metric-card { padding: 8px 12px; }
  .section--screen .metric-card svg { width: 28px; height: 28px; }
  .section--screen .market-row { margin-bottom: 6px; }
  .section--screen .carousel-slide { min-height: min(50vh, 440px); }
  .section--screen .team-card { min-height: 330px; }
}

/* 超矮屏（125% 缩放的笔记本 / 小屏）：右栏指标与市场卡并排，整体再压缩 */
@media (min-width: 901px) and (max-height: 780px) {
  .section--screen { padding: 66px 0 10px; }
  .section--screen .section-head { margin-bottom: 6px; }
  .section--screen .section-head h2 { font-size: clamp(24px, 3vw, 30px); }
  .section--screen .section-head .section-sub { font-size: 13.5px; }
  .section--screen .map-card { padding: 10px 10px 8px; }
  .section--screen #chinaMap { max-height: calc(100vh - 330px); }
  .section--screen .map-legend { padding: 6px 4px 2px; gap: 12px; }
  .section--screen .legend-item { font-size: 11.5px; }
  .section--screen .map-lists { margin-top: 6px; padding-top: 8px; }
  .section--screen .map-list-head { font-size: 11.5px; margin-bottom: 5px; }
  .section--screen .map-list-item { font-size: 10px; padding: 1px 7px; }

  .section--screen .layout-side { display: grid; grid-template-columns: 1fr 1.2fr; gap: 8px; align-items: stretch; }
  .section--screen .roi-card { grid-column: 1 / -1; padding: 12px 14px 10px; }
  .section--screen .roi-card h3 { font-size: 15px; }
  .section--screen .roi-controls { margin-top: 6px; gap: 2px 14px; }
  .section--screen .ctrl label, .section--screen .ctrl output { font-size: 11.5px; }
  .section--screen .ctrl input[type="range"] { height: 16px; }
  .section--screen .roi-out { margin-top: 8px; padding-top: 8px; }
  .section--screen .roi-row { margin-bottom: 5px; }
  .section--screen .roi-net { margin-top: 6px; padding: 6px 10px; font-size: 12px; }
  .section--screen .roi-net b { font-size: 16px; }
  .section--screen .metrics-strip { grid-template-columns: 1fr; gap: 6px; }
  .section--screen .metric-card { padding: 6px 10px; gap: 8px; }
  .section--screen .metric-card svg { width: 24px; height: 24px; }
  .section--screen .metric-num { font-size: 17px; }
  .section--screen .metric-label { font-size: 11px; }
  .section--screen .market-card { padding: 10px 14px; }
  .section--screen .market-card h3 { font-size: 13.5px; margin-bottom: 6px; }
  .section--screen .market-row { margin-bottom: 5px; }

  .section--screen .carousel-slide { min-height: min(46vh, 360px); }
  .section--screen .team-card { min-height: 290px; }
}

/* ---------- 解决方案（全屏） ---------- */
#solutions {
  background:
    radial-gradient(900px 420px at 0% 0%, rgba(31, 157, 77, 0.12), transparent 60%),
    var(--bg-2);
}
.solutions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); }
.solution-card {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(16, 38, 23, 0.9), rgba(8, 20, 12, 0.95));
  padding: clamp(24px, 3vh, 36px) clamp(20px, 2vw, 28px);
  display: flex; flex-direction: column;
  min-height: min(calc(100vh - 350px), 430px);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.solution-card:hover { transform: translateY(-8px); border-color: rgba(62, 232, 127, 0.45); box-shadow: var(--shadow-lg); }
/* 流程卡：时间节点 + 卡间箭头 */
.solution-step {
  display: inline-block; margin-bottom: 12px;
  font-size: 11.5px; letter-spacing: 1.5px; color: var(--amber);
  font-variant-numeric: tabular-nums;
}
@media (min-width: 901px) {
  .solution-card { position: relative; }
  .solution-card:not(:first-child)::before {
    content: "→"; position: absolute; left: -14px; top: 50%;
    transform: translateY(-50%);
    color: rgba(62, 232, 127, 0.5); font-size: 13px;
  }
}

.sol-icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(62, 232, 127, 0.12);
  border: 1px solid rgba(62, 232, 127, 0.3);
  color: var(--green); margin-bottom: 18px;
}
.sol-icon svg { width: 26px; height: 26px; }
.solution-card h3 { font-size: clamp(18px, 2vh, 22px); }
.solution-card p { color: var(--muted); font-size: 14px; line-height: 1.9; margin-top: 12px; }
.sol-metric { margin-top: auto; padding-top: 18px; color: var(--green); font-weight: 700; font-size: 13px; letter-spacing: 0.5px; }

.roadmap { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: clamp(14px, 2.2vh, 24px); }
.roadmap-label { font-size: 12px; letter-spacing: 2px; color: var(--muted); margin-right: 6px; }
.roadmap-node {
  font-size: 12.5px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(120, 200, 150, 0.28);
  color: #b8d2c0; background: rgba(62, 232, 127, 0.05);
}
.roadmap-node.is-now {
  border-color: rgba(62, 232, 127, 0.6); color: var(--green);
  background: rgba(62, 232, 127, 0.12); font-weight: 700;
}
.roadmap-node.is-more { border-style: dashed; color: #8fb0a0; }
.roadmap-arrow { color: rgba(140, 190, 160, 0.5); font-size: 12px; }

/* ---------- 媒体报道 + 预约 CTA ---------- */
.news-band {
  background:
    radial-gradient(900px 400px at 100% 0%, rgba(31, 157, 77, 0.1), transparent 55%),
    var(--bg);
  border-top: 1px solid var(--line);
  padding: 88px 0 76px;
}
.news-head h2 { font-size: clamp(24px, 3vw, 34px); margin-top: 12px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.news-card {
  display: block; padding: 24px 24px 22px;
  border-radius: 18px; border: 1px solid var(--line);
  background: rgba(14, 34, 22, 0.6);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.news-card:hover { border-color: rgba(62, 232, 127, 0.45); transform: translateY(-5px); }
.news-tag { font-size: 12px; letter-spacing: 2px; color: var(--green); }
.news-card h3 { font-size: 16px; line-height: 1.65; margin: 10px 0 14px; }
.news-more { font-size: 13px; color: #8fb0a0; }
.cta-band {
  margin-top: 44px; border-radius: 24px;
  padding: clamp(28px, 4vh, 44px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(31, 157, 77, 0.22), rgba(9, 24, 14, 0.75));
  border: 1px solid rgba(62, 232, 127, 0.28);
}
.cta-band h2 { font-size: clamp(22px, 2.6vw, 32px); }
.cta-band p { color: var(--muted); margin-top: 8px; font-size: 14.5px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 30 秒路演 ---------- */
.play-ico {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(62, 232, 127, 0.18); color: var(--green);
}
.btn-ghost .play-ico { background: rgba(62, 232, 127, 0.22); }
#products .btn-ghost .play-ico { background: rgba(21, 128, 61, 0.12); color: #15803d; }

.pitch-fab {
  position: fixed; left: 26px; bottom: 26px; z-index: 95;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 20px; border-radius: 999px; border: none;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: #04160b; font-size: 14px; font-weight: 700;
  box-shadow: 0 12px 28px rgba(30, 200, 110, 0.4);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, opacity 0.3s;
}
.pitch-fab .play-ico { background: rgba(4, 22, 11, 0.14); color: #04160b; }
.pitch-fab:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(30, 200, 110, 0.55); }

.pitch-ui {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  opacity: 0; transform: translateY(24px); pointer-events: none;
  transition: opacity 0.3s, transform 0.35s var(--ease);
}
.pitch-active .pitch-ui { opacity: 1; transform: none; pointer-events: auto; }
.pitch-active .pitch-fab { opacity: 0; pointer-events: none; }
.pitch-active #toTop { opacity: 0 !important; pointer-events: none; }

.pitch-progress { height: 3px; background: rgba(255, 255, 255, 0.14); }
.pitch-progress span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  box-shadow: 0 0 12px rgba(62, 232, 127, 0.7);
}

.pitch-caption {
  display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center;
  padding: 18px 30px 20px;
  background: rgba(6, 19, 11, 0.94);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid rgba(62, 232, 127, 0.35);
}
.pitch-step {
  font-size: 12px; letter-spacing: 2px; color: var(--green);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.pitch-text {
  font-size: 16.5px; line-height: 1.65; color: #eaf6ee;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.pitch-text.show { opacity: 1; transform: none; }
.pitch-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pitch-exit {
  padding: 8px 15px; border-radius: 999px; font-size: 13px;
  background: none; border: 1px solid rgba(255, 255, 255, 0.25); color: #b9cfbf;
  transition: border-color 0.25s, color 0.25s;
}
.pitch-exit:hover { border-color: var(--green); color: var(--green); }
.pitch-cta {
  padding: 9px 18px; border-radius: 999px; border: none;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: #04160b; font-size: 13.5px; font-weight: 700;
}
@media (max-width: 640px) {
  .pitch-fab { display: none; }   /* 移动端由 Hero 按钮进入路演，避免遮挡内容 */
  .pitch-caption { grid-template-columns: 1fr auto; gap: 10px 14px; padding: 14px 18px 16px; }
  .pitch-text { grid-column: 1 / -1; grid-row: 2; font-size: 14.5px; }
  .pitch-actions { grid-column: 2; grid-row: 1; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .layout-grid { grid-template-columns: 1fr; }
  .layout-side { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .roi-card { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed; top: 72px; right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(6, 19, 11, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 12px 28px 22px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-link { padding: 13px 0; border-bottom: 1px solid rgba(120, 200, 150, 0.1); }
  #navBurger { display: flex; }
  .section--screen { min-height: 0; padding: 76px 0; }
  .section--screen .section-head { display: block; margin-bottom: 32px; }
  .section--screen .section-head h2 { margin-top: 14px; }
  .section--screen .section-head .section-sub { margin-top: 10px; }
  /* 产品轮播：移动端必须单列（覆盖 .section--screen 的高特异性双列规则） */
  .section--screen .carousel-slide {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 20px;
    padding: 22px 18px 26px;
  }
  .section--screen .prod-index { font-size: 40px; }
  .section--screen .prod-info h3 { font-size: 24px; }
  .section--screen .prod-tagline { font-size: 15.5px; margin-top: 8px; }
  .section--screen .prod-desc { font-size: 14.5px; margin-top: 10px; }
  .section--screen .prod-media { max-width: 100%; }
  .section--screen .team-card { min-height: 0; }
  .solutions-grid { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .solution-card { min-height: 0; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .carousel-slide { grid-template-columns: 1fr; gap: 28px; padding: 26px 22px 34px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .section { padding: 72px 0; }
  .solutions-grid { grid-template-columns: 1fr; }
  .footer-bottom { padding-bottom: 68px; }   /* 避让右下角返回顶部按钮 */
  #toTop { right: 16px; bottom: 16px; width: 42px; height: 42px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stat:nth-child(2) { border-right: 0; }
  .hero-stat:nth-child(1), .hero-stat:nth-child(2) { border-bottom: 1px solid rgba(120, 200, 150, 0.14); }
  .layout-side { grid-template-columns: 1fr; }
  .metrics-strip { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .dm-2col { grid-template-columns: 1fr; }
  .modal-card { padding: 26px 20px; }
  .hero-cta .btn { flex: 1; justify-content: center; }
  .spec-grid { grid-template-columns: 1fr; }
  .map-lists { grid-template-columns: 1fr; }
  .market-row { grid-template-columns: 112px 1fr 46px; gap: 10px; }
  .market-name { font-size: 12.5px; }
  .carousel-slide { padding: 22px 18px 32px; }
  .modal-card.rich { max-width: 100%; padding: 24px 16px; }
  .skills { grid-template-columns: 1fr 1fr; }
  .pat { flex-wrap: wrap; }
  .pat-status { margin-left: 37px; }
  .gallery figure { width: 116px; }
  .gallery img { width: 116px; height: 78px; }
  .tw-body { grid-template-columns: 1fr 92px; }
  .tw-side { display: none; }
}

/* 触摸设备：禁用「仅悬停生效」的位移与缩放，避免点按后卡片/图片跳动 */
@media (hover: none) {
  .prod-media:hover { transform: none; }
  .solution-card:hover { transform: none; }
  .team-card:hover { transform: none; }
  .news-card:hover { transform: none; }
  .pat:hover, .media-link:hover, .footer-col a:hover { transform: none; }
  .gallery figure:hover img { transform: none; }
  .carousel-dot:hover { background: rgba(18, 34, 15, 0.22); }
}

/* 超窄屏（≤430px，覆盖 320/360 宽设备与浏览器缩放场景）：防止横向溢出 */
@media (max-width: 430px) {
  .header-inner { padding: 0 14px; gap: 8px; }
  .logo { gap: 8px; }
  .logo svg { width: 28px; height: 28px; }
  .logo-txt b { font-size: 16px; letter-spacing: 1px; }
  .logo-txt span { display: none; }
  .header-inner .btn-sm { padding: 9px 14px; font-size: 13px; }
  .hero { padding-top: 96px; }
  .hero h1 { font-size: clamp(28px, 8.6vw, 36px); letter-spacing: 0; }
  .hero-eyebrow { font-size: 12px; padding: 7px 14px; letter-spacing: 0.5px; }
  .hero-sub { font-size: 14px; }
  .hero-scope { font-size: 12.5px; line-height: 1.7; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 26px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-stats { margin-top: 40px; }
  .stat-num { font-size: 26px; }
  .stat-label { font-size: 12px; letter-spacing: 1px; }
  .section--screen .roi-controls { grid-template-columns: 1fr; }
  .section--screen .section-head h2 { font-size: 24px; }
  .team-card h3 { font-size: 20px; }
}

/* ---------- 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
