/* ===========================================================
   云合智能 · 子站介绍页共用样式
   与官网 www.cloudgp.cn 主站保持一致：
   主色 #37517e / 强调色 #47b2e4 / 浅底 #f5f7fa
   =========================================================== */

:root {
  --navy: #37517e;
  --navy-deep: #2b4269;
  --accent: #47b2e4;
  --accent-solid: #2f9ed4;
  --text: #444444;
  --muted: #6a7c93;
  --line: #e7edf5;
  --soft: #f5f7fa;
  --white: #ffffff;
  --radius: 18px;
  --shadow-sm: 0 2px 10px rgba(55, 81, 126, .06);
  --shadow-md: 0 18px 44px rgba(55, 81, 126, .12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Open Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  margin: 0 0 16px;
  font-family: "Jost", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -.01em;
  color: var(--navy);
}

p { margin: 0 0 16px; }

a { color: var(--accent); text-decoration: none; }

img { max-width: 100%; }

/* 内联图标：统一描边，随文字颜色变化 */
svg:not(.icon-sprite) {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-sprite { display: none; }

.container { width: min(1180px, 90%); margin: 0 auto; }

/* ---------- 顶部导航 ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(55, 81, 126, .07);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 74px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 36px; width: auto; display: block; }
.brand span {
  font-family: "Jost", "PingFang SC", sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  opacity: .82;
  padding: 4px 0;
  transition: .25s;
}

.nav a:hover { opacity: 1; color: var(--accent); }

.nav a.active { color: var(--accent); opacity: 1; }

.nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.nav .btn { margin-left: 6px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: .26s ease;
}

.btn svg { width: 17px; height: 17px; }

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #4fb7e6, #2f92cc);
  box-shadow: 0 12px 26px rgba(71, 178, 228, .32);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(71, 178, 228, .42);
}

.btn-ghost {
  color: var(--navy);
  background: #fff;
  border-color: rgba(55, 81, 126, .18);
}
.btn-ghost:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }

.btn-light { color: var(--navy); background: #fff; box-shadow: 0 12px 26px rgba(0, 0, 0, .16); }
.btn-light:hover { color: var(--navy); transform: translateY(-2px); }

.btn-sm { height: 40px; padding: 0 20px; font-size: 14px; }

/* 导航内的按钮：避免被 .nav a 的 padding 覆盖 */
.nav a.btn { padding: 0 22px; opacity: 1; }
.nav a.btn.btn-sm { box-shadow: 0 8px 18px rgba(71, 178, 228, .24); }
.nav a.btn::after { display: none; }

/* ---------- 通用板块 ---------- */
.section { padding: 92px 0; }
.section.soft { background: var(--soft); }
.section.tight { padding: 72px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-solid);
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 16.5px; margin: 0; }

.grad {
  background: linear-gradient(120deg, #2f9ed4, #47b2e4 55%, #7acbf0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 152px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(68% 58% at 50% -8%, rgba(71, 178, 228, .20), transparent 64%),
    linear-gradient(180deg, #f7fbfe 0%, #ffffff 78%);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(55, 81, 126, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(55, 81, 126, .045) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(62% 56% at 50% 18%, #000 20%, transparent 78%);
  mask-image: radial-gradient(62% 56% at 50% 18%, #000 20%, transparent 78%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 56px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 7px 16px 7px 8px;
  border: 1px solid rgba(71, 178, 228, .32);
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
}
.badge .badge-dot {
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(71, 178, 228, .16);
  color: var(--accent-solid);
}
.badge .badge-dot svg { width: 13px; height: 13px; }

.hero h1 { font-size: clamp(32px, 4.1vw, 52px); margin-bottom: 22px; letter-spacing: -.02em; }

.hero-lead {
  max-width: 560px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(55, 81, 126, .1);
}
.stat b {
  display: block;
  font-family: "Jost", "PingFang SC", sans-serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -.01em;
}
.stat span { font-size: 13px; color: var(--muted); }

/* ---------- 右侧演示面板 ---------- */
.panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(55, 81, 126, .16);
  overflow: hidden;
}

.panel-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfcfe, #f6f9fc);
}
.panel-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #dde6f0; }
.panel-bar .dot:nth-child(1) { background: #ff6f6f; }
.panel-bar .dot:nth-child(2) { background: #ffc94d; }
.panel-bar .dot:nth-child(3) { background: #46cf8b; }
.panel-bar .panel-title {
  margin-left: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #8497ad;
  letter-spacing: .04em;
}

.panel-body { padding: 22px; }

.task {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 14px;
  margin-bottom: 10px;
  border: 1px solid #eef3f9;
  border-radius: 13px;
  background: #fbfdff;
}
.task:last-child { margin-bottom: 0; }
.task-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px; height: 36px;
  border-radius: 11px;
  background: rgba(71, 178, 228, .13);
  color: var(--accent-solid);
}
.task-ico svg { width: 17px; height: 17px; }
.task-main { flex: 1; min-width: 0; }
.task-main strong { display: block; font-size: 14px; font-weight: 600; color: var(--navy); line-height: 1.5; }
.task-main small { display: block; font-size: 12.5px; color: #8b9cb2; }
.chip {
  flex: none;
  align-self: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  background: rgba(71, 178, 228, .12);
  color: var(--accent-solid);
}
.chip.done { background: rgba(70, 207, 139, .14); color: #22a86a; }
.chip.wait { background: rgba(255, 178, 71, .16); color: #c8822a; }

/* 代码面板 */
.code {
  margin: 0;
  padding: 18px 20px;
  overflow-x: auto;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 12.8px;
  line-height: 1.85;
  color: #d7e3f2;
  background: #1e2b40;
  border-radius: 14px;
}
.code .c-key { color: #7acbf0; }
.code .c-str { color: #9ee6b8; }
.code .c-cm { color: #6b8099; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 20px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.g-5 { grid-template-columns: repeat(5, 1fr); }
.g-5 .card { padding: 24px 20px; }
.g-5 .card h4 { font-size: 15.5px; }
.g-5 .card p { font-size: 13.5px; }

.card {
  display: block;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: inherit;
  transition: .28s ease;
}
a.card:hover {
  transform: translateY(-6px);
  border-color: rgba(71, 178, 228, .45);
  box-shadow: var(--shadow-md);
}
.card h3 { font-size: 18.5px; margin-bottom: 8px; }
.card h4 { font-size: 16.5px; margin-bottom: 8px; }
.card p { margin: 0; font-size: 14.5px; line-height: 1.75; color: var(--muted); }

.ico {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  margin-bottom: 18px;
  border-radius: 15px;
  background: rgba(71, 178, 228, .12);
  color: var(--accent-solid);
}
.ico svg { width: 24px; height: 24px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  padding: 4px 11px;
  border-radius: 999px;
  background: #f2f6fb;
  color: #5d7492;
  font-size: 12.5px;
}

/* ---------- 深色横幅 ---------- */
.band {
  position: relative;
  overflow: hidden;
  padding: 84px 0;
  color: #fff;
  background: linear-gradient(160deg, #37517e 0%, #2b4269 62%, #33507c 100%);
}
.band::before {
  content: "";
  position: absolute;
  top: -240px; right: -140px;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(71, 178, 228, .34), transparent 66%);
  pointer-events: none;
}
.band .container { position: relative; }
.band h2 { color: #fff; }
.band .section-head p { color: rgba(255, 255, 255, .72); }
.band .eyebrow { color: #9fe0ff; }
.band .eyebrow::before { background: #9fe0ff; }

.band .card {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
}
.band .card:hover { background: rgba(255, 255, 255, .11); }
.band .card h3,
.band .card h4 { color: #fff; }
.band .card p { color: rgba(255, 255, 255, .74); }
.band .ico { background: rgba(255, 255, 255, .14); color: #9fe0ff; }
.band .step-no {
  font-family: "Jost", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  color: #9fe0ff;
  display: block;
  margin-bottom: 10px;
}

/* ---------- 部门矩阵 ---------- */
.depts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

.dept {
  display: block;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  color: inherit;
  transition: .25s ease;
}
.dept:hover {
  transform: translateY(-4px);
  border-color: rgba(71, 178, 228, .5);
  box-shadow: var(--shadow-sm);
}
.dept .no {
  display: block;
  margin-bottom: 6px;
  font-family: "Jost", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--accent);
}
.dept h4 { font-size: 16px; margin-bottom: 4px; }
.dept p { margin: 0; font-size: 13px; line-height: 1.65; color: var(--muted); }

/* ---------- 专题卡 ---------- */
.topics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.topic {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 196px;
  padding: 26px;
  overflow: hidden;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(150deg, #3a5a8c, #233a5c);
  transition: .3s ease;
}
.topic::after {
  content: "";
  position: absolute;
  right: -60px; bottom: -80px;
  width: 190px; height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(71, 178, 228, .5), transparent 68%);
  pointer-events: none;
}
.topic:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(35, 58, 92, .3); }
.topic h4 { position: relative; color: #fff; font-size: 18px; margin-bottom: 6px; }
.topic p { position: relative; margin: 0; font-size: 13.5px; color: rgba(255, 255, 255, .74); }
.topic .go {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #9fe0ff;
}
.topic .go svg { width: 14px; height: 14px; transition: .25s; }
.topic:hover .go svg { transform: translateX(4px); }

/* ---------- 步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.g-4.steps { grid-template-columns: repeat(4, 1fr); }

.step {
  position: relative;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.step .num {
  font-family: "Jost", sans-serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  color: rgba(71, 178, 228, .26);
  margin-bottom: 14px;
}
.step h4 { font-size: 17px; margin-bottom: 8px; }
.step p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* ---------- 对比 ---------- */
.compare {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.compare .col {
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}
.compare .col.before { background: #fbfcfe; }
.compare .col.after {
  border-color: rgba(71, 178, 228, .42);
  box-shadow: 0 16px 40px rgba(71, 178, 228, .14);
}
.compare h4 { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.compare ul { margin: 0; padding: 0; list-style: none; }
.compare li {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  font-size: 14.5px;
  color: var(--muted);
  border-bottom: 1px dashed rgba(55, 81, 126, .1);
}
.compare li:last-child { border-bottom: 0; }
.compare li svg { flex: none; width: 17px; height: 17px; margin-top: 4px; }
.compare .before li svg { color: #b8c4d3; }
.compare .after li svg { color: #2f9ed4; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  padding: 84px 0;
  text-align: center;
  color: #fff;
  background: linear-gradient(120deg, #37517e 0%, #2b4269 58%, #3a6fa8 100%);
}
.cta::before,
.cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.cta::before {
  top: -180px; left: -120px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(71, 178, 228, .3), transparent 66%);
}
.cta::after {
  bottom: -220px; right: -100px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(71, 178, 228, .22), transparent 68%);
}
.cta .container { position: relative; }
.cta h2 { color: #fff; font-size: clamp(26px, 3.2vw, 40px); margin-bottom: 14px; }
.cta p { max-width: 640px; margin: 0 auto 32px; color: rgba(255, 255, 255, .76); font-size: 16.5px; }
.cta .btn + .btn { margin-left: 12px; }

/* ---------- 页脚 ---------- */
.footer {
  padding: 60px 0 26px;
  border-top: 1px solid var(--line);
  background: var(--soft);
  color: var(--muted);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 46px;
}
.footer .brand { margin-bottom: 16px; }
.footer .brand img { height: 32px; }
.footer .about { max-width: 380px; font-size: 14px; line-height: 1.8; }
.footer h5 {
  margin-bottom: 16px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--navy);
  text-transform: uppercase;
}
.footer a { display: block; margin-bottom: 10px; font-size: 14px; color: var(--muted); }
.footer a:hover { color: var(--accent); }
.footer .contact-line { display: flex; gap: 9px; margin-bottom: 10px; font-size: 14px; }
.footer .contact-line svg { flex: none; width: 16px; height: 16px; margin-top: 5px; color: var(--accent-solid); }
.copy {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(55, 81, 126, .1);
  font-size: 13px;
  color: #8497ad;
}

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .topic, .dept, .btn { transition: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .depts { grid-template-columns: repeat(3, 1fr); }
  .topics { grid-template-columns: repeat(2, 1fr); }
  .g-5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
  .nav > a:not(.btn) { display: none; }
  .nav .btn { margin-left: auto; }
  .hero { padding: 128px 0 78px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-lead { max-width: none; }
  .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); }
  .g-4.steps { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer .about { max-width: none; }
}

@media (max-width: 640px) {
  .section { padding: 66px 0; }
  .section-head { margin-bottom: 40px; }
  .g-2, .g-3, .g-4, .g-4.steps, .g-5 { grid-template-columns: 1fr; }
  .depts { grid-template-columns: repeat(2, 1fr); }
  .topics { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .cta .btn + .btn { margin-left: 0; margin-top: 12px; }
  .header-inner { height: 66px; }
  .brand img { height: 30px; }
}
