
/* 确保页面顶部没有多余外边距 */
html,
body {
  margin: 0;
  padding: 0;
  touch-action: manipulation;
}
* {
  touch-action: pan-x pan-y; /* 允许滚动，不允许缩放 */
}

button, a {
  touch-action: manipulation;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

/* 容器本身保持文档流，用来占位 */
#headerComponent {
  position: relative;
  z-index: 1000;
}

/* 把 header.html 插进来的第一个根元素固定在顶部 */
#headerComponent > *:first-child {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;

  /* 保证背景不透明，否则往下滚时会透出内容 */
  background: #f9fafb;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

/* 给下面内容腾出空间，避免被固定导航盖住 */
main {
  padding-top: 72px; /* 基本覆盖你现在导航的高度，可按需要微调 64–80 之间 */
}

/* ========== Reset ========== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background: #f5f7fb;
  color: #111827;
  line-height: 1.6;
}

/* ========== Theme Vars ========== */
:root {
  --primary: #2563eb;
  --primary-soft: #e0edff;
  --accent: #10b981;
  --text-sub: #6b7280;
  --card-bg: #ffffff;
  --border-soft: #e5e7eb;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --shadow-card: 0 12px 32px rgba(15, 23, 42, 0.08);
  --max-width: 1120px;
}

/* ========== Layout ========== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* ========== Header / Nav ========== */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 247, 251, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

/* === 顶部导航固定效果（Sticky） === */
.header-wrapper {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.8);  /* 半透明玻璃效果 */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.25s ease;
}

/* 滚动后更明显的阴影（可选） */
.header-wrapper.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}


.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: radial-gradient(circle at 20% 20%, #60a5fa, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}
.logo-text-main {
  font-size: 18px;
  font-weight: 700;
}
.logo-text-sub {
  font-size: 12px;
  color: var(--text-sub);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--text-sub);
}
.nav-links a {
  padding: 6px 10px;
  border-radius: 999px;
  transition: 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn {
  border-radius: 999px;
  border: none;
  cursor: pointer;
  padding: 7px 16px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.4);
}
.btn-primary:hover {
  transform: translateY(-1px);
}
.btn-outline {
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: #ffffff;
  color: #111827;
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.nav-toggle {
  display: none;
}

/* ========== Page Common ========== */
.page-hero {
  padding: 40px 0 26px;
}
.page-hero-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}
.page-hero-sub {
  font-size: 14px;
  color: var(--text-sub);
  max-width: 640px;
}

/* 首页右侧驾驶舱卡片：上下浮动动画 */
.hero-illu-floating {
  position: relative;
  animation: heroCardFloat 4s ease-in-out infinite;
  will-change: transform, box-shadow;
}

/* 鼠标移上去略微暂停，方便用户看细节 */
.hero-illu-floating:hover {
  animation-play-state: paused;
}

/* 上下轻微浮动 + 阴影变化 */
@keyframes heroCardFloat {
  0% {
    transform: translateY(0);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  }
  50% {
    transform: translateY(-8px);
    box-shadow: 0 32px 80px rgba(15, 23, 42, 0.16);
  }
  100% {
    transform: translateY(0);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  }
}


.section {
  padding: 32px 0 40px;
}
.section-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}
.section-sub {
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 18px;
}

/* 卡片与栅格 */
.card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  padding: 16px 18px;
}
.card-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}
.card-text {
  font-size: 13px;
  color: var(--text-sub);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

/* ========== 首页 Hero ========== */
.hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: #1d4ed8;
  font-size: 12px;
  margin-bottom: 12px;
}
.hero-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
}
.hero-title mark {
  background: linear-gradient(90deg, #2563eb, #10b981);
  -webkit-background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 14px;
  color: var(--text-sub);
  max-width: 520px;
  margin-bottom: 16px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 12px;
  color: var(--text-sub);
}
.hero-meta span.num {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}

/* 右侧扁平仪表盘 */
.hero-illu {
  background: radial-gradient(circle at 0 0, #eff6ff, #e0f2fe);
  border-radius: 28px;
  padding: 18px;
  box-shadow: var(--shadow-card);
}
.hero-illu-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}
.hero-illu-note {
  font-size: 11px;
  color: var(--text-sub);
  margin-bottom: 10px;
}

/* ========== 顶部轮播（大厂风） ========== */

/* ========== 顶部轮播（新版美化） ========== */

.hero-slider-full {
  width: 100%;
  max-width: 1440px;
  margin: 24px auto 40px;
  padding: 0 16px;
}

/* 整体卡片：统一高度、淡蓝渐变背景、圆角+阴影 */
.hero-slider {
  --hero-slider-height: 420px;

  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;

  height: var(--hero-slider-height);
  border-radius: 32px;
  overflow: hidden;

  background:
    radial-gradient(circle at 0% 0%, #eef2ff, #e0f2fe 40%, #f9fafb 100%);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.18);

  display: flex;
  align-items: stretch;
}

/* 每一页：使用绝对定位+淡入动画切换 */
.hero-slide {
  position: absolute;
  inset: 0;
  padding: 32px 40px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);

  transition:
    opacity 0.45s ease,
    transform 0.45s ease,
    visibility 0s linear 0.45s;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

/* 左文案 / 右大图布局 */
.hero-slide-content {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
  height: 100%;
}

/* 左侧文字区 */
.hero-slide-text {
  color: #0f172a;
}

.hero-slide-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  font-size: 12px;
  margin-bottom: 10px;
}

.hero-slide-title {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.hero-slide-desc {
  font-size: 13px;
  line-height: 1.8;
  color: #6b7280;
  max-width: 480px;
}

/* 右侧插画：大白卡片包裹图片，统一高度 */
.hero-slide-illu {
  position: relative;
  border-radius: 24px;
  /*background: #ffffff;*/
  /*box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);*/
  padding: 16px 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  height: calc(var(--hero-slider-height) - 64px); /* 与整体保持间距 */
}

.hero-slide-illu::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 0% 0%, rgba(59, 130, 246, 0.05), transparent 55%);
  pointer-events: none;
}

/* 让三张图都自适应，保持统一视觉高度 */
.hero-slide-illu img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* 左右切换按钮：圆形、半透明背景 */
.hero-slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;

  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.76);
  color: #e5e7eb;
  cursor: pointer;
  font-size: 18px;

  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-slide-btn:hover {
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25);
  transform: translateY(-50%) translateY(-1px);
}

.hero-slide-prev { left: 18px; }
.hero-slide-next { right: 18px; }

/* 小圆点：居中小胶囊 */
.hero-slide-dots {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.hero-slide-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: rgba(148, 163, 184, 0.5);
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-slide-dots button.active {
  width: 18px;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
}

/* 移动端适配：整体高度稍降低、改为上下布局 */
@media (max-width: 900px) {
  .hero-slider-full {
    margin-top: 12px;
    margin-bottom: 24px;
    padding: 0 12px;
  }

  .hero-slider {
    --hero-slider-height: 360px;
    border-radius: 24px;
  }

  .hero-slide {
    padding: 20px 18px 26px;
  }

  .hero-slide-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .hero-slide-illu {
    height: 210px;
  }

  .hero-slide-title {
    font-size: 18px;
  }
}


/* 扁平插画装饰 */
.hero-slide-illu::before,
.hero-slide-illu::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.18);
}
.hero-slide-illu::before {
  width: 110px;
  height: 110px;
  right: -20px;
  top: -20px;
}
.hero-slide-illu::after {
  width: 160px;
  height: 160px;
  left: -40px;
  bottom: -40px;
}

/* slide1：小 pill */
.hs-pill {
  position: absolute;
  left: 20px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  color: #e5e7eb;
  font-size: 11px;
  white-space: nowrap;
}
.hs-pill-1 { top: 26px; }
.hs-pill-2 { top: 60px; }
.hs-pill-3 { top: 94px; }

/* slide2：方块卡片 */
.hs-block {
  position: absolute;
  border-radius: 14px;
  padding: 6px 10px;
  font-size: 11px;
  color: #0f172a;
  background: rgba(248, 250, 252, 0.92);
}
.hs-block-stock { top: 26px; left: 18px; }
.hs-block-po    { top: 72px; left: 40px; }
.hs-block-arrive{ top: 110px; left: 72px; }

/* slide3：圆形 + 路径 */
.hs-circle {
  position: absolute;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.75);
}
.hs-circle-1 {
  width: 60px;
  height: 60px;
  left: 26px;
  top: 40px;
}
.hs-circle-2 {
  width: 36px;
  height: 36px;
  right: 34px;
  bottom: 30px;
}
.hs-path {
  position: absolute;
  left: 32px;
  right: 20px;
  bottom: 40px;
  height: 2px;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.85);
}

/* slide4：标签 */
.hs-tag {
  position: absolute;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  color: #f9fafb;
  font-size: 11px;
}
.hs-tag-1 { top: 26px; left: 22px; }
.hs-tag-2 { top: 66px; left: 46px; }
.hs-tag-3 { top: 106px; left: 78px; }

/* slide5：条形图 */
.hs-bar {
  position: absolute;
  bottom: 24px;
  width: 18px;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.9);
}
.hs-bar-1 {
  left: 40px;
  height: 45px;
}
.hs-bar-2 {
  left: 80px;
  height: 70px;
}
.hs-bar-3 {
  left: 120px;
  height: 95px;
}

/* 切换按钮 */
.hero-slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.7);
  color: #e5e7eb;
  cursor: pointer;
  font-size: 18px;
}
.hero-slide-prev { left: 18px; }
.hero-slide-next { right: 18px; }

/* 小圆点 */
.hero-slide-dots {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.hero-slide-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: rgba(148, 163, 184, 0.6);
  cursor: pointer;
}
.hero-slide-dots button.active {
  width: 16px;
  background: #38bdf8;
}

/* ========== 扁平插画模块（卡片顶部） ========== */
.card-img-top {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 8px;
  object-fit: cover;
  max-height: 160px;
}
.flat-illu {
  width: 100%;
  height: 120px;
  border-radius: 14px;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}
.flat-illu-adv1 {
  background: linear-gradient(135deg, #2563eb, #60a5fa);
}
.flat-illu-adv2 {
  background: linear-gradient(135deg, #22c55e, #4ade80);
}
.flat-illu-adv3 {
  background: linear-gradient(135deg, #f97316, #facc15);
}
.flat-illu::before,
.flat-illu::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}
.flat-illu::before {
  width: 60px;
  height: 60px;
  top: -10px;
  right: 4px;
}
.flat-illu::after {
  width: 110px;
  height: 110px;
  bottom: -40px;
  left: -10px;
}

/* ========== 实施流程 ========== */
.implementation-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.impl-step {
  background: #f9fafb;
  border-radius: 14px;
  padding: 10px;
  border: 1px solid #e5e7eb;
}
.impl-num {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.impl-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}
.impl-text {
  font-size: 12px;
  color: #6b7280;
}

/* ========== Footer ========== */
footer {
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  padding: 16px 0 24px;
  font-size: 12px;
  color: var(--text-sub);
  background: #f9fafb;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.gongan-record {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.gongan-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

/* ========== 预约顾问弹窗 ========== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 80;
  padding: 16px;
}
.modal-backdrop.show {
  display: flex;
}
.modal {
  background: #ffffff;
  border-radius: 20px;
  max-width: 380px;
  width: 100%;
  padding: 18px 18px 14px;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.4);
  position: relative;
}
.modal-close {
  position: absolute;
  right: 10px;
  top: 8px;
  border: none;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  color: #6b7280;
}
.modal-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.modal-sub {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 10px;
}
.modal-contact {
  background: #f9fafb;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  padding: 8px 10px;
  margin-bottom: 12px;
}
.modal-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 2px;
}
.modal-label {
  color: #6b7280;
}
.modal-qrcode {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.modal-qrcode img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px dashed #d1d5db;
  padding: 4px;
}
.modal-qrcode-note {
  font-size: 11px;
  color: #6b7280;
  text-align: center;
}

/* 弹窗打开时禁止 body 滚动 */
body.modal-open {
  overflow: hidden;
}

/* 业务流程区块（首页流程） */
.flow-wrap {
  padding: 18px 16px;
  border-radius: 18px;
  background: #f9fafb;
}
.flow-steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.flow-step {
  position: relative;
}
.flow-step::after {
  content: "→";
  position: absolute;
  right: -10px;
  top: 24px;
  font-size: 12px;
  color: #9ca3af;
}
.flow-step:last-child::after {
  display: none;
}
.flow-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #fff;
  margin-bottom: 4px;
}
.flow-icon-blue { background: #2563eb; }
.flow-icon-indigo { background: #4f46e5; }
.flow-icon-green { background: #16a34a; }
.flow-icon-yellow { background: #f59e0b; }
.flow-icon-orange { background: #f97316; }
.flow-icon-purple { background: #8b5cf6; }

.flow-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}
.flow-text {
  font-size: 12px;
  color: #6b7280;
}

/* 角色卡片 */
.role-card {
  position: relative;
  padding-top: 20px;
}
.role-badge {
  position: absolute;
  top: -10px;
  left: 16px;
  padding: 3px 10px;
  font-size: 11px;
  border-radius: 999px;
  color: #0f172a;
  background: #e5e7eb;
}
.badge-boss {
  background: #fee2e2;
  color: #b91c1c;
}
.badge-sales {
  background: #dbeafe;
  color: #1d4ed8;
}
.badge-warehouse {
  background: #dcfce7;
  color: #15803d;
}
.badge-finance {
  background: #fef3c7;
  color: #92400e;
}
.role-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}
.role-text {
  font-size: 13px;
  color: #6b7280;
}

/* 滚动进入淡入上移动画 */
.js-observe {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.js-observe.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ========== 通用内页 Hero 版式（文本 + 扁平插画） ========== */
.page-hero-simple {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 32px;
  padding-bottom: 8px;
}
.page-hero-simple-text {
  flex: 1;
}
.page-hero-simple-illu {
  flex: 0 0 32%;
  min-height: 140px;
}

/* 扁平插画色板：不同内页配不同主色 */
.flat-illu-page-product {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
}
.flat-illu-page-modules {
  background: linear-gradient(135deg, #0ea5e9, #22c55e);
}
.flat-illu-page-solutions {
  background: linear-gradient(135deg, #f97316, #f59e0b);
}
.flat-illu-page-cases {
  background: linear-gradient(135deg, #6366f1, #ec4899);
}
.flat-illu-page-pricing {
  background: linear-gradient(135deg, #0ea5e9, #14b8a6);
}
.flat-illu-page-about {
  background: linear-gradient(135deg, #4f46e5, #0ea5e9);
}

/* ========== Mobile ========== */
@media (max-width: 900px) {
  .hero-main {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .nav-links {
    display: none;
  }
  .nav-links.open {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 54px;
    background: #f9fafb;
    padding: 8px 16px 10px;
  }
  .nav-toggle {
    display: inline-flex;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: #ffffff;
    font-size: 12px;
    padding: 5px 10px;
  }

  .hero-slider-full {
    margin-bottom: 28px;
    padding: 0 12px;
  }
  .hero-slider {
    border-radius: 26px;
    min-height: 200px;
  }
  .hero-slide {
    padding: 18px 18px 26px;
  }
  .hero-slide-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .hero-slide-title {
    font-size: 18px;
  }
  .hero-slide-illu {
    min-height: 140px;
  }

  .implementation-flow {
    grid-template-columns: minmax(0, 1fr);
  }
  .flow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .flow-step::after {
    display: none;
  }

  .page-hero-simple {
    flex-direction: column;
    align-items: flex-start;
  }
  .page-hero-simple-illu {
    width: 100%;
  }
}

/* ========== 数字 & 图表动画 ========== */
/* 柱状图初始状态：从底部缩放出来 */
.hero-illu .chart-bar {
  transform-origin: bottom center;
  transform: scaleY(0);
  opacity: 0;
}

/* 折线初始：用虚线做“画线”效果 */
.hero-illu .chart-line {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
}

/* 饼图初始：缩小+透明 */
.hero-illu .chart-pie {
  transform-origin: center;
  transform: scale(0.6);
  opacity: 0;
}

/* 当加上 .chart-animate 时，触发动画 */
.hero-illu.chart-animate .chart-bar {
  animation: heroBarGrow 0.6s ease-out forwards;
  animation-delay: calc(0.08s * var(--bar-index, 1));
}
.hero-illu.chart-animate .chart-line {
  animation: heroLineDraw 0.8s ease-out forwards;
  animation-delay: 0.2s;
}
.hero-illu.chart-animate .chart-pie {
  animation: heroPieIn 0.4s ease-out forwards;
}

/* keyframes */
@keyframes heroBarGrow {
  from {
    transform: scaleY(0);
    opacity: 0;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}
@keyframes heroLineDraw {
  from {
    stroke-dashoffset: 200;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes heroPieIn {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* =========================
   卡片悬停：淡入 + 浮起 + 光晕
   作用于所有 .card（首页 & 内页）
   ========================= */

.card {
  position: relative;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  opacity: 0.96;

  /* 动画过渡 */
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    opacity 0.28s ease,
    background-color 0.28s ease;
  will-change: transform, box-shadow, opacity;
}

/* 背景淡淡的高光层（鼠标悬停时出现） */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at 10% 0%,
    rgba(59, 130, 246, 0.12),
    transparent 55%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

/* 悬停状态：轻微上浮 + 阴影加深 + 不透明度提升 + 高光出现 */
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  opacity: 1;
}

.card:hover::before {
  opacity: 1;
}

/* 可选：让标题 / 文案有一点点淡入位移动画，更有层次 */
.card .card-title,
.card .card-text {
  transition:
    transform 0.28s ease,
    opacity 0.28s ease;
}

.card .card-title {
  opacity: 0.98;
}

.card .card-text {
  opacity: 0.9;
}

.card:hover .card-title {
  transform: translateY(-2px);
  opacity: 1;
}

.card:hover .card-text {
  transform: translateY(-1px);
  opacity: 1;
}

/* ===== 浮动联系工具条 ===== */
.float-contact {
  position: fixed;
  right: 46px;
  bottom: 520px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  backdrop-filter: blur(14px);
}

.float-contact-item {
  position: relative;
  width: 64px;
  height: 56px;
  border-radius: 999px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.25s ease;
  font-size: 12px;
  color: #4b5563;
}

.float-contact-item .float-contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #eef2ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.float-contact-item svg {
  width: 18px;
  height: 18px;
  stroke: #4f46e5;
  stroke-width: 1.6;
  fill: none;
}

.float-contact-label {
  line-height: 1;
  white-space: nowrap;
}

/* 顶部“咨询”主按钮：蓝底白字 */
.float-contact-main {
  margin-bottom: 4px;
}

.float-contact-main .float-contact-icon {
  background: #2563eb;
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.55);
}

.float-contact-main svg {
  stroke: #ffffff;
  fill: none;
}

.float-contact-main .float-contact-label {
  color: #2563eb;
  font-weight: 600;
}

/* 返回顶部按钮：默认不占空间，滚动后再显示 */
.float-contact-backtop {
  display: none;              /* ⭐ 关键：默认不占高度 */
  margin-top: 4px;
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
}

/* 显示状态：变成和其他按钮一样的 flex 项 */
.float-contact-backtop.visible {
  display: flex;              /* ⭐ 关键：出现时再参与布局 */
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}


/* Hover 动效：轻微放大 + 阴影 */
.float-contact-item:hover {
  transform: translateY(-2px);
}

.float-contact-item:hover .float-contact-icon {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}
/*
/* 移动端：可以缩小 / 隐藏浮动条（看你需求） */
@media (max-width: 768px) {
  .float-contact {
    right: 12px;
    bottom: 80px;
    padding: 10px 6px;
  }

  .float-contact-item {
    width: 56px;
    height: 50px;
    font-size: 11px;
  }

  .float-contact-item .float-contact-icon {
    width: 28px;
    height: 28px;
  }
}

/* ===========================
   云硕 ERP · 高级滚动条样式
   ③ 自动淡出（不操作时变很淡）
   ④ macOS 风格内嵌阴影轨道
   =========================== */

/* Chrome / Edge / Safari 基本宽度 */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

/* 轨道：浅色 + 内嵌阴影（苹果味道） */
::-webkit-scrollbar-track {
  background: rgba(248, 250, 252, 0.6);           /* 很浅的灰白 */
  border-radius: 999px;
  box-shadow:
    inset 0 0 4px rgba(15, 23, 42, 0.10),         /* 内嵌阴影（④） */
    inset 0 0 0 1px rgba(255, 255, 255, 0.8);     /* 轻微高光边 */
}

/* 滑块：默认【很淡】，模拟“自动隐藏”（③） */
::-webkit-scrollbar-thumb {
  border-radius: 999px;
  /* 默认几乎看不见：只留一点点轮廓 */
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.18),
    rgba(37, 99, 235, 0.18)
  );
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.10);
  border: 2px solid rgba(255, 255, 255, 0.9);

  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

/* 鼠标移动到页面右侧（滚动区域）时变清晰：伪“自动出现” */
/* 可以按需把 body:hover 换成具体容器 .main-scroll:hover */
body:hover ::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 3px 8px rgba(37, 99, 235, 0.35);
}

/* 真正 Hover 到滑块时再更亮一点 + 轻微放大 */
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  transform: translateY(-1px);
}

/* Firefox：细滚动条 + 颜色，大致保持一致 */
* {
  scrollbar-width: thin; /* auto / thin / none */
  scrollbar-color: #3b82f6 rgba(248, 250, 252, 0.6);
}

