/* ============================================================
   无招 AI 汽修 · 官网设计系统
   主色：深蓝 #0F2A4A + 科技青 #129E9F ｜ 风格：高端、克制、大留白
   ============================================================ */

/* ---------- 设计变量 ---------- */
:root {
  /* 品牌色 */
  --navy: #0F2A4A;
  --navy-2: #14375E;
  --navy-3: #1B5EA8;
  --teal: #129E9F;
  --teal-dark: #0E7E7F;
  --green: #2EA45A;
  --orange: #F28C28;
  --red: #D64A3F;

  /* 中性色 */
  --ink: #1F2D3D;
  --body: #5B6B7E;
  --muted: #8A99A8;
  --line: #E3E9F2;
  --bg: #F4F7FB;
  --bg-soft: #EEF3F9;
  --teal-bg: #E6F6F6;
  --green-bg: #E7F3EC;
  --orange-bg: #FDF3E8;
  --white: #FFFFFF;

  /* 字体 */
  --font: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* 尺寸 */
  --container: 1200px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(15, 42, 74, .06);
  --shadow: 0 12px 34px rgba(15, 42, 74, .10);
  --shadow-lg: 0 26px 60px rgba(15, 42, 74, .16);
  --header-h: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--body);
  font-size: 16px; line-height: 1.75; background: var(--white);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5 { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.28; }
p { margin: 0; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: rgba(18, 158, 159, .22); }

/* ---------- 布局工具 ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--soft { background: var(--bg); }
.section--navy { background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 60%, #16406b 100%); color: #cdddf0; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700;
  letter-spacing: .12em; color: var(--teal); text-transform: uppercase; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--teal); border-radius: 2px; }
.section--navy .eyebrow { color: #6fd6d7; }
.section-title { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 14px; }
.section-sub { font-size: clamp(14px, 1.6vw, 16px); color: var(--body); }
.section--navy .section-sub { color: #9fb6d0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 700;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap; border: 1.5px solid transparent;
}
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 10px 24px rgba(18, 158, 159, .32); }
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 16px 32px rgba(18, 158, 159, .4); }
.btn-navy { background: var(--navy-3); color: #fff; }
.btn-navy:hover { background: var(--navy); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--navy); background: transparent; }
.btn-ghost:hover { border-color: var(--navy-3); color: var(--navy-3); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline-white { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; transition: background .3s, box-shadow .3s;
}
.site-header.scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(14px); box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; color: var(--navy); }
.brand .brand-mark {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy-3), var(--teal)); color: #fff; font-size: 18px; font-weight: 800;
}
.site-header:not(.scrolled) .brand { color: #fff; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { font-size: 15px; font-weight: 600; color: var(--ink); position: relative; padding: 6px 0; }
.site-header:not(.scrolled) .main-nav a { color: rgba(255,255,255,.88); }
.main-nav a:hover, .main-nav a.active { color: var(--teal); }
.main-nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--teal); border-radius: 2px;
}
.header-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 110; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s var(--ease); }
.site-header:not(.scrolled) .nav-toggle span { background: #fff; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 移动端抽屉菜单 */
.mobile-menu {
  position: fixed; inset: 0; z-index: 105; background: rgba(15,42,74,.97);
  display: flex; flex-direction: column; justify-content: center; padding: 40px 32px; gap: 6px;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a { color: #dbe7f4; font-size: 20px; font-weight: 700; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-menu .btn { margin-top: 26px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: calc(var(--header-h) + 84px) 0 90px; overflow: hidden;
  background: radial-gradient(1100px 520px at 78% -10%, #1d4d80 0%, transparent 60%),
              linear-gradient(155deg, var(--navy) 0%, var(--navy-2) 55%, #10304f 100%);
  color: #d7e4f2;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 72%);
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px;
  background: rgba(18,158,159,.16); border: 1px solid rgba(111,214,215,.4); color: #8fe3e4;
  font-size: 13px; font-weight: 600; margin-bottom: 24px;
}
.hero h1 { color: #fff; font-size: clamp(32px, 5vw, 52px); line-height: 1.18; margin-bottom: 22px; letter-spacing: -.5px; }
.hero h1 .accent { color: #5fd2d3; }
.hero-lead { font-size: clamp(15px, 1.8vw, 18px); color: #aec3da; max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 38px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero-tags span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #c4d5e8; }
.hero-tags span::before { content: "✓"; color: var(--teal); font-weight: 800; }
.hero-visual { position: relative; min-height: 380px; }
.device-stack { position: relative; height: 440px; }
.mock-desktop, .mock-phone {
  position: absolute; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.14); background: #fff;
}
.mock-desktop { width: 78%; left: 0; top: 26px; height: 300px; z-index: 1; }
.mock-phone { width: 38%; right: 0; bottom: 0; height: 360px; z-index: 2; border-radius: 26px; }
.mock-bar { height: 30px; background: var(--navy); display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.35); display: block; }
.mock-body { padding: 16px; display: grid; gap: 10px; }
.mock-line { height: 12px; border-radius: 6px; background: var(--bg-soft); }
.mock-line.w60 { width: 60%; } .mock-line.w80 { width: 80%; } .mock-line.w40 { width: 40%; }
.mock-block { height: 64px; border-radius: 10px; background: var(--teal-bg); }
.mock-phone .mock-bar { height: 26px; }
.glow-orb { position: absolute; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(18,158,159,.45), transparent 70%); filter: blur(8px); z-index: 0; }
.glow-orb.a { right: -40px; top: -30px; }

/* ---------- 通用卡片 / 栅格 ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  font-size: 24px; background: var(--teal-bg); color: var(--teal);
}
.card-icon.blue { background: var(--bg-soft); color: var(--navy-3); }
.card-icon.green { background: var(--green-bg); color: var(--green); }
.card-icon.orange { background: var(--orange-bg); color: var(--orange); }
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--body); }
.card ul { margin-top: 12px; display: grid; gap: 8px; }
.card ul li { font-size: 13.5px; color: var(--body); padding-left: 20px; position: relative; }
.card ul li::before { content: "—"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }

/* 痛点卡 */
.pain-card { text-align: left; }
.pain-card .pain-kw {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--navy-3), var(--teal));
}

/* ---------- 双端协同 ---------- */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 18px; }
.flow-node {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; text-align: center;
}
.flow-node .fn-icon { font-size: 30px; margin-bottom: 12px; }
.flow-node h3 { font-size: 18px; margin-bottom: 8px; }
.flow-node p { font-size: 13px; color: var(--body); }
.flow-node.center { background: linear-gradient(150deg, var(--navy), var(--navy-2)); border-color: transparent; color: #cdddf0; }
.flow-node.center h3 { color: #fff; } .flow-node.center p { color: #9fb6d0; }
.flow-arrow { display: grid; place-items: center; color: var(--teal); font-size: 26px; font-weight: 800; }

/* ---------- 数据/数字 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; }
.stat .num { font-size: clamp(30px, 4vw, 42px); font-weight: 800; color: var(--navy); line-height: 1; }
.section--navy .stat .num { color: #5fd2d3; }
.stat .num em { font-style: normal; font-size: .55em; color: var(--teal); margin-left: 2px; }
.stat .label { margin-top: 10px; font-size: 14px; color: var(--body); }
.section--navy .stat .label { color: #9fb6d0; }

/* ---------- 双栏图文 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-media { order: 2; }
.check-list { display: grid; gap: 14px; margin-top: 22px; }
.check-list li { display: flex; gap: 12px; font-size: 15px; color: var(--body); }
.check-list li::before {
  content: "✓"; flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--teal-bg); color: var(--teal); font-weight: 800; display: grid; place-items: center; font-size: 13px;
}
.shot {
  border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line);
  background: var(--bg); min-height: 300px; overflow: hidden;
}

/* ---------- 对比表 ---------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.compare th, .compare td { padding: 16px 18px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--navy); color: #fff; font-weight: 700; text-align: center; }
.compare thead th:first-child { text-align: left; }
.compare tbody th { color: var(--navy); font-weight: 700; background: var(--bg); }
.compare td { text-align: center; color: var(--body); }
.compare td:first-child { text-align: left; }
.compare .good { color: var(--green); font-weight: 700; }
.compare .bad { color: var(--muted); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: none; }

/* ---------- FAQ ---------- */
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 14px; overflow: hidden; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; font-size: 16px; font-weight: 700; color: var(--ink); text-align: left; }
.faq-q .ico { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--teal-bg); color: var(--teal);
  display: grid; place-items: center; font-size: 18px; transition: transform .3s var(--ease); }
.faq-item.open .faq-q .ico { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { padding: 0 24px 22px; font-size: 14.5px; color: var(--body); }

/* ---------- CTA ---------- */
.cta-band { background: linear-gradient(150deg, var(--navy), var(--navy-2)); border-radius: var(--radius-lg);
  padding: 60px 48px; text-align: center; color: #d7e4f2; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 26px 26px; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin-bottom: 14px; }
.cta-band p { color: #aec3da; max-width: 620px; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.contact-cell { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 24px; }
.contact-cell .cc-label { font-size: 13px; color: #8fb0cf; margin-bottom: 8px; }
.contact-cell .cc-value { font-size: 17px; font-weight: 700; color: #fff; }

/* ---------- 案例 Logo 墙 ---------- */
.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.logo-cell { aspect-ratio: 3/2; border: 1px dashed var(--line); border-radius: var(--radius-sm);
  display: grid; place-items: center; color: var(--muted); font-size: 13px; background: #fff; }

/* ---------- 页脚 ---------- */
.site-footer { background: #0b1f38; color: #93a8c2; padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: 13.5px; line-height: 1.9; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.footer-col a { display: block; font-size: 14px; padding: 7px 0; color: #93a8c2; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 26px; font-size: 13px; }
.footer-bottom a { color: #93a8c2; } .footer-bottom a:hover { color: #fff; }

/* ---------- 占位样式（便于李总识别替换） ---------- */
.ph-img { display: grid; place-items: center; background:
  repeating-linear-gradient(45deg, var(--bg-soft), var(--bg-soft) 12px, #e9f0f8 12px, #e9f0f8 24px);
  color: var(--muted); font-size: 13px; font-weight: 600; text-align: center; padding: 18px; }
.ph-text { background: rgba(18,158,159,.12); color: var(--teal-dark); border-radius: 6px; padding: 1px 8px; font-weight: 700; font-style: normal; }
.ph-qr { width: 150px; height: 150px; border-radius: 12px; }

/* ---------- 滚动进入动画 ----------
   隐藏态仅在 html.js（JS 可用）时生效，保证无 JS/SEO 爬虫能看到完整内容；
   .is-static（?static 预览）、打印、减少动态偏好下一律直接展示。 */
html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
html.js.is-static .reveal { opacity: 1; transform: none; }
@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 页面内页横幅 ---------- */
.page-hero { padding: calc(var(--header-h) + 56px) 0 56px;
  background: radial-gradient(900px 400px at 80% -20%, #1d4d80, transparent 60%), linear-gradient(155deg, var(--navy), var(--navy-2));
  color: #d7e4f2; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.page-hero p { color: #aec3da; max-width: 720px; font-size: 16px; }
.breadcrumb { font-size: 13px; color: #8fb0cf; margin-bottom: 16px; }
.breadcrumb a { color: #8fb0cf; } .breadcrumb a:hover { color: #fff; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); padding: 4px 0; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .main-nav, .header-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding: calc(var(--header-h) + 52px) 0 64px; }
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 320px; }
  .device-stack { height: 340px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .split-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .cta-band { padding: 44px 26px; }
  .compare { font-size: 13px; }
  .compare th, .compare td { padding: 12px 10px; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
}
