/* =========================================================
   北京安琦迅 · 科技企业官网  —  设计系统 / Tech Theme
   深色科技风：深空蓝底 + 青/蓝/紫霓虹渐变 + 玻璃拟态
   ========================================================= */

:root {
  --bg:        #060912;
  --bg-2:      #0a1020;
  --bg-3:      #0e1730;
  --panel:     rgba(16, 26, 48, 0.55);
  --panel-2:   rgba(20, 32, 58, 0.85);
  --border:    rgba(86, 140, 220, 0.18);
  --border-hi: rgba(86, 170, 255, 0.45);
  --cyan:      #25e0f0;
  --blue:      #2f7de8;
  --purple:    #7b5cff;
  --grad:      linear-gradient(135deg, #25e0f0 0%, #2f7de8 50%, #7b5cff 100%);
  --grad-soft: linear-gradient(135deg, rgba(37,224,240,.18), rgba(123,92,255,.18));
  --text:      #e8f1ff;
  --muted:     #9bb0d0;
  --muted-2:   #6f86ab;
  --glow:      0 0 30px rgba(47,125,232,.35);
  --radius:    18px;
  --maxw:      1240px;
  --nav-h:     68px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 全局背景：网格 + 光晕 */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 600px at 12% -5%, rgba(47,125,232,.22), transparent 60%),
    radial-gradient(800px 600px at 100% 0%, rgba(123,92,255,.18), transparent 55%),
    radial-gradient(700px 500px at 50% 120%, rgba(37,224,240,.12), transparent 60%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(86,140,220,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(86,140,220,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 80%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }

/* ===================== 导航 ===================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h);
  z-index: 100; display: flex; align-items: center;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(6,9,18,.86), rgba(6,9,18,.45));
  border-bottom: 1px solid var(--border);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .5px; }
.brand .logo {
  width: 38px; height: 38px; border-radius: 11px; background: var(--grad);
  display: grid; place-items: center; font-size: 18px; color: #04101f; font-weight: 900;
  box-shadow: var(--glow);
}
.brand .name { font-size: 18px; line-height: 1.12; white-space: nowrap; }
.brand .name b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand .sub { display: block; font-size: 11px; color: var(--muted-2); letter-spacing: 1.5px; margin-top: 2px; white-space: nowrap; }
.brand .logo-svg { width: 42px; height: 42px; flex: none; filter: drop-shadow(0 0 10px rgba(47,125,232,.5)); }

.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
  padding: 9px 15px; border-radius: 10px; font-size: 14.5px; color: var(--muted);
  transition: .25s; position: relative;
}
.nav-links a:hover { color: var(--text); background: rgba(86,140,220,.12); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 2px;
  background: var(--grad); border-radius: 2px;
}
.nav-cta {
  padding: 9px 18px; border-radius: 10px; font-size: 14px; font-weight: 700;
  background: var(--grad); color: #04101f !important; box-shadow: var(--glow);
}
.nav-toggle { display: none; background: none; border: 1px solid var(--border); color: var(--text);
  width: 42px; height: 38px; border-radius: 10px; font-size: 20px; cursor: pointer; }

/* ===================== Hero ===================== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center;
  opacity: .5; }
.hero-bg::after { content:""; position:absolute; inset:0; background:
  linear-gradient(180deg, rgba(6,9,18,.55), rgba(6,9,18,.82) 70%, var(--bg)); }
#particles { position: absolute; inset: 0; z-index: -1; }
.hero .container { padding-top: var(--nav-h); }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px;
  border: 1px solid var(--border-hi); background: var(--grad-soft); font-size: 13px; color: var(--cyan);
  letter-spacing: 1px; margin-bottom: 26px;
}
.hero-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.hero h1 {
  font-size: clamp(34px, 5.4vw, 68px); line-height: 1.12; font-weight: 900; letter-spacing: 1px;
  margin-bottom: 22px;
}
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(15px, 1.6vw, 19px); color: var(--muted); max-width: 660px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 14px 28px; border-radius: 12px;
  font-weight: 700; font-size: 15px; cursor: pointer; transition: .25s; border: 1px solid transparent;
}
.btn-primary { background: var(--grad); color: #04101f; box-shadow: var(--glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 42px rgba(47,125,232,.55); }
.btn-ghost { border-color: var(--border-hi); color: var(--text); background: rgba(86,140,220,.08); }
.btn-ghost:hover { background: rgba(86,140,220,.18); transform: translateY(-2px); }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 880px; }
.stat { padding: 18px 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--panel); }
.stat .num { font-size: 32px; font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .num .u { font-size: 16px; -webkit-text-fill-color: var(--cyan); }
.stat .label { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ===================== 通用区块 ===================== */
section { padding: 92px 0; position: relative; }
.section-head { text-align: center; margin-bottom: 54px; }
.eyebrow { display: inline-block; font-size: 13px; letter-spacing: 3px; color: var(--cyan);
  text-transform: uppercase; margin-bottom: 14px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 42px); font-weight: 900; letter-spacing: .5px; }
.section-head h2 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head p { color: var(--muted); max-width: 720px; margin: 16px auto 0; font-size: 15.5px; }

/* 关于 / 能力 */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.about-text h3 { font-size: 22px; margin-bottom: 16px; }
.about-text p { color: var(--muted); margin-bottom: 16px; }
.about-text .hl { color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chip { padding: 8px 15px; border: 1px solid var(--border); border-radius: 999px; font-size: 13.5px;
  color: var(--text); background: var(--panel); }
.chip b { color: var(--cyan); }
.cap-card { padding: 26px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel);
  position: relative; overflow: hidden; }
.cap-card::before { content:""; position:absolute; inset:0; background: var(--grad-soft); opacity:0; transition:.3s; }
.cap-card:hover::before { opacity: 1; }
.cap-card .ic { font-size: 30px; margin-bottom: 12px; }
.cap-card h4 { font-size: 17px; margin-bottom: 8px; }
.cap-card p { color: var(--muted); font-size: 14px; }

/* 优势 */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.adv-card { padding: 30px 26px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--panel); transition: .3s; position: relative; }
.adv-card:hover { transform: translateY(-6px); border-color: var(--border-hi); box-shadow: 0 12px 40px rgba(10,20,40,.6); }
.adv-card .ic { width: 54px; height: 54px; border-radius: 14px; background: var(--grad-soft);
  display: grid; place-items: center; font-size: 26px; margin-bottom: 18px; border: 1px solid var(--border); }
.adv-card h4 { font-size: 18px; margin-bottom: 10px; }
.adv-card p { color: var(--muted); font-size: 14.5px; }
.adv-card .no { position: absolute; top: 18px; right: 22px; font-size: 30px; font-weight: 900;
  color: rgba(86,140,220,.12); }

/* ===================== 产品 / 方案 卡片网格 ===================== */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel-2);
  overflow: hidden; transition: .3s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); border-color: var(--border-hi); box-shadow: 0 16px 48px rgba(8,16,34,.7); }
.card .media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #0a1326; }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.card:hover .media img { transform: scale(1.06); }
.card .media .badge { position: absolute; top: 12px; left: 12px; padding: 5px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; background: rgba(6,9,18,.7); border: 1px solid var(--border-hi);
  color: var(--cyan); backdrop-filter: blur(6px); }
.card .body { padding: 20px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.card .body h3 { font-size: 18px; margin-bottom: 6px; }
.card .body .tag { font-size: 12.5px; color: var(--cyan); letter-spacing: .5px; margin-bottom: 12px; }
.card .body p.desc { color: var(--muted); font-size: 14px; margin-bottom: 14px; flex: 1; }
.card .body ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.card .body ul li { font-size: 13.5px; color: var(--text); padding-left: 20px; position: relative; }
.card .body ul li::before { content: "▸"; position: absolute; left: 0; color: var(--cyan); }
.card .more { margin-top: 16px; font-size: 13.5px; color: var(--cyan); font-weight: 700; }

/* 产品图集（整齐小图） */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 14px; }
.gallery img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--border); transition: .25s; }
.gallery img:hover { border-color: var(--border-hi); transform: scale(1.04); }

/* ===================== 客户案例 ===================== */
.cases { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.case-pill { padding: 14px 22px; border: 1px solid var(--border); border-radius: 12px; background: var(--panel);
  font-size: 14.5px; color: var(--text); display: flex; align-items: center; gap: 10px; }
.case-pill .d { color: var(--cyan); font-weight: 800; }

/* 客户案例页 · 行业场景卡片（复用 adv-card 外观） */
.scene-card { display: flex; flex-direction: column; }
.scene-card .cat { font-size: 12.5px; color: var(--cyan); letter-spacing: .6px; margin-bottom: 10px; font-weight: 800; }
.scene-card .more { margin-top: auto; padding-top: 16px; font-size: 13.5px; color: var(--cyan); font-weight: 700; }
.scene-card .more:hover { text-decoration: underline; }

/* ===================== 联系 ===================== */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contact-card { padding: 34px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel-2); }
.contact-card h3 { font-size: 20px; margin-bottom: 18px; }
.contact-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--border); }
.contact-row .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--grad-soft); display: grid;
  place-items: center; font-size: 18px; border: 1px solid var(--border); }
.contact-row .t { font-size: 13px; color: var(--muted); }
.contact-row .v { font-size: 16px; font-weight: 700; }
.contact-form { display: grid; gap: 14px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 13px 15px; border-radius: 11px; border: 1px solid var(--border);
  background: rgba(6,9,18,.5); color: var(--text); font-family: inherit; font-size: 14.5px; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--border-hi); }
.contact-form textarea { min-height: 110px; resize: vertical; }

/* ===================== 页脚 ===================== */
footer { border-top: 1px solid var(--border); padding: 46px 0 30px; background: rgba(6,9,18,.6); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.foot-grid h5 { font-size: 15px; margin-bottom: 14px; color: var(--text); }
.foot-grid a, .foot-grid p { color: var(--muted); font-size: 13.5px; display: block; margin-bottom: 9px; transition: .2s; }
.foot-grid a:hover { color: var(--cyan); }
.foot-bottom { text-align: center; color: var(--muted-2); font-size: 12.5px; border-top: 1px solid var(--border); padding-top: 20px; }

/* ===================== 动画 ===================== */
.reveal { opacity: 0; transform: translateY(26px); transition: .7s cubic-bezier(.2,.7,.3,1); }
.reveal.show { opacity: 1; transform: none; }

/* ===================== 灯箱 ===================== */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(3,6,14,.92); display: none;
  align-items: center; justify-content: center; padding: 30px; backdrop-filter: blur(6px); }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92%; max-height: 88%; border-radius: 12px; border: 1px solid var(--border-hi);
  box-shadow: 0 0 60px rgba(47,125,232,.4); }
.lightbox .close { position: absolute; top: 24px; right: 30px; font-size: 34px; color: #fff; cursor: pointer; }

/* ===================== 解决方案 · 编辑式排版 ===================== */
.sol-list { display: flex; flex-direction: column; gap: 44px; }
.sol-row {
  position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
  border: 1px solid var(--border); border-radius: 22px; overflow: hidden;
  background: var(--panel-2); transition: .35s;
}
.sol-row:hover { border-color: var(--border-hi); box-shadow: 0 18px 50px rgba(8,16,34,.7); }
.sol-row::before { content:""; position:absolute; inset:0; background: var(--grad-soft); opacity:.42; pointer-events:none; }
.sol-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.sol-media img { width: 100%; height: 100%; object-fit: cover; transition: .6s; }
.sol-row:hover .sol-media img { transform: scale(1.05); }
.sol-media .badge { position: absolute; top: 14px; left: 14px; padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700; background: rgba(6,9,18,.66); border: 1px solid var(--border-hi);
  color: var(--cyan); backdrop-filter: blur(6px); }
.sol-media .idx { position: absolute; bottom: 8px; right: 18px; font-size: 58px; font-weight: 900; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }
.sol-content { padding: 40px 44px; position: relative; z-index: 1; display: flex; flex-direction: column; }
.sol-content .tag { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--cyan);
  letter-spacing: 1px; margin-bottom: 13px; }
.sol-content .tag::before { content:""; width: 24px; height: 2px; background: var(--grad); border-radius: 2px; }
.sol-content h3 { font-size: clamp(20px, 2.4vw, 27px); line-height: 1.3; margin-bottom: 13px; }
.sol-content p.desc { color: var(--muted); font-size: 14.5px; line-height: 1.85; margin-bottom: 20px; }
.sol-points { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; }
.sol-points li { position: relative; padding-left: 20px; font-size: 13.8px; color: var(--text); line-height: 1.55; }
.sol-points li::before { content: "▸"; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }
.sol-row.reverse .sol-media { order: 2; }
.sol-row.reverse .sol-content { order: 1; }

/* 方案内容分组（层级分明） */
.sol-groups { display: grid; gap: 22px; margin-top: 6px; }
.sol-group h4 { font-size: 14px; letter-spacing: 1px; color: var(--cyan); margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px; font-weight: 700; }
.sol-group h4::before { content:""; width: 16px; height: 2px; background: var(--grad); border-radius: 2px; flex: none; }
.sol-group ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; }
.sol-group ul li { position: relative; padding-left: 20px; font-size: 13.8px; color: var(--text); line-height: 1.55; }
.sol-group ul li::before { content: "▸"; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }
.sol-metrics { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.metric { flex: 1 1 130px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px;
  background: rgba(10,18,38,.5); text-align: center; transition: .3s; }
.metric:hover { border-color: var(--border-hi); transform: translateY(-3px); }
.metric .v { font-size: 21px; font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.2; }
.metric .l { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

/* ===================== 响应式 ===================== */
/* 容器随屏宽收放，保证内容不贴边 */
.container { width: min(100% - 64px, var(--maxw)); }
@media (max-width: 1180px) { :root { --maxw: 1080px; } }
@media (max-width: 1024px) { :root { --maxw: 940px; } .container { width: min(100% - 48px, var(--maxw)); } }

@media (max-width: 980px) {
  .about-grid, .contact-wrap { grid-template-columns: 1fr; }
  .grid-3, .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .sol-row { grid-template-columns: 1fr 1fr; }
  section { padding: 78px 0; }
}

/* 平板竖屏 / 大手机：方案改为上下堆叠 */
@media (max-width: 820px) {
  .sol-row, .sol-row.reverse { grid-template-columns: 1fr; }
  .sol-row.reverse .sol-media, .sol-row.reverse .sol-content { order: 0; }
  .sol-media { aspect-ratio: 16/9; }
  .sol-content { padding: 30px 26px 32px; }
  .sol-row.reverse .sol-content { padding: 30px 26px 32px; }
  .sol-points { grid-template-columns: 1fr 1fr; }
  .sol-media .idx { font-size: 48px; }
}

@media (max-width: 720px) {
  .nav-links { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column;
    background: rgba(6,9,18,.97); border-bottom: 1px solid var(--border); padding: 12px; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; }
  .nav-toggle { display: block; }
  .container { width: min(100% - 32px, var(--maxw)); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-2, .adv-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: auto; padding: 116px 0 66px; }
  .hero h1 { line-height: 1.18; }
  .hero-actions { gap: 12px; flex-wrap: wrap; }
  .btn { flex: 1 1 auto; justify-content: center; }
  .section-head { margin-bottom: 38px; }
  body { font-size: 15px; line-height: 1.72; }
  section { padding: 60px 0; }
}

/* 小手机：单列、字号与间距进一步收紧 */
@media (max-width: 480px) {
  .container { width: min(100% - 22px, var(--maxw)); }
  .sol-points { grid-template-columns: 1fr; }
  .sol-group ul { grid-template-columns: 1fr; }
  .sol-content { padding: 24px 20px 26px; }
  .sol-content h3 { font-size: 20px; }
  .sol-points li { font-size: 13.5px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat { padding: 14px 14px; }
  .stat .num { font-size: 26px; }
  .stat .label { font-size: 12px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .contact-card { padding: 24px 18px; }
  .section-head p { font-size: 14px; }
  .brand .name { font-size: 16px; }
  .brand .sub { font-size: 10px; }
  .adv-card { padding: 24px 20px; }
  .cap-card { padding: 22px; }
  .foot-grid { grid-template-columns: 1fr; gap: 22px; }
  .case-pill { font-size: 13px; padding: 12px 16px; }
  .foot-bottom { font-size: 11.5px; line-height: 1.6; }
  .hero h1 { font-size: 30px; }
  .card .body { padding: 18px 16px 20px; }
}

/* 极窄屏（≤360px）：进一步收紧边距与字号 */
@media (max-width: 360px) {
  .container { width: min(100% - 16px, var(--maxw)); }
  .hero { padding: 104px 0 56px; }
  .hero h1 { font-size: 26px; }
  .hero p.lead { font-size: 14px; }
  .stat .num { font-size: 23px; }
  .sol-content { padding: 20px 16px 22px; }
  .gallery { gap: 5px; }
  .btn { padding: 12px 20px; font-size: 14px; }
  .nav-links a { padding: 11px 14px; font-size: 15px; }
}

/* 品牌名：桌面完整中英文，窄屏自适应 */
@media (max-width: 980px) {
  .brand .name { font-size: 16px; }
  .brand .sub { display: none; }
}
@media (max-width: 720px) {
  .brand .name { font-size: 15px; }
  .brand .sub { display: block; font-size: 10px; }
}
@media (max-width: 480px) {
  .brand .name { font-size: 14px; }
  .brand .sub { display: none; }
  .brand .logo-svg { width: 34px; height: 34px; }
}

/* =========================================================
   移动端强化：产品/卡片网格 2 列并列（保持简洁又全面）
   覆盖 ≤720px 的单列规则，使手机上每行固定 2 个产品
   ========================================================= */
@media (max-width: 820px) {
  #productGrid, #productPreview, #featureGrid, #sceneGrid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 720px) {
  #productGrid, #productPreview, #featureGrid, #sceneGrid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  /* 卡片内边距适度收紧，2 列下仍清晰 */
  #productGrid .card .body, #productPreview .card .body { padding: 14px 12px 16px; }
  #productGrid .card .body h3, #productPreview .card .body h3 { font-size: 15.5px; }
  #productGrid .card .body .tag, #productPreview .card .body .tag { font-size: 11.5px; margin-bottom: 8px; }
  #productGrid .card .body p.desc, #productPreview .card .body p.desc { font-size: 12.5px; margin-bottom: 10px; }
  #productGrid .card .body ul li, #productPreview .card .body ul li { font-size: 12px; }
}
@media (max-width: 480px) {
  #productGrid, #productPreview, #featureGrid, #sceneGrid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 360px) {
  #productGrid, #productPreview, #featureGrid, #sceneGrid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  #productGrid .card .body, #productPreview .card .body { padding: 12px 10px 14px; }
}

/* =========================================================
   页面底部联系电话区（桌面端 + 移动端）
   位于页面内容最下方（footer 之后、页面流内），
   非悬浮元素，滚动不会被遮挡；两端均底部对齐显示
   ========================================================= */
.callbar {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  position: relative; z-index: 1;
  padding: 22px 24px calc(22px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(10,16,32,.55), rgba(6,9,18,.95));
  border-top: 1px solid var(--border-hi);
}
.callbar-info { display: flex; align-items: center; gap: 12px; color: var(--text); }
.callbar-info .ic {
  width: 44px; height: 44px; border-radius: 12px; background: var(--grad);
  display: grid; place-items: center; color: #04101f; box-shadow: var(--glow); flex: none;
}
.callbar-info .txt { display: flex; flex-direction: column; line-height: 1.3; }
.callbar-info .txt small { font-size: 12px; color: var(--muted); }
.callbar-info .txt b { font-size: 19px; letter-spacing: .4px; color: var(--text); }
.callbar-btn {
  padding: 12px 28px; border-radius: 12px; background: var(--grad); color: #04101f;
  font-weight: 800; font-size: 15px; box-shadow: var(--glow); white-space: nowrap; flex: none;
  transition: transform .15s;
}
.callbar-btn:hover { transform: translateY(-1px); }
.callbar-btn:active { transform: translateY(1px); }
@media (max-width: 720px) {
  .callbar { gap: 12px; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); }
  .callbar-info { gap: 10px; }
  .callbar-info .ic { width: 40px; height: 40px; border-radius: 11px; }
  .callbar-info .txt small { font-size: 11px; }
  .callbar-info .txt b { font-size: 17px; }
  .callbar-btn { padding: 11px 24px; border-radius: 11px; }
}

/* =========================================================
   无障碍：跳转链接 + 键盘焦点可见
   ========================================================= */
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 300;
  padding: 10px 16px; border-radius: 10px;
  background: var(--grad); color: #04101f; font-weight: 700; font-size: 14px;
  transform: translateY(-160%); transition: transform .25s;
}
.skip-link:focus { transform: translateY(0); outline: 3px solid var(--cyan); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }

/* =========================================================
   社交分享组件（页脚上方）
   ========================================================= */
.sharebar {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  width: min(100% - 40px, var(--maxw)); margin: 0 auto; padding: 26px 0 30px;
}
.sharebar .share-label { color: var(--muted); font-size: 14px; margin-right: 4px; }
.share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 18px; border-radius: 10px; font-size: 13.5px; font-weight: 700;
  border: 1px solid var(--border); color: var(--text); background: var(--panel);
  cursor: pointer; transition: .25s; font-family: inherit;
}
.share-btn:hover { border-color: var(--border-hi); transform: translateY(-2px); }
.share-btn.weibo:hover { background: rgba(230,22,45,.16); border-color: #e6162d; }
.share-btn.qq:hover { background: rgba(49,174,255,.16); border-color: #31aeff; }
.share-btn.linkedin:hover { background: rgba(37,224,240,.16); border-color: var(--cyan); }
.share-btn.copy { color: var(--cyan); }
.share-btn.copy:hover { background: rgba(37,224,240,.12); }

/* =========================================================
   常见问题页
   ========================================================= */
.faq-list { display: grid; gap: 18px; max-width: 880px; margin: 0 auto; }
.faq-item {
  padding: 24px 26px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--panel-2); transition: .3s;
}
.faq-item:hover { border-color: var(--border-hi); transform: translateY(-3px); }
.faq-item h3 { font-size: 17px; margin-bottom: 12px; display: flex; align-items: baseline; gap: 12px; line-height: 1.5; }
.faq-item .q-no {
  flex: none; padding: 3px 11px; border-radius: 999px; font-size: 13px;
  background: var(--grad); color: #04101f; font-weight: 800;
}
.faq-item p { color: var(--muted); font-size: 14.5px; line-height: 1.85; }

/* =========================================================
   移动端紧凑化 v2（仅 ≤720px 手机断点；桌面/平板布局不受影响）
   目标：整页纵向长度压缩约 50%；信息不删、分组归并、层级压缩
   行内/页面内样式用 !important 精准覆盖，仅手机端生效
   ========================================================= */
@media (max-width: 720px) {
  /* ---- 全局 ---- */
  body { font-size: 14px; line-height: 1.6; }
  .container { width: min(100% - 24px, var(--maxw)); }
  section { padding: 28px 0; }
  section[style*="padding"] { padding: 28px 0 !important; }   /* 覆盖行内写死的区块间距 */
  h2[style] { margin: 4px 0 10px !important; font-size: 20px !important; }
  .container > p[style] { margin-bottom: 10px !important; }

  /* ---- 区块标题 ---- */
  .section-head { margin-bottom: 16px; }
  .eyebrow { font-size: 11px; letter-spacing: 2px; margin-bottom: 4px; }
  .section-head h2 { font-size: 21px; }
  .section-head p { margin-top: 6px; font-size: 13px; line-height: 1.55; }

  /* ---- Hero ---- */
  .hero { padding: 78px 0 22px; min-height: 0 !important; }   /* 消除 100vh/56vh 与双层顶部内边距 */
  .hero .container { padding-top: 0; }
  .hero-tag { margin-bottom: 10px; padding: 5px 12px; font-size: 11.5px; gap: 6px; }
  .hero-tag .dot { width: 6px; height: 6px; }
  .hero h1 { font-size: 25px; margin-bottom: 8px; line-height: 1.22; }
  .hero p.lead { font-size: 13.5px; margin-bottom: 12px; line-height: 1.6; }
  .hero-actions { margin-bottom: 14px; gap: 8px; }
  .btn { padding: 10px 16px; font-size: 13.5px; border-radius: 10px; }
  .hero-stats { gap: 7px; }
  .stat { padding: 8px 10px; border-radius: 10px; }
  .stat .num { font-size: 19px; }
  .stat .num .u { font-size: 12px; }
  .stat .label { font-size: 10.5px; margin-top: 1px; }
  .crumb { font-size: 11.5px; margin-bottom: 8px; }
  .chips { gap: 6px; margin-top: 8px; }
  .chip { padding: 4px 10px; font-size: 11.5px; }

  /* ---- 卡片（产品/方案/功能/场景）：媒体压扁 + 内边距收紧 ---- */
  .grid { gap: 9px; }
  .card { border-radius: 12px; }
  .card .media { aspect-ratio: 16/9; }
  .card .body { padding: 9px 11px 11px; }
  .card .body h3 { font-size: 14.5px; margin-bottom: 2px; }
  .card .body .tag { font-size: 10.5px; margin-bottom: 5px; }
  .card .body p.desc { font-size: 12px; margin-bottom: 6px; line-height: 1.5; }
  .card .body ul { gap: 3px; }
  .card .body ul li { font-size: 11.5px; padding-left: 15px; }
  .card .more { margin-top: 6px; font-size: 11.5px; }
  .gallery { gap: 4px; margin-top: 6px; }
  /* 首页方案预览并入 2 列紧凑网格 */
  #solutionPreview { grid-template-columns: repeat(2, 1fr); gap: 9px; }

  /* ---- 优势/能力卡：2 列归并 ---- */
  .adv-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .adv-card { padding: 11px; border-radius: 12px; }
  .adv-card .ic { width: 32px; height: 32px; border-radius: 9px; font-size: 16px; margin-bottom: 6px; }
  .adv-card h4 { font-size: 13.5px; margin-bottom: 3px; }
  .adv-card p { font-size: 11.5px; line-height: 1.5; }
  .adv-card .no { font-size: 18px; top: 8px; right: 10px; }
  .cap-card { padding: 12px; border-radius: 12px; }
  .cap-card .ic { font-size: 20px; margin-bottom: 4px; }
  .cap-card h4 { font-size: 14px; margin-bottom: 3px; }
  .cap-card p { font-size: 12px; }
  .scene-card .cat { margin-bottom: 4px; font-size: 11px; }
  .scene-card .more { padding-top: 6px; font-size: 11.5px; }

  /* ---- 关于 ---- */
  .about-grid { gap: 12px; }
  .about-text h3 { font-size: 16px; margin-bottom: 6px; }
  .about-text p { font-size: 12.5px; margin-bottom: 6px; }

  /* ---- 案例墙 ---- */
  .cases { gap: 6px; }
  .case-pill { padding: 6px 10px; font-size: 11.5px; border-radius: 9px; gap: 5px; }

  /* ---- 联系 ---- */
  .contact-wrap { gap: 10px; }
  .contact-card { padding: 13px 12px; border-radius: 12px; }
  .contact-card h3 { font-size: 15px; margin-bottom: 6px; }
  .contact-row { padding: 6px 0; gap: 8px; }
  .contact-row .ic { width: 28px; height: 28px; font-size: 13px; border-radius: 8px; }
  .contact-row .t { font-size: 10.5px; }
  .contact-row .v { font-size: 12.5px; }
  .contact-form { gap: 7px; }
  .contact-form input, .contact-form textarea { padding: 9px 11px; font-size: 13px; border-radius: 9px; }
  .contact-form textarea { min-height: 64px; }

  /* ---- 解决方案（solutions / 详情页场景块）---- */
  .sol-list { gap: 10px; }
  .sol-row { border-radius: 13px; }
  .sol-row[style*="padding"] { padding: 14px !important; }   /* 详情页 CTA 行 */
  .sol-media { aspect-ratio: 16/7; }
  .sol-media .badge { top: 7px; left: 9px; padding: 3px 9px; font-size: 10.5px; }
  .sol-media .idx { font-size: 26px; bottom: 3px; right: 10px; }
  .sol-content { padding: 12px 12px 14px; }
  .sol-content .tag { font-size: 11px; margin-bottom: 4px; gap: 6px; }
  .sol-content .tag::before { width: 14px; }
  .sol-content h3 { font-size: 16px; margin-bottom: 5px; }
  .sol-content p.desc { font-size: 12.3px; line-height: 1.6; margin-bottom: 8px; }
  .sol-points { grid-template-columns: 1fr; gap: 4px; }
  .sol-points li { font-size: 12px; line-height: 1.5; padding-left: 15px; }
  .sol-groups { gap: 8px; margin-top: 2px; }
  .sol-group h4 { font-size: 12px; margin-bottom: 4px; gap: 6px; }
  .sol-group h4::before { width: 12px; }
  .sol-group ul { grid-template-columns: 1fr; gap: 4px; }
  .sol-group ul li { font-size: 12px; line-height: 1.5; padding-left: 15px; }
  .sol-metrics { gap: 6px; margin-top: 8px; }
  .metric { flex: 1 1 30%; padding: 7px 8px; border-radius: 9px; }
  .metric .v { font-size: 15px; }
  .metric .l { font-size: 10.5px; margin-top: 1px; }

  /* ---- 手持机详情页专属（覆盖页面内 <style>）---- */
  .cmp-table { font-size: 12px; }
  .cmp-table th, .cmp-table td { padding: 7px 9px !important; font-size: 12px; }
  .flow li { padding: 7px 10px 7px 30px !important; font-size: 12px; }
  .flow li::before { left: 11px; top: 7px; font-size: 14px; }
  .spec-strip { gap: 8px; margin-top: 10px; }
  .spec-item { padding: 11px 10px !important; border-radius: 11px; }
  .spec-item b { font-size: 13.5px; margin-bottom: 3px; }
  .spec-item span { font-size: 11.5px; line-height: 1.55; }

  /* ---- FAQ ---- */
  .faq-list { gap: 8px; }
  .faq-item { padding: 11px 12px; border-radius: 12px; }
  .faq-item h3 { font-size: 13.5px; margin-bottom: 4px; gap: 8px; }
  .faq-item .q-no { padding: 2px 8px; font-size: 11px; }
  .faq-item p { font-size: 12.5px; line-height: 1.65; }

  /* ---- 分享栏 / 页脚 ---- */
  .sharebar { padding: 8px 0 10px; gap: 6px; }
  .sharebar .share-label { font-size: 12px; }
  .share-btn { padding: 6px 12px; font-size: 12px; border-radius: 9px; }
  footer { padding: 16px 0 12px; }
  .foot-grid { gap: 12px; margin-bottom: 10px; }
  .foot-grid h5 { font-size: 13px; margin-bottom: 6px; }
  .foot-grid a, .foot-grid p { font-size: 11.5px; margin-bottom: 4px; }
  .foot-bottom { padding-top: 8px; font-size: 10.5px; line-height: 1.55; }
}

/* 极窄屏（≤360px）微调 */
@media (max-width: 360px) {
  .container { width: min(100% - 16px, var(--maxw)); }
  .hero h1 { font-size: 22px; }
  .card .body p.desc, .adv-card p { font-size: 11px; }
}

/* =========================================================
   移动端紧凑化 v3（仅 ≤720px）：列表行内归并 + 页脚双列 + 网格归并
   信息不删：要点由"逐条竖排"改为"行内 · 分隔连排"，分组标题保留
   ========================================================= */
@media (max-width: 720px) {
  /* 卡片要点 → 行内归并（.flow 数据链路除外，保持步骤语义） */
  .card .body ul:not(.flow) { display: block; margin-bottom: 5px; }
  .card .body ul:not(.flow) li { display: inline; font-size: 11.5px; line-height: 1.55; padding-left: 0; }
  .card .body ul:not(.flow) li::before { content: none; }
  .card .body ul:not(.flow) li::after { content: " ·"; color: var(--muted-2); }
  .card .body ul:not(.flow) li:last-child::after { content: none; }

  /* 方案要点/分组 → 行内归并（h4 分组标题保留层级） */
  .sol-points { display: block; }
  .sol-points li { display: inline; font-size: 12px; line-height: 1.6; padding-left: 0; }
  .sol-points li::before { content: none; }
  .sol-points li::after { content: " ·"; color: var(--muted-2); }
  .sol-points li:last-child::after { content: none; }
  .sol-groups { gap: 6px; }
  .sol-group { margin-bottom: 0; }
  .sol-group ul { display: block; }
  .sol-group ul li { display: inline; font-size: 12px; line-height: 1.6; padding-left: 0; }
  .sol-group ul li::before { content: none; }
  .sol-group ul li::after { content: " ·"; color: var(--muted-2); }
  .sol-group ul li:last-child::after { content: none; }
  .sol-media { aspect-ratio: 16/6; }
  .sol-list { gap: 8px; }
  .sol-content { padding: 10px 11px 12px; }
  .sol-content p.desc { font-size: 12px; line-height: 1.55; margin-bottom: 6px; }

  /* 详情页：数据链路两卡并排 + 规格条 3 列 */
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .spec-strip { grid-template-columns: repeat(3, 1fr) !important; }
  .spec-item span { font-size: 10.5px; }
  .flow li { padding: 6px 9px 6px 26px !important; font-size: 11.5px; }

  /* 页脚保持双列（覆盖 ≤480 单列退化） */
  .foot-grid { grid-template-columns: 1fr 1fr !important; gap: 10px; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }

  /* 卡片再收紧 */
  .card .body { padding: 8px 10px 10px; }
  .card .body p.desc { font-size: 11.5px; line-height: 1.5; }
  .gallery { margin-top: 4px; }
  .gallery img { border-radius: 6px; }

  /* FAQ/场景再收紧 */
  .faq-item { padding: 10px 11px; }
  .faq-item p { line-height: 1.6; }
  .scene-card .cat { font-size: 10.5px; }
}

/* =========================================================
   移动端紧凑化 v4（仅 ≤720px）：指标单行化 + 间距/字号收敛至可读下限
   ========================================================= */
@media (max-width: 720px) {
  section { padding: 24px 0; }
  section[style*="padding"] { padding: 24px 0 !important; }
  .section-head { margin-bottom: 12px; }
  .section-head h2 { font-size: 20px; }
  .hero { padding: 74px 0 18px; }
  .hero h1 { font-size: 24px; }

  /* 方案指标条：强制单行排开（原两行 110px → 单行 ~44px） */
  .sol-metrics { flex-wrap: nowrap; gap: 5px; margin-top: 6px; }
  .metric { flex: 1 1 0; min-width: 0; padding: 5px 4px; border-radius: 8px; }
  .metric .v { font-size: 13px; }
  .metric .l { font-size: 9.5px; margin-top: 1px; }

  /* 方案分组要点与描述：可读下限内再收一档 */
  .sol-group ul li, .sol-points li { font-size: 11.5px; line-height: 1.5; }
  .sol-group h4 { font-size: 11.5px; margin-bottom: 3px; }
  .sol-content { padding: 9px 10px 11px; }
  .sol-content p.desc { font-size: 11.5px; line-height: 1.5; margin-bottom: 5px; }
  .sol-list { gap: 7px; }

  /* 卡片要点/描述收至 11px（可读下限） */
  .card .body ul:not(.flow) li { font-size: 11px; line-height: 1.5; }
  .card .body p.desc { font-size: 11px; line-height: 1.45; }
  .grid { gap: 7px; }

  /* 对比表 / FAQ 再收 */
  .cmp-table th, .cmp-table td { padding: 6px 7px !important; font-size: 11.5px; }
  .faq-list { gap: 6px; }
  .faq-item { padding: 9px 10px; }
  .faq-item p { font-size: 12px; line-height: 1.55; }
}

/* =========================================================
   v5：关于区特性卡 2×2 双列排列（手机端）
   中间区域 4 张卡两两并排；电话栏保持固定屏幕底部
   ========================================================= */
@media (max-width: 720px) {
  .about-grid > div:last-child {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-content: start;
  }
  .about-grid > div:last-child .cap-card {
    margin-bottom: 0 !important;   /* 覆盖行内 margin，由 grid gap 控制间距 */
    display: flex;
    flex-direction: column;
  }
  .about-grid > div:last-child .cap-card .ic { font-size: 18px; margin-bottom: 4px; }
  .about-grid > div:last-child .cap-card h4 { font-size: 12.5px; margin-bottom: 3px; }
  .about-grid > div:last-child .cap-card p { font-size: 11px; line-height: 1.5; }
}
