/**
 * 海纳云仓官网业务样式
 * 依赖：layout-system.css（全局边距 / vw 字号 / page-wrap）
 */
@import url("layout-system.css");

/* ========== 品牌色与业务变量（字号/间距见 layout-system.css） ========== */
:root {
  --primary-color: #0449E5;
  --primary-hover: #0449E5;
  --primary-light: #e1eaff;
  --text-main: #1a1a2e;
  --text-dark: #0f172a;
  --text-gray: #556070;
  --text-light: #94a3b8;
  --bg-body: #f7f8fa;
  --bg-white: #ffffff;
  --border-color: #e4e8ef;
  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  color: var(--text-main);
  background: var(--bg-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

img {
  max-width: 100%;
  display: block;
}

/* .container / .page-inner 定义见 layout-system.css */

/* 按钮通用样式 */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: var(--fs-body);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 12px rgba(255, 85, 0, 0.2);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: 4px;
  font-size: var(--fs-body);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-outline:hover {
  background: var(--primary-color);
  color: #fff;
}

/* ========== Header ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding-block: 1.042vw;
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

.site-header.scrolled {
  padding-block: 0.625vw;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 0.208vw 1.042vw rgba(0, 0, 0, 0.06);
}

/* 有 page-banner / 首页 Hero：默认透明顶栏 + 白字，滚动后恢复白底深字 */
body.has-page-banner .site-header:not(.scrolled) .logo,
body[data-page="home"] .site-header:not(.scrolled) .logo {
  color: #fff;
}

body.has-page-banner .site-header:not(.scrolled) .nav-main a,
body.has-page-banner .site-header:not(.scrolled) .nav-main .nav-dropdown-toggle,
body[data-page="home"] .site-header:not(.scrolled) .nav-main a,
body[data-page="home"] .site-header:not(.scrolled) .nav-main .nav-dropdown-toggle {
  color: rgba(255, 255, 255, 0.88);
}

body.has-page-banner .site-header:not(.scrolled) .nav-main a:hover,
body.has-page-banner .site-header:not(.scrolled) .nav-main a.active,
body.has-page-banner .site-header:not(.scrolled) .nav-main .nav-dropdown-toggle.active,
body[data-page="home"] .site-header:not(.scrolled) .nav-main a:hover,
body[data-page="home"] .site-header:not(.scrolled) .nav-main a.active,
body[data-page="home"] .site-header:not(.scrolled) .nav-main .nav-dropdown-toggle.active {
  color: #fff;
}

body.has-page-banner .site-header:not(.scrolled) .mobile-nav-toggle span,
body[data-page="home"] .site-header:not(.scrolled) .mobile-nav-toggle span {
  background-color: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: clamp(20px, 2vw + 16px, 26px);
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-main);
}

.logo span {
  color: var(--primary-color);
}

.logo.logo--has-img,
.footer-logo.logo--has-img {
  display: flex;
  align-items: center;
}

.site-logo-img {
  height: clamp(28px, 3vw, 40px);
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.logo.logo--empty {
  min-width: 0;
  min-height: clamp(28px, 3vw, 40px);
}

.footer-logo.logo--has-img .site-logo-img {
  height: clamp(24px, 2.5vw, 32px);
}

.footer-copy a {
  color: inherit;
  text-decoration: none;
}

.footer-copy a:hover {
  text-decoration: underline;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
  list-style: none;
}

.nav-main > li {
  flex-shrink: 0;
}

.nav-main a,
.nav-main .nav-dropdown-toggle {
  color: var(--text-gray);
  font-size: var(--fs-body);
  font-weight: 500;
  transition: color 0.2s;
  text-decoration: none;
}

.nav-main a:hover,
.nav-main a.active,
.nav-main .nav-dropdown-toggle.active {
  color: var(--primary-color);
}

.nav-cooperation-btn {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 4px;
  font-size: var(--fs-small);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.nav-cooperation-btn:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 12px rgba(255, 85, 0, 0.2);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* 顶栏小程序入口：悬停展示二维码 */
.header-miniapp {
  position: relative;
  flex-shrink: 0;
}

.header-miniapp__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--text-gray);
  font-size: var(--fs-small);
  font-family: inherit;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.header-miniapp__trigger:hover,
.header-miniapp.is-open .header-miniapp__trigger {
  color: var(--primary-color);
  background: rgba(255, 85, 0, 0.06);
  border-color: rgba(255, 85, 0, 0.15);
}

.header-miniapp__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.header-miniapp__label {
  font-weight: 500;
  white-space: nowrap;
}

.header-miniapp__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 168px;
  padding: 14px 14px 12px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 1200;
  pointer-events: none;
}

.header-miniapp__panel::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 18px;
  width: 10px;
  height: 10px;
  background: #fff;
  border-left: 1px solid var(--border-color);
  border-top: 1px solid var(--border-color);
  transform: rotate(45deg);
}

.header-miniapp:hover .header-miniapp__panel,
.header-miniapp.is-open .header-miniapp__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.header-miniapp__panel img {
  display: block;
  width: 132px;
  height: 132px;
  margin: 0 auto;
  border-radius: 6px;
  object-fit: contain;
  background: #fafafa;
}

.header-miniapp__caption {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--text-gray);
  line-height: 1.4;
}

body.has-page-banner .site-header:not(.scrolled) .header-miniapp__trigger,
body[data-page="home"] .site-header:not(.scrolled) .header-miniapp__trigger {
  color: rgba(255, 255, 255, 0.92);
}

body.has-page-banner .site-header:not(.scrolled) .header-miniapp__trigger:hover,
body.has-page-banner .site-header:not(.scrolled) .header-miniapp.is-open .header-miniapp__trigger,
body[data-page="home"] .site-header:not(.scrolled) .header-miniapp__trigger:hover,
body[data-page="home"] .site-header:not(.scrolled) .header-miniapp.is-open .header-miniapp__trigger {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
  padding: 0;
}

.mobile-nav-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  transition: transform 0.3s, opacity 0.3s;
}

/* ========== Hero 轮播（100vw 全宽背景 + content-rail 固定内容宽） ========== */
.hero {
  position: relative;
  width: 100vw;
  max-width: 100%;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: #0a0f1e;
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero--loading .hero-slides {
  background: linear-gradient(135deg, #0a0f1e 0%, #141c32 100%);
}

.hero--empty {
  display: none !important;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 2;
}

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10, 15, 30, 0.82) 0%,
    rgba(10, 15, 30, 0.55) 55%,
    rgba(10, 15, 30, 0.3) 100%
  );
}

.hero-slide__content {
  position: relative;
  z-index: 3;
  padding-top: clamp(64px, 8vw, 100px);
  width: 100%;
}

.hero-tag {
  font-size: var(--fs-small);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: clamp(12px, 2vw, 20px);
  font-weight: 600;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s 0.1s, transform 0.6s 0.1s;
}

.hero-slide.is-active .hero-tag {
  opacity: 1;
  transform: translateY(0);
}

.hero-title {
  font-size: var(--fs-h1);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: clamp(12px, 2vw, 20px);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s 0.2s, transform 0.6s 0.2s;
}

.hero-slide.is-active .hero-title {
  opacity: 1;
  transform: translateY(0);
}

.hero-subtitle {
  font-size: var(--fs-body);
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: clamp(24px, 3.5vw, 40px);
  line-height: 1.7;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s 0.32s, transform 0.6s 0.32s;
}

.hero-slide.is-active .hero-subtitle {
  opacity: 1;
  transform: translateY(0);
}

.hero-actions {
  display: flex;
  gap: clamp(12px, 2vw, 20px);
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s 0.44s, transform 0.6s 0.44s;
}

.hero-slide.is-active .hero-actions {
  opacity: 1;
  transform: translateY(0);
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  padding: clamp(11px, 1.2vw, 15px) clamp(20px, 2.5vw, 32px);
  border-radius: 3px;
  font-size: var(--fs-body);
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.hero-btn--primary {
  background: var(--primary-color);
  color: #fff;
}

.hero-btn--primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(4, 73, 229, 0.35);
}

.hero-btn--outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
}

.hero-btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

/* 左右箭头 */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: clamp(40px, 4vw, 54px);
  height: clamp(40px, 4vw, 54px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
}

.hero-arrow svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.hero-arrow--prev { left: max(var(--page-padding-x), clamp(16px, 3vw, 40px)); }
.hero-arrow--next { right: max(var(--page-padding-x), clamp(16px, 3vw, 40px)); }

/* 圆点 */
.hero-dots {
  position: absolute;
  bottom: clamp(24px, 4vw, 48px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}

.hero-dot.is-active {
  background: var(--primary-color);
  width: 28px;
  border-radius: 4px;
}

/* 进度条 */
.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--primary-color);
  z-index: 10;
  width: 0%;
  transition: width 0.1s linear;
}

/* SCROLL 提示 */
.scroll-hint {
  position: absolute;
  bottom: clamp(48px, 6vw, 72px);
  right: clamp(32px, 4vw, 64px);
  z-index: 10;
  writing-mode: vertical-rl;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  letter-spacing: 3px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.scroll-hint::after {
  content: "";
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--primary-color), transparent);
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ========== About ========== */
.section-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(400px, 40vw, 560px);
  background: #eef1f5 url("../images/bg/3.png") center/cover;
}

.about-left {
  padding: var(--stack-lg) var(--page-padding-x);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  background: #f7f8fa;
}

.about-year {
  font-size: var(--fs-large-num);
  font-weight: 900;
  color: #ffe8de;
  line-height: 0.9;
  margin-bottom: clamp(16px, 2vw, 24px);
  letter-spacing: -2px;
}

.about-heading {
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: clamp(20px, 3vw, 36px);
  max-width: 420px;
}

.about-right {
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.feature-card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  padding: clamp(24px, 3vw, 40px) clamp(24px, 4vw, 52px);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-white);
  transition: background 0.3s;
}

.feature-card:last-child {
  border-bottom: none;
}

.feature-card:hover {
  background: #fdfafa;
}

.feature-icon {
  width: clamp(48px, 5vw, 64px);
  height: clamp(48px, 5vw, 64px);
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary-color);
}

.feature-icon svg {
  width: clamp(24px, 2.5vw, 32px);
  height: clamp(24px, 2.5vw, 32px);
}

.feature-text h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.feature-text p {
  font-size: var(--fs-body);
  color: var(--text-gray);
  line-height: 1.65;
}

/* ========== Services ========== */
.section-services {
  background: #ffffff;
}

.section-eyebrow {
  font-size: var(--fs-small);
  letter-spacing: 2px;
  color: var(--primary-color);
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 600;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(36px, 4vw, 64px);
}

.section-header h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--text-dark);
}

.partners-header {
  text-align: center;
  margin-bottom: clamp(36px, 4vw, 64px);
}

.partners-header h2 {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--text-dark);
  max-width: 640px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.service-card {
  position: relative;
  height: 20.833vw; /* 400px @ 1920 */
  min-height: 280px;
  max-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.667vw 1.042vw;
  border-right: 1px solid var(--border-color);
  background: var(--bg-white);
  transition: color 0.4s ease;
  overflow: hidden;
  cursor: pointer;
}

.service-card:last-child {
  border-right: none;
}

/* 悬停时才显示的背景图 */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--service-bg);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

/* 悬停时的深色遮罩 */
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 46, 0.88);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.service-card:hover::before,
.service-card:hover::after,
.service-card:focus-visible::before,
.service-card:focus-visible::after {
  opacity: 1;
}

.service-icon {
  width: 3.333vw;
  height: 3.333vw;
  min-width: 48px;
  min-height: 48px;
  background: var(--bg-body);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25vw;
  color: var(--primary-color);
  transition: transform 0.4s ease, background 0.4s ease, color 0.4s ease;
  z-index: 3;
  flex-shrink: 0;
}

.service-icon svg {
  width: 1.667vw;
  height: 1.667vw;
  min-width: 24px;
  min-height: 24px;
}

.service-card:hover .service-icon,
.service-card:focus-visible .service-icon {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-0.521vw);
}

.service-title {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--text-main);
  transition: transform 0.4s ease, color 0.4s ease;
  z-index: 3;
  line-height: 1.35;
}

.service-card:hover .service-title,
.service-card:focus-visible .service-title {
  color: #fff;
  transform: translateY(-0.521vw);
}

/* 默认隐藏描述，鼠标移入才显示（不占位） */
.service-desc {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.65;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(0.521vw);
  transition: opacity 0.4s ease, transform 0.4s ease, max-height 0.4s ease, margin 0.4s ease;
  z-index: 3;
  margin-top: 0;
  padding: 0 0.521vw;
  max-width: 100%;
}

.service-card:hover .service-desc,
.service-card:focus-visible .service-desc {
  opacity: 1;
  max-height: 8vw;
  transform: translateY(0);
  margin-top: 0.625vw;
}

/* ========== Solution ========== */
.section-solution {
  position: relative;
  background:#001d42 url("../images/bg/1.png") center/cover;
  overflow: hidden;
}

.solution-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.solution-diagram {
  position: relative;
  min-height: 400px;
}

.solution-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: rotateOrbit 25s linear infinite;
}

.solution-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: var(--fs-h3);
  text-align: center;
  box-shadow: 0 0 30px rgba(255, 85, 0, 0.4);
  z-index: 5;
}

.solution-node {
  position: absolute;
  width: 80px;
  height: 80px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--text-main);
  text-align: center;
  padding: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  z-index: 3;
}

.solution-node:hover {
  background: var(--primary-color);
  color: #fff;
  transform: scale(1.1) !important;
}

.solution-node:nth-child(3) { top: 10%; left: 50%; transform: translateX(-50%); }
.solution-node:nth-child(4) { top: 30%; right: 5%; }
.solution-node:nth-child(5) { bottom: 30%; right: 5%; }
.solution-node:nth-child(6) { bottom: 10%; left: 50%; transform: translateX(-50%); }
.solution-node:nth-child(7) { bottom: 30%; left: 5%; }
.solution-node:nth-child(8) { top: 30%; left: 5%; }

@keyframes rotateOrbit {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.solution-panel {
  background: #fff;
  border-radius: 8px;
  padding: 48px 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.solution-panel h2 {
  font-size: var(--fs-h2);
  color: var(--text-main);
  margin-bottom: 12px;
  font-weight: 800;
}

.solution-panel h3 {
  font-size: var(--fs-h3);
  color: var(--primary-color);
  margin-bottom: 24px;
  font-weight: 700;
}

.solution-panel ul {
  list-style: none;
  margin-bottom: 32px;
}

.solution-panel li {
  color: var(--text-gray);
  font-size: var(--fs-body);
  padding: 8px 0 8px 24px;
  position: relative;
}

.solution-panel li::before {
  content: "■";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-size: 12px;
}

/* ========== Network ========== */
.section-network {
  background: #f3f5f8 url("../images/bg/6.jpg") center/cover;
}

.network-header {
  text-align: center;
  margin-bottom: clamp(36px, 4vw, 64px);
}

.network-header h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--text-dark);
}

.network-lead {
  font-size: var(--fs-body);
  color: var(--text-gray);
  margin-top: var(--stack-sm);
}

.network-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--section-gap);
  align-items: stretch;
}

/* 左侧：地图可视化面板 */
.network-visualizer {
  position: relative;
  width: 100%;
  min-height: 22.917vw; /* 440px @ 1920 */
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 50% 50%, rgba(4, 73, 229, 0.08) 0%, transparent 55%),
    linear-gradient(160deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.radar-scanner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72%;
  height: 72%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(4, 73, 229, 0.25);
  pointer-events: none;
}

.radar-scanner::before {
  content: "";
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
}

.radar-scanner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 300deg,
    rgba(4, 73, 229, 0.25) 330deg,
    transparent 360deg
  );
  animation: radarSweep 4s linear infinite;
}

@keyframes radarSweep {
  to { transform: rotate(360deg); }
}

.network-map-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.55;
  pointer-events: none;
}

.map-vector {
  width: 88%;
  height: auto;
}

.network-link-line {
  fill: none;
  stroke: rgba(4, 73, 229, 0.35);
  stroke-width: 1.5;
  stroke-dasharray: 6 4;
}

.hub-dot {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, -50%);
  cursor: default;
}

.hub-dot .ping {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.25vw;
  height: 1.25vw;
  min-width: 14px;
  min-height: 14px;
  margin: -0.625vw 0 0 -0.625vw;
  border-radius: 50%;
  background: rgba(4, 73, 229, 0.35);
  animation: hubPing 2s ease-out infinite;
}

@keyframes hubPing {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(2.8); opacity: 0; }
}

.hub-dot .dot {
  width: 0.625vw;
  height: 0.625vw;
  min-width: 10px;
  min-height: 10px;
  background: var(--primary-color);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 0.521vw rgba(4, 73, 229, 0.6);
}

.hub-dot .label {
  margin-top: 0.417vw;
  font-size: var(--fs-caption);
  font-weight: 700;
  color: var(--text-main);
  background: #fff;
  padding: 0.104vw 0.417vw;
  border-radius: 0.625vw;
  box-shadow: 0 0.104vw 0.417vw rgba(0, 0, 0, 0.12);
  white-space: nowrap;
}

.hub-dot:hover .label {
  color: var(--primary-color);
}

/* 右侧：数据面板 */
.network-dashboard {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--stack-md);
}

.network-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--stack-md);
}

.stat-box {
  background: var(--bg-body);
  padding: var(--stack-md) var(--stack-sm);
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid var(--border-color);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.stat-box:hover {
  border-color: rgba(4, 73, 229, 0.35);
  box-shadow: 0 0.208vw 0.833vw rgba(4, 73, 229, 0.08);
}

.stat-box .num {
  display: block;
  font-size: 2.5vw;
  font-weight: 900;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 0.417vw;
}

.stat-box .label {
  font-size: var(--fs-small);
  color: var(--text-gray);
  font-weight: 600;
  line-height: 1.4;
}

.network-action {
  text-align: center;
}

.btn-glow:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  box-shadow: 0 0 0.833vw rgba(4, 73, 229, 0.15);
}

/* 兼容旧类名（若其他页面引用） */
.network-map {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background: url("https://images.unsplash.com/photo-1524661135-423995f22d0b?w=800&q=80") center/contain no-repeat;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.network-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
}

.network-content {
  display: flex;
  flex-direction: column;
}

.network-content h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: var(--stack-md);
}

.network-content p {
  font-size: var(--fs-body);
  color: var(--text-gray);
  margin-bottom: var(--stack-lg);
}

.network-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--stack-md);
  margin-bottom: var(--stack-lg);
}

.network-stat-card {
  background: var(--bg-body);
  padding: var(--stack-md);
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid var(--border-color);
}

.network-stat-card h3 {
  font-size: 2.5vw;
  font-weight: 900;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 0.417vw;
}

.network-stat-card p {
  font-size: var(--fs-small);
  color: var(--text-gray);
  margin: 0;
  font-weight: 600;
}

@keyframes radarPulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(3); opacity: 0; }
}

/* ========== Case ========== */
.section-case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(360px, 36vw, 520px);
  background: #eef0f4;
}

.case-left {
  padding: var(--stack-lg) var(--page-padding-x);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-header h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 24px;
}

.case-brand {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.case-desc {
  font-size: var(--fs-body);
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 440px;
}

.case-right {
  background: url("../images/c/0001@2x.png") center/cover;
  min-height: 320px;
}

/* ========== Partners ========== */
.section-partners {
  background: #ffffff;
}

.partners-header {
  text-align: center;
  margin-bottom: clamp(36px, 4vw, 64px);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.partner-logo {
  aspect-ratio: 2/1;
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--text-light);
  transition: all 0.3s;
}

.partner-logo:hover {
  background: #fff;
  color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(255, 85, 0, 0.1);
}

.btn-view-all.btn-circle-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--border-color);
  background: #fff;
  color: var(--text-gray);
  flex-shrink: 0;
  transition: border-color 0.25s, color 0.25s, background 0.25s, box-shadow 0.25s;
}

.partners-more {
  display: flex;
  justify-content: center;
  margin-top: var(--stack-lg);
}

.btn-view-all.btn-circle-arrow svg {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-view-all.btn-circle-arrow:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: var(--primary-light);
  box-shadow: 0 4px 16px rgba(4, 73, 229, 0.12);
}

/* ========== Footer ========== */
.site-footer {
  background: var(--text-main);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr auto auto;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
  color: #fff;
  font-size: var(--fs-body);
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--primary-color);
}

.footer-qr-group {
  display: flex;
  gap: 24px;
}

.footer-qr-item {
  text-align: center;
}

.footer-qr-item img {
  width: 100px;
  height: 100px;
  background: #fff;
  padding: 4px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.footer-qr-item span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-slogan {
  font-size: var(--fs-h3);
  font-weight: 800;
  color: #fff;
  line-height: 1.4;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 13px;
}

.footer-logo {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.footer-logo span {
  color: var(--primary-color);
}

/* ========== Responsive ========== */
@media (max-width: 992px) {
  .nav-main {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
  }

  .nav-main.active {
    right: 0;
  }

  .nav-main a,
  .nav-main .nav-dropdown-toggle {
    color: var(--text-main);
    font-size: 16px;
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid var(--border-color);
  }

  /* 透明顶栏白字规则不作用于侧滑菜单（白底） */
  body.has-page-banner .site-header:not(.scrolled) .nav-main a,
  body.has-page-banner .site-header:not(.scrolled) .nav-main .nav-dropdown-toggle,
  body[data-page="home"] .site-header:not(.scrolled) .nav-main a,
  body[data-page="home"] .site-header:not(.scrolled) .nav-main .nav-dropdown-toggle {
    color: var(--text-main);
  }

  body.has-page-banner .site-header:not(.scrolled) .nav-main a:hover,
  body.has-page-banner .site-header:not(.scrolled) .nav-main a.active,
  body.has-page-banner .site-header:not(.scrolled) .nav-main .nav-dropdown-toggle.active,
  body[data-page="home"] .site-header:not(.scrolled) .nav-main a:hover,
  body[data-page="home"] .site-header:not(.scrolled) .nav-main a.active,
  body[data-page="home"] .site-header:not(.scrolled) .nav-main .nav-dropdown-toggle.active {
    color: var(--primary-color);
  }

  body.has-page-banner .site-header:not(.scrolled) .nav-dropdown a,
  body[data-page="home"] .site-header:not(.scrolled) .nav-dropdown a {
    color: var(--text-gray);
  }

  body.has-page-banner .site-header:not(.scrolled) .nav-dropdown a:hover,
  body.has-page-banner .site-header:not(.scrolled) .nav-dropdown a.active,
  body[data-page="home"] .site-header:not(.scrolled) .nav-dropdown a:hover,
  body[data-page="home"] .site-header:not(.scrolled) .nav-dropdown a.active {
    color: var(--primary-color);
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .header-miniapp__label {
    display: none;
  }

  .header-miniapp__trigger {
    padding: 6px 8px;
    color: var(--text-main);
  }

  .header-miniapp__panel {
    right: -8px;
  }

  .mobile-nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .section-about,
  .solution-grid,
  .network-grid,
  .section-case {
    grid-template-columns: 1fr;
  }

  .about-left,
  .case-left {
    padding: 60px 24px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card {
    border-bottom: 1px solid var(--border-color);
  }

  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    height: min(72vh, 520px);
    min-height: 360px;
  }

  .hero-slide__content {
    padding-top: clamp(72px, 12vw, 96px);
  }
}

@media (max-width: 576px) {
  .hero {
    height: min(56vh, 400px);
    min-height: 320px;
  }

  .hero-slide__content {
    padding-top: clamp(64px, 16vw, 80px);
  }

  .hero-subtitle {
    font-size: var(--fs-small);
    margin-bottom: 16px;
  }

  .hero-actions {
    flex-wrap: wrap;
    gap: 10px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    border-right: none;
  }

  .network-grid {
    grid-template-columns: 1fr;
  }

  .network-stats {
    grid-template-columns: 1fr;
  }

  .stat-box .num {
    font-size: 8vw;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
