/* ============================================================
   蓝亚（深圳）信息技术有限公司 · 企业官网
   设计系统 / 全局样式
   风格：简约 · 大气 · 科技蓝
   ============================================================ */

:root {
  /* 品牌色 */
  --primary: #13356b;        /* 深海军蓝 */
  --primary-2: #1e4fa0;      /* 蓝 */
  --accent: #2e8bff;         /* 亮蓝（主交互色） */
  --cyan: #16c2c2;           /* 青绿点缀 */
  --ink: #16203a;            /* 主文字 */
  --gray: #5b6478;           /* 次级文字 */
  --gray-2: #9099ad;         /* 弱化文字 */
  --line: #e6ebf2;           /* 分隔线 */
  --bg: #ffffff;
  --bg-soft: #f5f8fc;        /* 浅灰蓝底 */
  --bg-dark: #0c1a33;        /* 深色区块 */
  --bg-dark-2: #102544;

  /* 间距与圆角 */
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1200px;
  --gap: 24px;

  /* 阴影 */
  --shadow-sm: 0 4px 16px rgba(19, 53, 107, 0.06);
  --shadow: 0 14px 40px rgba(19, 53, 107, 0.10);
  --shadow-lg: 0 30px 70px rgba(19, 53, 107, 0.16);

  --header-h: 72px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ------------------------- Reset ------------------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ------------------------- 布局工具 ------------------------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: #fff; }
.section--dark .section__sub { color: var(--gray-2); }

.section__head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 3px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section__title {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.25;
}
.section__sub {
  margin-top: 16px;
  color: var(--gray);
  font-size: 16px;
}

.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ------------------------- 按钮 ------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(46,139,255,.30); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(46,139,255,.42); }
.btn--ghost { border: 1.5px solid rgba(255,255,255,.35); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.btn--outline { border: 1.5px solid var(--line); color: var(--ink); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ------------------------- 顶部导航 ------------------------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; letter-spacing: .3px; }
.brand .logo {
  width: 38px; height: 38px; border-radius: 10px;
  object-fit: contain;
}
.brand small { display: block; font-size: 11px; color: var(--gray-2); font-weight: 500; letter-spacing: 1px; }
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  padding: 9px 16px; border-radius: 999px; font-size: 15px; font-weight: 500;
  color: var(--ink); transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--accent); }
.nav__links a.active { color: var(--accent); background: rgba(46,139,255,.10); }
.nav__cta { margin-left: 10px; }
.nav__toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); }

/* 移动端菜单 */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: #fff; padding: 20px 24px;
  transform: translateX(100%); transition: transform .3s ease;
  display: flex; flex-direction: column; gap: 4px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { padding: 15px 12px; font-size: 17px; border-bottom: 1px solid var(--line); }
.mobile-menu a.active { color: var(--accent); }

/* ------------------------- Hero ------------------------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 80px) 0 110px;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(46,139,255,.18), transparent 60%),
    radial-gradient(900px 500px at 5% 10%, rgba(22,194,194,.14), transparent 55%),
    linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
  overflow: hidden;
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: 13px; color: var(--gray); box-shadow: var(--shadow-sm);
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(22,194,194,.2); }
.hero h1 {
  margin: 22px 0 20px;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 800; line-height: 1.12; letter-spacing: -1px;
}
.hero h1 .grad {
  background: linear-gradient(100deg, var(--accent), var(--cyan));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p.lead { font-size: 18px; color: var(--gray); max-width: 540px; }
.hero__actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats { margin-top: 48px; display: flex; gap: 40px; flex-wrap: wrap; }
.hero__stats .num { font-size: 30px; font-weight: 800; color: var(--primary); }
.hero__stats .lbl { font-size: 14px; color: var(--gray); }

/* Hero 视觉卡 */
.hero__visual { position: relative; }
.hero__panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 26px; position: relative; z-index: 2;
}
.hero__panel .row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.hero__panel .row:last-child { border-bottom: none; }
.hero__panel .row .t { font-weight: 600; }
.hero__panel .row .v { color: var(--accent); font-weight: 700; }
.hero__panel .ring { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.hero__panel .chip { font-size: 12px; padding: 6px 11px; border-radius: 999px; background: var(--bg-soft); color: var(--primary-2); font-weight: 600; }
.glow-blob { position: absolute; border-radius: 50%; filter: blur(40px); opacity: .55; z-index: 1; }
.glow-blob.a { width: 220px; height: 220px; background: rgba(46,139,255,.5); top: -30px; right: -20px; }
.glow-blob.b { width: 200px; height: 200px; background: rgba(22,194,194,.45); bottom: -40px; left: -30px; }

/* ------------------------- 卡片 ------------------------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card .ic {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(46,139,255,.12), rgba(22,194,194,.12));
  color: var(--accent); margin-bottom: 18px;
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--gray); font-size: 15px; line-height: 1.7; }
.info-link { color: var(--accent); font-weight: 600; text-decoration: none; word-break: break-all; }
.info-link:hover { text-decoration: underline; }

/* 特性列表 */
.feature-list { display: grid; gap: 14px; margin-top: 8px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--gray); }
.feature-list .ck { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; background: rgba(46,139,255,.12); color: var(--accent); display: grid; place-items: center; font-size: 13px; margin-top: 2px; }

/* 数据条 */
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 8px; }
.stat .num { font-size: clamp(30px, 4vw, 44px); font-weight: 800; background: linear-gradient(120deg, #fff, #bcd4ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .lbl { color: var(--gray-2); margin-top: 6px; }

/* CTA */
.cta {
  background: linear-gradient(120deg, var(--primary), var(--primary-2) 60%, var(--accent));
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  color: #fff; box-shadow: var(--shadow-lg);
}
.cta h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.cta p { color: rgba(255,255,255,.8); margin-top: 8px; }

/* 页脚 */
.footer { background: var(--bg-dark); color: #c4cde0; padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .brand { color: #fff; margin-bottom: 18px; }
.footer p.desc { color: #93a0bd; font-size: 14px; max-width: 320px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: .5px; }
.footer__links a { display: block; padding: 7px 0; color: #93a0bd; font-size: 14px; transition: color .2s; }
.footer__links a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: #7e8bab; }

/* 面包屑 / 子页头 */
.page-hero { padding: calc(var(--header-h) + 70px) 0 60px; background: linear-gradient(180deg, #f4f8ff, #fff); }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -0.5px; }
.page-hero .crumb { font-size: 14px; color: var(--gray-2); margin-bottom: 14px; }
.page-hero .crumb a:hover { color: var(--accent); }
.page-hero p { color: var(--gray); margin-top: 14px; max-width: 640px; font-size: 17px; }

/* 时间线 */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--accent), var(--cyan)); }
.timeline .item { position: relative; padding: 0 0 34px 26px; }
.timeline .item::before { content: ""; position: absolute; left: -28px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); box-shadow: 0 0 0 4px rgba(46,139,255,.12); }
.timeline .yr { font-weight: 800; color: var(--primary); font-size: 15px; }
.timeline .item h4 { margin: 4px 0 6px; font-size: 17px; }
.timeline .item p { color: var(--gray); font-size: 15px; }

/* 价值卡 */
.value { text-align: center; padding: 36px 24px; }
.value .ic { margin: 0 auto 16px; }
.value h3 { font-size: 18px; margin-bottom: 10px; }
.value p { color: var(--gray); font-size: 14px; }

/* 产品详情 */
.product {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch;
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  margin-bottom: 28px; background: #fff;
}
.product:nth-child(even) .product__media { order: 2; }
.product__media {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  padding: 44px; display: flex; flex-direction: column; justify-content: center; color: #fff;
}
.product__media .tag { font-size: 13px; color: rgba(255,255,255,.7); letter-spacing: 2px; }
.product__media h3 { font-size: 26px; margin: 10px 0 16px; font-weight: 800; }
.product__media .feats { display: flex; flex-wrap: wrap; gap: 8px; }
.product__media .feats span { font-size: 12px; background: rgba(255,255,255,.14); padding: 5px 11px; border-radius: 999px; }
.product__body { padding: 44px; }
.product__body p { color: var(--gray); margin-bottom: 18px; }

/* 解决方案卡 */
.sol {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  padding: 40px; min-height: 280px; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .3s ease;
}
.sol:hover { transform: translateY(-6px); }
.sol::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,26,51,.15), rgba(12,26,51,.82)); }
.sol > * { position: relative; z-index: 2; }
.sol h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.sol p { color: rgba(255,255,255,.82); font-size: 14px; margin-bottom: 14px; }
.sol .more { font-size: 14px; font-weight: 600; color: var(--cyan); }
.sol--1 { background: linear-gradient(135deg, #13356b, #2e8bff); }
.sol--2 { background: linear-gradient(135deg, #0e5a52, #16c2c2); }
.sol--3 { background: linear-gradient(135deg, #1e3a8a, #3b82f6); }
.sol--4 { background: linear-gradient(135deg, #0c2c4d, #1488c9); }
.sol--5 { background: linear-gradient(135deg, #122b4d, #1e4fa0); }

/* 表单 */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info .item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-info .item .ic { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px; background: rgba(46,139,255,.1); color: var(--accent); display: grid; place-items: center; }
.contact-info .item .t { font-weight: 700; }
.contact-info .item .v { color: var(--gray); font-size: 15px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 15px; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(46,139,255,.12); }
.field textarea { resize: vertical; min-height: 120px; }
.field .err { color: #e5484d; font-size: 13px; margin-top: 6px; display: none; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid textarea { border-color: #e5484d; }
.form .note { font-size: 13px; color: var(--gray-2); margin-top: 6px; }

.map {
  margin-top: 30px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(135deg, #eaf1fb, #dce8fb); height: 320px; position: relative;
}
.map .pin { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -100%); }
.map .pin .dot { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(46,139,255,.25); }
.map .pin .label { margin-top: 8px; background: #fff; padding: 6px 12px; border-radius: 8px; font-size: 13px; font-weight: 600; box-shadow: var(--shadow-sm); white-space: nowrap; }
.map .grid-lines { position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px; }

/* 公司位置地图（联系我们） */
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.map__coord { position: absolute; left: 16px; bottom: 16px; z-index: 2; background: rgba(19,53,107,.86); color: #fff; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.map__coord a { color: #fff; text-decoration: underline; }

/* 通用图文块 */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--rev .split__media { order: 2; }
.split__media {
  border-radius: var(--radius-lg); overflow: hidden; min-height: 360px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  position: relative; display: grid; place-items: center; color: #fff; padding: 40px;
}

/* 动画 */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ------------------------- 数据中心 ------------------------- */
.live-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 15px;
  border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: 13px; color: var(--gray); box-shadow: var(--shadow-sm);
}
.live-badge .pulse {
  width: 9px; height: 9px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(22,194,194,.5); animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(22,194,194,.5); }
  70% { box-shadow: 0 0 0 9px rgba(22,194,194,0); }
  100% { box-shadow: 0 0 0 0 rgba(22,194,194,0); }
}
.live-clock { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--primary); }

.kpi-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.kpi {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; position: relative; overflow: hidden;
}
.kpi::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(var(--accent), var(--cyan));
}
.kpi .label { font-size: 13px; color: var(--gray); }
.kpi .num {
  font-size: 30px; font-weight: 800; color: var(--primary); margin-top: 8px;
  font-variant-numeric: tabular-nums; line-height: 1.1;
}
.kpi .delta { font-size: 12px; margin-top: 8px; color: var(--cyan); font-weight: 600; }
.kpi .delta.down { color: #e5793b; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.panel__title { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.panel__sub { font-size: 13px; color: var(--gray-2); margin-bottom: 20px; }

.bars { display: grid; gap: 16px; }
.bar-row .bar-top { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 6px; }
.bar-row .bar-top .v { font-weight: 700; color: var(--primary); font-variant-numeric: tabular-nums; }
.bar-track { height: 10px; background: var(--bg-soft); border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--cyan)); width: 0; transition: width 1.1s cubic-bezier(.2,.7,.2,1); }

.donut-wrap { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.donut { flex: 0 0 130px; width: 130px; height: 130px; }
.donut-center { font-size: 22px; font-weight: 800; fill: var(--primary); }
.legend { display: grid; gap: 11px; }
.legend .li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--gray); }
.legend .li strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.legend .dot { width: 10px; height: 10px; border-radius: 3px; flex: 0 0 10px; }

.feed { display: grid; gap: 10px; max-height: 240px; overflow: hidden; }
.feed .ev {
  display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px;
  padding: 10px 13px; background: var(--bg-soft); border-radius: 10px;
  animation: slideIn .45s ease;
}
.feed .ev .t { color: var(--gray-2); font-variant-numeric: tabular-nums; flex: 0 0 auto; }
.feed .ev .ok { color: var(--cyan); font-weight: 600; }
.feed .ev .warn { color: #e5793b; font-weight: 600; }
@keyframes slideIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.trend { width: 100%; height: auto; }

/* ------------------------- 响应式 ------------------------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .product, .split, .contact-wrap { grid-template-columns: 1fr; }
  .product:nth-child(even) .product__media { order: 0; }
  .split--rev .split__media { order: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .kpi-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: grid; place-items: center; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .cta { padding: 36px 26px; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 26px; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
}
