/* ============ 基础 ============ */
:root {
  --primary: #1f5fd6;
  --primary-dark: #1546a8;
  --accent: #16b8a6;
  --ink: #16233a;
  --muted: #5d6b82;
  --line: #e5eaf2;
  --bg: #ffffff;
  --bg-alt: #f6f8fc;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(22, 35, 58, .07);
  --max: 1160px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.75; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.container.narrow { width: min(820px, calc(100% - 48px)); }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 28px; border-radius: 8px; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: .2s; line-height: 1.4;
}
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.18); }
.btn-outline { background: #fff; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { transform: translateY(-1px); box-shadow: var(--shadow); }

/* ============ 页头 ============ */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; height: 72px; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; display: grid; place-items: center; font-size: 15px; font-weight: 800; letter-spacing: .5px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 18px; letter-spacing: .5px; }
.brand-text small { font-size: 11px; color: var(--muted); }
.brand-subrow { display: flex; align-items: center; gap: 8px; margin-top: 3px; }
.brand-text .brand-auth {
  font-size: 13px; font-style: normal; color: var(--primary); white-space: nowrap;
  background: #eef4ff; border-radius: 20px; padding: 2px 10px; line-height: 1.4;
}
.main-nav { display: flex; gap: 30px; margin-left: auto; }
.main-nav a { font-size: 15px; color: var(--ink); font-weight: 500; position: relative; padding: 6px 0; }
.main-nav a:hover, .main-nav a.active { color: var(--primary); }
.main-nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--primary); border-radius: 2px;
}
/* 导航下拉 */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: 4px; }
.nav-dropdown.active > a { color: var(--primary); }
.nav-dropdown.active > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--primary); border-radius: 2px;
}
.caret { font-size: 11px; transition: transform .2s; }
.nav-dropdown:hover .caret { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: 100%; left: -20px; min-width: 180px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: .2s; z-index: 50;
}
.nav-dropdown:hover .dropdown-menu, .nav-dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-menu a {
  display: block; padding: 10px 14px; border-radius: 8px; font-size: 14px; white-space: nowrap;
}
.dropdown-menu a:hover, .dropdown-menu a.current { background: #eaf1ff; color: var(--primary); }
.dropdown-menu a::after { display: none !important; }
.header-cta {
  margin-left: 8px; gap: 8px; padding: 9px 0;
  display: inline-flex; align-items: center;
  color: var(--primary);
}
.header-cta .cta-ico { flex: none; }
.header-cta .cta-phone { font-size: 17px; font-weight: 700; letter-spacing: .3px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; margin-left: auto; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ============ Hero ============ */
.hero { position: relative; overflow: hidden; background: #0b1a35; color: #fff; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 80% 20%, rgba(31,95,214,.45), transparent 60%),
    radial-gradient(600px 400px at 20% 90%, rgba(22,184,166,.22), transparent 60%),
    linear-gradient(135deg, #0b1a35, #142a52);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; padding: 100px 0 110px; }
.hero-tag { display: inline-block; font-size: 13px; padding: 6px 14px; border: 1px solid rgba(255,255,255,.25); border-radius: 20px; color: #bcd4ff; margin-bottom: 22px; }
.hero-copy h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.2; font-weight: 700; letter-spacing: 1px; }
.hero-copy h1 .accent { color: #4fe0cf; }
.hero-copy p { color: #c2cee2; font-size: 17px; margin: 24px 0 32px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-points { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 34px; font-size: 13px; color: #9fb2d0; }
.hero-visual { display: flex; justify-content: center; }
/* 首屏白色数据看板 */
.dash-card {
  width: 100%; max-width: 480px; background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 34px 80px rgba(3, 12, 30, .55);
  transform: perspective(1000px) rotateY(-7deg) rotateX(2deg);
  border: 1px solid rgba(255,255,255,.7);
}
.dash-head {
  background: #f7f9fd; padding: 11px 16px; display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid #eef2f8;
}
.dash-dots { display: inline-flex; gap: 6px; flex: none; }
.dash-dots i { width: 9px; height: 9px; border-radius: 50%; background: #d4deed; }
.dash-dots i:nth-child(1) { background: #ff6b6b; }
.dash-dots i:nth-child(2) { background: #ffc078; }
.dash-dots i:nth-child(3) { background: #51cf66; }
.dash-title { font-size: 12px; font-weight: 700; color: #2b3c58; white-space: nowrap; }
.dash-date { margin-left: auto; font-size: 10px; color: #93a1b7; white-space: nowrap; }
.dash-body { padding: 18px; }
.dash-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.dash-kpi {
  background: var(--bg-alt); border: 1px solid #eef2f8; border-radius: 10px;
  padding: 11px 10px; display: flex; flex-direction: column; gap: 2px;
}
.dash-kpi span { font-size: 10px; color: var(--muted); white-space: nowrap; }
.dash-kpi strong { font-size: 16px; color: var(--ink); line-height: 1.3; white-space: nowrap; }
.dash-kpi em { font-size: 10px; color: #14a085; font-style: normal; font-weight: 600; }
.dash-panels { display: grid; grid-template-columns: 1.7fr 1fr; gap: 12px; margin-top: 14px; }
.dash-panel { background: #fff; border: 1px solid #eef2f8; border-radius: 10px; padding: 12px 13px; }
.dash-panel-title { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.dash-panel-title strong { font-size: 12px; color: #2b3c58; }
.dash-panel-title span { font-size: 10px; color: #9aa8bd; }
.bar-chart {
  height: 108px; display: flex; align-items: flex-end; gap: 9px;
  background: repeating-linear-gradient(to top, #eef2f8 0 1px, transparent 1px 27px);
}
.bar-col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 5px; }
.bar-col i {
  display: block; width: 100%; max-width: 26px; height: var(--h);
  background: linear-gradient(180deg, #86b4fb, var(--primary));
  border-radius: 5px 5px 0 0;
}
.bar-col.hot i { background: linear-gradient(180deg, #4ddcc9, #16b8a6); }
.bar-col small { font-size: 9px; color: #9aa8bd; }
.ring-wrap { position: relative; width: 108px; height: 108px; margin: 2px auto 0; }
.ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 11; }
.ring-bg { stroke: #eaf0fa; }
.ring-fg {
  stroke: var(--primary); stroke-linecap: round;
  stroke-dasharray: 259; stroke-dashoffset: 36;
}
.ring-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-label strong { font-size: 22px; color: var(--ink); line-height: 1.1; }
.ring-label small { font-size: 10px; color: var(--muted); }
.dash-progress { margin-top: 14px; display: flex; flex-direction: column; gap: 9px; }
.prog-row { display: flex; align-items: center; gap: 10px; font-size: 10px; color: var(--muted); }
.prog-row span { width: 52px; flex: none; }
.prog-row .track { flex: 1; height: 7px; background: #eaf0fa; border-radius: 4px; overflow: hidden; }
.prog-row .track i { display: block; height: 100%; background: linear-gradient(90deg, #7fb0ff, var(--primary)); border-radius: 4px; }
.prog-row b { width: 30px; text-align: right; color: #2b3c58; font-size: 10px; }

/* ============ 通用区块 ============ */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; margin-bottom: 48px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--primary); letter-spacing: 2px; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(26px, 3.5vw, 36px); font-weight: 700; }
.section-head p { color: var(--muted); margin-top: 12px; }
.section-more { text-align: center; margin-top: 40px; }
.lead-p { font-size: 16px; line-height: 1.9; color: var(--muted); }
.variant-card { padding: 26px; }

/* ============ 卡片 ============ */
.card-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); }
.product-card, .article-card, .feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: .25s;
}
.product-card { display: block; }
.product-card:hover, .article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c9d8f0; }
.card-badge, .article-cat {
  display: inline-block; font-size: 12px; color: var(--primary); background: #eaf1ff;
  padding: 3px 12px; border-radius: 20px; margin-bottom: 16px; font-weight: 600;
}
.product-card h3, .article-card h3 { font-size: 19px; margin-bottom: 10px; }
.product-card p, .article-card p { color: var(--muted); font-size: 14px; }
.card-link { display: inline-block; margin-top: 18px; color: var(--primary); font-weight: 600; font-size: 14px; }
.feature-card { background: var(--bg-alt); border-color: transparent; }
.feature-card.small { padding: 22px; background: #fff; border-color: var(--line); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 10px; background: #eaf1ff; color: var(--primary);
  display: grid; place-items: center; font-size: 18px; font-weight: 700; margin-bottom: 18px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 14px; }
.article-cat { margin-bottom: 12px; }
.article-meta { display: block; color: #97a3b6; font-size: 12px; margin-top: 16px; }

/* ============ CTA ============ */
.cta-band { background: linear-gradient(120deg, var(--primary), var(--primary-dark)); color: #fff; padding: 60px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-inner h2 { font-size: 28px; margin-bottom: 8px; }
.cta-inner p { color: #cfe0ff; }

/* ============ 内页 hero ============ */
.page-hero { background: linear-gradient(135deg, #f4f8ff, #e9f1fd); padding: 72px 0 64px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(28px, 4vw, 40px); margin-top: 6px; }
.page-hero p { color: var(--muted); margin-top: 12px; font-size: 16px; }
.product-hero { background: linear-gradient(135deg, #0e2144, #173a75); color: #fff; border: 0; }
.product-hero .eyebrow { color: #6fe3d4; }
.product-hero p { color: #c2cee2; max-width: 720px; }
.product-hero .btn { margin-top: 26px; }

/* ============ 产品分组 ============ */
.product-group { margin-bottom: 56px; }
.group-title { font-size: 22px; margin-bottom: 24px; padding-left: 14px; border-left: 4px solid var(--primary); }
.product-card.large { padding: 30px; }

/* ============ 详情 ============ */
.detail-h2 { font-size: 22px; margin-bottom: 22px; }
.highlight-box { margin-top: 32px; background: #eaf1ff; border-radius: var(--radius); padding: 28px 30px; font-size: 18px; color: var(--primary-dark); font-weight: 600; position: relative; }
.highlight-mark { font-size: 40px; color: #b9cff5; line-height: 0; vertical-align: middle; margin-right: 6px; }
.prose-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; }
.prose-aside { display: flex; flex-direction: column; gap: 20px; }
.aside-card { background: var(--bg-alt); border-radius: var(--radius); padding: 24px; }
.aside-card.accent { background: #eaf1ff; }
.aside-card h4 { font-size: 16px; margin-bottom: 14px; }
.aside-card p, .aside-card li { color: var(--muted); font-size: 14px; }
.aside-card ul { list-style: none; }
.aside-card li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.aside-card li:last-child { border: 0; }
.aside-card li a:hover { color: var(--primary); }

/* ============ 正文排版 ============ */
.prose { font-size: 16px; color: #33415a; }
.prose h2 { font-size: 24px; margin: 34px 0 14px; color: var(--ink); }
.prose h3 { font-size: 19px; margin: 26px 0 10px; color: var(--ink); }
.prose p { margin: 14px 0; }
.prose ul, .prose ol { margin: 14px 0 14px 24px; }
.prose li { margin: 7px 0; }
.prose strong { color: var(--ink); }
.prose a { color: var(--primary); text-decoration: underline; }
.prose img { border-radius: 10px; margin: 18px 0; }

/* ============ 文章 ============ */
.category-nav { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.category-nav a { padding: 8px 20px; border-radius: 24px; background: var(--bg-alt); font-size: 14px; color: var(--muted); }
.category-nav a:hover, .category-nav a.active { background: var(--primary); color: #fff; }
.article-list { display: flex; flex-direction: column; }
.article-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 8px; border-bottom: 1px solid var(--line); transition: .2s; }
.article-row:hover { background: var(--bg-alt); padding-left: 18px; padding-right: 18px; }
.article-row h2 { font-size: 21px; margin-bottom: 8px; }
.article-row p { color: var(--muted); font-size: 14px; }
.article-row-arrow { font-size: 24px; color: var(--primary); flex-shrink: 0; }
.empty-note { color: var(--muted); text-align: center; padding: 60px 0; }
.article-top { padding: 56px 0 0; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.breadcrumb a:hover { color: var(--primary); }
.article-top h1 { font-size: clamp(28px, 4vw, 38px); line-height: 1.35; margin: 14px 0; }
.article-byline { color: #97a3b6; font-size: 13px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.article-section { padding-top: 44px; }
.article-back { display: flex; justify-content: space-between; align-items: center; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); }
.article-back > a:first-child { color: var(--primary); }

/* ============ 联系 ============ */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info h2 { font-size: 26px; margin-bottom: 10px; }
.contact-list { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-ico { width: 40px; height: 40px; border-radius: 10px; background: #eaf1ff; color: var(--primary); display: grid; place-items: center; font-weight: 700; flex-shrink: 0; }
.contact-item strong { font-size: 15px; }
.contact-item p { color: var(--muted); font-size: 14px; }
.contact-note { background: var(--bg-alt); border-radius: var(--radius); padding: 32px; }
.contact-note h3 { font-size: 17px; margin-bottom: 10px; }
.contact-note p { color: var(--muted); font-size: 14px; }
.wechat-card { text-align: center; }
.wechat-qr { display: block; width: 220px; max-width: 100%; height: auto; margin: 16px auto 12px; border-radius: 12px; background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.wechat-tip { font-size: 13px !important; margin-top: 0; }

/* ============ 404 ============ */
.notfound { text-align: center; padding: 120px 0; }
.notfound-code { font-size: 120px; font-weight: 800; color: #e6edfa; line-height: 1; }
.notfound h1 { font-size: 32px; margin: 12px 0; }
.notfound p { color: var(--muted); margin-bottom: 28px; }

/* ============ 页脚 ============ */
.site-footer { background: #0d1b34; color: #9fb0cc; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.brand-light .brand-text strong { color: #fff; }
.footer-brand p { font-size: 14px; margin-top: 18px; max-width: 260px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.footer-col a, .footer-col p { display: block; font-size: 14px; margin-bottom: 10px; }
.footer-col a:hover { color: #4fe0cf; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; text-align: center; font-size: 13px; }
.footer-bottom a { color: #9fb0cc; }

/* ============ 响应式 ============ */
@media (max-width: 900px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; gap: 0; padding: 12px 24px; box-shadow: var(--shadow); border-bottom: 1px solid var(--line);
  }
  .main-nav.open a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav-dropdown > a { border-bottom: 1px solid var(--line); }
  .dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; padding: 0 0 8px 16px; min-width: 0; display: none;
  }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .dropdown-menu a { padding: 10px 14px; font-size: 14px; border-bottom: 0; }
  .hero-inner { grid-template-columns: 1fr; padding: 70px 0 80px; gap: 40px; }
  .hero-visual { display: none; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .prose-layout, .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 560px) {
  .container { width: min(var(--max), calc(100% - 32px)); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: 36px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
