/* Self-hosted Open Sans (variable font, weights 400-700) - replaces Google Fonts CDN */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/opensans-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/opensans-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C6-02C1, U+02CD-02D1, U+0180-0181, U+0240-0241, U+01A0-01A1, U+01AF-01B0, U+01B0, U+1EA0-01EF, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

img, svg { display: block; max-width: 100%; }

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

button { font: inherit; cursor: pointer; border: 0; background: none; }

p { text-wrap: pretty; margin: 0; }

h1, h2, h3, h4 { text-wrap: balance; margin: 0; }

.container {
      max-width: var(--container);
      margin-inline: auto;
      padding-inline: var(--gutter);
    }

.reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

.topnav.scrolled {
      background: #f0f0f2;
      backdrop-filter: blur(20px) saturate(180%);
      -webkit-backdrop-filter: blur(20px) saturate(180%);
      border-bottom-color: rgba(0,0,0,0.12);
      box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }

.topnav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 100%;
    }

.topnav .logo {
      display: flex;
      align-items: center;
    }

.topnav .logo img {
      height: 34px;
      object-fit: contain;
      flex-shrink: 0;
    }

.topnav .logo .logo-dark { display: none; }

.topnav .logo .logo-light { display: block; }

.topnav.scrolled .logo .logo-dark { display: block; }

.topnav.scrolled .logo .logo-light { display: none; }

.topnav nav {
      display: flex;
      gap: 28px;
    }

.topnav.scrolled nav a {
      color: rgba(0,0,0,0.55);
    }

.topnav nav a::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      right: 0;
      height: 2px;
      background: var(--accent);
      transform: scaleX(0);
      transform-origin: center;
      transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

.topnav nav a:hover { color: #ffffff; }

.topnav.scrolled nav a:hover { color: #1a1a1a; }

.topnav nav a:hover::after { transform: scaleX(1); }

.topnav.scrolled .nav-cta {
      color: #1a1a1a;
      border-color: rgba(0,0,0,0.3);
    }

.topnav .nav-cta:hover {
      background: #ffffff;
      color: #000000;
      border-color: #ffffff;
      transform: translateY(-1px);
    }

.topnav.scrolled .nav-cta:hover {
      background: #1a1a1a;
      color: #ffffff;
      border-color: #1a1a1a;
    }

.footer-col a {
      display: block;
      font-size: 14px;
      color: var(--muted);
      padding: 4px 0;
      transition: color 0.2s;
    }

.footer-col a:hover { color: var(--fg); }

.topnav.scrolled .dropdown-menu a {
      color: rgba(0,0,0,0.6);
    }

.nav-toggle.active span:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }

.nav-toggle.active span:nth-child(2) {
      opacity: 0;
    }

.nav-toggle.active span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }
/* ===== 软件平台 · PPT 版式共用（sw-gcs / sw-app） ===== */
.swsoft-split {
      display: grid;
      grid-template-columns: 1.15fr 1fr;
      gap: 48px;
      align-items: center;
    }

.swsoft-split-rev .swsoft-shot { order: 2; }
.swsoft-split-rev .swsoft-features { order: 1; }

.swsoft-shot {
      margin: 0;
      border: 1px solid rgba(0,0,0,0.1);
      border-radius: 10px;
      overflow: hidden;
      background: #f5f7fa;
      box-shadow: 0 12px 32px rgba(8, 20, 46, 0.12);
    }

.swsoft-shot img {
      display: block;
      width: 100%;
      height: auto;
    }

.swsoft-features {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

.swsoft-features li {
      position: relative;
      padding-left: 28px;
      line-height: 1.75;
      color: var(--muted, rgba(0,0,0,0.68));
      font-size: 0.95rem;
    }

.swsoft-features li::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0.5em;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: var(--accent, #1c5eb8);
    }

.swsoft-features strong { color: var(--fg, #12263f); }

.swsoft-intro {
      max-width: 900px;
      margin: 0 auto;
      text-align: center;
      line-height: 2;
      font-size: 1.02rem;
      color: var(--muted, rgba(0,0,0,0.7));
    }

.swsoft-scene {
      background: #fff;
      border: 1px solid rgba(0,0,0,0.08);
      border-radius: 12px;
      padding: 28px;
      box-shadow: 0 6px 24px rgba(8, 20, 46, 0.06);
    }

.swsoft-scene h3 {
      margin: 0 0 16px;
      font-size: 1.15rem;
      color: var(--fg, #12263f);
    }

.swsoft-scene ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }

.swsoft-scene li {
      position: relative;
      padding-left: 16px;
      line-height: 1.7;
      font-size: 0.95rem;
      color: var(--muted, rgba(0,0,0,0.68));
    }

.swsoft-scene li::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0.65em;
      width: 7px;
      height: 7px;
      border-radius: 2px;
      background: var(--accent, #1c5eb8);
    }

.swsoft-scene strong { color: var(--fg, #12263f); }

/* 应用场景卡片图片统一 16:9（sw-cluster/sw-swarm 两图原图比 2.6:1 与 1.65:1 差异大，居中裁切对齐） */
.swsoft-scene .swsoft-shot img {
      display: block;
      width: 100%;
      height: auto;
      aspect-ratio: 16 / 9;
      object-fit: cover;
      object-position: center;
    }

.swsoft-gallery {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
    }

.swsoft-gallery figure {
      margin: 0;
      border: 1px solid rgba(0,0,0,0.08);
      border-radius: 10px;
      overflow: hidden;
      background: #fff;
      box-shadow: 0 8px 24px rgba(8, 20, 46, 0.08);
    }

.swsoft-gallery img {
      display: block;
      width: 100%;
      height: auto;
    }

.swsoft-gallery figcaption {
      padding: 12px 16px;
      font-size: 0.9rem;
      color: var(--muted, rgba(0,0,0,0.6));
      text-align: center;
    }

@media (max-width: 1024px) {
      .swsoft-split,
      .swsoft-gallery { grid-template-columns: 1fr; }

      .swsoft-split-rev .swsoft-shot { order: 0; }
      .swsoft-split-rev .swsoft-features { order: 0; }
    }

.swsoft-features-lg li { font-size: 1rem; line-height: 1.85; }

/* 软件平台 · 补充变体（scenes 容器 / 三列图墙 / 流程步骤） */
.swsoft-scenes {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
    }

.swsoft-gallery-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

.swsoft-gallery-3 figure {
      margin: 0;
      border: 1px solid rgba(0,0,0,0.08);
      border-radius: 10px;
      overflow: hidden;
      background: #fff;
      box-shadow: 0 8px 24px rgba(8, 20, 46, 0.08);
    }

.swsoft-gallery-3 img { display: block; width: 100%; height: auto; }

.swsoft-gallery-3 figcaption {
      padding: 10px 14px;
      font-size: 0.88rem;
      color: var(--muted, rgba(0,0,0,0.6));
      text-align: center;
    }

.swsoft-steps {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      counter-reset: step;
    }

.swsoft-step {
      position: relative;
      background: #fff;
      border: 1px solid rgba(0,0,0,0.08);
      border-radius: 10px;
      padding: 22px 20px 18px;
      box-shadow: 0 6px 18px rgba(8, 20, 46, 0.05);
    }

.swsoft-step::before {
      counter-increment: step;
      content: counter(step, decimal-leading-zero);
      display: inline-block;
      font-size: 0.8rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      color: #fff;
      background: var(--accent, #1c5eb8);
      border-radius: 6px;
      padding: 3px 9px;
      margin-bottom: 12px;
    }

.swsoft-step h3 { margin: 0 0 8px; font-size: 1.02rem; color: var(--fg, #12263f); }

.swsoft-step p { margin: 0; font-size: 0.92rem; line-height: 1.7; color: var(--muted, rgba(0,0,0,0.68)); }

@media (max-width: 1024px) {
      .swsoft-scenes,
      .swsoft-steps { grid-template-columns: 1fr; }

      .swsoft-gallery-3 { grid-template-columns: 1fr 1fr; }
    }

@media (max-width: 640px) {
      .swsoft-gallery-3 { grid-template-columns: 1fr; }
    }

/* 软件平台 · 案例卡片（sw-logistics） */
.swsoft-case {
      display: flex;
      flex-direction: column;
      justify-content: center;
      background: #fff;
      border: 1px solid rgba(0,0,0,0.08);
      border-radius: 12px;
      padding: 34px 38px;
      box-shadow: 0 8px 24px rgba(8, 20, 46, 0.06);
    }

.swsoft-case-tag {
      display: inline-flex;
      align-items: center;
      align-self: flex-start;
      margin: 0 0 14px;
      padding: 6px 14px 6px 11px;
      border-radius: 6px;
      border-left: 3px solid var(--accent, #1890ff);
      background: color-mix(in srgb, var(--accent, #1890ff) 10%, #fff);
      font-size: 0.86rem;
      font-weight: 700;
      letter-spacing: 0.03em;
      color: color-mix(in srgb, var(--accent, #1890ff) 72%, #002040);
    }

.swsoft-case h3 {
      margin: 0 0 14px;
      font-size: 1.32rem;
      line-height: 1.4;
      color: var(--fg, #12263f);
    }

.swsoft-case > p {
      margin: 0;
      line-height: 1.95;
      font-size: 0.95rem;
      color: var(--muted, rgba(0,0,0,0.7));
    }

.swsoft-case-stats {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
      gap: 14px 18px;
      list-style: none;
      margin: 22px 0 0;
      padding: 18px 20px;
      border-radius: 10px;
      background: var(--surface-alt, #f0f0f2);
    }

.swsoft-case-stats li { display: flex; flex-direction: column; gap: 3px; }

.swsoft-case-stats strong {
      font-size: 1.38rem;
      font-weight: 800;
      color: var(--accent, #1890ff);
    }

.swsoft-case-stats span {
      font-size: 0.75rem;
      line-height: 1.5;
      color: var(--muted, rgba(0,0,0,0.55));
    }

@media (max-width: 640px) {
      .swsoft-case { padding: 24px 22px; }

      .swsoft-case h3 { font-size: 1.18rem; }

      .swsoft-case-stats { grid-template-columns: repeat(2, 1fr); padding: 14px 16px; }
    }

/* 软件平台 · 技术参数表（sw-logistics 机型介绍） */
.swsoft-spec {
      display: grid;
      grid-template-columns: 1fr 1fr;
      column-gap: 56px;
      margin: 44px 0 0;
      padding: 28px 32px;
      background: #fff;
      border: 1px solid rgba(0,0,0,0.08);
      border-radius: 12px;
      box-shadow: 0 6px 24px rgba(8, 20, 46, 0.05);
    }

.swsoft-spec > div {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      gap: 24px;
      padding: 10px 0;
      border-bottom: 1px dashed rgba(0,0,0,0.1);
    }

.swsoft-spec > div:nth-last-child(-n+2) { border-bottom: none; }

.swsoft-spec dt { font-size: 0.92rem; color: var(--muted, rgba(0,0,0,0.62)); }

.swsoft-spec dd {
      margin: 0;
      font-size: 0.95rem;
      font-weight: 600;
      color: var(--fg, #12263f);
      text-align: right;
    }

@media (max-width: 640px) {
      .swsoft-spec { grid-template-columns: 1fr; column-gap: 0; padding: 20px 22px; }
      .swsoft-spec > div:nth-last-child(-n+2) { border-bottom: 1px dashed rgba(0,0,0,0.1); }
      .swsoft-spec > div:last-child { border-bottom: none; }
    }

/* 软件平台 · 遥测数据标签墙（sw-logistics 平台版） */
.swsoft-tags {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px 12px;
      margin: 26px 0 0;
      padding: 0;
      list-style: none;
    }

.swsoft-tags li {
      padding: 7px 16px;
      border: 1px solid color-mix(in srgb, var(--accent, #1890ff) 32%, #fff);
      border-radius: 999px;
      background: color-mix(in srgb, var(--accent, #1890ff) 7%, #fff);
      font-size: 0.86rem;
      font-weight: 600;
      color: color-mix(in srgb, var(--accent, #1890ff) 62%, #002040);
    }

.swsoft-lead-center {
      max-width: 860px;
      margin: 0 auto;
      text-align: center;
      line-height: 2.05;
      font-size: 1rem;
      color: var(--muted, rgba(0,0,0,0.72));
    }

/* 软件平台 · 双图等高并列与功能四卡（sw-logistics 排版优化） */
.swsoft-steps-quad { grid-template-columns: repeat(2, 1fr); }

.swsoft-twin {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 28px;
      margin: 40px 0 0;
    }

.swsoft-twin figure {
      margin: 0;
      display: flex;
      flex-direction: column;
      background: #fff;
      border: 1px solid rgba(0,0,0,0.08);
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 8px 24px rgba(8, 20, 46, 0.08);
    }

.swsoft-twin .twin-frame {
      aspect-ratio: 21 / 19;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(160deg, #f4f7fb, #e9eef6);
    }

.swsoft-twin img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
    }

.swsoft-twin figcaption,
.swsoft-shot figcaption {
      padding: 12px 16px;
      font-size: 0.9rem;
      text-align: center;
      color: var(--muted, rgba(0,0,0,0.62));
      border-top: 1px solid rgba(0,0,0,0.06);
      background: #fff;
    }

@media (max-width: 640px) {
      .swsoft-twin { grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }

      .swsoft-steps-quad { grid-template-columns: 1fr; }
    }

/* ============================================================
   移动端手风琴菜单修复：
   各页面家族 CSS 在 @media(max-width:920px) 内用 .topnav nav { display:none }
   隐藏桌面主菜单时，会误伤移动面板内层 nav（.mobile-nav 是 .topnav 后代），
   导致部分页面（about-core-tech / about-download / app-battlefield 系等）
   移动菜单整体 display:none、二级菜单展开后无内容。
   此处以更高特异性 (.topnav .mobile-nav nav.mobile-nav-list) 统一兜底。
   ============================================================ */
@media (max-width: 920px) {
  .topnav .mobile-nav nav.mobile-nav-list {
    display: flex;
    flex-direction: column;
  }
}

/* ===== 关注我们（社交矩阵，1:1 迁移自原型 premium-footer social-section）===== */
.soc-section {
  padding: 60px 24px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.soc-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.soc-title {
  color: #ffffff;
  font-size: 24px;
  margin-bottom: 40px;
  font-weight: 700;
}

.soc-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.soc-item {
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.soc-item:hover {
  transform: translateY(-10px);
}

.soc-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.soc-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.soc-item:hover .soc-icon::before {
  left: 100%;
}

.soc-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.2);
  transition: transform 0.3s ease;
}

.soc-item:hover .soc-icon img {
  transform: scale(1.1);
}

.soc-qr {
  position: absolute;
  bottom: 85px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  width: 120px;
  height: 120px;
  background: #ffffff;
  border-radius: 15px;
  padding: 10px;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  opacity: 0;
  z-index: 10;
}

.soc-qr::before {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #ffffff;
}

.soc-item:hover .soc-qr {
  transform: translateX(-50%) scale(1);
  opacity: 1;
}

.soc-qr img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .soc-section {
    padding: 44px 16px;
  }

  .soc-title {
    font-size: 20px;
    margin-bottom: 28px;
  }

  .soc-icons {
    gap: 20px;
  }

  .soc-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
  }

  .soc-qr {
    width: 110px;
    height: 110px;
    bottom: 72px;
  }
}

/* footer-bottom ICP 备案链接 */
.footer-bottom .footer-icp {
  color: inherit;
  text-decoration: none;
}

.footer-bottom .footer-icp:hover {
  text-decoration: underline;
}
