/* =========================================================
   道路运输安全生产数字化管控平台 —— 产品宣传页样式
   结构：变量 / 基础 / 通用组件 / 头部 / Hero / 各版块 / 页脚 / 响应式
   ========================================================= */

/* ---------- 1. 变量 ---------- */
:root {
  --primary: #0E4DA4;
  --primary-600: #1259BF;
  --primary-800: #08306B;
  --primary-900: #06224F;
  --accent: #12B8FF;
  --accent-2: #FF8A00;

  --ink: #0F1D33;
  --text: #2B3A52;
  --muted: #6B7B95;
  --line: #E4EBF5;
  --bg: #F5F8FD;
  --bg-soft: #EDF3FC;
  --white: #FFFFFF;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 8px rgba(15, 29, 51, .06);
  --shadow-md: 0 10px 28px rgba(15, 29, 51, .10);
  --shadow-lg: 0 22px 56px rgba(11, 42, 96, .18);

  --container: 1200px;
  --header-h: 76px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- 2. 基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

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

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; transition: color .25s var(--ease); }
ul { list-style: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.3; font-weight: 700; }
em { font-style: normal; }

::selection { background: rgba(18, 184, 255, .28); }

/* ---------- 3. 通用组件 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 26px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn-lg { padding: 15px 34px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(120deg, var(--primary) 0%, var(--primary-600) 55%, var(--accent) 140%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(14, 77, 164, .28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(14, 77, 164, .36); }

.btn-ghost {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border-color: rgba(255, 255, 255, .45);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .18); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: rgba(14, 77, 164, .35);
}
.btn-outline:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-2px); }

.section { padding: 96px 0; }
.section-pain { background: var(--white); }
.section-advantage { background: linear-gradient(160deg, var(--primary-900) 0%, var(--primary-800) 60%, #0c3f86 100%); }
.section-solution { background: var(--bg); }
.section-news { background: var(--white); }
.section-about { background: var(--bg-soft); }
.section-contact { background: linear-gradient(160deg, #08306B 0%, #0E4DA4 100%); }

/* 标题组 */
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--primary);
  background: rgba(14, 77, 164, .08);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 16px;
}
.section-title { font-size: 38px; letter-spacing: .5px; margin-bottom: 14px; }
.section-title::after {
  content: "";
  display: block;
  width: 56px; height: 4px;
  margin: 18px auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.section-subtitle { color: var(--muted); font-size: 16.5px; }

/* 深色版块标题 */
.section-head--light .section-tag { color: var(--accent); background: rgba(18, 184, 255, .14); }
.section-head--light .section-title { color: #fff; }
.section-head--light .section-title::after { background: linear-gradient(90deg, var(--accent), #7fd7ff); }
.section-head--light .section-subtitle { color: rgba(255, 255, 255, .72); }

/* ---------- 4. 头部导航 ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(10px);
  box-shadow: 0 6px 22px rgba(15, 29, 51, .09);
  height: 68px;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 42px; width: auto; transition: height .3s var(--ease); }
.site-header.is-scrolled .brand-logo { height: 38px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; align-items: center; gap: 26px; }
.nav-link {
  position: relative;
  font-size: 15.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, .9);
  padding: 6px 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2.5px;
  border-radius: 2px;
  background: var(--accent);
  transition: width .3s var(--ease);
}
.nav-link:hover::after,
.nav-link.is-active::after { width: 100%; }
.nav-link.is-active { color: #fff; }

/* 滚动后（浅色头部）文字变化 */
.site-header.is-scrolled .nav-link { color: var(--text); }
.site-header.is-scrolled .nav-link:hover,
.site-header.is-scrolled .nav-link.is-active { color: var(--primary); }
.site-header.is-scrolled .nav-link::after { background: var(--primary); }

.nav-cta { padding: 10px 22px; font-size: 14.5px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2.5px;
  border-radius: 2px;
  background: #fff;
  transition: transform .3s var(--ease), opacity .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled .nav-toggle span { background: var(--ink); }
.site-header.nav-open { background: #fff; box-shadow: var(--shadow-md); }
.site-header.nav-open .nav-toggle span { background: var(--ink); }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 60px) 0 100px;
  overflow: hidden;
  color: #fff;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; }
.hero-mask {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 34, 79, .92) 0%, rgba(6, 34, 79, .72) 42%, rgba(6, 34, 79, .28) 100%),
    linear-gradient(180deg, rgba(6, 34, 79, .55) 0%, rgba(6, 34, 79, 0) 30%, rgba(6, 34, 79, .65) 100%);
}
.hero-inner { position: relative; z-index: 2; }
.hero-content { max-width: 780px; }

.hero-badge {
  display: inline-block;
  font-size: 13.5px;
  letter-spacing: .16em;
  font-weight: 600;
  color: #bfe6ff;
  border: 1px solid rgba(18, 184, 255, .5);
  background: rgba(18, 184, 255, .1);
  border-radius: 999px;
  padding: 7px 18px;
  margin-bottom: 24px;
}
.hero-title {
  color: #fff;
  font-size: 56px;
  line-height: 1.18;
  letter-spacing: 1px;
  margin-bottom: 22px;
  text-shadow: 0 6px 30px rgba(0, 0, 0, .25);
}
.hero-title em {
  display: block;
  background: linear-gradient(100deg, #58d3ff 0%, #b7ecff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 19px;
  color: rgba(255, 255, 255, .88);
  margin-bottom: 16px;
  max-width: 720px;
}
.hero-note {
  font-size: 16px;
  color: rgba(18, 184, 255, .95);
  font-weight: 600;
  border-left: 3px solid var(--accent);
  padding-left: 14px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 52px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 46px;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  background: linear-gradient(100deg, #fff, #9fdcff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-stats span { font-size: 14.5px; color: rgba(255, 255, 255, .75); margin-top: 4px; }

.hero-scroll {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  width: 26px; height: 44px;
  border: 2px solid rgba(255, 255, 255, .5);
  border-radius: 999px;
  z-index: 3;
}
.hero-scroll-dot {
  position: absolute;
  left: 50%; top: 8px;
  transform: translateX(-50%);
  width: 5px; height: 9px;
  border-radius: 3px;
  background: #fff;
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translate(-50%, 0); }
  40% { opacity: 1; }
  80% { opacity: 0; transform: translate(-50%, 16px); }
  100% { opacity: 0; }
}

/* ---------- 6. 行业痛点 ---------- */
.pain-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr 1fr 1fr;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.pain-card {
  display: block;
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 26px 30px;
  overflow: hidden;
  box-sizing: border-box;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.pain-card > .pain-index,
.pain-card > .pain-title,
.pain-card > .pain-list {
  display: block;
}
.pain-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.pain-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pain-card:hover::before { transform: scaleX(1); }

.pain-index {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  background: rgba(14, 77, 164, .08);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 16px;
}
.pain-title { font-size: 20px; margin-bottom: 18px; }
.pain-list { display: flex; flex-direction: column; gap: 12px; }
.pain-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--muted);
}
.pain-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 11px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(18, 184, 255, .16);
}

/* ---------- 7. 核心优势 ---------- */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.adv-card {
  position: relative;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius);
  padding: 34px 26px 30px;
  overflow: hidden;
  transition: transform .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.adv-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, .1);
  border-color: rgba(18, 184, 255, .55);
  box-shadow: 0 20px 46px rgba(0, 0, 0, .25);
}
.adv-num {
  position: absolute;
  right: 20px; top: 14px;
  font-size: 42px;
  font-weight: 800;
  color: rgba(255, 255, 255, .07);
  letter-spacing: -1px;
}
.adv-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(18, 184, 255, .22), rgba(14, 77, 164, .35));
  border: 1px solid rgba(18, 184, 255, .35);
  color: var(--accent);
  margin-bottom: 20px;
}
.adv-icon svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.adv-title { color: #fff; font-size: 18.5px; margin-bottom: 12px; }
.adv-desc { color: rgba(255, 255, 255, .68); font-size: 14.5px; line-height: 1.75; }

/* ---------- 8. 横幅广告条 ---------- */
.banner-strip {
  position: relative;
  overflow: hidden;
  padding: 40px 0;
  background: linear-gradient(100deg, var(--accent-2) 0%, #ff6a00 100%);
}
.banner-strip-bg {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 12% 30%, rgba(255, 255, 255, .22) 0, transparent 42%),
    radial-gradient(circle at 88% 70%, rgba(255, 255, 255, .18) 0, transparent 40%);
  pointer-events: none;
}
.banner-strip-inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.strip-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #fff;
}
.strip-mark {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .2);
  border: 1px solid rgba(255, 255, 255, .45);
  font-size: 20px;
  font-weight: 800;
  flex-shrink: 0;
}
.strip-text { font-size: 24px; font-weight: 800; letter-spacing: 2px; }

/* ---------- 9. 解决方案 ---------- */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.solution-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.solution-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.solution-shot { position: relative; aspect-ratio: 11 / 7; overflow: hidden; background: var(--bg-soft); }
.solution-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.solution-card:hover .solution-shot img { transform: scale(1.05); }
.solution-caption {
  text-align: center;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  padding: 16px 12px;
  border-top: 1px solid var(--line);
}

/* ---------- 10. 新闻动态 ---------- */
.news-list { display: flex; flex-direction: column; gap: 18px; }
.news-item {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.news-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.news-thumb {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-soft);
}
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.news-item:hover .news-thumb img { transform: scale(1.06); }
.news-body { min-width: 0; }
.news-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(14, 77, 164, .07);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 12px;
}
.news-title {
  font-size: 19px;
  margin-bottom: 10px;
  transition: color .25s var(--ease);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-item:hover .news-title { color: var(--primary); }
.news-desc {
  color: var(--muted);
  font-size: 14.8px;
  display: -webkit-box;
  line-height: 28px;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-more { text-align: center; margin-top: 42px; }

/* ---------- 11. 关于我们 ---------- */
.about-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}
.about-lead {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 16px;
}
.about-desc { color: var(--muted); margin-bottom: 34px; }
.about-points { display: flex; flex-direction: column; gap: 18px; }
.about-points li {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-left-color .3s var(--ease);
}
.about-points li:hover { transform: translateX(6px); box-shadow: var(--shadow-md); border-left-color: var(--accent); }
.about-points h4 { font-size: 17px; margin-bottom: 4px; }
.about-points p { font-size: 14.5px; color: var(--muted); }
.about-text .section-title { text-align: left; font-size: 34px; }
.about-text .section-title::after { margin-left: 0; }
.about-text .section-tag { margin-bottom: 14px; }

.about-visual-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-lg);
}
.about-visual-head { display: flex; gap: 8px; margin-bottom: 22px; }
.about-visual-head span { width: 11px; height: 11px; border-radius: 50%; background: #d7e2f2; }
.about-visual-head span:nth-child(1) { background: #ff6b6b; }
.about-visual-head span:nth-child(2) { background: #ffc84a; }
.about-visual-head span:nth-child(3) { background: #3ddc84; }
.about-visual-body {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  height: 240px;
  padding: 0 6px;
}
.about-visual-body .bar {
  flex: 1;
  height: var(--h);
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, var(--accent), var(--primary));
  opacity: .85;
  animation: barRise 1.1s var(--ease) both;
}
.about-visual-body .bar:nth-child(2) { animation-delay: .08s; }
.about-visual-body .bar:nth-child(3) { animation-delay: .16s; }
.about-visual-body .bar:nth-child(4) { animation-delay: .24s; }
.about-visual-body .bar:nth-child(5) { animation-delay: .32s; }
.about-visual-body .bar:nth-child(6) { animation-delay: .40s; }
@keyframes barRise { from { height: 0; opacity: 0; } }
.about-visual-tip { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 18px; }

/* ---------- 12. 联系我们 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 40px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex;
  gap: 18px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.contact-item:hover { background: rgba(255, 255, 255, .12); border-color: rgba(18, 184, 255, .5); transform: translateY(-4px); }
.contact-ico {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(18, 184, 255, .16);
  border: 1px solid rgba(18, 184, 255, .4);
  color: var(--accent);
}
.contact-ico svg { width: 25px; height: 25px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-label { color: rgba(255, 255, 255, .6); font-size: 13.5px; margin-bottom: 2px; }
.contact-value { color: #fff; font-size: 19px; font-weight: 700; }
.contact-value a:hover { color: var(--accent); }
.qr-box { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.qr-box img { width: 96px; height: 96px; border-radius: 10px; background: #fff; padding: 6px; }
.qr-box span { color: rgba(255, 255, 255, .7); font-size: 13.5px; }

.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 36px 4px;
  box-shadow: var(--shadow-lg);
}
.form-head { margin-bottom: 26px; }
.form-head h3 { font-size: 24px; margin-bottom: 6px; }
.form-head p { color: var(--muted); font-size: 14.5px; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-label { font-size: 14px; font-weight: 600; color: var(--text); }
.field-label i { color: #ff5a5a; font-style: normal; }
.field input,
.field textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  outline: none;
  resize: vertical;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  width: 100%;
}
.field input::placeholder,
.field textarea::placeholder { color: #9aabc4; }
.field input:focus,
.field textarea:focus {
  border-color: var(--primary-600);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(18, 89, 191, .12);
}
.field.is-error input { border-color: #ff5a5a; box-shadow: 0 0 0 4px rgba(255, 90, 90, .12); }
.field-inline { display: flex; gap: 12px; }
.field-inline input { flex: 1; }
.captcha-btn {
  flex-shrink: 0;
  width: 116px;
  font-family: inherit;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--primary);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.captcha-btn:hover { background: rgba(14, 77, 164, .1); }
.form-tip { font-size: 12.5px; color: var(--muted); text-align: center; }
.form-msg { font-size: 14px; font-weight: 600; text-align: center; min-height: 20px; }
.form-msg.is-ok { color: #16a34a; }
.form-msg.is-err { color: #e5484d; }

/* ---------- 13. 页脚 ---------- */
.site-footer {
  background: var(--primary-900);
  color: rgba(255, 255, 255, .72);
  padding-top: 64px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-logo { height: 46px; width: auto; margin-bottom: 18px; }
.footer-slogan { font-size: 14.5px; line-height: 1.8; max-width: 380px; }
.footer-title { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: rgba(255, 255, 255, .72); font-size: 14.5px; }
.footer-links a:hover { color: var(--accent); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; }
.footer-ico { color: var(--accent); display: inline-flex; margin-top: 3px; }
.footer-ico svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 20px 0; }
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
}
.footer-bottom a:hover { color: var(--accent); }

/* ---------- 14. 返回顶部 ---------- */
.back-to-top {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(140deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  z-index: 90;
}
.back-to-top.is-show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); }

/* ---------- 15. 动画 ---------- */
.fade-up { opacity: 0; transform: translateY(26px); }
.hero.is-ready .fade-up { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.hero.is-ready .fade-up:nth-child(1) { transition-delay: .05s; }
.hero.is-ready .fade-up:nth-child(2) { transition-delay: .15s; }
.hero.is-ready .fade-up:nth-child(3) { transition-delay: .28s; }
.hero.is-ready .fade-up:nth-child(4) { transition-delay: .38s; }
.hero.is-ready .fade-up:nth-child(5) { transition-delay: .48s; }
.hero.is-ready .fade-up:nth-child(6) { transition-delay: .58s; }

/* 默认可见；仅在 JS 就绪后启用入场隐藏，避免服务器上 CSS 到了但 JS 未到时内容“消失/错位” */
.reveal { opacity: 1; transform: none; }
.js-ready .reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js-ready .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; }
  .fade-up,
  .reveal,
  .js-ready .reveal,
  .js-ready .reveal.is-visible { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- 16. 响应式 ---------- */
@media (max-width: 1200px) {
  .hero-title { font-size: 48px; }
  .pain-grid, .advantage-grid, .solution-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
  :root { --header-h: 68px; }
  .section { padding: 76px 0; }
  .section-title { font-size: 32px; }

  .nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    padding: 10px 24px 26px;
    box-shadow: 0 18px 30px rgba(15, 29, 51, .12);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .site-header.nav-open .nav { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-link { display: block; padding: 16px 4px; color: var(--ink); }
  .nav-link::after { display: none; }
  .nav-link.is-active { color: var(--primary); }
  .nav-cta { margin-top: 18px; width: 100%; }
  .nav-toggle { display: flex; }

  .hero-title { font-size: 40px; }
  .hero-subtitle { font-size: 17px; }
  .hero-stats { gap: 32px; }

  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .container { padding: 0 18px; }
  .section { padding: 60px 0; }
  .section-title { font-size: 27px; }
  .section-subtitle { font-size: 15px; }
  .section-head { margin-bottom: 40px; }

  .hero { min-height: auto; padding: calc(var(--header-h) + 48px) 0 84px; }
  .hero-title { font-size: 31px; }
  .hero-subtitle { font-size: 15.5px; }
  .hide-sm { display: none; }
  .hero-note { font-size: 14.5px; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-stats { gap: 26px; }
  .hero-stats strong { font-size: 32px; }

  .pain-grid, .advantage-grid, .solution-grid { grid-template-columns: 1fr; gap: 16px; }
  .pain-card, .adv-card { padding: 26px 22px; }

  .banner-strip { padding: 30px 0; }
  .banner-strip-inner { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .strip-text { font-size: 20px; }
  .strip-mark { width: 40px; height: 40px; font-size: 17px; }

  .news-item { grid-template-columns: 1fr; gap: 16px; padding: 16px; }
  .news-thumb { aspect-ratio: 16 / 9; }

  .about-text .section-title { font-size: 27px; }
  .about-visual-body { height: 180px; }

  .contact-form-wrap { padding: 26px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; padding-bottom: 36px; }
  .footer-slogan { max-width: none; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }

  .back-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

@media (max-width: 400px) {
  .hero-title { font-size: 27px; }
  .banner-strip-inner { grid-template-columns: 1fr; }
  .strip-item { justify-content: flex-start; }
}
