/* ==========================================================================
   十极科技官网 v2.0 共享样式
   定位：AI 定制开发为核心的软件定制服务商
   ========================================================================== */

/* ---------- 变量 / 主题 ---------- */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --accent: #06b6d4;
  --accent-soft: #22d3ee;
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-light: #f1f5f9;
  --navy: #0b1220;
  --navy-soft: #0f1b34;
  --navy-line: #223253;
  --grad: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  --grad-soft: linear-gradient(135deg, rgba(37,99,235,.08) 0%, rgba(6,182,212,.08) 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(15,23,42,.18);
  --shadow-lg: 0 24px 50px -20px rgba(15,23,42,.28);
  --maxw: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
          "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink-soft);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; line-height: 1.3; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

/* ---------- 顶部导航 ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: var(--maxw); margin: 0 auto;
  height: 68px; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand .logo {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--grad);
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 18px;
}
.brand .name { font-size: 19px; font-weight: 800; color: var(--ink); letter-spacing: .5px; }
.brand .name span { color: var(--primary); }
.brand .sub { font-size: 11px; color: var(--muted); display: block; line-height: 1; margin-top: 2px; }

/* 品牌 logo 图片：原始尺寸 280×40，宽高比 7:1，高度统一 20px（宽 140px） */
.brand-img { display: block; width: auto; height: 20px; }

@media (max-width: 480px) {
  .brand-img { height: 20px; }
}

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 8px 14px; border-radius: 8px;
  font-size: 15px; color: var(--ink-soft); font-weight: 500;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--primary); background: var(--bg-light); }
.nav-links a.active { color: var(--primary); font-weight: 600; }

.nav-cta { margin-left: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 24px; border-radius: 10px;
  font-size: 15px; font-weight: 600;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn-primary { background: #1d4ed8; color: #fff; font-weight: 700; box-shadow: var(--shadow); }
.btn-primary:hover { background: #1e40af; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
/* 覆盖 .nav-links a / .nav-links a:hover 的干扰，确保导航 CTA 按钮为深蓝底白字 */
.nav-links .btn-primary { background: #1d4ed8; color: #fff; }
.nav-links .btn-primary:hover { background: #1e40af; color: #fff; }
.btn-outline { border: 1.5px solid var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { color: #cbd5e1; border: 1.5px solid var(--navy-line); }
.hero-actions .btn-ghost { color: #3d5a74; border: 1.5px solid #9fb3c8; }
.hero-actions .btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost:hover { border-color: var(--accent); color: #fff; }
.btn-white { background: #fff; color: var(--primary-dark); box-shadow: var(--shadow); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-lg { padding: 14px 30px; font-size: 16px; }

.nav-toggle {
  display: none; width: 42px; height: 42px; flex-direction: column;
  gap: 5px; align-items: center; justify-content: center; border-radius: 8px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.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); }

/* ---------- Hero（首屏） ---------- */
.hero {
  position: relative;
  color: #0f2238;
  background:
    linear-gradient(90deg, rgba(248,250,252,.85) 0%, rgba(248,250,252,.45) 50%, rgba(248,250,252,0) 100%),
    url('../images/ai_bg.png') center / cover no-repeat;
  overflow: hidden;
}
.hero h1, .hero .lead { text-shadow: 0 1px 6px rgba(2, 44, 80, .18); }
.hero-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 96px 24px 110px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 100px;
  background: rgba(6, 182, 212, .10); border: 1px solid rgba(6, 182, 212, .30);
  color: #0b7cac; font-size: 13px; letter-spacing: .4px;
  text-shadow: none;
}
.hero-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-soft); box-shadow: 0 0 0 4px rgba(34,211,238,.2); }
.hero h1 { font-size: 52px; margin: 22px 0 18px; letter-spacing: 1px; }
.hero h1 .accent { background: linear-gradient(90deg, #38bdf8, #06b6d4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 19px; color: #5b6b7c; max-width: 640px; }
.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

/* 首页 hero 网格 */
.hero-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-visual { position: relative; }
.hero-card {
  background: rgba(255,255,255,.68); border: 1px solid rgba(255,255,255,.9);
  border-radius: 20px; padding: 26px; backdrop-filter: blur(12px);
  box-shadow: 0 12px 32px rgba(13, 40, 60, .12);
}
.hero-card .h { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #64748b; letter-spacing: 1px; }
.hero-card .h i { width: 8px; height: 8px; border-radius: 3px; background: var(--accent); display: inline-block; }
.hero-msg { display: flex; gap: 10px; align-items: flex-start; padding: 16px; border-radius: 12px; background: rgba(255,255,255,.65); margin-top: 14px; border: 1px solid rgba(255,255,255,.85); }
.hero-msg .av { width: 34px; height: 34px; border-radius: 50% ; background: var(--grad); display: grid; place-items: center; font-size: 14px; flex: none; }
.hero-msg p { font-size: 14px; color: #475569; }
.hero-msg b { color: #0f3b5c; }

/* ---------- 区块通用 ---------- */
.section { padding: 92px 0; }
.section.soft { background: var(--bg-soft); }
.section.head { padding-bottom: 0; }
.sec-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.sec-eyebrow { display: inline-block; font-size: 13px; font-weight: 600; color: var(--primary); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.sec-head h2 { font-size: 34px; margin-bottom: 14px; }
.sec-head p { color: var(--muted); font-size: 17px; }
.sec-head.left { margin: 0 0 40px; text-align: left; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 26px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card .ico {
  width: 52px; height: 52px; border-radius: 13px; background: var(--grad-soft);
  display: grid; place-items: center; font-size: 24px; margin-bottom: 18px;
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--muted); }
.card .tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag { font-size: 12px; color: var(--primary-dark); background: #eff6ff; border-radius: 6px; padding: 4px 10px; font-weight: 500; }
.tag.cyan { color: #0e7490; background: #ecfeff; }

/* ---------- 数字背书 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.stat { text-align: center; padding: 34px 20px; }
.stat .num {
  font-size: 46px; font-weight: 800; color: var(--ink);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .label { color: var(--muted); font-size: 15px; margin-top: 6px; }

/* ---------- 流程步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; counter-reset: step; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 24px 18px 20px; text-align: center;
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-size: 30px; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 10px;
}
.step h4 { font-size: 15px; margin-bottom: 6px; }
.step p { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.step .arr { position: absolute; right: -14px; top: 30px; color: var(--line); font-size: 18px; z-index: 2; }
.step:last-child .arr { display: none; }
.steps-vertical { display: grid; gap: 0; max-width: 760px; margin: 0 auto; }
.vstep { display: flex; gap: 22px; padding-bottom: 34px; position: relative; }
.vstep:last-child { padding-bottom: 0; }
.vstep::before { content: ""; position: absolute; left: 20px; top: 44px; bottom: 4px; width: 2px; background: var(--line); }
.vstep:last-child::before { display: none; }
.vstep .n {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  background: var(--grad); color: #fff; font-weight: 700;
  display: grid; place-items: center; font-size: 15px; box-shadow: 0 0 0 6px #eff6ff; z-index: 1;
}
.vstep h4 { font-size: 18px; margin-bottom: 6px; }
.vstep p { color: var(--muted); font-size: 14.5px; }

/* ---------- 对比表 ---------- */
.compare {
  width: 100%; border-collapse: collapse; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); background: #fff;
}
.compare th, .compare td { padding: 18px 22px; text-align: left; font-size: 15px; border-bottom: 1px solid var(--line); }
.compare th { background: var(--ink); color: #fff; font-weight: 600; }
.compare th.aiv { background: linear-gradient(135deg, var(--primary), var(--accent)); }
.compare th.feat { width: 26%; }
.compare tbody tr:nth-child(even) { background: var(--bg-soft); }
.compare .yes { color: #059669; font-weight: 600; }
.compare .no { color: #94a3b8; }
.compare .ai-badge { font-size: 12px; padding: 3px 9px; border-radius: 100px; background: rgba(255,255,255,.25); }

/* ---------- 关于 / 文字区块 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .txt h2 { font-size: 32px; margin-bottom: 18px; }
.split .txt p { color: var(--muted); margin-bottom: 16px; font-size: 16px; }
.split .txt ul li { position: relative; padding-left: 26px; margin-bottom: 12px; color: var(--ink-soft); }
.split .txt ul li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--primary); font-weight: 700; }
.check-list li { position: relative; padding-left: 28px; margin-bottom: 12px; color: var(--ink-soft); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background: var(--grad); color: #fff; border-radius: 6px; display: grid; place-items: center; font-size: 12px; }

/* 深色区块 */
.dark { background: var(--navy); color: #c3d0e5; }
.dark h2, .dark h3, .dark h4 { color: #fff; }
.dark .sec-head p { color: #93a5c4; }

/* ---------- 案例 ---------- */
.case-card { display: flex; flex-direction: column; }
.case-card .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.case-card .meta span { font-size: 12px; padding: 4px 10px; border-radius: 100px; border: 1px solid var(--line); color: var(--muted); }
.case-card .meta span.type { border-color: var(--primary); color: var(--primary); background: #eff6ff; }
.case-card h3 { font-size: 19px; margin-bottom: 10px; }
.case-card p { flex: 1; color: var(--muted); font-size: 14.5px; }
.case-card .res { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 13.5px; color: var(--ink-soft); }
.case-card .res b { color: var(--primary); }
.case-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--primary); font-weight: 600; font-size: 14px; }
.case-link:hover { gap: 10px; }

/* 筛选按钮 */
.filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }
.filter-btn {
  padding: 10px 22px; border-radius: 100px; border: 1.5px solid var(--line);
  color: var(--ink-soft); font-size: 14.5px; font-weight: 500; transition: .2s; background: #fff;
}
.filter-btn:hover, .filter-btn.active { border-color: var(--primary); color: #fff; background: var(--grad); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { 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: 600; color: var(--ink); text-align: left; }
.faq-q .arrow { transition: transform .3s; color: var(--primary); flex: none; }
.faq-item.open .faq-q .arrow { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 24px 22px; color: var(--muted); font-size: 15px; }

/* ---------- 技术架构分层 ---------- */
.layer {
  border: 1px solid var(--line); border-left: 4px solid var(--primary);
  background: #fff; border-radius: var(--radius-sm); padding: 20px 26px; margin-bottom: 14px;
}
.layer .t { font-weight: 700; color: var(--ink); margin-bottom: 6px; display: flex; gap: 10px; align-items: center; }
.layer .t .nm { font-size: 13px; color: #fff; background: var(--primary); border-radius: 6px; padding: 2px 10px; font-weight: 600; }
.layer p { color: var(--muted); font-size: 14.5px; }

/* ---------- 客户 logo / 评价 ---------- */
.logos { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.logo-item {
  height: 60px; padding: 0 26px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: var(--muted); font-weight: 700; font-size: 15px; background: #fff; letter-spacing: 1px;
}
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.quote .stars { color: #f59e0b; letter-spacing: 2px; margin-bottom: 12px; }
.quote p { color: var(--ink-soft); font-size: 15px; }
.quote .who { margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.quote .who b { color: var(--ink); display: block; }

/* ---------- 团队 ---------- */
.team-card { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 20px; }
.team-card .avatar { width: 82px; height: 82px; margin: 0 auto 16px; border-radius: 22px; background: var(--grad-soft); display: grid; place-items: center; font-size: 34px; }
.team-card h4 { font-size: 17px; margin-bottom: 4px; }
.team-card span { color: var(--muted); font-size: 13.5px; }

/* 技术栈 */
.tech-stack { display: flex; flex-wrap: wrap; gap: 12px; }
.tstack { padding: 12px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.tstack i { margin-right: 6px; }

/* ---------- 案例图片展示 ---------- */
.case-visual { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); margin-top: 34px; }
.case-visual img { width: 100%; display: block; object-fit: cover; }
.case-visual .cap { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; background: #fff; padding: 14px 20px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
.case-visual .cap b { color: var(--ink); }
.case-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 26px; }
.case-gallery .shot { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.case-gallery .shot img { width: 100%; height: 180px; object-fit: cover; display: block; }
.case-gallery .shot p { padding: 12px 14px; font-size: 13px; color: var(--muted); background: #fff; border-top: 1px solid var(--line); margin: 0; }
@media (max-width: 900px) {
  .case-gallery { grid-template-columns: 1fr; }
}

/* ---------- 咨询转化区 ---------- */
.contact {
  border-radius: 24px; overflow: hidden; position: relative;
  background: radial-gradient(700px 400px at 85% 0%, rgba(6,182,212,.3), transparent),
              linear-gradient(150deg, #0f1b34, #0b1220);
  color: #dfe9f8; padding: 70px 56px;
}
.contact h2 { color: #fff; font-size: 32px; margin-bottom: 12px; }
.contact > p { color: #9fb2d2; margin-bottom: 36px; font-size: 16px; max-width: 640px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; color: #b6c6e0; }
.field input, .field select, .field textarea {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px; padding: 12px 15px; color: #fff; font-size: 15px; font-family: inherit; outline: none;
}
.field input::placeholder, .field textarea::placeholder { color: #6b7f9e; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field select option { color: var(--ink); }
.field.task { grid-column: 1 / -1; }
.field.task textarea { min-height: 96px; resize: vertical; }
.contact-form .btn-lg { grid-column: 1 / -1; justify-self: start; margin-top: 6px; }
.form-note { grid-column: 1 / -1; font-size: 12.5px; color: #7f92b1; }
.form-ok { grid-column: 1 / -1; background: rgba(16,185,129,.15); border: 1px solid rgba(16,185,129,.4); color: #5eead4; padding: 12px 16px; border-radius: 10px; display: none; font-size: 14px; }

/* ---------- 页脚 ---------- */
.footer { background: #070d19; color: #8fa2c0; }
.footer-top {
  max-width: var(--maxw); margin: 0 auto; padding: 60px 24px 44px;
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px;
}
.footer .brand .name { color: #fff; }
.footer-about p { color: #7f92b1; font-size: 14px; margin-top: 16px; max-width: 320px; }
.foot-col h5 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: .5px; }
.foot-col ul li { margin-bottom: 10px; }
.foot-col ul a { font-size: 14px; color: #8fa2c0; transition: color .2s; }
.foot-col ul a:hover { color: var(--accent-soft); }
.footer-bottom {
  border-top: 1px solid #16233b; max-width: var(--maxw); margin: 0 auto; padding: 22px 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #5c6f8e;
}

/* ---------- 滚动出现动画 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed; right: 24px; bottom: 24px; width: 46px; height: 46px; border-radius: 12px;
  background: var(--grad); color: #fff; font-size: 20px; display: grid; place-items: center;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: .3s; z-index: 90;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { transform: translateY(-3px); }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1024px) {
  .grid.g-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .hero-split { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; padding: 14px 24px 22px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .3s ease; z-index: 99;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 12px 14px; font-size: 16px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { width: 100%; }
  .grid.g-3, .grid.g-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact { padding: 44px 28px; }
  .contact-form { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .hero { padding-bottom: 0; }
  .hero-inner { padding: 68px 24px 84px; }
  .hero h1 { font-size: 34px; }
  .hero p.lead { font-size: 16px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid.g-4 { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .sec-head h2 { font-size: 27px; }
  .compare { font-size: 13px; }
  .compare th, .compare td { padding: 13px 12px; }
  .footer-top { grid-template-columns: 1fr; }
  .stats .num { font-size: 36px; }
  /* 首页统一标准（全站移动端） */
  .hero h1 { font-size: clamp(18px, 5.2vw, 26px); }
  .hero-actions { justify-content: center; gap: 12px; }
  .hero-actions .btn { width: auto; flex: 1 1 0; padding: 11px 16px; font-size: 14px; text-align: center; }
  .sec-head h2 { white-space: nowrap; font-size: clamp(17px, 5vw, 26px); }
  .split .txt h2 { font-size: clamp(17px, 5vw, 26px); }
  .split .txt .check-list li { font-size: 13.5px; }
}
@media (max-width: 380px) {
  .hero-actions .btn { padding: 10px 12px; font-size: 13px; }
}
/* ========== 右下角联系方式 ========== */
.contact-float{position:fixed;right:0;top:50%;transform:translateY(-50%);z-index:999;}
.contact-actions{display:flex;flex-direction:column;align-items:center;background:#2b7af3;border-radius:6px 0 0 6px;box-shadow:0 6px 20px rgba(43,122,243,.28);}
.contact-i-wrap{position:relative;width:78px;border-bottom:1px solid rgba(255,255,255,.25);}
.contact-i-wrap.last{border-bottom:none;}
.contact-i{width:100%;border:none;background:transparent;color:#fff;font-size:26px;line-height:1;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:6px;padding:14px 0;text-decoration:none;transition:.2s;}
.contact-i:hover{background:rgba(255,255,255,.12);}
.contact-i .ci-icon{display:block;font-size:26px;line-height:1;width:26px;height:26px;}
.contact-i .ci-icon img{display:block;width:26px;height:26px;}
.contact-i .ci-label{display:block;font-size:13px;letter-spacing:1px;}
@media (max-width:640px){.contact-i .ci-icon{width:20px;height:20px;} .contact-i .ci-icon img{width:20px;height:20px;}}
.contact-panel{position:absolute;left:auto;right:100px;top:50%;transform:translateY(-50%);display:none;width:236px;background:#fff;border:1px solid #eef1f6;border-radius:10px;box-shadow:0 12px 32px rgba(15,23,42,.16);padding:14px;white-space:nowrap;text-align:left;z-index:2;}
.contact-i-wrap:hover .contact-panel{display:block;}
.contact-i-wrap.show .contact-panel{display:block;}
.contact-panel .cp-title{display:flex;flex-direction:row;align-items:center;gap:6px;font-size:14px;font-weight:700;color:#0f172a;margin-bottom:10px;letter-spacing:.3px;white-space:normal;}
.contact-panel .cp-title .cp-ico{width:18px;height:18px;object-fit:contain;flex:none;padding:3px;background:#2b7af3;border-radius:50%;box-sizing:border-box;}
.cp-qrs{display:flex;gap:14px;justify-content:center;white-space:normal;}
.cp-qrs figure{margin:0;text-align:center;}
.cp-qrs img{width:92px;height:92px;border:1px solid #eef1f6;border-radius:8px;object-fit:contain;background:#fff;}
.cp-qrs figcaption{font-size:11px;color:#64748b;margin-top:6px;line-height:1.4;}
.cp-tel{display:block;font-size:17px;font-weight:700;color:#1d4ed8;text-decoration:none;letter-spacing:.4px;padding:6px 0;}
.cp-tel:hover{color:#1e40af;}
.cp-sub{font-size:11px;color:#94a3b8;margin-top:4px;}
@media (max-width:640px){.contact-panel{width:210px;}.cp-qrs img{width:80px;height:80px;} .contact-float{right:14px;bottom:80px;top:auto;transform:none;} .contact-i-wrap{width:60px;} .contact-i{padding:10px 0;} .contact-i .ci-icon{font-size:20px;} .contact-i .ci-label{font-size:11px;}}

/* ==========================================================================
   移动端体验增强（全站通用）
   ========================================================================== */
/* 防止任何固定宽度元素在窄屏造成横向滚动 */
html, body { overflow-x: hidden; }

/* 媒体随视口自适应（避免破版/溢出）；带类的 logo/图标不受影响 */
img, video, svg, iframe { max-width: 100%; height: auto; }

/* 长代码块窄屏可横向滚动 */
pre { max-width: 100%; overflow-x: auto; }

@media (max-width: 900px) {
  /* 对比表格等宽表格在窄屏改为可横向滚动 */
  .compare { display: block; overflow-x: auto; }
}

/* 480px 及以下小屏精细化 */
@media (max-width: 480px) {
  .nav { padding: 0 16px; }
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .hero-inner { padding: 54px 18px 68px; }
  .hero h1 { font-size: 27px; }
  .hero p.lead { font-size: 15px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .sec-head { margin-bottom: 36px; }
  .sec-head h2 { font-size: 24px; }
  .sec-head p { font-size: 15px; }
  .card { padding: 24px 20px; }
  .card .ico { width: 46px; height: 46px; font-size: 21px; }
  .stats { gap: 18px; }
  .stat { padding: 22px 8px; }
  .stat .num { font-size: 32px; }
  .split .txt h2 { font-size: 24px; }
  .compare { font-size: 12.5px; }
  .footer-top { padding: 44px 16px 34px; }
  .footer-bottom { padding: 18px 16px; }
  .back-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
}
