:root {
  --ink: #0b1524;
  --ink-2: #16263a;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --line: #e5eaf0;
  --panel: #ffffff;
  --bg: #f6f8fb;
  --navy: #071322;
  --navy-2: #0b1e33;
  --accent: #2f7cf6;
  --accent-2: #26c6b0;
  --amber: #f59e0b;
  --indigo: #7c8cf8;
  --max: 1160px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  border-bottom: 1px solid rgba(226, 232, 240, .9);
  backdrop-filter: blur(14px);
}
.header-inner {
  height: 66px; display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 34px; height: 34px; display: grid; place-items: center;
  color: #fff; border-radius: 10px;
  background: linear-gradient(145deg, #2f7cf6, #1b57c7);
  box-shadow: 0 6px 18px rgba(47, 124, 246, .28);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-text { font-weight: 700; letter-spacing: .02em; font-size: 17px; }
.nav { display: flex; gap: 26px; font-size: 14px; color: #475569; }
.nav a { position: relative; padding: 6px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--accent); transition: right .25s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { right: 0; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #e9f0fb;
  background:
    radial-gradient(900px 480px at 78% 12%, rgba(47, 124, 246, .26), transparent 62%),
    radial-gradient(700px 420px at 12% 88%, rgba(38, 198, 176, .14), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 62%, #08182a 100%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: .16; pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 180, 220, .35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 180, 220, .35) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
}
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none;
}
.hero-glow-a { width: 460px; height: 460px; right: -120px; top: -160px; background: rgba(47, 124, 246, .30); }
.hero-glow-b { width: 360px; height: 360px; left: -150px; bottom: -180px; background: rgba(38, 198, 176, .18); }
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 56px; align-items: center; padding: 84px 0 92px;
}
.eyebrow {
  margin: 0 0 14px; font-size: 11px; letter-spacing: .24em;
  text-transform: uppercase; color: #79a8ef; font-weight: 700;
}
.hero h1 {
  margin: 0; font-size: clamp(38px, 5vw, 60px); line-height: 1.12;
  letter-spacing: -.02em; color: #fff;
}
.lede {
  margin: 22px 0 0; max-width: 540px; color: #b7c7db;
  font-size: 16px; line-height: 1.85;
}
.hero-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 22px; border-radius: 10px; font-size: 14px;
  font-weight: 600; transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, #2f7cf6, #1c5fd6); box-shadow: 0 12px 28px rgba(47, 124, 246, .28); }
.btn-ghost { color: #dbe7f6; border: 1px solid rgba(183, 199, 219, .35); background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { border-color: rgba(183, 199, 219, .65); background: rgba(255, 255, 255, .08); }
.hero-stats { display: flex; gap: 34px; margin-top: 42px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 26px; color: #fff; letter-spacing: -.02em; }
.hero-stats span { font-size: 12px; color: #8fa6c2; margin-top: 2px; }

.hero-panel {
  position: relative; padding: 20px 22px;
  border-radius: 18px; border: 1px solid rgba(148, 180, 220, .24);
  background: linear-gradient(180deg, rgba(15, 34, 56, .86), rgba(9, 23, 40, .82));
  box-shadow: 0 30px 70px rgba(0, 0, 0, .28);
}
.panel-head {
  display: flex; align-items: center; gap: 8px; font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase; color: #8fa6c2;
  padding-bottom: 14px; border-bottom: 1px solid rgba(148, 180, 220, .16);
}
.panel-dot { width: 7px; height: 7px; border-radius: 50%; background: #2ee6b8; box-shadow: 0 0 14px #2ee6b8; }
.panel-tag { margin-left: auto; font-size: 10px; color: #7f9cbe; border: 1px solid rgba(148, 180, 220, .3); border-radius: 999px; padding: 1px 8px; }
.panel-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 13px 0; border-bottom: 1px dashed rgba(148, 180, 220, .14);
}
.panel-row:last-of-type { border-bottom: 0; }
.panel-name { font-size: 14px; color: #dbe7f6; }
.panel-meta { font-size: 11px; color: #7f9cbe; text-align: right; white-space: nowrap; }
.panel-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 8px; padding-top: 14px; border-top: 1px solid rgba(148, 180, 220, .16);
  font-size: 11px; color: #7f9cbe;
}
.panel-pill { color: #a9c7ee; border: 1px solid rgba(148, 180, 220, .3); border-radius: 999px; padding: 2px 10px; }

/* ---------- sections ---------- */
.section { padding: 82px 0; }
.section-alt { background: linear-gradient(180deg, #f1f5fa, #f8fafc); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 28px; margin-bottom: 34px;
}
.section-head h2 { margin: 0; font-size: 30px; letter-spacing: -.02em; }
.section-desc { margin: 0; max-width: 430px; color: var(--muted); font-size: 14px; }
.section .eyebrow { color: #3b6fc4; margin-bottom: 10px; }

.grid { display: grid; gap: 18px; }
.calc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.office-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* ---------- cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  min-height: 214px; padding: 24px 22px 20px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 1px 0 rgba(15, 23, 42, .02);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card::before {
  content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 3px;
  border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: .9;
}
.card:hover {
  transform: translateY(-4px);
  border-color: #cfdcf0;
  box-shadow: 0 18px 40px rgba(15, 35, 64, .10);
}
.card-icon {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 13px; flex: 0 0 auto;
}
.card-icon svg { width: 24px; height: 24px; }
.icon-blue { color: #2f7cf6; background: #eaf2ff; }
.icon-teal { color: #0f9f8a; background: #e6f8f4; }
.icon-amber { color: #b77905; background: #fff4de; }
.icon-indigo { color: #5b6ee1; background: #eef0ff; }
.icon-slate { color: #476077; background: #eef3f8; }
.card-body h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -.01em; }
.card-body p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tags span {
  font-size: 10.5px; color: #52667d; background: #f3f6fa;
  border: 1px solid #e6edf5; border-radius: 999px; padding: 2px 8px;
  white-space: nowrap;
}
.card-arrow {
  position: absolute; right: 20px; bottom: 18px; font-size: 18px; color: #b6c4d6;
  transition: transform .2s ease, color .2s ease;
}
.card:hover .card-arrow { color: var(--accent); transform: translateX(3px); }

/* ---------- about ---------- */
.about { padding-top: 66px; padding-bottom: 66px; }
.about-inner {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 48px; align-items: start;
}
.about h2 { margin: 0; font-size: 26px; letter-spacing: -.02em; }
.about p:last-child { margin: 4px 0 0; color: var(--muted); font-size: 14px; line-height: 1.9; }

/* ---------- footer ---------- */
.site-footer { background: #0a1524; color: #8fa6c2; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 26px 0;
}
.footer-brand { display: flex; flex-direction: column; gap: 2px; }
.footer-brand strong { color: #e9f0fb; font-size: 14px; }
.footer-brand span { font-size: 12px; }
.footer-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 38px; padding: 64px 0 72px; }
  .hero-panel { max-width: 560px; }
  .calc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .office-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 28px); }
  .nav { display: none; }
  .hero h1 { font-size: 38px; }
  .hero-stats { gap: 24px; }
  .section { padding: 58px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .section-head h2 { font-size: 26px; }
  .calc-grid, .office-grid { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .about-inner { grid-template-columns: 1fr; gap: 18px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}
