/* ============ 基础设置 ============ */
:root {
  --navy-900: #081426;
  --navy-800: #0b1c33;
  --navy-700: #122a47;
  --blue-500: #2f7fd1;
  --blue-400: #4da3ff;
  --blue-300: #7fc0ff;
  --text-main: #1c2b3a;
  --text-sub: #5a6b7d;
  --bg-light: #f4f7fb;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(8, 20, 38, 0.10);
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  color: var(--text-main);
  background: var(--white);
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container { width: min(1180px, 92%); margin: 0 auto; }

/* ============ 顶部导航 ============ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(18, 42, 71, 0.08);
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: 0 4px 18px rgba(8, 20, 38, 0.10); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-logo { height: 42px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.brand-text strong { font-size: clamp(12px, 1.6vw, 17px); color: var(--navy-800); letter-spacing: 0.2px; line-height: 1.2; }
.brand-text em { font-style: normal; font-size: 10px; color: var(--blue-500); letter-spacing: 2px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: 15px; color: var(--text-main); font-weight: 500; position: relative; padding: 6px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--blue-500); transition: width 0.25s;
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav .nav-cta {
  background: var(--blue-500); color: #fff !important; padding: 9px 22px; border-radius: 999px;
}
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { background: var(--navy-700); }

.header-tools { display: flex; align-items: center; gap: 12px; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1.5px solid var(--blue-500); color: var(--blue-500);
  background: transparent; border-radius: 999px; padding: 6px 14px;
  font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.25s;
}
.lang-btn:hover { background: var(--blue-500); color: #fff; }

.menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.menu-btn span { width: 24px; height: 2.5px; background: var(--navy-800); border-radius: 2px; transition: 0.3s; }
.menu-btn.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============ 首屏 ============ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: radial-gradient(1200px 600px at 75% 20%, #14345c 0%, var(--navy-800) 55%, var(--navy-900) 100%);
  color: #fff; padding: calc(var(--header-h) + 40px) 0 80px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-nodes { width: 100%; height: 100%; }
.hero-content { position: relative; z-index: 2; max-width: 780px; }
.hero-badge {
  display: inline-block; font-size: 13px; letter-spacing: 1px;
  border: 1px solid rgba(125, 192, 255, 0.5); color: var(--blue-300);
  padding: 6px 16px; border-radius: 999px; margin-bottom: 24px;
  background: rgba(47, 127, 209, 0.12);
}
.hero h1 { font-size: clamp(28px, 4.4vw, 50px); line-height: 1.35; font-weight: 700; margin-bottom: 22px; }
.hero-sub { font-size: clamp(14px, 1.6vw, 17px); color: rgba(255, 255, 255, 0.78); max-width: 640px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.btn { display: inline-block; padding: 13px 34px; border-radius: 999px; font-size: 15px; font-weight: 600; transition: all 0.25s; }
.btn-primary { background: var(--blue-500); color: #fff; box-shadow: 0 8px 24px rgba(47, 127, 209, 0.4); }
.btn-primary:hover { background: var(--blue-400); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, 0.55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

.hero-stats { display: flex; gap: clamp(24px, 5vw, 64px); flex-wrap: wrap; }
.stat strong { font-size: clamp(26px, 3vw, 38px); font-weight: 700; color: var(--blue-300); display: block; line-height: 1.2; }
.stat span { font-size: 13px; color: rgba(255, 255, 255, 0.65); }

/* ============ 通用板块 ============ */
.section { padding: 90px 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-tag { font-size: 12px; letter-spacing: 4px; color: var(--blue-500); font-weight: 700; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); color: var(--navy-800); margin-top: 8px; }
.section-sub { color: var(--text-sub); max-width: 640px; margin: 14px auto 0; font-size: 15px; }

/* ============ 公司简介 ============ */
.about { background: var(--bg-light); }
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }
.about-text p { margin-bottom: 18px; color: var(--text-sub); font-size: 15.5px; }
.about-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.chip {
  background: #fff; border: 1px solid rgba(47, 127, 209, 0.35); color: var(--blue-500);
  font-size: 13px; padding: 7px 16px; border-radius: 999px; font-weight: 500;
}
.about-values { display: grid; gap: 18px; }
.value-card {
  background: #fff; border-radius: var(--radius); padding: 22px 24px;
  box-shadow: var(--shadow); display: flex; gap: 16px; align-items: flex-start;
  border-left: 4px solid var(--blue-500);
}
.value-icon { font-size: 26px; line-height: 1; }
.value-card h3 { font-size: 16px; color: var(--navy-800); margin-bottom: 4px; }
.value-card p { font-size: 13.5px; color: var(--text-sub); }

/* ============ 核心产品 ============ */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid rgba(18, 42, 71, 0.06);
  transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(8, 20, 38, 0.16); }
.product-img { aspect-ratio: 16 / 9; overflow: hidden; background: #0b1c33; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-img--icon { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #0b1c33, #14345c); }
.product-img--icon svg { width: 45%; height: auto; }
.product-body { padding: 20px 22px 24px; flex: 1; }
.product-body h3 { font-size: 17px; color: var(--navy-800); margin-bottom: 8px; }
.product-body p { font-size: 13.5px; color: var(--text-sub); }

/* ============ 解决方案 ============ */
.solutions { background: var(--bg-light); }
.solution-list { display: grid; gap: 30px; }
.solution-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.solution-card--flip .solution-img { order: 2; }
.solution-img { min-height: 280px; background: #081426; }
.solution-img img { width: 100%; height: 100%; object-fit: contain; }
.solution-body { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; }
.solution-no { font-size: 40px; font-weight: 800; color: rgba(47, 127, 209, 0.18); line-height: 1; }
.solution-body h3 { font-size: 21px; color: var(--navy-800); margin: 10px 0 12px; }
.solution-body p { font-size: 14.5px; color: var(--text-sub); }

/* ============ 用户案例 ============ */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.case-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid rgba(18, 42, 71, 0.06);
  transition: transform 0.3s; display: flex; flex-direction: column;
}
.case-card:hover { transform: translateY(-6px); }
.case-img { aspect-ratio: 16 / 9; overflow: hidden; background: #0b1c33; }
.case-img img { width: 100%; height: 100%; object-fit: cover; }
.case-body { padding: 22px 24px 26px; flex: 1; }
.case-tag {
  display: inline-block; font-size: 12px; color: var(--blue-500);
  background: rgba(47, 127, 209, 0.1); border-radius: 999px; padding: 4px 14px;
  font-weight: 600; margin-bottom: 12px;
}
.case-body h3 { font-size: 17px; color: var(--navy-800); margin-bottom: 8px; }
.case-body p { font-size: 13.5px; color: var(--text-sub); }

/* 更多落地案例（紧凑卡片） */
.cases-sub {
  text-align: center; font-size: 20px; color: var(--navy-800);
  margin: 56px 0 28px; position: relative; padding-top: 18px;
}
.cases-sub::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 48px; height: 3px; background: var(--blue-500); border-radius: 2px;
}
.case-grid--compact { gap: 18px; }
.case-card--img { overflow: hidden; }
.case-cap {
  padding: 13px 16px; font-size: 14px; font-weight: 600;
  color: var(--navy-800); text-align: center; line-height: 1.5;
}

/* ============ 联系我们 ============ */
.contact {
  background: radial-gradient(900px 400px at 50% 0%, #14345c 0%, var(--navy-800) 70%);
  color: #fff;
}
.contact .section-tag { color: var(--blue-300); }
.contact .section-head h2 { color: #fff; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.contact-card {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(125, 192, 255, 0.25);
  border-radius: var(--radius); padding: 36px 28px; text-align: center;
  transition: background 0.3s;
}
.contact-card:hover { background: rgba(255, 255, 255, 0.1); }
.contact-icon { font-size: 30px; margin-bottom: 14px; }
.contact-card h3 { font-size: 16px; color: var(--blue-300); margin-bottom: 10px; }
.contact-card p { font-size: 15px; color: rgba(255, 255, 255, 0.85); }
.contact-phone { font-size: 22px; font-weight: 700; color: #fff; letter-spacing: 1px; }
.contact-phone:hover { color: var(--blue-300); }

/* ============ 页脚 ============ */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, 0.6); padding: 30px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 14px; }
.footer-logo { height: 32px; }
.footer-copy { font-size: 13px; }
.footer-icp { font-size: 13px; color: rgba(255, 255, 255, 0.6); text-decoration: none; transition: color 0.2s; }
.footer-icp:hover { color: var(--blue-300); }

/* ============ 响应式 ============ */
@media (max-width: 960px) {
  .section { padding: 64px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .solution-body { padding: 30px 28px; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed; top: var(--header-h); right: -100%; width: min(78vw, 320px);
    height: calc(100vh - var(--header-h)); background: #fff;
    flex-direction: column; align-items: flex-start; padding: 36px 30px; gap: 24px;
    box-shadow: -10px 0 30px rgba(8, 20, 38, 0.15); transition: right 0.3s;
  }
  .nav.open { right: 0; }
  .nav a { font-size: 16px; }
  .menu-btn { display: flex; }
  .brand-text em { display: none; }

  .product-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .solution-card { grid-template-columns: 1fr; }
  .solution-card--flip .solution-img { order: 0; }
  .solution-img { min-height: 220px; }
  .hero-stats { gap: 26px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (min-width: 721px) {
  .menu-btn { display: none !important; }
}

/* ======= 企业荣誉 ======= */
.honors { background: var(--bg-light); }
.honor-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.honor-card {
  margin: 0; background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(18, 42, 71, 0.08);
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column;
}
.honor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 38px rgba(8, 20, 38, 0.16);
}
/* 统一图框：图片文件本身已统一为 1200x1200 (1:1) 白底画布，铺满后所有卡片视觉尺寸完全一致 */
.honor-img {
  aspect-ratio: 1 / 1; position: relative; overflow: hidden;
  background: #fff;
}
.honor-img img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.honor-cap {
  padding: 13px 16px; font-size: 14px; font-weight: 600;
  color: var(--navy-800); text-align: center; line-height: 1.5;
  border-top: 1px solid rgba(18, 42, 71, 0.07);
  min-height: 66px; display: flex; align-items: center; justify-content: center;
}

@media (max-width: 1080px) {
  .honor-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .honor-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .honor-img { padding: 10px; }
  .honor-cap { font-size: 12.5px; padding: 11px 10px; min-height: 58px; }
}
