/* ============================================================
   ABIFSEY 首页专属样式 v2（苹果官网式留白风 · 电气行业高级深蓝）
   仅作用于首页（html.home-page），不影响站内其它页面
   ============================================================ */

html.home-page body {
  margin-top: 0;
  background: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #0b1220;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html.home-page a { text-decoration: none; }
html.home-page a:hover, html.home-page a:focus { text-decoration: none; }

/* ---------- 顶部导航：细白透明 + 毛玻璃 ---------- */
html.home-page #header.navbar {
  height: 76px;
  min-height: 76px;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(10, 31, 60, 0.08);
  box-shadow: none;
  transition: background .4s ease, box-shadow .4s ease;
}
html.home-page #header.navbar.nav-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 24px rgba(10, 31, 60, 0.08);
}
html.home-page .navbar-brand { padding: 0; }
html.home-page .logo { padding: 17px 0; }
html.home-page .logo img {
  height: 42px;
  width: auto;
  display: block;
}
html.home-page .navbar-nav > li > a {
  padding: 26px 18px 0 18px;
  min-height: 76px;
  font-size: 15px;
  color: #1c2735 !important;
  transition: color .25s ease;
}
html.home-page .navbar-default .navbar-nav > li > a:hover,
html.home-page .navbar-default .navbar-nav > li > a:focus {
  background: transparent !important;
  color: #1e5eff !important;
}
html.home-page .navbar-default .navbar-nav > li > a small {
  display: block;
  font-size: 10px;
  letter-spacing: 1px;
  color: #98a2b3;
}
html.home-page .head-lx { display: none !important; }
html.home-page .navbar-toggle { margin-top: 18px; }

/* ---------- 通用区块（苹果式留白） ---------- */
html.home-page .home-section { padding: 120px 0; }
html.home-page .sec-head { max-width: 780px; margin: 0 auto 72px; text-align: center; }
html.home-page .sec-tag {
  display: inline-block;
  padding: 6px 18px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: rgba(30, 94, 255, 0.08);
  color: #1e5eff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
}
html.home-page .sec-head h2 {
  margin: 0 0 16px;
  font-size: 42px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: 1px;
  color: #0a1f3c;
}
html.home-page .sec-head p {
  margin: 0;
  font-size: 17px;
  color: #697386;
  line-height: 1.8;
}

/* ---------- 主视觉 Hero ---------- */
html.home-page .home-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  background: #081a36;
  overflow: hidden;
}
html.home-page .hero-slider,
html.home-page .hero-slide {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
/* 轮播层不单独建立层叠上下文，文字才能盖过极光和粒子 */
html.home-page .hero-slider { z-index: auto; }
html.home-page .hero-slide { pointer-events: none; }

/* 只淡入背景，避免整张幻灯片的透明度把标题压到装饰层下面 */
html.home-page .hero-bg,
html.home-page .hero-overlay {
  opacity: 0;
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
html.home-page .hero-slide.is-active .hero-bg,
html.home-page .hero-slide.is-active .hero-overlay { opacity: 1; }

/* 背景图：Ken Burns 缓慢推拉。画面主体在下半部，定位偏下避免宽屏只剩天空 */
html.home-page .hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 72%;
  -webkit-transform: scale(1.04);
  transform: scale(1.04);
}
html.home-page .hero-bg img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
  object-fit: cover;
  object-position: center 72%;
  border: 0;
}
html.home-page .hero-bg img:not([src]) { display: none; }
html.home-page .hero-slide.is-active .hero-bg {
  animation: heroKenburns 9s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
@keyframes heroKenburns {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

/* 左侧压暗，给标题留对比；右侧保留画面 */
html.home-page .hero-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(100deg, rgba(5, 18, 42, 0.5) 0%, rgba(5, 18, 42, 0.22) 34%, rgba(5, 18, 42, 0.04) 62%, rgba(5, 18, 42, 0) 100%);
}

/* 极光光晕 */
html.home-page .hero-aurora {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: screen;
  background:
    radial-gradient(520px 340px at 78% 78%, rgba(56, 167, 255, 0.28), transparent 65%),
    radial-gradient(640px 420px at 92% 30%, rgba(56, 225, 255, 0.18), transparent 65%),
    radial-gradient(420px 280px at 8% 88%, rgba(130, 130, 255, 0.16), transparent 65%);
  animation: auroraDrift 14s ease-in-out infinite alternate;
}
@keyframes auroraDrift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); opacity: 0.82; }
  to   { transform: translate3d(3%, 2%, 0) scale(1.12); opacity: 1; }
}

/* 粒子画布 */
html.home-page .hero-canvas {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.85;
}

/* 内容层（滚动视差 --par / --par-o）。画面留白在左侧，文案靠左对齐 */
html.home-page .hero-content {
  position: absolute;
  left: 7%;
  left: max(7%, calc((100% - 1200px) / 2));
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  transform: translateY(calc(-50% + var(--par, 0px)));
  z-index: 4;
  width: 86%;
  width: min(86%, 640px);
  text-align: left;
  color: #fff;
  text-shadow: 0 2px 16px rgba(4, 16, 40, 0.45);
  opacity: var(--par-o, 1);
  visibility: hidden;
  pointer-events: none;
}
html.home-page .hero-slide.is-active .hero-content {
  visibility: visible;
  pointer-events: auto;
}
html.home-page .hero-flag {
  display: inline-block;
  padding: 8px 22px;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 4px;
  color: #cfe2ff;
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
html.home-page .hero-content h2 {
  margin: 0 0 22px;
  font-size: 40px;
  font-size: clamp(34px, 5.4vw, 66px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 1px;
  color: #fff;
}
html.home-page .hero-content h2 .accent {
  background: linear-gradient(92deg, #6db3ff 0%, #38e1ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
html.home-page .hero-content .sub {
  margin: 0 0 10px;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 300;
  letter-spacing: 5px;
  color: #e2ecff;
}
html.home-page .hero-content .en {
  margin: 0 0 38px;
  font-size: 14px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.9);
}

/* 按钮 */
html.home-page .hero-cta {
  display: flex;
  justify-content: flex-start;
  gap: 18px;
  flex-wrap: wrap;
}
html.home-page .btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  padding: 15px 40px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .35s ease,
    background .35s ease, border-color .35s ease, color .35s ease;
}
html.home-page .btn-hero--solid {
  background: linear-gradient(135deg, #1e5eff, #38a7ff);
  color: #fff;
  box-shadow: 0 14px 34px rgba(30, 94, 255, 0.42);
}
html.home-page .btn-hero--solid:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(30, 94, 255, 0.52);
  color: #fff;
}
html.home-page .btn-hero--ghost {
  background: rgba(8, 24, 48, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  text-shadow: none;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
html.home-page .btn-hero--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff;
  transform: translateY(-3px);
  color: #fff;
}

/* 文字入场（每次切换轮播时重放） */
html.home-page .hero-slide.is-active .hero-flag,
html.home-page .hero-slide.is-active .hero-content h2,
html.home-page .hero-slide.is-active .hero-content .sub,
html.home-page .hero-slide.is-active .hero-content .en,
html.home-page .hero-slide.is-active .hero-cta {
  animation: heroUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}
html.home-page .hero-slide.is-active .hero-content h2 { animation-delay: .08s; }
html.home-page .hero-slide.is-active .hero-content .sub { animation-delay: .16s; }
html.home-page .hero-slide.is-active .hero-content .en { animation-delay: .24s; }
html.home-page .hero-slide.is-active .hero-cta { animation-delay: .32s; }
@keyframes heroUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 轮播指示点 */
html.home-page .hero-dots {
  position: absolute;
  left: max(7%, calc((100% - 1200px) / 2));
  bottom: 36px;
  z-index: 5;
  display: flex;
  gap: 10px;
}
html.home-page .hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: width .35s ease, background .35s ease;
}
html.home-page .hero-dot.is-active {
  width: 30px;
  background: linear-gradient(90deg, #4d9fff, #38e1ff);
}

/* 滚动提示 */
html.home-page .hero-scroll {
  position: absolute;
  right: 48px;
  bottom: 28px;
  z-index: 5;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 14px;
}
html.home-page .hero-scroll::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: #4d9fff;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- 关于 About ---------- */
html.home-page .home-about { background: #fff; }
html.home-page .about-text {
  max-width: 820px;
  margin: 0 auto 74px;
  text-align: center;
  font-size: 17px;
  line-height: 2;
  color: #45505f;
}
html.home-page .about-text p.en { color: #98a2b3; font-size: 15px; }
html.home-page .stats-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
html.home-page .stat-card {
  flex: 1 1 210px;
  max-width: 262px;
  padding: 38px 22px;
  border-radius: 24px;
  background: linear-gradient(165deg, #f8fbff, #eef4ff);
  border: 1px solid rgba(30, 94, 255, 0.08);
  text-align: center;
  transition: transform .35s ease, box-shadow .35s ease;
}
html.home-page .stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(10, 31, 60, 0.12);
}
html.home-page .stat-num {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #0a1f3c;
  line-height: 1.1;
}
html.home-page .stat-num em {
  font-style: normal;
  font-size: 26px;
  background: linear-gradient(90deg, #1e5eff, #38a7ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
html.home-page .stat-card h4 { margin: 12px 0 0; font-size: 16px; color: #1c2735; font-weight: 600; }
html.home-page .stat-card p { margin: 6px 0 0; font-size: 13px; color: #98a2b3; }

/* ---------- 产品中心 ---------- */
html.home-page .home-products { background: #f5f7fa; }
html.home-page .prod-grid { display: flex; flex-wrap: wrap; margin: 0 -14px; }
html.home-page .prod-card {
  flex: 1 1 22%;
  min-width: 250px;
  margin: 0 14px 28px;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(10, 31, 60, 0.06);
  transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .4s ease;
}
html.home-page .prod-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(10, 31, 60, 0.16);
}
html.home-page .prod-card .prod-img {
  display: block;
  width: 100%;
  height: 210px;
  overflow: hidden;
  background: #eaf0f8;
}
html.home-page .prod-card .prod-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(0.16, 1, 0.3, 1);
}
html.home-page .prod-card:hover .prod-img img { transform: scale(1.07); }
html.home-page .prod-card .prod-body { padding: 26px 26px 30px; }
html.home-page .prod-card h3 { margin: 0 0 12px; font-size: 19px; font-weight: 600; color: #0a1f3c; line-height: 1.4; }
html.home-page .prod-card h3 a { color: inherit; }
html.home-page .prod-card h3 a:hover { color: #1e5eff; }
html.home-page .prod-card p { margin: 0 0 18px; font-size: 14px; line-height: 1.8; color: #697386; }
html.home-page .prod-card .prod-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #1e5eff;
}
html.home-page .prod-card .prod-link::after { content: "\2192"; transition: transform .3s ease; }
html.home-page .prod-card:hover .prod-link::after { transform: translateX(5px); }

/* ---------- 经典案例 ---------- */
html.home-page .home-cases { background: #fff; }
html.home-page .case-grid { display: flex; flex-wrap: wrap; margin: 0 -14px; }
html.home-page .case-card {
  position: relative;
  flex: 1 1 30%;
  min-width: 290px;
  margin: 0 14px 28px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(10, 31, 60, 0.07);
  display: block;
  color: #fff;
  text-decoration: none !important;
  cursor: pointer;
}
html.home-page a.case-card:hover,
html.home-page a.case-card:focus {
  color: #fff;
  text-decoration: none !important;
}
html.home-page .case-card img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform .6s cubic-bezier(0.16, 1, 0.3, 1);
}
html.home-page .case-card:hover img { transform: scale(1.06); }
html.home-page .case-card .case-mask {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(180deg, rgba(10, 31, 60, 0) 40%, rgba(7, 20, 45, 0.9) 100%);
}
html.home-page .case-card .case-info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px 26px;
  color: #fff;
}
html.home-page .case-card .case-info .case-tag {
  display: inline-block;
  padding: 4px 14px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(77, 159, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 12px;
  color: #dce8ff;
}
html.home-page .case-card .case-info h3 { margin: 0; font-size: 18px; font-weight: 600; color: #fff; }

/* ---------- 知名客户 ---------- */
html.home-page .home-clients { background: #f5f7fa; }
html.home-page .client-grid { display: flex; flex-wrap: wrap; margin: 0 -10px; }
html.home-page .client-card {
  flex: 1 1 18%;
  min-width: 170px;
  margin: 0 10px 20px;
  padding: 30px 16px;
  background: #fff;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(10, 31, 60, 0.05);
  transition: transform .35s ease, box-shadow .35s ease;
}
html.home-page .client-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(10, 31, 60, 0.12);
}
html.home-page .client-card img {
  max-width: 120px;
  max-height: 56px;
  margin: 0 auto 10px;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter .35s ease, opacity .35s ease;
}
html.home-page .client-card:hover img { filter: grayscale(0); opacity: 1; }
html.home-page .client-card p { margin: 0; font-size: 14px; color: #45505f; font-weight: 500; }

/* ---------- 我们的服务（深蓝高级段） ---------- */
html.home-page .home-services {
  background: linear-gradient(150deg, #081a36 0%, #0e2c5c 55%, #0a2150 100%);
  position: relative;
  overflow: hidden;
}
html.home-page .home-services::before {
  content: "";
  position: absolute;
  width: 640px; height: 640px;
  right: -220px; top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 167, 255, 0.25), transparent 65%);
  pointer-events: none;
}
html.home-page .home-services::after {
  content: "";
  position: absolute;
  width: 560px; height: 560px;
  left: -200px; bottom: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 94, 255, 0.28), transparent 65%);
  pointer-events: none;
}
html.home-page .home-services .sec-head h2 { color: #fff; }
html.home-page .home-services .sec-head p { color: #9db4dc; }
html.home-page .home-services .sec-tag { background: rgba(77, 159, 255, 0.16); color: #8cc2ff; }
html.home-page .service-grid { display: flex; flex-wrap: wrap; margin: 0 -12px; position: relative; z-index: 1; }
html.home-page .service-card {
  flex: 1 1 22%;
  min-width: 240px;
  margin: 0 12px 24px;
  padding: 42px 30px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  text-align: center;
  transition: transform .4s ease, background .4s ease, border-color .4s ease;
}
html.home-page .service-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(77, 159, 255, 0.5);
}
html.home-page .service-card .srv-icon {
  width: 64px; height: 64px;
  margin: 0 auto 24px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e5eff, #38a7ff);
  box-shadow: 0 12px 28px rgba(30, 94, 255, 0.45);
}
html.home-page .service-card .srv-icon svg { width: 32px; height: 32px; stroke: #fff; }
html.home-page .service-card h3 { margin: 0 0 8px; font-size: 19px; font-weight: 600; color: #fff; }
html.home-page .service-card h3 small { display: block; margin-top: 4px; font-size: 12px; letter-spacing: 1px; color: #7f9cc9; font-weight: 400; }
html.home-page .service-card p { margin: 0; font-size: 14px; line-height: 1.9; color: #b9c8e4; }

/* ---------- 企业优势 ---------- */
html.home-page .home-advantages { background: #fff; }
html.home-page .adv-grid { display: flex; flex-wrap: wrap; margin: 0 -12px; }
html.home-page .adv-card {
  flex: 1 1 23%;
  min-width: 250px;
  margin: 0 12px 24px;
  padding: 36px 28px;
  border-radius: 20px;
  background: #fbfcfe;
  border: 1px solid #eef1f6;
  text-align: left;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
html.home-page .adv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 46px rgba(10, 31, 60, 0.1);
  border-color: rgba(30, 94, 255, 0.25);
}
html.home-page .adv-card img { width: 46px; height: 46px; margin-bottom: 18px; }
html.home-page .adv-card h3 { margin: 0 0 10px; font-size: 17px; font-weight: 600; color: #0a1f3c; }
html.home-page .adv-card h3 a { color: inherit; }
html.home-page .adv-card h3 a:hover { color: #1e5eff; }
html.home-page .adv-card p { margin: 0; font-size: 13px; line-height: 1.8; color: #697386; }

/* ---------- 新闻资讯 ---------- */
html.home-page .home-news { background: #f5f7fa; }
html.home-page .news-grid { display: flex; flex-wrap: wrap; margin: 0 -14px; }
html.home-page .news-col {
  flex: 1 1 30%;
  min-width: 280px;
  margin: 0 14px;
  background: #fff;
  border-radius: 24px;
  padding: 36px 34px;
  box-shadow: 0 6px 24px rgba(10, 31, 60, 0.06);
}
html.home-page .news-col h3 {
  margin: 0 0 24px;
  padding-bottom: 18px;
  border-bottom: 2px solid #eef1f6;
  font-size: 20px;
  font-weight: 700;
  color: #0a1f3c;
}
html.home-page .news-col h3 span { color: #1e5eff; }
html.home-page .news-col ul { list-style: none; margin: 0; padding: 0; }
html.home-page .news-col li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px dashed #e8ecf3;
}
html.home-page .news-col li:last-child { border-bottom: 0; }
html.home-page .news-col li .nd {
  flex: none;
  min-width: 52px;
  text-align: center;
  border-radius: 10px;
  background: #f0f5ff;
  color: #1e5eff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 8px;
}
html.home-page .news-col li a {
  font-size: 14px;
  line-height: 1.7;
  color: #27303f;
  transition: color .25s ease;
}
html.home-page .news-col li a:hover { color: #1e5eff; }
html.home-page .news-more {
  display: inline-block;
  margin-top: 30px;
  font-size: 14px;
  font-weight: 600;
  color: #1e5eff;
}

/* ---------- 区块"查看全部" ---------- */
html.home-page .sec-more { margin-top: 46px; text-align: center; }
html.home-page .sec-more a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 36px;
  border: 1px solid rgba(30, 94, 255, 0.35);
  border-radius: 999px;
  color: #1e5eff;
  font-size: 14px;
  font-weight: 600;
  transition: background .3s ease, color .3s ease, transform .3s ease, box-shadow .3s ease;
}
html.home-page .sec-more a span { transition: transform .3s ease; }
html.home-page .sec-more a:hover {
  background: #1e5eff;
  color: #fff;
  box-shadow: 0 12px 28px rgba(30, 94, 255, 0.35);
  transform: translateY(-2px);
}
html.home-page .sec-more a:hover span { transform: translateX(4px); }

/* ---------- 中间联系条（CTA） ---------- */
html.home-page .kj-contact { background: linear-gradient(90deg, #0a1f3c 0%, #123a78 55%, #0e2c5c 100%) !important; }
html.home-page .kj-contact a {
  display: block;
  padding: 30px 15px;
  background: none !important;
  color: #fff !important;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 2px;
}
html.home-page .kj-contact a:hover { color: #8cc2ff !important; }

/* ---------- 底部 Footer（苹果式深色） ---------- */
html.home-page .footer {
  background: #0a1424;
  color: #8b97ab;
  font-size: 13px;
  padding: 70px 0 46px;
}
html.home-page .footer a { color: #8b97ab; }
html.home-page .footer a:hover { color: #fff; }
html.home-page .footer h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #fff;
  padding-bottom: 24px;
}
html.home-page .footer .address { background: none; padding-left: 0; }
html.home-page .footer input#YourName,
html.home-page .footer input#Tel {
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  background-image: none !important;
  color: #e6ecf5;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0 14px;
}
html.home-page .footer input#YourName::-webkit-input-placeholder,
html.home-page .footer input#Tel::-webkit-input-placeholder { color: #6b7688; }
html.home-page .footer input#YourName::-moz-placeholder,
html.home-page .footer input#Tel::-moz-placeholder { color: #6b7688; }
html.home-page .footer #lybtn {
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1e5eff, #38a7ff);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 26px rgba(30, 94, 255, 0.35);
  transition: opacity .3s ease, transform .3s ease;
}
html.home-page .footer #lybtn:hover { opacity: 0.92; transform: translateY(-2px); }
html.home-page .copy hr { border-color: rgba(255, 255, 255, 0.1); }
html.home-page .copy .banquan { color: #7b8698; }
html.home-page .copy .renzheng img { opacity: 0.8; }
html.home-page .yq-link { color: #5f6b7d; }
html.home-page .yq-link a { color: #5f6b7d; }
html.home-page .yq-link a:hover { color: #fff; }

/* ---------- 滚动渐入（含错落延迟） ---------- */
html.home-page .reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .8s cubic-bezier(0.16, 1, 0.3, 1), transform .8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--d, 0s);
}
html.home-page .reveal.in { opacity: 1; transform: translateY(0); }

/* 网格错落延迟 */
html.home-page .stats-row .stat-card:nth-child(2) { --d: .08s; }
html.home-page .stats-row .stat-card:nth-child(3) { --d: .16s; }
html.home-page .stats-row .stat-card:nth-child(4) { --d: .24s; }
html.home-page .prod-grid .prod-card:nth-child(2) { --d: .08s; }
html.home-page .prod-grid .prod-card:nth-child(3) { --d: .16s; }
html.home-page .prod-grid .prod-card:nth-child(4) { --d: .24s; }
html.home-page .case-grid .case-card:nth-child(2) { --d: .08s; }
html.home-page .case-grid .case-card:nth-child(3) { --d: .16s; }
html.home-page .case-grid .case-card:nth-child(4) { --d: .24s; }
html.home-page .case-grid .case-card:nth-child(5) { --d: .32s; }
html.home-page .case-grid .case-card:nth-child(6) { --d: .4s; }
html.home-page .client-grid .client-card:nth-child(2) { --d: .05s; }
html.home-page .client-grid .client-card:nth-child(3) { --d: .1s; }
html.home-page .client-grid .client-card:nth-child(4) { --d: .15s; }
html.home-page .client-grid .client-card:nth-child(5) { --d: .2s; }
html.home-page .client-grid .client-card:nth-child(6) { --d: .25s; }
html.home-page .client-grid .client-card:nth-child(7) { --d: .3s; }
html.home-page .client-grid .client-card:nth-child(8) { --d: .35s; }
html.home-page .client-grid .client-card:nth-child(9) { --d: .4s; }
html.home-page .client-grid .client-card:nth-child(10) { --d: .45s; }
html.home-page .service-grid .service-card:nth-child(2) { --d: .08s; }
html.home-page .service-grid .service-card:nth-child(3) { --d: .16s; }
html.home-page .service-grid .service-card:nth-child(4) { --d: .24s; }
html.home-page .adv-grid .adv-card:nth-child(2) { --d: .05s; }
html.home-page .adv-grid .adv-card:nth-child(3) { --d: .1s; }
html.home-page .adv-grid .adv-card:nth-child(4) { --d: .15s; }
html.home-page .adv-grid .adv-card:nth-child(5) { --d: .2s; }
html.home-page .adv-grid .adv-card:nth-child(6) { --d: .25s; }
html.home-page .adv-grid .adv-card:nth-child(7) { --d: .3s; }
html.home-page .adv-grid .adv-card:nth-child(8) { --d: .35s; }
html.home-page .adv-grid .adv-card:nth-child(9) { --d: .4s; }
html.home-page .adv-grid .adv-card:nth-child(10) { --d: .45s; }
html.home-page .adv-grid .adv-card:nth-child(11) { --d: .5s; }
html.home-page .adv-grid .adv-card:nth-child(12) { --d: .55s; }
html.home-page .news-grid .news-col:nth-child(2) { --d: .1s; }
html.home-page .news-grid .news-col:nth-child(3) { --d: .2s; }

/* ---------- 响应式 ---------- */
@media (max-width: 991px) {
  html.home-page .prod-card { flex-basis: 42%; }
  html.home-page .case-card { min-width: 44%; }
  html.home-page .adv-card { flex-basis: 45%; min-width: 40%; }
  html.home-page .client-card { flex-basis: 28%; }
  html.home-page .service-card { flex-basis: 45%; min-width: 40%; }
  html.home-page .home-section { padding: 88px 0; }
  html.home-page .sec-head h2 { font-size: 34px; }
}
@media (max-width: 767px) {
  html.home-page #header.navbar { height: 68px; min-height: 68px; }
  html.home-page .navbar-nav > li > a { padding: 12px 16px; min-height: auto; }
  html.home-page .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(10, 31, 60, 0.08);
    box-shadow: 0 12px 30px rgba(10, 31, 60, 0.12);
  }
  html.home-page .home-hero { height: 100vh; min-height: 520px; }
  html.home-page .hero-content {
    left: 50%;
    width: 92%;
    width: min(92%, 640px);
    text-align: center;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    transform: translate(-50%, calc(-50% + var(--par, 0px)));
  }
  html.home-page .hero-cta { justify-content: center; }
  html.home-page .hero-dots { left: 50%; transform: translateX(-50%); }
  html.home-page .hero-scroll { right: 20px; }
  html.home-page .hero-content .sub { letter-spacing: 2px; }
  html.home-page .home-section { padding: 72px 0; }
  html.home-page .sec-head { margin-bottom: 52px; }
  html.home-page .sec-head h2 { font-size: 30px; }
  html.home-page .about-text { margin-bottom: 56px; }
  html.home-page .prod-card, html.home-page .case-card, html.home-page .adv-card,
  html.home-page .client-card, html.home-page .news-col, html.home-page .service-card {
    flex-basis: 100%;
    min-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  html.home-page .prod-grid, html.home-page .case-grid, html.home-page .adv-grid,
  html.home-page .client-grid, html.home-page .news-grid, html.home-page .service-grid,
  html.home-page .stats-row { margin-left: 0; margin-right: 0; }
  html.home-page .footer { padding: 56px 0 36px; }
}
@media (max-width: 480px) {
  html.home-page .hero-cta { flex-direction: column; align-items: center; justify-content: center; }
  html.home-page .btn-hero { min-width: 220px; }
  html.home-page .hero-content h2 { font-size: 30px; }
  html.home-page .sec-head h2 { font-size: 26px; }
  html.home-page .hero-flag { letter-spacing: 2px; }
}

/* ---------- 动效减弱 ---------- */
@media (prefers-reduced-motion: reduce) {
  html.home-page .reveal { opacity: 1; transform: none; transition: none; }
  html.home-page .hero-bg,
  html.home-page .hero-overlay { transition: opacity .4s linear; }
  html.home-page .hero-slide.is-active .hero-bg { animation: none; transform: none; }
  html.home-page .hero-slide.is-active .hero-flag,
  html.home-page .hero-slide.is-active .hero-content h2,
  html.home-page .hero-slide.is-active .hero-content .sub,
  html.home-page .hero-slide.is-active .hero-content .en,
  html.home-page .hero-slide.is-active .hero-cta { animation: none; }
  html.home-page .hero-aurora { animation: none; }
  html.home-page .hero-scroll::after { animation: none; }
}

/* ============================================================
   顶部导航升级：滚动收缩 + 毛玻璃 + 栏目高亮 + 高级下拉（首页）
   ============================================================ */
@media (min-width: 992px) {
  html.home-page #header.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  html.home-page #header.navbar .navbar-header { float: none; }
  html.home-page #header.navbar .navbar-collapse {
    float: none;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
  }
  html.home-page #header.navbar .navbar-nav {
    display: flex;
    align-items: center;
    margin: 0;
  }

  /* 导航项：禁止压缩断行，内容垂直居中，下划线指示器对齐 */
  html.home-page .navbar-nav > li { flex-shrink: 0; }
  html.home-page .navbar-nav > li > a {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 0 12px !important;
    white-space: nowrap;
  }

  /* 悬停 / 当前栏目：渐变下划线滑动展开 + 发光 */
  html.home-page .navbar-nav > li > a::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, #1e5eff, #38e1ff);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .4s cubic-bezier(.16, 1, .3, 1);
  }
  html.home-page .navbar-nav > li > a:hover::after,
  html.home-page .navbar-nav > li > a:focus::after,
  html.home-page .navbar-nav > li.active > a::after,
  html.home-page .navbar-nav > li.open > a::after {
    transform: scaleX(1);
    box-shadow: 0 2px 12px rgba(56, 167, 255, 0.55);
  }

  /* 英文小标：悬停 / 当前时上浮变蓝 */
  html.home-page .navbar-nav > li > a small {
    transition: color .25s ease, transform .25s ease;
  }
  html.home-page .navbar-nav > li > a:hover small,
  html.home-page .navbar-nav > li > a:focus small,
  html.home-page .navbar-nav > li.active > a small,
  html.home-page .navbar-nav > li.open > a small {
    color: #1e5eff !important;
    transform: translateY(-1px);
  }

  /* 滚动后：导航底部出现一条发光渐变细线 */
  html.home-page #header.navbar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 167, 255, 0.45), transparent);
    opacity: 0;
    transition: opacity .4s ease;
  }
  html.home-page #header.navbar.nav-scrolled::after { opacity: 1; }

  /* 当前栏目：去旧模板蓝底，改为蓝色文字 */
  html.home-page .navbar-default .navbar-nav > li.active > a,
  html.home-page .navbar-default .navbar-nav > li.active > a:hover,
  html.home-page .navbar-default .navbar-nav > li.active > a:focus,
  html.home-page .navbar-default .navbar-nav > li.open > a,
  html.home-page .navbar-default .navbar-nav > li.open > a:hover,
  html.home-page .navbar-default .navbar-nav > li.open > a:focus {
    background: transparent !important;
    color: #1e5eff !important;
  }
  html.home-page .navbar-default .navbar-nav > li.active > a small {
    color: #1e5eff !important;
  }

  /* 滚动收缩：76px → 62px，毛玻璃加深、背景变实（避免首页全屏大图透出） */
  html.home-page #header.navbar {
    transition: height .35s cubic-bezier(.16, 1, .3, 1),
                min-height .35s cubic-bezier(.16, 1, .3, 1),
                background .4s ease, box-shadow .4s ease;
  }
  html.home-page #header.navbar.nav-scrolled {
    height: 62px !important;
    min-height: 62px !important;
    background: rgba(255, 255, 255, 0.97) !important;
    background-color: rgba(255, 255, 255, 0.97) !important;
    box-shadow: 0 10px 32px rgba(10, 31, 60, 0.12) !important;
  }
  html.home-page #header.navbar.nav-scrolled .logo { padding: 10px 0; }
  html.home-page #header.navbar.nav-scrolled .navbar-nav > li > a { min-height: 62px; }

  /* Logo 微交互 */
  html.home-page .logo { transition: padding .35s ease; }
  html.home-page .logo img {
    transition: height .35s ease, transform .35s ease, opacity .35s ease;
  }
  html.home-page .logo:hover img {
    opacity: 0.82;
    transform: scale(1.02);
  }

  /* 右侧热线 CTA 按钮 */
  html.home-page .nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 0 22px;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #1e5eff, #38a7ff);
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .5px;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(30, 94, 255, 0.35);
    transition: transform .3s ease, box-shadow .3s ease, opacity .3s ease;
  }
  html.home-page .nav-cta svg { width: 16px; height: 16px; }
  html.home-page .nav-cta:hover,
  html.home-page .nav-cta:focus {
    transform: translateY(-2px);
    opacity: .95;
    color: #fff !important;
    animation: ctaPulse 1.8s ease-in-out infinite;
  }
  @keyframes ctaPulse {
    0%, 100% { box-shadow: 0 10px 24px rgba(30, 94, 255, 0.35); }
    50%      { box-shadow: 0 10px 36px rgba(56, 167, 255, 0.7); }
  }
  html.home-page #header.navbar.nav-scrolled .nav-cta { padding: 8px 16px; }

  /* 高级下拉菜单：毛玻璃卡片 + 箭头 + 悬浮弹出 */
  html.home-page .navbar-nav .dropdown-menu {
    display: block;
    visibility: hidden;
    opacity: 0;
    transform: translateY(12px);
    min-width: 220px;
    margin: 0;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    backdrop-filter: saturate(180%) blur(18px);
    border: 1px solid rgba(10, 31, 60, 0.08);
    box-shadow: 0 18px 50px rgba(10, 31, 60, 0.16);
    transition: opacity .3s ease, transform .3s cubic-bezier(.16, 1, .3, 1), visibility .3s;
  }
  html.home-page .navbar-nav li.dropdown:hover > .dropdown-menu,
  html.home-page .navbar-nav li.dropdown.open > .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(6px);
  }
  html.home-page .navbar-nav li.dropdown > .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 26px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-left: 1px solid rgba(10, 31, 60, 0.08);
    border-top: 1px solid rgba(10, 31, 60, 0.08);
    transform: rotate(45deg);
  }
  html.home-page .navbar-nav li.dropdown > .dropdown-menu.dropdown-menu-left::before {
    left: auto;
    right: 26px;
  }
  html.home-page .navbar-nav .dropdown-menu > li > a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    color: #45505f;
    font-size: 14px;
    font-weight: 500;
    transition: background .25s ease, color .25s ease, transform .25s ease;
  }
  html.home-page .navbar-nav .dropdown-menu > li > a::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e5eff, #38a7ff);
    opacity: 0;
    transform: scale(0);
    transition: opacity .25s ease, transform .25s ease;
  }
  html.home-page .navbar-nav .dropdown-menu > li > a:hover,
  html.home-page .navbar-nav .dropdown-menu > li > a:focus {
    background: #f0f5ff;
    color: #1e5eff;
    transform: translateX(4px);
  }
  html.home-page .navbar-nav .dropdown-menu > li > a:hover::before {
    opacity: 1;
    transform: scale(1);
  }

  /* 下拉项错落入场 */
  html.home-page .navbar-nav li.dropdown:hover > .dropdown-menu > li,
  html.home-page .navbar-nav li.dropdown.open > .dropdown-menu > li {
    animation: navItemIn .4s cubic-bezier(.16, 1, .3, 1) both;
  }
  html.home-page .navbar-nav li.dropdown:hover > .dropdown-menu > li:nth-child(2),
  html.home-page .navbar-nav li.dropdown.open > .dropdown-menu > li:nth-child(2) { animation-delay: .04s; }
  html.home-page .navbar-nav li.dropdown:hover > .dropdown-menu > li:nth-child(3),
  html.home-page .navbar-nav li.dropdown.open > .dropdown-menu > li:nth-child(3) { animation-delay: .08s; }
  html.home-page .navbar-nav li.dropdown:hover > .dropdown-menu > li:nth-child(4),
  html.home-page .navbar-nav li.dropdown.open > .dropdown-menu > li:nth-child(4) { animation-delay: .12s; }
  html.home-page .navbar-nav li.dropdown:hover > .dropdown-menu > li:nth-child(5),
  html.home-page .navbar-nav li.dropdown.open > .dropdown-menu > li:nth-child(5) { animation-delay: .16s; }
  @keyframes navItemIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
  }
}

/* 中屏（992-1199px）：Logo 略缩小，保证完整导航不断行 */
@media (min-width: 992px) and (max-width: 1199px) {
  html.home-page .logo img { height: 36px; }
}

/* 平板以下：CTA 隐藏、汉堡菜单保持原样 */
@media (max-width: 991px) {
  html.home-page .nav-cta { display: none !important; }
}

/* 中屏以下强制显示 Logo（style.css 的 logo-hidden 会在 <=999px 隐藏） */
@media (max-width: 999px) {
  html.home-page .logo-hidden { display: block !important; }
}

@media (prefers-reduced-motion: reduce) {
  html.home-page .navbar-nav > li > a::after { transition: none; }
  html.home-page .navbar-nav .dropdown-menu { transition: opacity .2s linear; }
}