/* ===== 车智盾官网 · 全局样式（浅色科技风） ===== */
:root {
  --brand: #1a56db;          /* 主蓝 */
  --brand-dark: #123d9e;     /* 深蓝 */
  --brand-light: #e8f0fe;    /* 浅蓝底 */
  --accent: #00b4d8;         /* 科技青 */
  --ink: #0f1b35;            /* 主文字 */
  --ink-2: #4a5878;          /* 次文字 */
  --ink-3: #8a96b3;          /* 弱文字 */
  --line: #e6ebf5;           /* 描边 */
  --bg: #ffffff;             /* 页面底色 */
  --bg-soft: #f5f8ff;        /* 浅灰蓝块 */
  --danger: #e23a3a;         /* 警示红 */
  --ok: #18a058;             /* 成功绿 */
  --radius: 16px;
  --shadow-sm: 0 4px 16px rgba(26,86,219,.06);
  --shadow-md: 0 12px 40px rgba(26,86,219,.10);
  --shadow-lg: 0 24px 60px rgba(26,86,219,.16);
  --maxw: 1180px;
  --font: "PingFang SC","Microsoft YaHei","Hiragino Sans GB",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 92px 0; }
.text-center { text-align: center; }
.muted { color: var(--ink-2); }

/* ===== 顶部导航 ===== */
.header {
  position: -webkit-sticky; position: sticky; top: 0; z-index: 100;
  background: #ffffff; /* 微信 webview 不支持毛玻璃时回退为纯白 */
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px;
  padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: .5px; }
.brand .logo {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: grid; place-items: center; color: #fff; font-size: 18px;
  box-shadow: var(--shadow-sm);
}
.brand .logo::before { content: "盾"; font-weight: 900; }
.brand b { color: var(--brand); }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { color: var(--ink-2); font-weight: 600; font-size: 15px; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--brand); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; transition: .3s; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px; font-weight: 700; font-size: 15px;
  cursor: pointer; border: none; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: #fff; color: var(--brand); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); transform: translateY(-2px); }
.btn-lg { padding: 16px 36px; font-size: 17px; }

/* ===== 区块标题 ===== */
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-tag {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  background: var(--brand-light); color: var(--brand); font-weight: 700; font-size: 13px;
  letter-spacing: 1px; margin-bottom: 16px;
}
.section-head h2 { font-size: 34px; font-weight: 800; letter-spacing: .5px; line-height: 1.3; }
.section-head p { color: var(--ink-2); font-size: 16px; margin-top: 14px; }

/* ===== 首页 Hero ===== */
.hero { position: relative; padding: 84px 0 96px; background:
  radial-gradient(1200px 500px at 80% -10%, rgba(0,180,216,.16), transparent 60%),
  radial-gradient(900px 480px at 0% 0%, rgba(26,86,219,.14), transparent 55%),
  linear-gradient(180deg, #f7faff, #ffffff); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: 44px; line-height: 1.22; font-weight: 800; letter-spacing: .5px; }
.hero h1 .hl { color: var(--brand); }
.hero h1 .hl-red { color: var(--danger); }
.hero .lead { font-size: 18px; color: var(--ink-2); margin: 22px 0 30px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 44px; }
.hero-stats .num { font-size: 30px; font-weight: 800; color: var(--brand); }
.hero-stats .lbl { font-size: 13px; color: var(--ink-3); }
.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.hero-card::before { content:""; position:absolute; inset:0; background:
  radial-gradient(400px 200px at 100% 0, rgba(0,180,216,.12), transparent 60%); }
.signal-visual { position: relative; z-index: 1; }
.signal-visual .row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.signal-visual .row:last-child { border-bottom: none; }
.signal-visual .name { font-weight: 600; }
.signal-visual .bars { display: flex; gap: 4px; align-items: flex-end; height: 22px; }
.signal-visual .bars i { width: 6px; border-radius: 3px; background: var(--brand); opacity: .85; }
.signal-visual .bars i:nth-child(1){height:8px} .signal-visual .bars i:nth-child(2){height:13px} .signal-visual .bars i:nth-child(3){height:18px} .signal-visual .bars i:nth-child(4){height:22px}
.signal-visual .bars.blocked i { background: var(--ink-3); opacity: .3; }
.alarm-badge {
  margin-top: 18px; background: linear-gradient(135deg,#fff,#fff); border:1px solid #ffd9d9;
  border-radius: 14px; padding: 14px 16px; display: flex; align-items: center; gap: 12px;
  position: relative; z-index: 1;
}
.alarm-badge .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 0 0 rgba(226,58,58,.5); animation: pulse 1.6s infinite; }
.alarm-badge b { color: var(--danger); }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(226,58,58,.5)} 70%{box-shadow:0 0 0 12px rgba(226,58,58,0)} 100%{box-shadow:0 0 0 0 rgba(226,58,58,0)} }

/* ===== 痛点 / 对比 ===== */
.pain { background: var(--bg-soft); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare .card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.compare .card.bad { border-top: 4px solid var(--danger); }
.compare .card.good { border-top: 4px solid var(--ok); }
.compare h3 { font-size: 19px; margin-bottom: 8px; display:flex; align-items:center; gap:8px; }
.compare .bad h3 { color: var(--danger); }
.compare .good h3 { color: var(--ok); }
.compare ul { list-style: none; margin-top: 14px; }
.compare li { padding: 9px 0 9px 28px; position: relative; color: var(--ink-2); }
.compare li::before { content: ""; position: absolute; left: 0; top: 14px; width: 18px; height: 18px; border-radius: 50%; }
.compare .bad li::before { background: rgba(226,58,58,.12); box-shadow: inset 0 0 0 2px var(--danger); }
.compare .good li::before { background: rgba(24,160,88,.12); box-shadow: inset 0 0 0 2px var(--ok); }

/* ===== 核心优势（屏蔽器检测）===== */
.core { background: linear-gradient(180deg,#fff,#f5f8ff); }
.core-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.core-figure {
  background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px;
  box-shadow: var(--shadow-md); position: relative;
}
.core-figure .shield-icon { width: 84px; height: 84px; border-radius: 20px; background: linear-gradient(135deg,var(--brand),var(--accent)); display:grid; place-items:center; color:#fff; font-size:40px; margin-bottom:18px; box-shadow: var(--shadow-md); }
.triple { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.triple .t { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border:1px solid var(--line); border-radius: 12px; background: var(--bg-soft); }
.triple .t .ico { width: 34px; height: 34px; border-radius: 9px; background: var(--brand-light); color: var(--brand); display:grid; place-items:center; font-weight:800; }
.feature-list { list-style: none; }
.feature-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.feature-list li:last-child { border-bottom: none; }
.feature-list .ic { flex: 0 0 40px; height: 40px; border-radius: 11px; background: var(--brand-light); color: var(--brand); display:grid; place-items:center; font-weight:800; }
.feature-list h4 { font-size: 16px; }
.feature-list p { color: var(--ink-2); font-size: 14px; }

/* ===== 十大功能 ===== */
.features-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.feat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px;
  text-align: center; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feat:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.feat .emoji { font-size: 30px; margin-bottom: 10px; }
.feat h4 { font-size: 15px; font-weight: 700; min-height: 42px; display:flex; align-items:center; justify-content:center; }
.feat p { font-size: 12.5px; color: var(--ink-3); }

/* ===== 四大特性 ===== */
.points { background: var(--bg-soft); }
.points-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.point { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.point .top { display:flex; align-items:center; gap:14px; margin-bottom:10px; }
.point .badge { width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(135deg,var(--brand),var(--accent)); color:#fff; display:grid; place-items:center; font-size:22px; }
.point h3 { font-size: 19px; }
.point p { color: var(--ink-2); font-size: 15px; }

/* ===== 设防模式 chips ===== */
.modes { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.mode-chip { background:#fff; border:1px solid var(--line); border-radius: 999px; padding: 10px 20px; font-weight:600; color: var(--ink-2); box-shadow: var(--shadow-sm); }

/* ===== 对比表 ===== */
.ctable { width: 100%; border-collapse: collapse; background:#fff; border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-sm); border:1px solid var(--line); }
.ctable th, .ctable td { padding: 15px 18px; text-align: center; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.ctable th { background: var(--brand-light); color: var(--brand); font-weight: 700; }
.ctable td:first-child, .ctable th:first-child { text-align: left; font-weight: 600; }
.ctable tr:last-child td { border-bottom: none; }
.ctable .yes { color: var(--ok); font-weight: 800; }
.ctable .no { color: var(--ink-3); }

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff; border-radius: 28px; padding: 56px 40px; text-align: center;
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.cta::before { content:""; position:absolute; inset:0; background:
  radial-gradient(500px 300px at 90% 10%, rgba(0,180,216,.45), transparent 60%); }
.cta h2 { font-size: 32px; position: relative; }
.cta p { margin: 14px 0 28px; opacity: .92; position: relative; }
.cta .btn-primary { background:#fff; color: var(--brand); position: relative; }

/* ===== 页脚 ===== */
.footer { background: #0f1b35; color: #cdd6ee; padding: 56px 0 30px; }
.footer .f-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer .brand { color:#fff; }
.footer .brand b { color:#fff; }
.footer h4 { color:#fff; font-size: 15px; margin-bottom: 16px; }
.footer a { color:#cdd6ee; display:block; padding: 5px 0; font-size: 14px; }
.footer a:hover { color:#fff; }
.footer .f-bottom { border-top:1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; font-size: 13px; color:#8a96b3; text-align:center; }
.footer .f-bottom .beian { color:#cdd7ee; text-decoration:none; border-bottom:1px solid rgba(205,215,238,.4); }
.footer .f-bottom .beian:hover { color:#fff; border-bottom-color:#fff; }

/* ===== 联系页 ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.contact-item { display:flex; gap:14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.contact-item:last-child { border-bottom:none; }
.contact-item .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--brand-light); color: var(--brand); display:grid; place-items:center; font-size:20px; flex:0 0 42px; }
.contact-item .k { font-size: 13px; color: var(--ink-3); }
.contact-item .v { font-weight: 700; font-size: 17px; }
.contact-item .v a { color: var(--brand); }
.wx-box { margin-top: 18px; text-align:center; border:1px dashed var(--brand); border-radius: 14px; padding: 22px 18px; background: var(--bg-soft); }
.wx-qr { display: block; max-width: 240px; width: 100%; height: auto; margin: 0 auto 10px; border-radius: 12px; background:#fff; border:1px solid var(--line); object-fit: contain; box-shadow: var(--shadow-sm); }
.wx-note { font-size: 13px; color: var(--ink-3); }
.form .field { margin-bottom: 16px; }
.form label { display:block; font-weight:600; font-size: 14px; margin-bottom: 7px; }
.form input, .form textarea, .form select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; font-size: 15px;
  font-family: var(--font); color: var(--ink); background:#fff; transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form textarea:focus, .form select:focus { outline:none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-light); }
.form textarea { resize: vertical; min-height: 110px; }
.form .hint { font-size: 12.5px; color: var(--ink-3); margin-top: 6px; }
.map-note { background: var(--bg-soft); border:1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-top: 8px; }

/* ===== 滚动揭示动画 ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity:1; transform:none; } }

/* ===== 响应式 ===== */
@media (max-width: 980px) {
  .hero-grid, .core-grid, .compare, .contact-grid, .points-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer .f-top { grid-template-columns: 1fr 1fr; }
  .section-head h2 { font-size: 30px; }
  .hero h1 { font-size: 34px; }
}
@media (max-width: 640px) {
  section { padding: 56px 0; }
  .container { padding: 0 18px; }
  .section-head { margin-bottom: 38px; }
  .section-head h2 { font-size: 25px; }
  .hero { padding: 56px 0 64px; }
  .hero h1 { font-size: 28px; line-height: 1.3; }
  .hero .lead { font-size: 16px; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .hero-stats .num { font-size: 24px; }
  .cta { padding: 40px 22px; border-radius: 20px; }
  .cta h2 { font-size: 24px; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background:#fff; flex-direction: column; gap: 0; padding: 10px 18px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line); width: 100%; }
  .nav-toggle { display: block; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feat { padding: 18px 12px; }
  .feat h4 { font-size: 14px; min-height: 38px; }
  .footer .f-top { grid-template-columns: 1fr; gap: 26px; }
  .hero-actions .btn { flex: 1; justify-content: center; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 25px; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 14px; }
}

/* ===== APP 下载页（移动端优先） ===== */
.dl-page {
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column;
  background:
    radial-gradient(900px 420px at 50% -12%, rgba(0,180,216,.22), transparent 62%),
    radial-gradient(720px 380px at 95% 8%, rgba(26,86,219,.14), transparent 58%),
    linear-gradient(180deg, #f6f9ff, #ffffff 62%);
}
.dl-main {
  flex: 1; width: 100%; max-width: 460px; margin: 0 auto;
  padding: 32px 20px 28px;
  padding-top: calc(32px + env(safe-area-inset-top));
  padding-bottom: calc(28px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.dl-brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 19px; letter-spacing: .5px; margin-bottom: 30px; }
.dl-brand .logo { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, var(--brand), var(--accent)); display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-sm); }
.dl-brand .logo::before { content: "盾"; font-weight: 900; font-size: 15px; }
.dl-brand b { color: var(--brand); }

.dl-icon {
  width: 96px; height: 96px; border-radius: 26px; margin-bottom: 22px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: grid; place-items: center; color: #fff; font-size: 34px; font-weight: 900;
  box-shadow: 0 18px 44px rgba(26,86,219,.30); position: relative;
}
.dl-icon::before { content: "盾"; }
.dl-icon::after {
  content: "ANDROID"; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
  font-size: 10px; font-weight: 800; letter-spacing: 1px; color: #fff;
  background: #3ddc84; padding: 3px 11px; border-radius: 999px; box-shadow: 0 4px 10px rgba(61,220,132,.45);
}

.dl-title { font-size: 24px; font-weight: 800; letter-spacing: .5px; }
.dl-sub { color: var(--ink-2); font-size: 14px; margin-top: 6px; }

.dl-card {
  width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 22px 20px; margin-top: 26px; box-shadow: var(--shadow-md);
}
.dl-btn { width: 100%; justify-content: center; }
.dl-btn[disabled], .dl-btn.is-loading { opacity: .8; cursor: default; transform: none !important; box-shadow: var(--shadow-sm); }
.dl-spinner {
  width: 16px; height: 16px; border-radius: 50%; display: inline-block;
  border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; animation: dlspin .7s linear infinite;
}
@keyframes dlspin { to { transform: rotate(360deg); } }

.dl-ver {
  display: inline-block; vertical-align: 4px; margin-left: 9px;
  font-size: 12px; font-weight: 700; letter-spacing: .3px;
  color: var(--brand); background: rgba(26,86,219,.08);
  border: 1px solid rgba(26,86,219,.18);
  padding: 3px 10px; border-radius: 999px;
}
.dl-ver[hidden] { display: none; }

.dl-status { margin-top: 16px; font-size: 13px; min-height: 20px; color: var(--ink-3); word-break: break-all; }
.dl-status.err { color: var(--danger); }
.dl-status.ok { color: var(--ok); }
.dl-status a { color: var(--brand); font-weight: 700; word-break: break-all; }

.dl-tip { width: 100%; margin-top: 20px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 15px 16px; text-align: left; }
.dl-tip h4 { font-size: 13px; margin-bottom: 8px; color: var(--ink); }
.dl-tip ol { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 12.8px; }
.dl-tip li { padding: 3px 0; }

.dl-foot { margin-top: 26px; font-size: 12px; color: var(--ink-3); }
.dl-foot a { color: var(--ink-3); }
.dl-foot a:hover { color: var(--brand); }
