/* ===================== 基础变量 ===================== */
:root {
  --navy: #0B2447;
  --navy-2: #13315c;
  --blue: #2563EB;
  --blue-soft: #3b82f6;
  --teal: #14B8A6;
  --ink: #0f172a;
  --muted: #5b6b82;
  --line: #e6ebf2;
  --bg: #f7f9fc;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 18px 50px -20px rgba(11, 36, 71, .25);
  --shadow-sm: 0 8px 24px -12px rgba(11, 36, 71, .18);
  --container: 1160px;
  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

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

/* ===================== 按钮 ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(120deg, var(--blue), var(--teal));
  color: #fff;
  box-shadow: 0 10px 26px -10px rgba(37, 99, 235, .6);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(37, 99, 235, .7); }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { background: rgba(255,255,255,.16); }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ===================== 导航 ===================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(11,36,71,.4); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__shield {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: var(--shadow-sm);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-size: 19px; color: var(--navy); letter-spacing: 1px; }
.brand__text small { font-size: 11px; color: var(--muted); letter-spacing: .5px; }

.nav__links { display: flex; gap: 30px; }
.nav__links a { font-size: 15px; color: var(--navy-2); font-weight: 500; position: relative; padding: 4px 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--blue), var(--teal)); transition: width .25s;
}
.nav__links a:hover::after, .nav__links a.is-active::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 14px; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s; }

/* ===================== Hero ===================== */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 120% at 80% 0%, #13315c 0%, #0B2447 55%, #081b36 100%); color: #fff; padding: 90px 0 100px; }
.hero__bg { position: absolute; inset: 0; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; }
.orb--1 { width: 420px; height: 420px; background: #2563EB; top: -120px; right: -80px; }
.orb--2 { width: 360px; height: 360px; background: #14B8A6; bottom: -140px; left: -60px; opacity: .35; }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 75%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }

.badge { display: inline-block; padding: 7px 16px; border-radius: 999px; font-size: 13px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #cfe0ff; margin-bottom: 22px; }
.hero__title { font-size: 50px; line-height: 1.15; font-weight: 800; letter-spacing: .5px; }
.hero__title .hl { background: linear-gradient(120deg, #5eead4, #60a5fa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { margin: 22px 0 30px; font-size: 17px; color: #c7d4e8; max-width: 540px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats { list-style: none; display: flex; gap: 38px; margin-top: 46px; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-size: 30px; font-weight: 800; background: linear-gradient(120deg, #5eead4, #93c5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__stats span { font-size: 13px; color: #9fb2cc; }

/* Hero 面板 */
.hero__panel { position: relative; }
.panel-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); padding: 22px; backdrop-filter: blur(8px); box-shadow: var(--shadow); }
.panel-card--main { position: relative; z-index: 2; }
.panel-card__head { font-size: 13px; color: #bcd0ee; display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.25); }
.panel-card__body .row { display: flex; justify-content: space-between; font-size: 13px; color: #d6e2f2; margin: 14px 0 6px; }
.bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #14B8A6, #60a5fa); }
.panel-card__foot { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.tag { font-size: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.1); color: #cfe0ff; }
.tag--ok { color: #6ee7b7; }
.tag--warn { color: #fcd34d; }

.panel-card--float { position: absolute; right: -18px; bottom: -34px; display: flex; align-items: center; gap: 12px; background: #fff; color: var(--ink); max-width: 270px; animation: floaty 4s ease-in-out infinite; }
.panel-card--float .check { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, var(--teal), var(--blue)); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.panel-card--float strong { display: block; font-size: 14px; }
.panel-card--float small { color: var(--muted); font-size: 12px; }
@keyframes floaty { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-8px);} }

/* ===================== 通用 section ===================== */
.section { padding: 92px 0; }
.section--alt { background: var(--bg); }
.section__head { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--blue); text-transform: uppercase; margin-bottom: 12px; }
.eyebrow--light { color: #7dd3fc; }
.section__head h2 { font-size: 34px; font-weight: 800; color: var(--navy); letter-spacing: .5px; }
.section__head p { margin-top: 14px; color: var(--muted); font-size: 16px; }

/* ===== 业务概览 ===== */
.intro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.intro-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .25s, box-shadow .25s; }
.intro-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.intro-card__ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; background: linear-gradient(135deg, #eef4ff, #e6fbf6); margin-bottom: 16px; }
.intro-card h3 { font-size: 19px; color: var(--navy); margin-bottom: 8px; }
.intro-card p { color: var(--muted); font-size: 15px; }

/* ===== 核心服务 ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.service::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--teal)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service:hover::before { transform: scaleX(1); }
.service__num { font-size: 26px; font-weight: 800; color: #dbe5f3; margin-bottom: 10px; }
.service h3 { font-size: 19px; color: var(--navy); margin-bottom: 8px; }
.service p { color: var(--muted); font-size: 15px; }

/* ===== 流程 ===== */
.process { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; position: relative; transition: transform .25s, box-shadow .25s; }
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.step__no { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 18px; color: #fff; background: linear-gradient(135deg, var(--blue), var(--teal)); margin-bottom: 14px; }
.step h3 { font-size: 17px; color: var(--navy); margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); }
.step:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 40px; color: #cdd8e8; font-size: 20px; }

/* ===== 优势 ===== */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.adv { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; text-align: center; transition: transform .25s, box-shadow .25s; }
.adv:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.adv__ico { width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 16px; display: grid; place-items: center; font-size: 28px; background: linear-gradient(135deg, #eef4ff, #e6fbf6); }
.adv h3 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.adv p { font-size: 14px; color: var(--muted); }

/* ===== 客户案例 ===== */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .25s, box-shadow .25s; }
.case:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.case__tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--blue); background: #eef4ff; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.case h3 { font-size: 19px; color: var(--navy); margin-bottom: 10px; }
.case p { color: var(--muted); font-size: 15px; min-height: 72px; }
.case__metric { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); display: flex; align-items: baseline; gap: 8px; }
.case__metric strong { font-size: 26px; font-weight: 800; color: var(--teal); }
.case__metric span { font-size: 13px; color: var(--muted); }

/* ===== 联系我们 ===== */
.section--contact { background: radial-gradient(120% 120% at 20% 0%, #13315c 0%, #0B2447 60%, #081b36 100%); color: #fff; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.contact__info h2 { font-size: 32px; font-weight: 800; margin: 10px 0 14px; }
.contact__info p { color: #c7d4e8; font-size: 16px; max-width: 460px; }
.contact__list { list-style: none; margin-top: 26px; display: grid; gap: 14px; }
.contact__list li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: #dce6f4; }
.contact__list span { font-size: 18px; }

.contact__form { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 28px; backdrop-filter: blur(8px); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: #bcd0ee; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06); color: #fff; font-size: 15px; font-family: inherit; outline: none; transition: border-color .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #8ea3c2; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); background: rgba(255,255,255,.1); }
.field select option { color: #0f172a; }
.form__hint { margin-top: 12px; color: #6ee7b7; font-size: 14px; }

/* ===== 页脚 ===== */
.footer { background: #07142b; color: #c7d4e8; padding-top: 50px; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; padding-bottom: 30px; flex-wrap: wrap; gap: 20px; }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand strong { color: #fff; font-size: 16px; }
.footer__brand small { display: block; color: #8499b8; font-size: 12px; }
.footer__links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer__links a { font-size: 14px; color: #b6c6e0; }
.footer__links a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; font-size: 12px; color: #7d8fa9; }
.footer__bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ===================== 响应式 ===================== */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__panel { max-width: 460px; }
  .intro-grid, .services-grid, .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav__links { position: fixed; inset: 70px 0 auto 0; flex-direction: column; gap: 0; background: #fff; padding: 10px 24px 20px; box-shadow: var(--shadow); transform: translateY(-140%); transition: transform .3s; border-bottom: 1px solid var(--line); }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__toggle { display: flex; }
  .hero__title { font-size: 36px; }
  .hero__stats { gap: 22px; flex-wrap: wrap; }
  .section__head h2 { font-size: 26px; }
  .intro-grid, .services-grid, .cases-grid, .process, .adv-grid { grid-template-columns: 1fr; }
  .panel-card--float { right: 0; }
}

/* 进入动画 */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
