/* ===== 快安盾官网 · www.kuaiandun.com ===== */
:root {
  --blue: #1273b8;
  --blue-light: #35b6ee;
  --blue-deep: #0b3a63;
  --navy: #0a2540;
  --red: #e03e2d;
  --text: #1c2b3a;
  --muted: #5b6b7b;
  --bg: #ffffff;
  --bg-light: #f3f8fc;
  --bg-dark: #0a2540;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(10, 37, 64, .08);
  --shadow-hover: 0 14px 40px rgba(10, 37, 64, .14);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---- 通用 ---- */
.section { padding: 88px 0; }
.bg-light { background: var(--bg-light); }
.bg-dark { background: var(--bg-dark); color: #eaf4fb; }
.sec-head { text-align: center; margin-bottom: 52px; }
.sec-head h2 { font-size: 34px; margin: 8px 0 12px; letter-spacing: 1px; }
.sec-head p { color: var(--muted); font-size: 16px; }
.sec-num { display: inline-block; font-size: 13px; letter-spacing: 3px; color: var(--blue); font-weight: 600; text-transform: uppercase; }
.sec-head.light .sec-num { color: var(--blue-light); }
.sec-head.light p { color: #a8c4da; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: #fff; border-radius: var(--radius); padding: 28px 26px;
  box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
  border: 1px solid rgba(18, 115, 184, .06);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.c-red { color: var(--red); }

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.pill-row span {
  padding: 7px 16px; border-radius: 999px; font-size: 13.5px;
  background: rgba(18, 115, 184, .08); color: var(--blue); font-weight: 500;
}
.pill-row.light span { background: rgba(53, 182, 238, .14); color: #9fd8f5; }

/* ---- 按钮 ---- */
.btn {
  display: inline-block; padding: 13px 30px; border-radius: 999px;
  font-size: 15.5px; font-weight: 600; transition: all .2s; cursor: pointer;
}
.btn.sm { padding: 9px 20px; font-size: 13.5px; }
.btn.lg { padding: 16px 44px; font-size: 17px; }
.btn-primary { background: linear-gradient(135deg, var(--red), #ff6b3d); color: #fff; box-shadow: 0 6px 18px rgba(224, 62, 45, .3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(224, 62, 45, .4); }
.btn-outline { border: 1.5px solid rgba(255,255,255,.7); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-ghost { border: 1.5px solid var(--blue); color: var(--blue); }
.btn-ghost:hover { background: var(--blue); color: #fff; }

/* ---- 导航 ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(10,37,64,.07); transition: box-shadow .2s;
}
.nav.scrolled { box-shadow: 0 4px 18px rgba(10, 37, 64, .1); }
.nav-inner { display: flex; align-items: center; height: 66px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 20px; color: var(--navy); flex-shrink: 0; }
.brand-mark { width: 30px; height: 30px; }
.brand-text em { display: block; font-style: normal; font-size: 9.5px; letter-spacing: 2.5px; color: var(--blue); font-weight: 600; line-height: 1; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 11px; font-size: 14px; color: var(--text); border-radius: 8px; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); font-weight: 600; }
.nav-cta { display: flex; gap: 10px; flex-shrink: 0; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }

/* ---- Hero ---- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  color: #fff; overflow: hidden; padding-top: 66px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 85% 15%, rgba(53, 182, 238, .25), transparent 60%),
    radial-gradient(700px 450px at 10% 85%, rgba(224, 62, 45, .18), transparent 60%),
    linear-gradient(150deg, #071c33 0%, #0a2540 45%, #0e3a5f 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(53,182,238,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53,182,238,.06) 1px, transparent 1px);
  background-size: 46px 46px;
}
.hero-inner { position: relative; text-align: center; padding: 60px 24px; }
.hero-tag {
  display: inline-block; padding: 7px 20px; border-radius: 999px; font-size: 13.5px;
  letter-spacing: 2px; border: 1px solid rgba(53,182,238,.45); color: #9fd8f5; margin-bottom: 26px;
}
.hero h1 { font-size: 44px; line-height: 1.35; letter-spacing: 2px; }
.hero h1 .grad {
  background: linear-gradient(90deg, #6fd0ff, #35b6ee);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin: 22px 0 34px; color: #b9d4e8; font-size: 17px; letter-spacing: 1px; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: flex; justify-content: center; gap: 56px; flex-wrap: wrap;
  margin-top: 64px; padding-top: 34px; border-top: 1px solid rgba(255,255,255,.14);
}
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 30px; color: #6fd0ff; font-weight: 800; }
.hero-stats span { font-size: 13.5px; color: #a8c4da; margin-top: 4px; }

/* ---- 战略背书 ---- */
.merge-grid { display: grid; grid-template-columns: 1fr 60px 1fr; align-items: stretch; gap: 12px; max-width: 880px; margin: 0 auto; }
.merge-x { display: flex; align-items: center; justify-content: center; font-size: 34px; color: var(--blue); font-weight: 300; }
.merge-card { background: #fff; border-radius: var(--radius); padding: 32px 30px; box-shadow: var(--shadow); border-top: 4px solid var(--blue); }
.merge-card h3 { font-size: 20px; margin-bottom: 6px; }
.merge-sub { color: var(--blue); font-size: 13.5px; font-weight: 600; margin-bottom: 14px; }
.merge-card ul { list-style: none; }
.merge-card li { padding: 5px 0 5px 20px; position: relative; color: var(--muted); font-size: 14.5px; }
.merge-card li::before { content: "✓"; position: absolute; left: 0; color: var(--blue-light); font-weight: 700; }
.merge-result {
  max-width: 880px; margin: 22px auto 0; text-align: center;
  background: linear-gradient(135deg, #0a2540, #10466e); color: #fff;
  border-radius: var(--radius); padding: 34px 34px;
}
.merge-result h3 { font-size: 21px; margin-bottom: 6px; }
.merge-result > p { color: #9fd8f5; font-size: 14px; }
.merge-desc { margin: 16px 0 4px; color: #cfe3f2 !important; font-size: 14.5px !important; line-height: 1.9; }
.merge-result .pill-row { justify-content: center; }

/* ---- 关于 ---- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 52px; align-items: center; }
.about-text h2 { font-size: 32px; margin: 8px 0 18px; }
.about-text > p { color: var(--muted); margin-bottom: 8px; }
.about-mission { margin-top: 20px; border-left: 3px solid var(--blue); padding-left: 18px; }
.about-mission p { margin: 8px 0; font-size: 14.5px; color: var(--muted); }
.about-mission b { color: var(--navy); margin-right: 12px; }
.about-img img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.about-img figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; text-align: center; }

/* ---- 痛点 ---- */
.pain-card { text-align: left; }
.pain-card h3 { font-size: 18px; margin: 14px 0 10px; }
.pain-card p { color: var(--muted); font-size: 14.5px; }
.ic {
  display: inline-flex; width: 46px; height: 46px; border-radius: 12px;
  align-items: center; justify-content: center; font-size: 21px; font-style: normal;
}
.ic-red { background: rgba(224, 62, 45, .1); color: var(--red); }

/* ---- 政策时间线 ---- */
.timeline { max-width: 860px; margin: 0 auto; position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--blue-light), var(--blue)); }
.tl-item { position: relative; padding: 0 0 30px 18px; }
.tl-item::before {
  content: ""; position: absolute; left: -33px; top: 7px; width: 14px; height: 14px;
  border-radius: 50%; background: #fff; border: 3.5px solid var(--blue);
}
.tl-year { display: inline-block; font-weight: 700; color: var(--blue); font-size: 14px; letter-spacing: 1px; }
.tl-body h3 { font-size: 17.5px; margin: 4px 0; }
.tl-body p { color: var(--muted); font-size: 14.5px; }
.policy-note { text-align: center; margin-top: 20px; font-size: 19px; color: var(--navy); }

/* ---- 平台架构 ---- */
.arch { display: flex; flex-direction: column; gap: 12px; max-width: 880px; margin: 0 auto; }
.arch-layer {
  display: flex; align-items: center; gap: 26px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(53,182,238,.22);
  border-radius: 12px; padding: 18px 28px;
}
.arch-name {
  flex-shrink: 0; width: 86px; text-align: center; font-weight: 700; font-size: 16px;
  color: #6fd0ff; border-right: 1px solid rgba(53,182,238,.3); padding-right: 20px;
}
.arch-layer p { color: #cfe3f2; font-size: 14.5px; }
.arch-extra { max-width: 880px; margin: 26px auto 0; text-align: center; }
.arch-callout { border-left: 4px solid var(--red); background: rgba(224,62,45,.1); border-radius: 0 12px 12px 0; padding: 18px 26px; text-align: left; margin-bottom: 6px; }
.arch-callout h3 { color: #ffb3a8; font-size: 17px; margin-bottom: 6px; }
.arch-callout p { color: #f2d7d3; font-size: 14.5px; }

/* ---- 产品 ---- */
.prod-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 900px; margin: 0 auto 36px; text-align: center; }
.prod-stats strong { display: block; font-size: 30px; color: var(--blue); font-weight: 800; }
.prod-stats span { font-size: 13.5px; color: var(--muted); }
.prod-card { position: relative; padding-top: 34px; }
.prod-card h3 { font-size: 20px; margin-bottom: 10px; }
.prod-card p { color: var(--muted); font-size: 14.5px; }
.prod-badge {
  position: absolute; top: -13px; left: 26px; padding: 4px 15px; border-radius: 999px;
  background: linear-gradient(135deg, var(--red), #ff6b3d); color: #fff; font-size: 12.5px; font-weight: 600;
}
.prod-badge.blue { background: linear-gradient(135deg, var(--blue), var(--blue-light)); }
.prod-foot { text-align: center; margin-top: 34px; }
.prod-foot > p:first-child { font-size: 17px; color: var(--navy); margin-bottom: 4px; }
.prod-foot .pill-row { justify-content: center; }
.prod-foot .muted { margin-top: 6px; }

/* ---- 核心能力 ---- */
.ability-card { position: relative; overflow: hidden; }
.ability-num {
  position: absolute; right: 16px; top: 6px; font-size: 74px; font-weight: 800;
  color: rgba(18, 115, 184, .08); line-height: 1;
}
.ability-card h3 { font-size: 18px; margin-bottom: 10px; position: relative; }
.ability-card p { color: var(--muted); font-size: 14.5px; position: relative; }
.flow { max-width: 980px; margin: 40px auto 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 30px; }
.flow-title { text-align: center; font-size: 18px; margin-bottom: 20px; }
.flow-steps { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; }
.flow-steps span {
  padding: 9px 16px; background: rgba(18,115,184,.08); border-radius: 9px;
  font-size: 13.5px; font-weight: 600; color: var(--blue);
}
.flow-steps i { color: var(--blue-light); font-style: normal; font-weight: 700; }
.value-strip {
  max-width: 980px; margin: 26px auto 0; text-align: center;
  background: linear-gradient(135deg, #0a2540, #10466e); color: #fff;
  border-radius: var(--radius); padding: 28px 34px;
}
.value-strip h3 { font-size: 18px; margin-bottom: 8px; color: #6fd0ff; }
.value-strip p { font-size: 14.5px; color: #cfe3f2; }

/* ---- 标准 ---- */
.std-code { font-size: 18px !important; font-weight: 700; color: var(--navy) !important; margin-top: 14px; }
.std-code small { font-weight: 400; color: var(--muted); font-size: 13.5px; }
.std-card { text-align: center; padding: 26px 14px; }
.std-card strong { display: block; font-size: 30px; color: var(--blue); font-weight: 800; }
.std-card span { font-size: 13.5px; color: var(--muted); }
.std-note { max-width: 860px; margin: 34px auto 0; text-align: center; background: rgba(18,115,184,.06); border-radius: var(--radius); padding: 26px 34px; }
.std-note p:first-child { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.std-note p:last-child { color: var(--muted); font-size: 14.5px; }

/* ---- 军事化值守 ---- */
.guard-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; }
.guard-img img { border-radius: var(--radius); width: 100%; box-shadow: 0 12px 40px rgba(0,0,0,.35); }
.guard-img figcaption { font-size: 13px; color: #a8c4da; margin-top: 10px; text-align: center; }
.dark-card { background: rgba(255,255,255,.06); border: 1px solid rgba(53,182,238,.2); box-shadow: none; }
.dark-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.dark-card h3 { font-size: 17px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; color: #fff; }
.dark-card h3 i {
  font-style: normal; width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: var(--blue-light); color: var(--bg-dark); font-size: 14px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.dark-card p { color: #b9d4e8; font-size: 14px; }
.guard-cards { gap: 18px; }

/* ---- 标杆 ---- */
.edge-card h3 { font-size: 17px; margin-bottom: 8px; color: var(--navy); position: relative; padding-left: 16px; }
.edge-card h3::before { content: ""; position: absolute; left: 0; top: 7px; bottom: 7px; width: 4px; border-radius: 2px; background: linear-gradient(var(--blue-light), var(--blue)); }
.edge-card p { color: var(--muted); font-size: 14px; }

/* ---- 客户价值 ---- */
.val-card { text-align: center; border-top: 4px solid var(--blue); }
.val-card strong { display: block; font-size: 30px; color: var(--navy); font-weight: 800; }
.val-card span { font-size: 13.5px; color: var(--muted); }
.check-list { list-style: none; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 30px; }
.check-list li { padding: 8px 0 8px 30px; position: relative; font-size: 15px; color: var(--text); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 8px; width: 20px; height: 20px;
  border-radius: 50%; background: rgba(18,115,184,.1); color: var(--blue);
  font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}

/* ---- 案例 ---- */
.case-card { border-left: 4px solid var(--blue); }
.case-card span { font-size: 13px; font-weight: 700; color: var(--blue-light); letter-spacing: 2px; }
.case-card h3 { font-size: 17px; margin: 6px 0 6px; }
.case-card p { color: var(--muted); font-size: 13.5px; }
.case-note { text-align: center; margin-top: 30px; color: var(--muted); font-size: 15px; }

/* ---- 联系 ---- */
.contact {
  background: linear-gradient(150deg, #071c33, #0a2540 50%, #0e3a5f);
  color: #fff; text-align: center; padding: 100px 0;
}
.contact h2 { font-size: 36px; letter-spacing: 2px; margin-bottom: 16px; }
.contact-sub { max-width: 720px; margin: 0 auto 34px; color: #b9d4e8; font-size: 15.5px; }
.contact-info {
  display: flex; justify-content: center; gap: 44px; flex-wrap: wrap;
  margin-top: 44px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.14);
  font-size: 14px; color: #cfe3f2;
}
.contact-info b { color: #6fd0ff; margin-right: 10px; font-weight: 600; }
.contact-info a { color: #9fd8f5; text-decoration: underline; }

/* ---- Footer ---- */
.footer { background: #061829; color: #7f9bb3; padding: 30px 0; font-size: 13.5px; }
.footer-inner { text-align: center; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 8px; color: #d8e8f4; font-weight: 700; margin-bottom: 8px; }
.footer-brand .brand-mark { width: 22px; height: 22px; }
.copyright a { color: #9fd8f5; }
.copyright { margin-top: 6px; }

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

/* ---- 响应式 ---- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-cta { display: none; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 66px; left: 0; right: 0;
    background: #fff; padding: 16px 24px 22px; box-shadow: 0 18px 30px rgba(10,37,64,.12); gap: 2px;
  }
  .nav.open .nav-links a { padding: 11px 8px; font-size: 15px; border-bottom: 1px solid rgba(10,37,64,.05); }
}
@media (max-width: 900px) {
  .section { padding: 64px 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .guard-grid { grid-template-columns: 1fr; gap: 30px; }
  .merge-grid { grid-template-columns: 1fr; }
  .merge-x { padding: 0; }
  .hero h1 { font-size: 32px; }
  .hero-stats { gap: 30px; }
  .prod-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 26px; }
  .sec-head h2 { font-size: 26px; }
  .contact h2 { font-size: 27px; }
  .arch-layer { flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 20px; }
  .arch-name { width: auto; border-right: none; padding-right: 0; }
  .hero-stats { gap: 20px; }
  .hero-stats div { min-width: 40%; }
}
