/* =========================================================
   中锐官网 · 全局样式（ZR 科技蓝品牌体系）
   配色来源：《中锐ERP界面美化设计方案（ZR科技蓝）》
   ========================================================= */

:root {
  /* 品牌主色阶 */
  --zr-blue-900: #0E234E;
  --zr-blue-800: #132B5E;
  --zr-blue-700: #1D4FA3;
  --zr-blue-600: #2E7BD6;
  --zr-blue-500: #4FA8E8;
  --zr-blue-100: #DCEBFA;
  --zr-blue-50:  #EDF3FD;

  /* 中性与背景 */
  --bg-page: #F3F6FB;
  --bg-panel: #FFFFFF;
  --bg-head:  #F7F9FC;

  /* 文字 */
  --txt:   #17233B;
  --txt-2: #4A5872;
  --txt-3: #8A96AC;

  /* 边框 */
  --bd:   #DEE5F0;
  --bd-2: #C8D3E6;

  /* 状态/辅助 */
  --ok:   #0F8A62;
  --warn: #B06A0A;
  --err:  #C22A22;
  --info: #2E7BD6;

  /* 圆角与阴影 */
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 6px 24px rgba(14, 35, 78, .08);
  --shadow-hover: 0 12px 32px rgba(14, 35, 78, .14);

  --maxw: 1180px;
  --header-h: 64px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--txt);
  background: var(--bg-page);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===================== 顶部导航 ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--bd);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: .5px;
}
.brand .brand-logo {
  height: 36px; width: auto; flex: none;
  filter: drop-shadow(0 4px 10px rgba(14, 35, 78, .22));
}
.brand .brand-mark { height: 27px; width: auto; flex: none; }
.brand .brand-sub { color: var(--txt-3); font-weight: 500; font-size: 13px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  color: var(--txt-2);
  font-weight: 600;
  font-size: 15px;
  padding: 6px 2px;
  position: relative;
  transition: color .2s;
}
.nav a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--zr-blue-600);
  transition: width .2s;
}
.nav a:hover, .nav a.active { color: var(--zr-blue-700); }
.nav a:hover::after, .nav a.active::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--txt); margin: 4px auto;
  transition: .25s;
}

/* ===================== 按钮 ===================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700; font-size: 15px;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--zr-blue-600), var(--zr-blue-700));
  color: #fff;
  box-shadow: 0 8px 20px rgba(29, 79, 163, .3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(29, 79, 163, .4); }
.btn-ghost {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .22); }
.btn-outline {
  background: #fff; color: var(--zr-blue-700);
  border-color: var(--bd-2);
}
.btn-outline:hover { border-color: var(--zr-blue-600); color: var(--zr-blue-600); }

/* ===================== Hero ===================== */
.hero {
  position: relative;
  color: #fff;
  background: linear-gradient(135deg, var(--zr-blue-900) 0%, var(--zr-blue-700) 55%, #173B7E 100%);
  overflow: hidden;
}
.hero::before, .hero::after {
  content: "";
  position: absolute; border-radius: 50%;
  filter: blur(2px);
}
.hero::before {
  width: 520px; height: 520px; top: -160px; right: -120px;
  background: radial-gradient(circle, rgba(79, 168, 232, .35), transparent 70%);
}
.hero::after {
  width: 420px; height: 420px; bottom: -180px; left: -100px;
  background: radial-gradient(circle, rgba(46, 123, 214, .3), transparent 70%);
}
.hero .container { position: relative; z-index: 1; padding: 84px 20px 92px; }
.hero .eyebrow {
  display: inline-block;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  font-size: 13px; letter-spacing: 1px; margin-bottom: 18px;
}
.hero h1 {
  font-size: 40px; line-height: 1.25; margin: 0 0 14px;
  font-weight: 800; letter-spacing: .5px;
}
.hero .lede { font-size: 18px; color: #C9D8F2; max-width: 640px; margin: 0 0 30px; }
.hero .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 40px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .15);
}
.hero-stats .stat .num { font-size: 30px; font-weight: 800; }
.hero-stats .stat .lbl { font-size: 13px; color: #B9C9E8; }

/* ===================== 区块通用 ===================== */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head .kicker {
  color: var(--zr-blue-600); font-weight: 700; font-size: 14px;
  letter-spacing: 2px; text-transform: uppercase;
}
.section-head h2 { font-size: 30px; margin: 10px 0 12px; color: var(--zr-blue-900); }
.section-head p { color: var(--txt-2); margin: 0; }
.bg-alt { background: var(--bg-head); }

/* ===================== 卡片网格 ===================== */
.grid { display: grid; gap: 22px; }
.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: var(--bg-panel);
  border: 1px solid var(--bd);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--bd-2); }
.card .icon-badge {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--zr-blue-50); color: var(--zr-blue-700);
  display: grid; place-items: center; margin-bottom: 16px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; color: var(--zr-blue-900); }
.card p { margin: 0; color: var(--txt-2); font-size: 14.5px; }

/* ===================== 产品类目 ===================== */
.cat-card {
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--bd);
  border-radius: var(--radius);
  padding: 22px 22px 22px 26px;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  overflow: hidden;
}
.cat-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: linear-gradient(var(--zr-blue-500), var(--zr-blue-700));
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.cat-card .cat-no {
  font-size: 13px; font-weight: 800; color: var(--zr-blue-500);
  letter-spacing: 1px;
}
.cat-card h3 { margin: 4px 0 8px; font-size: 17px; color: var(--zr-blue-900); }
.cat-card p { margin: 0; color: var(--txt-2); font-size: 14px; }

/* ===================== 应用方案 ===================== */
.sol-card {
  background: var(--bg-panel);
  border: 1px solid var(--bd);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.sol-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.sol-card .tag {
  display: inline-block; font-size: 12px; font-weight: 700;
  color: var(--zr-blue-700); background: var(--zr-blue-50);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}
.sol-card h3 { margin: 0 0 10px; font-size: 19px; color: var(--zr-blue-900); }
.sol-card p { margin: 0 0 14px; color: var(--txt-2); font-size: 14.5px; }
.sol-card ul { margin: 0; padding-left: 18px; color: var(--txt-2); font-size: 14px; }
.sol-card ul li { margin: 4px 0; }

/* ===================== 关于时间线 ===================== */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.about-text h2 { color: var(--zr-blue-900); font-size: 28px; margin: 0 0 16px; }
.about-text p { color: var(--txt-2); margin: 0 0 14px; }
.about-text .pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pill {
  font-size: 13px; font-weight: 600; color: var(--zr-blue-700);
  background: var(--zr-blue-50); border: 1px solid var(--bd);
  padding: 7px 14px; border-radius: 999px;
}
.timeline { border-left: 2px solid var(--bd-2); padding-left: 24px; margin: 0; }
.timeline li { position: relative; list-style: none; margin-bottom: 22px; }
.timeline li::before {
  content: ""; position: absolute; left: -31px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--zr-blue-600); border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--zr-blue-600);
}
.timeline .yr { font-weight: 800; color: var(--zr-blue-700); }
.timeline .ev { color: var(--txt-2); font-size: 14.5px; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { text-align: center; padding: 30px 22px; }
.value-card .vc-num { font-size: 34px; font-weight: 900; color: var(--zr-blue-600); }
.value-card h3 { margin: 8px 0 6px; color: var(--zr-blue-900); }
.value-card p { margin: 0; color: var(--txt-2); font-size: 14px; }

/* ===================== 联系 ===================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.contact-info .ci-item { display: flex; gap: 14px; margin-bottom: 20px; }
.contact-info .ci-ic {
  width: 44px; height: 44px; flex: none; border-radius: 12px;
  background: var(--zr-blue-50); color: var(--zr-blue-700);
  display: grid; place-items: center;
}
.contact-info .ci-item h4 { margin: 0 0 3px; font-size: 15px; color: var(--zr-blue-900); }
.contact-info .ci-item p { margin: 0; color: var(--txt-2); font-size: 14.5px; }
.placeholder-note {
  display: inline-block; font-size: 12px; color: var(--warn);
  background: #FCEFE0; border: 1px solid #F0D9B5;
  padding: 2px 9px; border-radius: 6px; margin-left: 6px;
}
.map-box {
  height: 280px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--zr-blue-50), #fff);
  border: 1px dashed var(--bd-2);
  display: grid; place-items: center; color: var(--txt-3);
  text-align: center; font-size: 14px;
}

/* ===================== 页脚 ===================== */
.site-footer {
  background: var(--zr-blue-900);
  color: #C9D8F2;
  padding: 54px 0 26px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px;
  margin-bottom: 36px;
}
.site-footer h4 { color: #fff; font-size: 15px; margin: 0 0 16px; }
.site-footer a { color: #C9D8F2; display: block; margin-bottom: 10px; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .f-desc { font-size: 14px; line-height: 1.8; max-width: 320px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 20px; font-size: 13px; color: #93A6CC;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.footer-bottom .beian { white-space: nowrap; }
.footer-bottom .beian a { display: inline; margin: 0; font-size: inherit; color: #B9C9E8; text-decoration: none; }
.footer-bottom .beian a:hover { text-decoration: underline; color: #fff; }

/* ===================== 面包屑/页面头 ===================== */
.page-hero {
  background: linear-gradient(135deg, var(--zr-blue-800), var(--zr-blue-600));
  color: #fff; padding: 56px 0 60px;
}
.page-hero .kicker { color: #B9C9E8; letter-spacing: 2px; font-size: 13px; }
.page-hero h1 { font-size: 34px; margin: 8px 0 10px; }
.page-hero p { color: #D2DEF4; margin: 0; max-width: 640px; }

/* ===================== 响应式 ===================== */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid, .value-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 0; border-bottom: 1px solid var(--bd);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 20px; }
  .nav a::after { display: none; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand { font-size: 17px; gap: 8px; }
  .brand .brand-logo { height: 32px; }
  .brand .brand-mark { height: 24px; }
  .brand .brand-sub { display: none; }
  .hero h1 { font-size: 30px; }
  .hero .lede { font-size: 16px; }
  .hero-stats { gap: 26px; }
  section { padding: 54px 0; }
}
