:root {
  --bg: #ffffff;
  --bg-soft: #f3f4f6;
  --panel: #ffffff;
  --text: #1a2b3c;
  --text-2: #5b6b7c;
  --text-3: #93a3b3;
  --accent: #1d4699;
  --accent-2: #1d4699;
  --accent-deep: #1d4699;
  --accent-soft: #eef2fb;
  --shadow-sm: 0 2px 12px rgba(14, 42, 117, 0.07);
  --shadow-md: 0 8px 32px rgba(14, 42, 117, 0.11);
  --shadow-lg: 0 16px 48px rgba(14, 42, 117, 0.15);
  --radius: 16px;
  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.skip-link { position: fixed; z-index: 1000; left: 16px; top: -60px; padding: 10px 16px; background: #fff; color: var(--accent-deep); border-radius: 8px; box-shadow: var(--shadow-md); }
.skip-link:focus { top: 16px; }
.nav-toggle { display: none; border: 1px solid rgba(29,70,153,.2); background: rgba(255,255,255,.92); color: var(--text); padding: 8px 12px; border-radius: 8px; font: inherit; }

/* ---------- 背景 ---------- */
.grid-bg {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 70% 45% at 50% -5%, rgba(29, 70, 153, 0.14), transparent),
    radial-gradient(ellipse 50% 35% at 85% 105%, rgba(29, 70, 153, 0.08), transparent),
    var(--bg);
}

/* ---------- 导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 1px 0 rgba(29, 70, 153, 0.06);
}
.nav-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 24px;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img {
  height: 36px; width: auto;
  max-height: 36px; max-width: 180px;
  display: block; transition: opacity 0.3s ease;
}
/* 默认（浅色状态）显示主色 logo；首屏 overlay 未滚动时显示反色 */
.logo-light { display: none; }
.logo-main { display: block; }
.nav.overlay:not(.scrolled) .logo-light { display: block; }
.nav.overlay:not(.scrolled) .logo-main { display: none; }
.nav-links { display: flex; gap: 38px; font-size: 15px; color: var(--text-2); position: relative; }
.nav-links a { transition: color 0.2s; position: relative; padding: 4px 0; }
.nav-links a:hover, .nav-links a.active { color: var(--accent-deep); }
/* 滑动指示条：随 active 菜单项平滑移动 */
.nav-indicator {
  position: absolute; bottom: -2px; left: 0; width: 0;
  height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1), width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
/* 导航：首屏深蓝之上为透明白字，滚动后恢复白底 */
.nav { transition: background 0.35s, box-shadow 0.35s; }
.nav .logo, .nav .nav-links a { transition: color 0.35s; }
.nav.overlay { background: transparent; box-shadow: none; }
.nav.overlay .logo { color: #fff; }
.nav.overlay .nav-links a { color: rgba(255, 255, 255, 0.82); }
.nav.overlay .nav-links a:hover, .nav.overlay .nav-links a.active { color: #fff; }
.nav.overlay:not(.scrolled) .nav-indicator { background: #fff; }
.nav.overlay.scrolled .nav-indicator {
  background: #1d4699;
}
.nav.overlay.scrolled {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 1px 0 rgba(29, 70, 153, 0.06), 0 8px 30px rgba(29, 70, 153, 0.08);
}
.nav.overlay.scrolled .logo { color: var(--text); }
.nav.overlay.scrolled .nav-links a { color: var(--text-2); }
.nav.overlay.scrolled .nav-links a:hover, .nav.overlay.scrolled .nav-links a.active { color: var(--accent-deep); }

/* 下滑进入信息流：滚动渐显 */
.reveal { opacity: 0; transform: translateY(44px) scale(0.98); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); }

/* ---------- Hero（深蓝全屏首屏） ---------- */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 150px 24px 90px;
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 55% at 18% 0%, rgba(96, 165, 250, 0.45), transparent),
    radial-gradient(ellipse 50% 60% at 90% 100%, rgba(23, 37, 84, 0.55), transparent),
    linear-gradient(155deg, #0c1f59 0%, #0e2a75 42%, #123a92 72%, #1d4699 100%);
}
/* 背景呼吸：暗层透明度周期性起伏（不影响粒子与文字） */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: rgba(4, 10, 34, 0.5);
  animation: bgBreathe 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes bgBreathe {
  0%, 100% { opacity: 0.22; }
  50% { opacity: 0.55; }
}

.hero-inner {
  max-width: 1320px; margin: 0 auto; width: 100%;
  display: flex; align-items: center; gap: 40px;
  position: relative; z-index: 2;
}
/* 首屏背景粒子画布 */
#heroParticles {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
}
.hero-content { flex: 1; min-width: 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 18px; border-radius: 999px; font-size: 13px; font-weight: 500;
  color: #fff; background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  margin-bottom: 30px;
  animation: fadeUp 0.8s 0.1s both;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: #7dd3fc; animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: 0.3; } }
.hero h1 {
  font-size: clamp(38px, 5.2vw, 60px);
  line-height: 1.26; font-weight: 800; letter-spacing: 1px;
  max-width: 620px; color: #fff;
  animation: fadeUp 0.8s 0.25s both;
}
.hero h1 .grad {
  background: linear-gradient(120deg, #bae6fd, #e0f2fe 30%, #7dd3fc 55%, #ffffff 80%, #bae6fd);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradFlow 6s ease-in-out infinite;
}
@keyframes gradFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero p.sub {
  margin-top: 24px; max-width: 520px;
  font-size: 15.5px; color: rgba(255, 255, 255, 0.78);
  animation: fadeUp 0.8s 0.4s both;
}
.hero-actions {
  margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap;
  animation: fadeUp 0.8s 0.55s both;
}
.btn {
  padding: 14px 34px; border-radius: 999px; font-size: 15px; font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary {
  color: var(--accent-deep); background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3); }
.btn-ghost {
  color: #fff; background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.2); }
.hero-stats {
  margin-top: 72px; display: flex; gap: 64px; flex-wrap: wrap;
  padding-top: 36px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  animation: fadeUp 0.8s 0.7s both;
}
.stat .num { font-size: 32px; font-weight: 800; color: #fff; }
.stat .num sup { font-size: 16px; }
.stat .label { font-size: 13.5px; color: rgba(255, 255, 255, 0.62); margin-top: 2px; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Hero 右侧：流动代码（ALL IN AI） ---------- */
.hero-visual {
  flex: 0 0 520px; height: 520px;
  position: relative;
  animation: fadeUp 1s 0.5s both;
}
/* 终端卡片 */
.terminal {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 490px; max-width: 100%;
  border-radius: 16px; overflow: hidden;
  background: rgba(9, 20, 48, 0.62);
  backdrop-filter: blur(14px);
  box-shadow:
    inset 0 0 0 1px rgba(125, 211, 252, 0.22),
    0 24px 60px rgba(3, 10, 30, 0.5),
    0 0 80px rgba(56, 189, 248, 0.12);
  animation: termFloat 6s ease-in-out infinite;
}
@keyframes termFloat {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, calc(-50% - 12px)); }
}
/* 扫光 */
.terminal::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(186, 230, 253, 0.08) 48%, transparent 62%);
  background-size: 250% 100%;
  animation: shine 5.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shine {
  0%, 20% { background-position: 120% 0; }
  60%, 100% { background-position: -40% 0; }
}
.term-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 -1px 0 rgba(125, 211, 252, 0.14);
}
.term-bar i { width: 11px; height: 11px; border-radius: 50%; }
.term-bar i:nth-child(1) { background: #f87171; }
.term-bar i:nth-child(2) { background: #fbbf24; }
.term-bar i:nth-child(3) { background: #34d399; }
.term-bar span { margin-left: 10px; font-size: 13px; color: rgba(186, 230, 253, 0.6); font-family: Consolas, monospace; letter-spacing: 0.5px; }
.term-body {
  padding: 26px 28px 30px; margin: 0;
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 16px; line-height: 1.95;
  color: #dbeafe; white-space: pre-wrap; word-break: break-all;
  min-height: 380px;
}
.term-body .ln { display: block; }
.term-body .p { color: #5eead4; }            /* 提示符 $ */
.term-body .k { color: #7dd3fc; }            /* JSON key */
.term-body .s { color: #99f6e4; }            /* 字符串 */
.term-body .m { color: #fcd34d; font-weight: 700; text-shadow: 0 0 14px rgba(252, 211, 77, 0.45); } /* ALL IN AI */
.term-body .c { color: rgba(148, 197, 255, 0.55); }  /* 注释/弱化 */
.term-body .ok { color: #6ee7b7; }
.term-body .run { color: #93c5fd; }
.term-cursor {
  display: inline-block; width: 9px; height: 18px;
  background: #7dd3fc; vertical-align: -2px;
  animation: blink 1s steps(1) infinite;
  box-shadow: 0 0 10px rgba(125, 211, 252, 0.8);
}
@keyframes blink { 50% { opacity: 0; } }
/* 下滑指示 */
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255, 255, 255, 0.7); font-size: 12px; letter-spacing: 3px;
  opacity: 0.5;
  transition: opacity 0.5s ease, visibility 0.5s;
}
.scroll-cue.hide { opacity: 0; visibility: hidden; }
.scroll-cue .wheel {
  width: 24px; height: 38px; border-radius: 14px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
  position: relative;
}
.scroll-cue .wheel::before {
  content: ""; position: absolute; left: 50%; top: 7px;
  width: 4px; height: 8px; border-radius: 3px; background: #fff;
  transform: translateX(-50%);
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel {
  0% { opacity: 1; transform: translate(-50%, 0); }
  70% { opacity: 0; transform: translate(-50%, 12px); }
  100% { opacity: 0; transform: translate(-50%, 0); }
}

/* ---------- 通用 section（全屏分屏：min-height 100vh + 垂直居中） ---------- */
.section {
  padding: 110px 24px;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
}
.section.alt { background: var(--bg-soft); }
.section-inner { max-width: 1320px; margin: 0 auto; width: 100%; }
.section-products {
  background:
    radial-gradient(ellipse 55% 45% at 8% 10%, rgba(29, 70, 153, 0.10), transparent 70%),
    radial-gradient(ellipse 45% 40% at 92% 90%, rgba(18, 58, 146, 0.07), transparent 72%),
    linear-gradient(180deg, #f8f9fd 0%, #eef2fb 100%);
}
.section-news { background: #fff; }
.sec-head { max-width: 640px; margin-bottom: 60px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-tag {
  font-size: 13px; letter-spacing: 3px; color: var(--accent);
  text-transform: uppercase; font-weight: 600;
}
.sec-head h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; margin-top: 12px; line-height: 1.32; }
.sec-head p { margin-top: 16px; color: var(--text-2); font-size: 16px; }

/* ---------- 服务（居中三栏，图标 = 形状底图 + 线条图叠加，复用 changge.ltd 原资源） ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.svc-card {
  text-align: center;
  padding: 10px 12px 14px;
  background: transparent; border-radius: 0;
  box-shadow: none;
  transition: transform 0.25s;
}
.svc-card:hover { transform: translateY(-3px); }
.svc-icon {
  position: relative;
  width: 100px; height: 76px; margin: 0 auto 24px;
}
/* blob 形状底图（底层） */
.svc-icon .shape {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  transition: transform 0.3s;
}
/* 线条图标（顶层居中） */
.svc-icon .icon {
  position: absolute; left: 50%; top: 48%;
  transform: translate(-50%, -50%);
  width: 33px; height: auto;
  transition: transform 0.3s;
}
.svc-icon svg.icon { width: 33px; height: 33px; color: var(--accent); }
.svc-card:hover .svc-icon .shape { transform: translateY(-3px) rotate(-3deg); }
.svc-card:hover .svc-icon .icon { transform: translate(-50%, -50%) scale(1.08); }
.svc-card h3 { font-size: 18px; font-weight: 700; }
.svc-card p { margin-top: 16px; font-size: 14px; color: var(--text-2); line-height: 1.8; }

/* ---------- 解决方案（垂直 tabs，数据驱动：assets/data/solutions.json） ---------- */
.sol-vertical { display: flex; gap: 72px; }
.sol-vtabs { flex: 0 0 150px; display: flex; flex-direction: column; gap: 6px; }
.sol-vtabs .vtab {
  text-align: left; padding: 15px 0 15px 22px; cursor: pointer;
  font-size: 16px; font-weight: 600; color: var(--text-3);
  background: transparent; border: none; border-left: 3px solid transparent;
  font-family: var(--font); transition: all 0.25s;
}
.sol-vtabs .vtab:hover { color: var(--text); }
.sol-vtabs .vtab.active {
  color: var(--accent-deep);
  border-left-color: var(--accent);
  background: linear-gradient(90deg, var(--accent-soft), transparent 85%);
}
.sol-vpanels { flex: 1; min-width: 0; }
.sol-vpanel { display: none; grid-template-columns: repeat(2, 1fr); gap: 44px 56px; }
.sol-vpanel.active { display: grid; animation: fadeUp 0.5s both; }
.sol-vpanel .sol-item .sol-ic {
  width: 44px; height: 44px; margin-bottom: 18px;
  color: var(--accent);
}
.sol-vpanel .sol-item .sol-ic svg { width: 100%; height: 100%; }
.sol-vpanel .sol-item h3 { font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.sol-vpanel .sol-item p { font-size: 14px; color: var(--text-2); line-height: 1.85; }

/* ---------- 自研产品 ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.prod-card {
  border-radius: var(--radius);
  padding: 42px 38px; position: relative; overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.prod-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.prod-card .glow {
  position: absolute; width: 280px; height: 280px; border-radius: 50%;
  filter: blur(100px); opacity: 0.18; top: -100px; right: -80px;
  background: var(--accent-2); pointer-events: none;
}
.prod-tag { font-size: 12.5px; color: var(--accent-deep); letter-spacing: 2px; font-weight: 600; }
.prod-card h3 { font-size: 24px; font-weight: 800; margin-top: 10px; }
.prod-card p { margin-top: 14px; color: var(--text-2); font-size: 14.5px; }
.prod-feats { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.prod-feats span {
  font-size: 12.5px; padding: 6px 14px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-deep);
}

/* ---------- 团队 ---------- */
.team-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card {
  text-align: center; padding: 40px 24px;
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.team-card .t-icon {
  width: 62px; height: 62px; margin: 0 auto 20px; border-radius: 50%;
  background: var(--accent-soft);
  display: grid; place-items: center; color: var(--accent);
}
.team-card .t-icon svg { width: 28px; height: 28px; }
.team-card h4 { font-size: 16.5px; font-weight: 700; }
.team-card p { margin-top: 8px; font-size: 13.5px; color: var(--text-2); }

/* ---------- CTA 区（背景 + 呼吸同首屏，多边形漂浮保留） ---------- */
#contact {
  position: relative;
  min-height: 50vh;
  background:
    radial-gradient(ellipse 60% 55% at 18% 0%, rgba(96, 165, 250, 0.45), transparent),
    radial-gradient(ellipse 50% 60% at 90% 100%, rgba(23, 37, 84, 0.55), transparent),
    linear-gradient(155deg, #0c1f59 0%, #0e2a75 42%, #123a92 72%, #1d4699 100%);
}
/* 背景呼吸：暗层透明度起伏（同首屏 hero::before） */
#contact::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: rgba(4, 10, 34, 0.5);
  animation: contactBreathe 7s ease-in-out infinite;
}
@keyframes contactBreathe {
  0%, 100% { opacity: 0.22; }
  50% { opacity: 0.55; }
}
/* 不规则方形飘动 */
.contact-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.cs {
  position: absolute;
  border: 1.5px solid rgba(125, 211, 252, 0.35);
  background: rgba(99, 102, 241, 0.07);
  box-shadow: 0 0 14px rgba(125, 211, 252, 0.12);
  animation: shapeDrift 13s ease-in-out infinite;
}
.cs1 { width: 46px; height: 46px; top: 14%; left: 7%;  border-radius: 8px 2px 8px 2px; }
.cs2 { width: 30px; height: 30px; top: 20%; right: 9%; border-radius: 60% 20% 60% 20%; animation-delay: -3s; }
.cs3 { width: 62px; height: 40px; bottom: 18%; left: 13%; border-radius: 4px 14px 4px 14px; animation-delay: -6s; }
.cs4 { width: 24px; height: 34px; top: 42%; right: 5%; border-radius: 5px 12px 5px 12px; animation-delay: -9s; }
.cs5 { width: 40px; height: 40px; bottom: 12%; right: 20%; border-radius: 14px 3px 14px 3px; animation-delay: -2s; }
.cs6 { width: 28px; height: 28px; top: 64%; left: 4%;  border-radius: 3px 10px 3px 10px; animation-delay: -7s; }
.cs7 { width: 52px; height: 36px; top: 9%; left: 42%; border-radius: 35% 65% 35% 65%; animation-delay: -4s; }
.cs8 { width: 22px; height: 22px; bottom: 34%; left: 27%; border-radius: 7px 2px 7px 2px; animation-delay: -11s; }
@keyframes shapeDrift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(20px, -24px) rotate(8deg); }
  50% { transform: translate(-16px, 18px) rotate(-7deg); }
  75% { transform: translate(12px, 22px) rotate(6deg); }
}
#contact .section-inner { position: relative; z-index: 1; }
.cta-band {
  padding: 0; text-align: center;
  background: none; border-radius: 0;
  box-shadow: none;
}
.cta-band h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; color: #fff; }
.cta-band p { margin: 16px auto 36px; color: rgba(255, 255, 255, 0.85); max-width: 520px; }
.cta-band .btn-primary {
  background: #fff; color: var(--accent-deep);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.cta-band .btn-primary:hover { box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22); }

/* ---------- 页脚（深色 · 首页 50vh 末屏） ---------- */
.footer { padding: 64px 24px 36px; background: #1d2430; color: #cbd5e1; }
.footer-inner {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
}
.footer#siteFooter {
  min-height: 50vh;
  display: flex; flex-direction: column;
  padding: 0;
}
.footer#siteFooter .footer-inner {
  max-width: 1320px; margin: 0 auto; width: 100%;
  display: flex; flex-direction: column; flex: 1;
  padding: 56px 24px 32px;
}
.footer#siteFooter .footer-grid {
  flex: 1; align-content: center;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px;
}
.footer h5, .footer h2 { font-size: 15px; font-weight: 700; margin-bottom: 18px; color: #fff; }
.footer-col a { display: block; font-size: 14px; color: #94a3b8; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-brand p { margin-top: 14px; font-size: 13.5px; color: #94a3b8; max-width: 300px; }
.footer .logo-img { height: 40px; }
.footer-contact p { font-size: 14px; color: #94a3b8; margin-bottom: 10px; }
.footer-beian { display: inline-flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-beian a { color: #94a3b8; transition: color 0.2s; }
.footer-beian a:hover { color: #fff; }
.footer-beian .sep { color: #64748b; }
.footer-bottom {
  margin-top: 52px; padding-top: 26px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: #64748b;
}

/* ================= 新闻页（DeepSeek 式极简 · 浅色） ================= */
.news-hero { padding: 180px 24px 30px; }
.news-hero-inner { max-width: 1320px; margin: 0 auto; }
.news-hero h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; line-height: 1.3; }
.news-hero p { margin-top: 16px; color: var(--text-2); font-size: 16px; max-width: 560px; }
.news-list {
  width: calc(100% - 48px); max-width: 1320px; margin: 0 auto; padding: 40px 0 60px;
  display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 56px; row-gap: 0;
}
.news-item {
  display: block; padding: 34px 0; border-radius: 14px;
  border-top: 1px solid rgba(29, 70, 153, 0.08);
  transition: background 0.2s, transform 0.2s;
}
.news-item:nth-child(-n+2) { border-top: none; }
.news-item:hover { background: var(--accent-soft); transform: translateX(4px); }
.news-meta { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--text-3); }
.news-cat {
  color: var(--accent-deep); font-weight: 600; letter-spacing: 1px;
  padding: 3px 12px; border-radius: 999px;
  background: var(--accent-soft); font-size: 12px;
}
.news-item h2 { margin-top: 12px; font-size: 21px; font-weight: 700; line-height: 1.45; transition: color 0.2s; }
.news-item:hover h2 { color: var(--accent-deep); }
.news-item p { margin-top: 8px; font-size: 14.5px; color: var(--text-2); }
.news-more { text-align: center; padding: 20px 0 90px; }
.news-more a { font-size: 14.5px; color: var(--accent-deep); padding-bottom: 3px; box-shadow: inset 0 -1px 0 rgba(29, 70, 153, 0.35); transition: box-shadow 0.2s; }
.news-more a:hover { box-shadow: inset 0 -2px 0 var(--accent); }

/* ---------- 首页新闻章节（3 列网格） ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.news-grid .news-item { padding: 30px 10px; border-top: none; }
.news-grid .news-item h3 { font-size: 18px; font-weight: 700; line-height: 1.5; margin-top: 12px; transition: color 0.2s; }
.news-grid .news-item:hover h3 { color: var(--accent-deep); }
.news-grid .news-item p { margin-top: 8px; font-size: 14px; color: var(--text-2); }
#news .news-more { padding: 12px 0 0; }

/* ---------- 新闻详情 ---------- */
.article { max-width: 1320px; margin: 0 auto; padding: 180px 24px 90px; }
.article .news-meta { margin-bottom: 18px; }
.article h1 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; line-height: 1.4; max-width: 820px; }
.article-body { margin-top: 36px; max-width: 820px; font-size: 15.5px; color: #3d4f61; }
.article-body p { margin-bottom: 20px; }
.article-body h3 { margin: 36px 0 16px; font-size: 19px; color: var(--text); }
.article-body ul { margin: 0 0 20px 22px; }
.article-body li { margin-bottom: 8px; }
.article-back { display: inline-block; margin-top: 40px; font-size: 14px; color: var(--accent-deep); }
.article-back:hover { text-decoration: underline; }
.geo-summary { max-width: 820px; margin-top: 30px; padding: 22px 24px; border-left: 4px solid var(--accent); border-radius: 0 12px 12px 0; background: var(--accent-soft); }
.geo-summary h2 { font-size: 16px; margin-bottom: 6px; }
.geo-summary p { color: var(--text-2); }
.article-faq { max-width: 820px; margin-top: 48px; }
.article-faq h2 { font-size: 24px; margin-bottom: 16px; }
.article-faq details { border-top: 1px solid #e2e8f0; padding: 17px 0; }
.article-faq summary { cursor: pointer; font-weight: 650; }
.article-faq details p { margin-top: 10px; color: var(--text-2); }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 56px 20px; color: var(--text-3); }
.solutions-unavailable .sol-vertical::after { content: "解决方案数据暂时不可用"; display: block; padding: 40px; color: var(--text-3); text-align: center; }

/* ---------- 联系我们 ---------- */
.contact-page { max-width: 1120px; margin: 0 auto; padding: 150px 24px 100px; }
.contact-page-head { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: end; gap: 70px; margin-bottom: 46px; }
.contact-page-head h1 { margin-top: 10px; font-size: clamp(34px, 5vw, 54px); line-height: 1.2; }
.contact-page-head > div > p { margin-top: 16px; max-width: 580px; color: var(--text-2); font-size: 16px; }
.contact-direct { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border-radius: 14px; background: var(--accent-soft); color: var(--text-2); font-size: 13px; }
.contact-direct a { margin-bottom: 9px; color: var(--accent-deep); font-size: 16px; font-weight: 700; }
.contact-form-card { padding: clamp(28px, 5vw, 56px); border: 1px solid rgba(29,70,153,.1); border-radius: 20px; background: #fff; box-shadow: var(--shadow-md); }
.contact-form-intro { margin-bottom: 30px; }
.contact-form-intro h2 { font-size: 25px; }
.contact-form-intro p { margin-top: 6px; color: var(--text-3); font-size: 13px; }
.contact-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-form > div:not(.contact-form-grid):not(.contact-form-trap):not(.contact-form-submit), .contact-form-grid > div { margin-bottom: 22px; }
.contact-form label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 650; }
.contact-form input, .contact-form textarea { width: 100%; padding: 13px 15px; border: 1px solid #d8e1ea; border-radius: 10px; background: #fbfdff; color: var(--text); font: inherit; outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
.contact-form textarea { min-height: 190px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(29,70,153,.1); }
.contact-form ul { margin: 7px 0 0; padding: 0; list-style: none; color: #be123c; font-size: 13px; }
.contact-form-trap { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.contact-form-submit { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 8px; }
.contact-form-submit p { max-width: 520px; color: var(--text-3); font-size: 12.5px; }
.contact-form-submit .btn { border: 0; cursor: pointer; white-space: nowrap; }
.contact-success { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; padding: 16px 20px; border-radius: 12px; background: #ecfdf5; color: #047857; }
.contact-success strong { white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .team-points { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sol-vertical { flex-direction: column; gap: 28px; }
  .sol-vtabs { flex-direction: row; flex: none; gap: 0; }
  .sol-vtabs .vtab { border-left: none; border-bottom: 3px solid transparent; padding: 8px 18px; }
  .sol-vtabs .vtab.active { border-bottom-color: var(--accent); background: none; }
  .sol-vpanel { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { display: none; }
  .news-list { grid-template-columns: 1fr; column-gap: 0; }
  .news-item:nth-child(-n+2) { border-top: 1px solid rgba(29, 70, 153, 0.08); }
  .news-item:first-child { border-top: none; }
  .news-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .nav.overlay:not(.scrolled) .nav-toggle { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); }
  .nav-links { display: none; position: absolute; top: 60px; left: 20px; right: 20px; padding: 14px; border-radius: 12px; background: rgba(255,255,255,.98); box-shadow: var(--shadow-lg); flex-direction: column; gap: 0; }
  .nav-links.open { display: flex; }
  .nav-links a, .nav.overlay .nav-links a { color: var(--text-2); padding: 11px 8px; }
  .nav-links a.active, .nav.overlay .nav-links a.active { color: var(--accent-deep); }
  .contact-shapes { display: none; }
  .svc-grid, .prod-grid, .team-points { grid-template-columns: 1fr; }
  .hero-stats { gap: 30px; }
  .sol-tabs { flex-direction: column; }
  .section { padding: 70px 20px; }
  .news-grid { grid-template-columns: 1fr; }
  .footer#siteFooter .footer-grid, .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; }
  .contact-page { padding: 120px 18px 70px; }
  .contact-page-head, .contact-form-grid { grid-template-columns: 1fr; gap: 18px; }
  .contact-direct { margin-top: 10px; }
  .contact-form-submit { align-items: stretch; flex-direction: column; }
  .contact-form-submit .btn { text-align: center; }
}
