/* ==========================================================================
   安讯软件官网 · 现代化重构样式（site.css）
   取代 amazeui/style.css/main.css 组合，零框架依赖
   ========================================================================== */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-soft: #eff6ff;
  --navy: #0b1f42;
  --navy-2: #122a56;
  --ink: #0f172a;
  --body: #475569;
  --muted: #7c8aa0;
  --line: #e5ebf4;
  --bg: #ffffff;
  --bg-soft: #f6f9fd;
  --accent: #0ea5e9;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(15, 31, 63, .06);
  --shadow-md: 0 8px 28px rgba(15, 31, 63, .08);
  --shadow-lg: 0 18px 50px rgba(15, 31, 63, .14);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 { color: var(--ink); font-weight: 600; line-height: 1.35; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 42px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > li { position: relative; }
.main-nav > li > a {
  display: block; padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: 15px; color: #33415c; font-weight: 500; transition: all .2s;
}
.main-nav > li > a:hover { color: var(--primary); background: var(--primary-soft); }
.main-nav .nav-cta-mobile { display: none; }
.main-nav > li.is-active > a { color: var(--primary); font-weight: 600; }
.main-nav > li.is-active > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px;
  height: 2px; border-radius: 2px; background: var(--primary);
}

.header-cta { flex-shrink: 0; }
.header-cta .tel { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); font-size: 15px; }
.header-cta .tel svg { color: var(--primary); }

.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: #fff; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .25s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 26px; border-radius: 10px; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: all .2s; line-height: 1.4;
}
.btn svg { flex-shrink: 0; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(37, 99, 235, .28); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(37, 99, 235, .34); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: #eaf1ff; color: var(--primary-dark); }
.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost-light:hover { background: rgba(255,255,255,.22); color: #fff; }
.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 12px; }

/* ---------------- 首页 Hero ---------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(37, 99, 235, .10), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(14, 165, 233, .08), transparent 60%),
    linear-gradient(180deg, #f3f7ff 0%, #fbfdff 100%);
  border-bottom: 1px solid var(--line);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 84px 0 96px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 18px; border-radius: 999px; margin-bottom: 22px;
  background: #fff; border: 1px solid #dbe6fb; color: var(--primary);
  font-size: 13.5px; font-weight: 500; box-shadow: var(--shadow-sm);
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-size: 42px; line-height: 1.28; letter-spacing: -0.5px; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--primary); position: relative; }
.hero-sub { font-size: 17.5px; color: var(--body); max-width: 520px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stat .num { font-size: 26px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.hero-stat .num small { font-size: 15px; font-weight: 600; color: var(--primary); margin-left: 2px; }
.hero-stat .lab { font-size: 13.5px; color: var(--muted); margin-top: 2px; }

.hero-visual { position: relative; }
.hero-shot {
  position: relative; border-radius: 16px; overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.hero-shot .browser {
  display: flex; align-items: center; gap: 6px; padding: 11px 14px;
  background: #f1f5fb; border-bottom: 1px solid var(--line);
}
.hero-shot .browser i { width: 10px; height: 10px; border-radius: 50%; background: #d3dce9; }
.hero-shot .browser i:nth-child(1) { background: #f87171; }
.hero-shot .browser i:nth-child(2) { background: #fbbf24; }
.hero-shot .browser i:nth-child(3) { background: #34d399; }
.hero-shot .browser .url {
  flex: 1; margin-left: 8px; height: 20px; border-radius: 5px;
  background: #fff; border: 1px solid var(--line);
  font-size: 11px; color: var(--muted); display: flex; align-items: center; padding: 0 10px;
}
.hero-shot img { width: 100%; }

.hero-chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 16px; box-shadow: var(--shadow-md); font-size: 13.5px;
}
.hero-chip strong { color: var(--ink); font-size: 14px; display: block; line-height: 1.3; }
.hero-chip span { color: var(--muted); }
.hero-chip .ic {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.hero-chip.chip-1 { left: -30px; bottom: -20px; }
.hero-chip.chip-1 .ic { background: linear-gradient(135deg, #2563eb, #0ea5e9); }
.hero-chip.chip-2 { right: -28px; top: -26px; }
.hero-chip.chip-2 .ic { background: linear-gradient(135deg, #059669, #34d399); }

/* ---------------- 内页页头 ---------------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(120deg, #10265a 0%, #1a45a2 55%, #2563eb 100%);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 260px at 90% -40%, rgba(255,255,255,.14), transparent 60%),
    radial-gradient(400px 200px at 10% 130%, rgba(14,165,233,.25), transparent 60%);
}
.page-hero .container { position: relative; padding-top: 56px; padding-bottom: 56px; }
.page-hero h1 { color: #fff; font-size: 32px; margin-bottom: 8px; }
.page-hero .sub { color: rgba(255,255,255,.75); font-size: 15.5px; margin-bottom: 18px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,.65); }
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .5; }

/* ---------------- 区块 ---------------- */
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head .eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 3px;
  color: var(--primary); text-transform: uppercase; margin-bottom: 12px;
}
.section-head h2 { font-size: 32px; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 16px; }
.section-head.align-left { text-align: left; margin-left: 0; }

/* ---------------- 产品/方案卡片 ---------------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: all .25s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cddbf3; }
.card .ic {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 6px 14px rgba(37, 99, 235, .25);
}
.card .ic.ic-green { background: linear-gradient(135deg, #059669, #34d399); box-shadow: 0 6px 14px rgba(5,150,105,.25); }
.card .ic.ic-orange { background: linear-gradient(135deg, #d97706, #fbbf24); box-shadow: 0 6px 14px rgba(217,119,6,.25); }
.card .ic.ic-violet { background: linear-gradient(135deg, #7c3aed, #a78bfa); box-shadow: 0 6px 14px rgba(124,58,237,.25); }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card h3 a { color: inherit; }
.card p { font-size: 14.5px; color: var(--body); flex: 1; }
.card .more { margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; }
.card .more:hover { gap: 10px; }
.card .more { transition: gap .2s; }

/* 产品展示页大图卡片 */
.product-item {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  padding: 56px 0;
}
.product-item + .product-item { border-top: 1px solid var(--line); }
.product-item .shot {
  border-radius: 12px; border: 1px solid var(--line); overflow: hidden;
  background: #fff; box-shadow: var(--shadow-md); transition: transform .25s;
}
.product-item:hover .shot { transform: translateY(-4px); }
.product-item .tag {
  display: inline-block; padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
  background: var(--primary-soft); color: var(--primary); font-size: 13px; font-weight: 600;
}
.product-item h2 { font-size: 26px; margin-bottom: 6px; }
.product-item .en { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.product-item .desc { margin-bottom: 20px; }
.product-item .meta { display: flex; flex-wrap: wrap; gap: 10px; }
.product-item .meta a {
  font-size: 13.5px; padding: 8px 16px; border-radius: 8px;
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink); font-weight: 500;
}
.product-item .meta a:hover { border-color: var(--primary); color: var(--primary); }
.product-item .p-text { order: 1; }
.product-item .shot { order: 2; }
.product-item.flip .p-text { order: 2; }
.product-item.flip .shot { order: 1; }
@media (max-width: 768px) {
  .product-item .p-text, .product-item .shot,
  .product-item.flip .p-text, .product-item.flip .shot { order: initial; }
}

/* ---------------- 数据条 ---------------- */
.stats-band {
  background: linear-gradient(120deg, #0b1f42, #1a45a2);
  color: #fff; border-radius: 20px;
  padding: 44px 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  position: relative; overflow: hidden;
}
.stats-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 200px at 90% -30%, rgba(255,255,255,.12), transparent 60%);
}
.stats-band .stat { text-align: center; position: relative; }
.stats-band .num { font-size: 36px; font-weight: 700; line-height: 1.2; }
.stats-band .num small { font-size: 18px; margin-left: 2px; }
.stats-band .lab { font-size: 14px; color: rgba(255,255,255,.72); margin-top: 6px; }

/* ---------------- 新闻卡片 ---------------- */
.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all .25s; display: flex; flex-direction: column; height: 100%;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cddbf3; }
.news-card .pic { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--bg-soft); }
.news-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.news-card:hover .pic img { transform: scale(1.04); }
.news-card .body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.news-card .date { font-size: 13px; color: var(--muted); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.news-card h3 { font-size: 16.5px; line-height: 1.5; margin-bottom: 8px; }
.news-card h3 a { color: var(--ink); }
.news-card h3 a:hover { color: var(--primary); }
.news-card p { font-size: 14px; color: var(--body); flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------------- 客户 Logo 墙 ---------------- */
.clients-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.clients-grid .cl {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  height: 92px; display: flex; align-items: center; justify-content: center;
  padding: 14px; filter: grayscale(1); opacity: .72; transition: all .25s;
}
.clients-grid .cl:hover { filter: grayscale(0); opacity: 1; border-color: #cddbf3; box-shadow: var(--shadow-sm); }
.clients-grid .cl img { max-height: 100%; max-width: 100%; object-fit: contain; }

/* ---------------- CTA 横幅 ---------------- */
.cta-band { padding: 76px 0; }
.cta-inner {
  position: relative; overflow: hidden; border-radius: 20px; color: #fff;
  background: linear-gradient(120deg, #10265a, #1a45a2 60%, #2563eb);
  padding: 56px 56px; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.cta-inner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 260px at 85% -20%, rgba(255,255,255,.14), transparent 60%);
}
.cta-inner h2 { color: #fff; font-size: 28px; margin-bottom: 10px; position: relative; }
.cta-inner p { color: rgba(255,255,255,.78); position: relative; }
.cta-inner .actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; }

/* ---------------- 页脚 ---------------- */
.site-footer { background: #0a1830; color: rgba(255,255,255,.62); font-size: 14px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 44px;
  padding: 64px 0 48px;
}
.footer-brand img { height: 38px; margin-bottom: 18px; }
.footer-brand p { font-size: 13.5px; line-height: 1.8; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; font-weight: 600; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.62); font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; line-height: 1.6; align-items: flex-start; }
.footer-contact svg { flex-shrink: 0; margin-top: 4px; color: rgba(255,255,255,.45); }
.footer-contact a { color: rgba(255,255,255,.78); }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0; display: flex; justify-content: space-between; align-items: center;
  gap: 12px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: #fff; }

/* ---------------- Tabs（解决方案页） ---------------- */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 44px; }
.tabs button {
  padding: 10px 22px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; color: var(--body); font-size: 14.5px; font-weight: 500;
  cursor: pointer; transition: all .2s; font-family: var(--font);
}
.tabs button:hover { border-color: var(--primary); color: var(--primary); }
.tabs button.is-active {
  background: var(--primary); border-color: var(--primary); color: #fff;
  box-shadow: 0 6px 16px rgba(37, 99, 235, .3);
}
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------------- 长文排版（方案/新闻详情） ---------------- */
.prose { max-width: 860px; margin: 0 auto; }
.prose h2 { font-size: 26px; margin: 48px 0 18px; padding-left: 14px; border-left: 4px solid var(--primary); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin: 34px 0 14px; }
.prose h4 { font-size: 16px; margin: 26px 0 10px; color: var(--ink); }
.prose p { margin-bottom: 14px; }
.prose img { border-radius: 10px; border: 1px solid var(--line); margin: 22px auto; box-shadow: var(--shadow-sm); }
.prose ul.checklist { margin: 14px 0 20px; }
.prose ul.checklist li { position: relative; padding-left: 30px; margin-bottom: 9px; }
.prose ul.checklist li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 17px; height: 17px;
  border-radius: 50%; background: var(--primary-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.prose .note {
  background: var(--primary-soft); border: 1px solid #d4e2fb; border-radius: 10px;
  padding: 16px 20px; font-size: 14.5px; color: #1e40af; margin: 20px 0;
}

/* 带图标简介块（方案页头部） */
.intro-split { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: start; margin-bottom: 8px; }
.intro-split .side-pic {
  border-radius: 12px; border: 1px solid var(--line); background: #fff;
  padding: 26px; box-shadow: var(--shadow-sm); text-align: center;
}
.intro-split .side-pic img { margin: 0 auto; }

/* ---------------- 服务流程 ---------------- */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; counter-increment: step;
}
.step::before {
  content: "0" counter(step); font-size: 40px; font-weight: 700; line-height: 1;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 14px; opacity: .9;
}
.step h3 { font-size: 18px; margin-bottom: 10px; }
.step ul.checklist li { position: relative; padding-left: 26px; margin-bottom: 8px; font-size: 14px; }
.step ul.checklist li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 15px; height: 15px;
  border-radius: 50%; background: var(--primary-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

/* ---------------- 服务流程图（矢量重绘） ---------------- */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; counter-reset: flowstep; }
.flow-step { position: relative; text-align: center; padding: 0 10px; counter-increment: flowstep; }
.flow-step .ic {
  position: relative; width: 64px; height: 64px; margin: 0 auto 14px;
  border-radius: 18px; color: #fff;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgba(37, 99, 235, .28);
}
.flow-step:nth-child(2) .ic { background: linear-gradient(135deg, #0ea5e9, #22d3ee); }
.flow-step:nth-child(3) .ic { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }
.flow-step:nth-child(4) .ic { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.flow-step:nth-child(5) .ic { background: linear-gradient(135deg, #059669, #34d399); }
.flow-step:nth-child(6) .ic { background: linear-gradient(135deg, #ec4899, #f472b6); }
.flow-step .ic::after {
  content: counter(flowstep); position: absolute; top: -6px; right: -6px;
  width: 22px; height: 22px; border-radius: 50%; font-size: 12px; font-weight: 700;
  background: #fff; color: var(--primary); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.flow-step:not(:last-child)::before {
  content: ""; position: absolute; top: 32px; left: calc(50% + 44px); right: calc(-50% + 44px);
  height: 2px; z-index: 0;
  background: repeating-linear-gradient(90deg, #c3d4f0 0 8px, transparent 8px 14px);
}
.flow-step:not(:last-child)::after {
  content: ""; position: absolute; top: 27px; right: calc(-50% + 36px);
  width: 0; height: 0; z-index: 0;
  border-left: 8px solid #c3d4f0; border-top: 5px solid transparent; border-bottom: 5px solid transparent;
}
.flow-step h3 { font-size: 16.5px; margin-bottom: 4px; }
.flow-step p { font-size: 13px; color: var(--muted); line-height: 1.8; }

@media (max-width: 1024px) {
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .flow-step:nth-child(3)::before, .flow-step:nth-child(3)::after { display: none; }
}
@media (max-width: 640px) {
  .flow { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .flow-step:nth-child(2n)::before, .flow-step:nth-child(2n)::after { display: none; }
  .flow-step .ic { width: 56px; height: 56px; }
}

/* ---------------- 联系方式卡片 ---------------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; text-align: center; transition: all .25s;
}
.contact-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.contact-card .ic {
  width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 14px;
  background: var(--primary-soft); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.contact-card h3 { font-size: 17px; margin-bottom: 6px; }
.contact-card p { font-size: 14px; color: var(--body); }
.contact-card .val { font-size: 19px; font-weight: 700; color: var(--ink); margin: 4px 0 2px; }

/* ---------------- 新闻列表页 ---------------- */
.news-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.news-page-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.side-box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; position: sticky; top: 96px;
}
.side-box h3 { font-size: 16px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.side-box .hot-item { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.side-box .hot-item:last-child { border-bottom: 0; }
.side-box .hot-item a { color: var(--ink); font-size: 14.5px; font-weight: 500; line-height: 1.55; }
.side-box .hot-item a:hover { color: var(--primary); }
.side-box .hot-item p { font-size: 13px; color: var(--muted); margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.pagination { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 40px; }
.pagination li a {
  display: block; min-width: 38px; height: 38px; line-height: 36px; text-align: center;
  padding: 0 12px; border-radius: 8px; border: 1px solid var(--line);
  background: #fff; color: var(--body); font-size: 14px; transition: all .2s;
}
.pagination li a:hover { border-color: var(--primary); color: var(--primary); }

/* ---------------- 文章页 ---------------- */
.article-head { max-width: 860px; margin: 0 auto 28px; text-align: center; }
.article-head h1 { font-size: 30px; margin-bottom: 14px; }
.article-head .meta { display: flex; justify-content: center; gap: 22px; color: var(--muted); font-size: 13.5px; flex-wrap: wrap; }
.article-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 48px 52px; box-shadow: var(--shadow-sm);
}

/* ---------------- 关于页 ---------------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; text-align: center; transition: all .25s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-card .ic {
  width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgba(37, 99, 235, .25);
}
.value-card h3 { font-size: 18px; margin-bottom: 6px; }
.value-card .en { font-size: 12.5px; color: var(--muted); letter-spacing: 1px; margin-bottom: 12px; }

/* ---------------- Hero 矢量甘特图产品示意 ---------------- */
.gantt { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.gantt-top {
  display: flex; align-items: center; gap: 14px; padding: 13px 18px;
  border-bottom: 1px solid var(--line); background: #fbfcfe;
}
.gantt-project { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.gantt-project .g-dot { width: 9px; height: 9px; border-radius: 3px; background: linear-gradient(135deg, var(--primary), var(--accent)); }
.gantt-team { display: flex; padding-left: 4px; }
.gb-avatar {
  width: 26px; height: 26px; border-radius: 50%; margin-left: -8px;
  background: var(--c, #94a3b8); color: #fff; font-size: 12px; font-style: normal;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff; box-shadow: var(--shadow-sm);
}
.gb-avatar:first-child { margin-left: 0; }
.gb-avatar.more { background: #e2e8f0; color: #64748b; font-weight: 600; }
.gantt-pill {
  margin-left: auto; font-size: 12.5px; font-weight: 600; color: #059669;
  background: #ecfdf5; border: 1px solid #d1fae5; padding: 4px 12px; border-radius: 999px;
}
.gantt-main { display: grid; grid-template-columns: 96px 1fr; }
.gantt-names { display: grid; grid-auto-rows: 46px; border-right: 1px solid var(--line); }
.gantt-names .g-head-cell {
  font-size: 11.5px; color: var(--muted); letter-spacing: 1px;
  display: flex; align-items: flex-end; padding: 0 12px 10px 12px;
}
.gantt-names span:not(.g-head-cell) {
  font-size: 12.5px; color: var(--body); display: flex; align-items: center; padding: 0 12px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gantt-chart { position: relative; display: grid; grid-auto-rows: 46px; padding: 0 10px; }
.gantt-chart .g-weeks {
  position: absolute; left: 10px; right: 10px; top: 0; height: 34px;
  display: flex; font-size: 11px; color: var(--muted); z-index: 2;
}
.gantt-chart .g-weeks i { flex: 1; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 10px; font-style: normal; }
.gantt-gridlines {
  position: absolute; left: 10px; right: 10px; top: 34px; bottom: 0;
  display: flex; z-index: 0; pointer-events: none;
}
.gantt-gridlines i { flex: 1; border-left: 1px dashed #dbe4f2; }
.g-row { position: relative; z-index: 1; }
.g-bar {
  position: absolute; left: var(--l); top: 50%; transform: translateY(-50%);
  width: var(--w); height: 15px; border-radius: 999px; background: #eef2f9; overflow: hidden;
}
.g-fill {
  position: absolute; left: 0; top: 0; bottom: 0; width: var(--p);
  border-radius: 999px; background: var(--c1, var(--primary));
  animation: gfill 1s cubic-bezier(.25, .8, .3, 1) both; animation-delay: var(--d, 0s);
}
.g-fill.fill-green { --c1: #10b981; }
.g-fill.fill-blue { --c1: #3b82f6; }
.g-fill.fill-sky { --c1: #0ea5e9; }
.g-fill.fill-violet { --c1: #8b5cf6; }
.g-fill.fill-gray { --c1: #cbd5e1; }
@keyframes gfill { from { width: 0; } }
.g-ms {
  position: absolute; left: var(--l); top: 50%; width: 12px; height: 12px;
  transform: translateY(-50%) rotate(45deg); background: #f59e0b; border-radius: 3px;
  box-shadow: 0 3px 10px rgba(245, 158, 11, .45);
}
.gantt-today {
  position: absolute; top: 30px; bottom: 8px; left: 58%; width: 2px; z-index: 2;
  background: linear-gradient(180deg, rgba(248, 113, 113, .95), rgba(248, 113, 113, .2));
}
.gantt-today::before {
  content: ""; position: absolute; top: -2px; left: 50%; transform: translateX(-50%);
  width: 8px; height: 8px; border-radius: 50%; background: #f87171;
  animation: pulse 2s ease-out infinite;
}
.gantt-today::after {
  content: "今天"; position: absolute; top: -1px; left: 8px;
  font-size: 10.5px; color: #f87171; font-weight: 600; white-space: nowrap;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(248, 113, 113, .5); }
  80%, 100% { box-shadow: 0 0 0 8px rgba(248, 113, 113, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .g-fill { animation: none; }
  .gantt-today::before { animation: none; }
}

/* 卡片价值句强调 */
.card p strong { color: var(--ink); font-weight: 600; }

@media (max-width: 1024px) {
  .gantt-main { grid-template-columns: 84px 1fr; }
  .gantt-names { grid-auto-rows: 42px; }
  .gantt-chart { grid-auto-rows: 42px; }
}
@media (max-width: 480px) {
  .gantt-top { gap: 8px; padding: 10px 12px; }
  .gantt-team { display: none; }
  .gantt-main { grid-template-columns: 70px 1fr; }
  .gantt-names span:not(.g-head-cell) { padding: 0 6px; font-size: 11.5px; }
  .gantt-chart { padding: 0 6px; }
  .gantt-today::after { display: none; }
}

/* ---------------- 滚动进场动画 ---------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .hero h1 { font-size: 34px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; padding: 60px 0 72px; }
  .hero-sub { max-width: 100%; }
  .hero-chip.chip-1 { left: 8px; bottom: 8px; }
  .hero-chip.chip-2 { right: 8px; top: 8px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(4, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .intro-split { grid-template-columns: 1fr; }
  .intro-split .side-pic { max-width: 340px; }
  .news-layout { grid-template-columns: 1fr; }
  .side-box { position: static; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .section-head h2 { font-size: 26px; }
  .hero h1 { font-size: 29px; }
  .hero-stats { gap: 26px; }
  .hero-stat .num { font-size: 22px; }
  .hero-chip { display: none; }
  .product-item { grid-template-columns: 1fr; gap: 26px; padding: 40px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .news-page-grid { grid-template-columns: 1fr; }
  .article-card { padding: 30px 22px; }
  .article-head h1 { font-size: 23px; }
  .page-hero h1 { font-size: 25px; }
  .page-hero .container { padding-top: 40px; padding-bottom: 40px; }
  .cta-inner { padding: 40px 28px; }
  .cta-inner h2 { font-size: 22px; }

  /* 移动端导航 */
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 72px;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg); flex-direction: column; align-items: stretch;
    padding: 12px 20px 20px; gap: 2px;
  }
  .main-nav.is-open { display: flex; }
  .main-nav > li > a { padding: 13px 12px; font-size: 15.5px; border-radius: 8px; }
  .main-nav > li.is-active > a::after { display: none; }
  .main-nav > li.is-active > a { background: var(--primary-soft); }
  .main-nav .nav-cta-mobile { display: block; margin-top: 10px; }
  .main-nav .nav-cta-mobile a {
    display: block; text-align: center; background: var(--primary); color: #fff;
    border-radius: 10px; padding: 12px; font-weight: 600;
  }
}

@media (max-width: 640px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .grid-4 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .clients-grid .cl { height: 74px; }
  .stats-band { padding: 34px 22px; }
  .stats-band .num { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding: 48px 0 36px; }
}

/* 打印与超宽屏 */
@media (min-width: 1600px) {
  .container { max-width: 1280px; }
}
