/* ============================================================
   珈港科技 Jahport — 物联网安全芯片 · 设计系统
   ============================================================ */
:root {
  --bg-0: #03070e;
  --bg-1: #060d19;
  --bg-2: #0a1424;
  --bg-3: #0e1c33;
  --line: rgba(56, 189, 248, 0.14);
  --line-strong: rgba(56, 189, 248, 0.32);
  --cyan: #22d3ee;
  --cyan-soft: #67e8f9;
  --blue: #38bdf8;
  --teal: #2dd4bf;
  --violet: #818cf8;
  --gold: #fbbf24;
  --ink: #e8f2ff;
  --ink-dim: #9db4d0;
  --ink-faint: #647c99;
  --grad-main: linear-gradient(92deg, #22d3ee 0%, #38bdf8 45%, #2dd4bf 100%);
  --grad-violet: linear-gradient(92deg, #22d3ee, #818cf8);
  --radius: 18px;
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-0);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(34, 211, 238, .35); color: #fff; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { padding-left: 0; list-style: none; }

/* ---------- 通用容器与标题 ---------- */
.wrap { width: min(1220px, 92vw); margin: 0 auto; }
section { position: relative; padding: 108px 0; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: .35em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 18px; font-weight: 600;
}
.kicker::before { content: ""; width: 34px; height: 1px; background: var(--grad-main); }
h1, h2, h3 { line-height: 1.25; font-weight: 800; letter-spacing: .01em; }
.sec-title { font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; }
.sec-sub { color: var(--ink-dim); max-width: 720px; font-size: 16px; text-align: justify; text-justify: inter-ideograph; }
.grad-text {
  background: var(--grad-main);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.center { text-align: center; }
.center .kicker { justify-content: center; }
.center .kicker::after { content: ""; width: 34px; height: 1px; background: var(--grad-main); }
.center .sec-sub { margin: 0 auto; text-align: center; text-justify: auto; }
#contact { scroll-margin-top: 92px; }

/* ---------- 背景纹理 ---------- */
.bg-grid {
  background-image:
    linear-gradient(rgba(56,189,248,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,189,248,.05) 1px, transparent 1px);
  background-size: 44px 44px;
}
.orb {
  position: absolute; border-radius: 50%; filter: blur(90px);
  pointer-events: none; opacity: .5; z-index: 0;
}
.orb-a { width: 480px; height: 480px; background: radial-gradient(circle, rgba(34,211,238,.22), transparent 65%); }
.orb-b { width: 420px; height: 420px; background: radial-gradient(circle, rgba(129,140,248,.16), transparent 65%); }
.circuit-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cg fill='none' stroke='%2338bdf8' stroke-opacity='0.10'%3E%3Cpath d='M20 20h60v40h50v60'/%3E%3Cpath d='M220 40v70h-50v50h-60'/%3E%3Cpath d='M30 220v-60h70v-40'/%3E%3Cpath d='M120 230h70v-50'/%3E%3C/g%3E%3Cg fill='%2338bdf8' fill-opacity='0.16'%3E%3Ccircle cx='20' cy='20' r='3'/%3E%3Ccircle cx='130' cy='120' r='3'/%3E%3Ccircle cx='220' cy='40' r='3'/%3E%3Ccircle cx='110' cy='160' r='3'/%3E%3Ccircle cx='30' cy='220' r='3'/%3E%3Ccircle cx='100' cy='160' r='3'/%3E%3Ccircle cx='190' cy='230' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- 顶部导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s ease, box-shadow .35s ease, border-color .35s;
  border-bottom: 1px solid transparent;
}
/* 导航栏可配置变量（外观主题可覆盖，默认值与 DEFAULT_THEME 一致） */
:root {
  --nav-bg: rgba(4, 10, 20, .82);
  --nav-text: #9db4d0;
  --nav-active: #22d3ee;
  --nav-btn-bg: linear-gradient(92deg, #22d3ee 0%, #38bdf8 45%, #2dd4bf 100%);
  --nav-btn-text: #04222b;
  --logo-name: #e8f2ff;
  --nav-font-weight: 400;
}
.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px rgba(0,0,0,.45);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 20px; letter-spacing: .04em; color: var(--logo-name); }
.logo-mark {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(34,211,238,.22), rgba(45,212,191,.1));
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 24px rgba(34,211,238,.35), inset 0 0 12px rgba(34,211,238,.15);
}
.logo-mark svg { width: 24px; height: 24px; }
.logo-mark img { width: 26px; height: 26px; object-fit: contain; border-radius: 6px; }
/* 单图 LOGO 模式：整张 LOGO 图，导航内高度 40px，自适应宽度 */
.logo-img { height: 40px; width: auto; max-width: 220px; object-fit: contain; display: block; }
.logo small { display: block; font-size: 10px; color: var(--ink-faint); letter-spacing: .3em; font-weight: 600; }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
  padding: 9px 16px; font-size: 15px; font-weight: var(--nav-font-weight); color: var(--nav-text); border-radius: 10px;
  transition: color .25s, background .25s; position: relative;
}
.nav-links a:hover { color: var(--nav-active); background: rgba(56,189,248,.08); }
.nav-links a.active { color: var(--nav-active); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 3px; height: 2px;
  background: var(--nav-active); border-radius: 2px;
}
.nav-cta {
  padding: 10px 22px !important; color: var(--nav-btn-text) !important; font-weight: 700;
  background: var(--nav-btn-bg); border-radius: 999px !important;
  box-shadow: 0 6px 24px rgba(34,211,238,.35);
}
.nav-cta:hover { filter: brightness(1.1); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 42px; height: 42px; color: var(--ink); cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; display: flex; align-items: center; position: relative;
  padding: 150px 0 90px; overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(3,7,14,.86) 0%, rgba(3,7,14,.55) 45%, var(--bg-0) 100%),
    radial-gradient(60% 60% at 70% 35%, rgba(34,211,238,.14), transparent 70%);
}
#hero-canvas { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero .wrap { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(10, 25, 45, .55); backdrop-filter: blur(8px);
  font-size: 13.5px; color: var(--cyan-soft); letter-spacing: .06em; margin-bottom: 28px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px var(--teal); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity: .4; transform: scale(.75);} }
.hero h1 { font-size: clamp(38px, 6.4vw, 76px); letter-spacing: .02em; margin-bottom: 24px; }
.hero h1 .thin { display: block; font-size: clamp(18px, 2.4vw, 28px); font-weight: 500; color: var(--ink-dim); letter-spacing: .18em; margin-bottom: 14px; }
.hero p.lead { max-width: 680px; color: var(--ink-dim); font-size: clamp(15px, 1.6vw, 18px); margin-bottom: 40px; text-align: justify; text-justify: inter-ideograph; }
.hero p.lead strong { color: var(--cyan-soft); font-weight: 600; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 30px;
  border-radius: 999px; font-weight: 700; font-size: 15px; cursor: pointer;
  transition: transform .25s, box-shadow .25s, filter .25s; border: 1px solid transparent;
}
.btn-primary { background: var(--grad-main); color: #032530; box-shadow: 0 10px 34px rgba(34,211,238,.4); }
.btn-primary:hover { transform: translateY(-3px); filter: brightness(1.08); box-shadow: 0 16px 44px rgba(34,211,238,.55); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: rgba(10,25,45,.4); backdrop-filter: blur(6px); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--cyan); box-shadow: 0 10px 30px rgba(34,211,238,.2); }
.hero-scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2;
  color: var(--ink-faint); font-size: 12px; letter-spacing: .3em; text-align: center;
}
.hero-scroll::after {
  content: ""; display: block; width: 1px; height: 44px; margin: 10px auto 0;
  background: linear-gradient(180deg, var(--cyan), transparent); animation: drip 1.8s infinite;
}
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top;} 55% { transform: scaleY(1); transform-origin: top;} 56% { transform-origin: bottom;} 100% { transform: scaleY(0); transform-origin: bottom;} }

/* ---------- 数据统计条 ---------- */
.stats { padding: 0; margin-top: -60px; position: relative; z-index: 5; }
.stats-card {
  background: linear-gradient(180deg, rgba(14,28,51,.9), rgba(8,17,32,.92));
  border: 1px solid var(--line); border-radius: var(--radius);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(0,0,0,.5), inset 0 1px 0 rgba(120,200,255,.12);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); overflow: hidden;
}
.stat {
  padding: 34px 20px; text-align: center; position: relative;
}
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 25%; height: 50%; width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-strong), transparent);
}
.stat .num { font-size: clamp(26px, 3vw, 38px); font-weight: 800; }
.stat .num em { font-style: normal; font-size: .55em; margin-left: 2px; }
.stat .lbl { color: var(--ink-dim); font-size: 13.5px; margin-top: 6px; letter-spacing: .04em; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 26px; }
.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 {
  position: relative; border-radius: var(--radius); padding: 34px 30px;
  background: linear-gradient(165deg, rgba(16,30,54,.72), rgba(8,16,30,.85));
  border: 1px solid var(--line);
  transition: transform .35s cubic-bezier(.2,.7,.3,1), border-color .35s, box-shadow .35s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0;
  background: radial-gradient(500px 200px at 20% 0%, rgba(34,211,238,.14), transparent 60%);
  transition: opacity .35s;
  /* 光效只负责展示，不能盖住卡片内的链接、按钮和表单控件。 */
  pointer-events: none;
}
.card:hover { transform: translateY(-8px); border-color: var(--line-strong); box-shadow: 0 26px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(34,211,238,.12), 0 0 44px rgba(34,211,238,.08); }
.card:hover::before { opacity: 1; }
.card .icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(34,211,238,.2), rgba(129,140,248,.12));
  border: 1px solid var(--line-strong); color: var(--cyan);
}
.card .icon svg { width: 27px; height: 27px; }
.card h3 { font-size: 20px; margin-bottom: 12px; }
.card p { color: var(--ink-dim); font-size: 14.5px; }
.card .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag {
  font-size: 12px; padding: 4px 12px; border-radius: 999px; letter-spacing: .03em;
  border: 1px solid var(--line); color: var(--cyan-soft); background: rgba(34,211,238,.06);
}
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; color: var(--cyan); font-size: 14px; font-weight: 600; }
.card .more svg { transition: transform .3s; }
.card:hover .more svg { transform: translateX(5px); }

/* ---------- 产品系列卡 ---------- */
.series-card { display: flex; flex-direction: column; }
.series-card .chips { margin-top: auto; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.chipcode {
  font-family: "SFMono-Regular", Consolas, monospace; font-size: 12.5px; font-weight: 700;
  padding: 4px 11px; border-radius: 7px; color: var(--cyan);
  border: 1px solid var(--line-strong); background: rgba(34,211,238,.07);
}

/* ---------- 图文分栏 ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.split.rev { grid-template-columns: .95fr 1.05fr; direction: rtl; }
.split.rev > * { direction: ltr; }
.split .media { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.split .media img { transition: transform .8s cubic-bezier(.2,.7,.3,1); }
.split .media:hover img { transform: scale(1.05); }
.technology-page .split .media img {
  transform: scale(1.1);
  transform-origin: center;
}
.technology-page .split .media:hover img { transform: scale(1.15); }
.split .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 55%, rgba(3,7,14,.55)); }
.split h2 { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 18px; }
.split p { color: var(--ink-dim); margin-bottom: 16px; }
.check-list { display: grid; gap: 12px; margin: 22px 0 30px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-dim); font-size: 15px; }
.check-list li svg { flex: none; margin-top: 4px; color: var(--teal); }

/* ---------- 三大范式 / 技术 ---------- */
.paradigm { text-align: left; position: relative; }
.paradigm .num-tag {
  position: absolute; top: 26px; right: 28px; font-size: 46px; font-weight: 900;
  background: linear-gradient(180deg, rgba(34,211,238,.35), rgba(34,211,238,.03));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ---------- 时间轴 ---------- */
.timeline { position: relative; margin-top: 56px; }
.tl-track { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; position: relative; }
.tl-track + .tl-track { margin-top: 46px; }
.tl-track::before {
  content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; z-index: 0;
  background: linear-gradient(90deg, transparent, rgba(34,211,238,.55) 6%, rgba(34,211,238,.55) 94%, transparent);
  box-shadow: 0 0 12px rgba(34,211,238,.35);
}
.tl-item { position: relative; padding-top: 40px; }
.tl-item::before {
  content: ""; position: absolute; top: 2px; left: 0; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg-1); border: 2px solid var(--cyan);
  box-shadow: 0 0 16px rgba(34,211,238,.7);
}
.tl-item .year { font-size: 24px; font-weight: 800; color: var(--cyan); margin-bottom: 8px; }
.tl-item p { font-size: 13.5px; color: var(--ink-dim); }

/* ---------- 荣誉/认证徽章 ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 14px; }
.badge {
  padding: 12px 22px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(12,24,44,.6); font-size: 14px; color: var(--ink-dim);
  display: inline-flex; align-items: center; gap: 10px; transition: border-color .3s, color .3s, transform .3s;
}
.badge:hover { border-color: var(--gold); color: var(--ink); transform: translateY(-3px); }
.badge svg { color: var(--gold); flex: none; }

/* ---------- 参数表 ---------- */
.spec-table { width: 100%; border-collapse: collapse; margin-top: 22px; font-size: 14.5px; }
.spec-table caption { text-align: left; font-weight: 700; font-size: 17px; color: var(--cyan-soft); padding-bottom: 14px; }
.spec-table th, .spec-table td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.spec-table th { color: var(--cyan); font-weight: 600; width: 168px; white-space: nowrap; background: rgba(34,211,238,.04); }
.spec-table td { color: var(--ink-dim); }
.spec-table tr:hover td { background: rgba(56,189,248,.04); }

/* ---------- 产品详情块 ---------- */
.product-block {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(170deg, rgba(14,28,51,.7), rgba(7,14,27,.9)); margin-bottom: 44px;
}
.product-head { display: grid; grid-template-columns: 1.15fr .85fr; }
.product-head .txt { padding: 46px 44px; }
.product-head .txt h3 { font-size: clamp(24px, 2.6vw, 32px); margin: 10px 0 16px; }
.product-head .txt p { color: var(--ink-dim); font-size: 15px; }
/* 产品描述：两端对齐（编辑器中的换行已转为 <br> 保留） */
.prod-desc,
.solution-desc { text-align: justify; text-justify: inter-ideograph; }
.product-head .media { position: relative; min-height: 320px; }
/* 图片四边缘向背景渐隐（mask），与卡片底色融合，消除图/背景分界线 */
.product-head .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 26%, #000 96%, transparent), linear-gradient(180deg, transparent, #000 18%, #000 90%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 26%, #000 96%, transparent), linear-gradient(180deg, transparent, #000 18%, #000 90%, transparent);
  mask-composite: intersect; }
.product-head .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,20,38,.85), transparent 55%); }
.product-body { padding: 10px 44px 40px; }
.product-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0 44px 34px; }
.feat {
  border: 1px solid var(--line); border-radius: 14px; padding: 18px;
  background: rgba(12,24,44,.5); font-size: 13.5px; color: var(--ink-dim);
}
.feat strong { display: block; color: var(--ink); font-size: 15px; margin-bottom: 6px; }

/* ---------- 解决方案 ---------- */
.sol-card { display: flex; flex-direction: column; }
.sol-card ul { margin-top: 14px; display: grid; gap: 8px; }
.sol-card ul li { display: flex; gap: 10px; color: var(--ink-dim); font-size: 14px; }
.sol-card ul li::before { content: "▹"; color: var(--cyan); }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--line); border-radius: 16px; margin-bottom: 16px; background: linear-gradient(170deg, rgba(14,28,51,.6), rgba(7,14,27,.85)); overflow: hidden; transition: border-color .3s; }
.faq-item:hover { border-color: var(--line-strong); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 24px 28px; background: none; border: 0; color: var(--ink); font-size: 16.5px; font-weight: 700; text-align: left; cursor: pointer; font-family: var(--font); }
.faq-q .chev { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--cyan); transition: transform .35s, background .35s; }
.faq-item.open .chev { transform: rotate(180deg); background: rgba(34,211,238,.12); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s cubic-bezier(.2,.7,.3,1); }
.faq-a .inner { padding: 0 28px 26px; color: var(--ink-dim); font-size: 15px; }
.faq-a .inner strong { color: var(--cyan-soft); }

/* ---------- 页头（子页） ---------- */
.page-hero { padding: 170px 0 90px; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(34px, 5vw, 58px); margin-bottom: 18px; }
.page-hero p { max-width: 760px; color: var(--ink-dim); font-size: 16.5px; text-align: justify; text-justify: inter-ideograph; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--ink-faint); margin-bottom: 26px; letter-spacing: .04em; }
.crumbs a:hover { color: var(--cyan); }

/* ---------- CTA ---------- */
.cta-band {
  position: relative; border-radius: 24px; overflow: hidden; padding: 70px 60px;
  background: linear-gradient(120deg, rgba(14,30,56,.95), rgba(8,18,34,.95));
  border: 1px solid var(--line-strong); text-align: center;
}
.cta-band h2 { font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 14px; }
.cta-band p { color: var(--ink-dim); max-width: 620px; margin: 0 auto 34px; }

/* ---------- 页脚 ---------- */
footer { border-top: 1px solid var(--line); background: #040910; padding: 70px 0 34px; position: relative; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 0.9fr 0.9fr 1.8fr; gap: 40px; }
.foot-brand .logo-img { height: 48px; max-width: 260px; }
.foot-grid h4 { font-size: 15px; color: var(--ink); margin-bottom: 18px; letter-spacing: .06em; }
.foot-grid ul { display: grid; gap: 10px; }
.foot-grid a, .foot-grid li { color: var(--ink-faint); font-size: 14px; transition: color .25s; }
.foot-grid a:hover { color: var(--cyan); }
.foot-brand p { color: var(--ink-faint); font-size: 13.5px; margin-top: 16px; max-width: 320px; }
.foot-bottom {
  margin-top: 54px; padding-top: 24px; border-top: 1px solid rgba(56,189,248,.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: #3f5570; font-size: 12.5px;
}

/* ---------- 滚动显现 ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }
.reveal[data-delay="4"] { transition-delay: .48s; }

/* ============================================================
   AI 智能选型悬浮工具
   PC：右下角常态展开迷你对话框（图标+输入框+发送）
       鼠标悬停/聚焦输入框 → 展开为完整三栏详情面板
   移动端：屏幕中下部居中悬浮球（默认不展开）→ 底部面板
   ============================================================ */
.fab-ai {
  position: fixed; right: 26px; bottom: 26px; z-index: 200;
  display: none; /* PC 端隐藏悬浮球，迷你对话框直接展示 */
  align-items: center; gap: 10px;
  background: none; border: 0; cursor: pointer; font-family: var(--font);
}
.fab-ai .fab-ball {
  position: relative; width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #164e63, #0e7490 55%, #155e75);
  border: 1px solid rgba(103,232,249,.55);
  box-shadow: 0 10px 34px rgba(34,211,238,.45), inset 0 0 18px rgba(34,211,238,.28);
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s;
}
.fab-ai:hover .fab-ball { transform: translateY(-4px) scale(1.05); box-shadow: 0 16px 44px rgba(34,211,238,.6), inset 0 0 22px rgba(34,211,238,.4); }
.fab-ai .fab-ball svg { width: 30px; height: 30px; }
.fab-ai .fab-ring {
  position: absolute; inset: -6px; border-radius: 50%;
  border: 1.5px solid rgba(34,211,238,.5);
  animation: fabPulse 2.4s ease-out infinite;
}
@keyframes fabPulse {
  0% { transform: scale(.85); opacity: .9; }
  70% { transform: scale(1.28); opacity: 0; }
  100% { transform: scale(1.28); opacity: 0; }
}
.fab-ai .fab-dot {
  position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; border-radius: 50%;
  background: #34d399; border: 2.5px solid var(--bg-0);
  box-shadow: 0 0 10px rgba(52,211,153,.8);
}
.fab-ai .fab-label { display: none; }

/* ---------- 面板容器（PC 迷你 ↔ 完整双态） ---------- */
.ai-panel {
  position: fixed; left: 50%; right: auto; bottom: 72px; z-index: 201;
  transform: translateX(-50%);
  display: flex; flex-direction: row;
  border-radius: 999px; overflow: hidden;
  background: linear-gradient(170deg, #ffffff, #f0f9ff);
  border: 1px solid rgba(34,211,238,.45);
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 46px rgba(34,211,238,.3);
  opacity: 1; pointer-events: auto;
  transition: width .45s cubic-bezier(.2,.7,.3,1), height .45s cubic-bezier(.2,.7,.3,1),
              border-radius .45s, transform .35s, opacity .3s, box-shadow .35s, bottom .45s;
  /* 迷你态尺寸 */
  width: 720px; max-width: 94vw; height: 76px;
}
/* 完整详情态 */
.ai-panel.open {
  left: 50%; right: auto; bottom: 48px;
  width: min(1060px, 94vw); height: min(800px, 92vh);
  border-radius: 24px;
  transform: translateX(-50%);
  background: linear-gradient(170deg, rgba(13,25,46,.97), rgba(5,11,21,.98));
  border: 1px solid var(--line-strong);
  box-shadow: 0 34px 90px rgba(0,0,0,.65), 0 0 60px rgba(34,211,238,.1);
  z-index: 300;
}
.ai-panel.open .ai-input input {
  background: rgba(16,30,54,.8); border-color: var(--line); color: var(--ink);
}
.ai-head {
  width: 250px; flex: none; display: flex; flex-direction: column; gap: 14px; padding: 26px 24px;
  background: linear-gradient(150deg, rgba(34,211,238,.13), rgba(45,212,191,.04));
  border-bottom: 0; border-right: 1px solid var(--line);
  opacity: 0; transform: translateX(-12px); transition: opacity .35s .1s, transform .35s .1s;
}
.ai-panel.open .ai-head { opacity: 1; transform: none; }
.ai-head .ai-logo {
  width: 46px; height: 46px; border-radius: 13px; flex: none; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(34,211,238,.25), rgba(45,212,191,.12));
  border: 1px solid var(--line-strong); box-shadow: 0 0 18px rgba(34,211,238,.3);
}
.ai-head .ai-logo svg { width: 26px; height: 26px; }
.ai-head .ai-title { font-weight: 800; font-size: 17px; }
.ai-head .ai-sub { font-size: 12.5px; color: var(--teal); display: flex; align-items: center; gap: 6px; }
.ai-head .ai-sub::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #34d399; box-shadow: 0 0 8px #34d399; }
.ai-head .ai-desc { font-size: 12.5px; color: var(--ink-faint); line-height: 1.8; margin-top: 4px; }
.ai-head .ai-actions { margin-top: auto; display: flex; gap: 8px; }
.ai-icon-btn {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(56,189,248,.08); border: 1px solid var(--line); color: var(--ink-dim);
  cursor: pointer; transition: color .25s, border-color .25s, background .25s;
}
.ai-icon-btn:hover { color: var(--cyan); border-color: var(--line-strong); background: rgba(56,189,248,.15); }
.ai-body {
  flex: 1; overflow-y: auto; padding: 22px 24px 12px; display: flex; flex-direction: column; gap: 14px;
  scrollbar-width: thin; scrollbar-color: rgba(56,189,248,.3) transparent;
  opacity: 0; transition: opacity .35s .12s;
}
.ai-panel.open .ai-body { opacity: 1; }
.ai-body::-webkit-scrollbar { width: 5px; }
.ai-body::-webkit-scrollbar-thumb { background: rgba(56,189,248,.25); border-radius: 4px; }
.ai-msg { display: flex; gap: 10px; max-width: 88%; animation: msgIn .4s cubic-bezier(.2,.7,.3,1); }
@keyframes msgIn { from { opacity: 0; transform: translateY(12px);} to { opacity: 1; transform: none;} }
.ai-msg.bot { align-self: flex-start; }
.ai-msg.user { align-self: flex-end; flex-direction: row-reverse; }
.ai-avatar {
  width: 30px; height: 30px; border-radius: 9px; flex: none; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(34,211,238,.22), rgba(129,140,248,.12));
  border: 1px solid var(--line-strong); margin-top: 2px;
}
.ai-avatar svg { width: 17px; height: 17px; }
.ai-bubble {
  padding: 12px 15px; border-radius: 14px; font-size: 13.8px; line-height: 1.7; color: var(--ink);
  background: rgba(16,30,54,.75); border: 1px solid var(--line);
  border-top-left-radius: 5px;
}
.ai-msg.user .ai-bubble {
  background: linear-gradient(120deg, rgba(14,116,144,.55), rgba(8,74,110,.5));
  border-color: rgba(103,232,249,.3); border-top-left-radius: 14px; border-top-right-radius: 5px;
}
.ai-bubble strong { color: var(--cyan-soft); }
.ai-bubble .ai-mini { display: block; margin-top: 6px; font-size: 12px; color: var(--ink-faint); }
/* 打字中 */
.ai-typing { display: inline-flex; gap: 5px; padding: 4px 2px; }
.ai-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); opacity: .35; animation: tp 1.1s infinite; }
.ai-typing i:nth-child(2) { animation-delay: .18s; }
.ai-typing i:nth-child(3) { animation-delay: .36s; }
@keyframes tp { 0%,100% { opacity: .25; transform: translateY(0);} 50% { opacity: 1; transform: translateY(-3px);} }
/* 快捷选项 */
.ai-quick { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-start; max-width: 96%; animation: msgIn .4s; }
.ai-chip-btn {
  padding: 8px 14px; border-radius: 999px; font-size: 12.8px; font-weight: 600; font-family: var(--font);
  color: var(--cyan-soft); background: rgba(34,211,238,.07); border: 1px solid var(--line-strong);
  cursor: pointer; transition: all .25s;
}
.ai-chip-btn:hover { background: rgba(34,211,238,.18); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(34,211,238,.25); }
/* 推荐产品卡 */
.ai-product {
  margin-top: 10px; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(103,232,249,.35);
  background: linear-gradient(150deg, rgba(34,211,238,.1), rgba(8,20,38,.6));
}
.ai-product .ap-head {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  background: rgba(34,211,238,.1); border-bottom: 1px solid var(--line);
}
.ai-product .ap-code {
  font-family: Consolas, monospace; font-weight: 800; font-size: 16px; color: #fff;
  padding: 3px 10px; border-radius: 8px; background: var(--grad-main); color: #04222b;
}
.ai-product .ap-name { font-size: 13px; font-weight: 700; color: var(--ink); }
.ai-product .ap-body { padding: 12px 14px; }
.ai-product .ap-reason { display: flex; gap: 8px; font-size: 12.5px; color: var(--ink-dim); margin-bottom: 6px; }
.ai-product .ap-reason::before { content: "✓"; color: var(--teal); font-weight: 800; flex: none; }
.ai-product .ap-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 12px; }
.ai-product .ap-tags span { font-size: 11px; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--cyan-soft); background: rgba(34,211,238,.06); }
.ai-product .ap-actions { display: flex; gap: 8px; }
.ai-product .ap-btn {
  flex: 1; text-align: center; padding: 8px 10px; border-radius: 9px; font-size: 12.5px; font-weight: 700;
  transition: filter .25s, transform .25s;
}
.ai-product .ap-btn:hover { filter: brightness(1.12); transform: translateY(-2px); }
.ai-product .ap-btn.primary { background: var(--grad-main); color: #04222b; }
.ai-product .ap-btn.ghost { border: 1px solid var(--line-strong); color: var(--cyan-soft); }
/* 输入区：迷你态为唯一可见行，完整态为右侧栏 */
.ai-input {
  flex: 1; display: flex; flex-direction: row; align-items: center; gap: 10px; padding: 10px 12px;
  border-top: 0; border-left: 1px solid var(--line); background: transparent;
  transition: width .45s cubic-bezier(.2,.7,.3,1), padding .45s, flex-direction .3s;
}
.ai-panel:not(.open) .ai-input { border-left: 0; }
.ai-panel:not(.open) .ai-head,
.ai-panel:not(.open) .ai-body { display: none; }
.ai-panel.open .ai-input {
  width: 240px; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 22px 20px;
  background: rgba(6,13,25,.85);
}
.ai-mini-logo {
  width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: linear-gradient(135deg, #164e63, #0e7490);
  border: 1px solid rgba(103,232,249,.4);
  opacity: 1; transition: opacity .25s, width .3s, height .3s;
}
.ai-mini-logo svg { width: 22px; height: 22px; }
.ai-panel.open .ai-mini-logo { display: none; }
.ai-input input {
  flex: 1; min-width: 0; height: 44px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-family: var(--font);
  background: rgba(8,47,73,.06); border: 1px solid rgba(8,47,73,.18); color: #0b3049; outline: none;
  transition: border-color .25s, box-shadow .25s, height .3s;
}
.ai-panel:not(.open) .ai-input input::placeholder { color: #4a7a9d; }
.ai-panel:not(.open) .ai-input input {
  background: rgba(8,47,73,.05); border: 1px solid rgba(8,47,73,.16);
  height: 52px; font-size: 17px; padding: 0 24px; box-shadow: none;
}
.ai-panel.open .ai-input input { flex: none; width: 100%; height: 44px; font-size: 13.5px; }
.ai-input input::placeholder { color: var(--ink-faint); }
.ai-input input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34,211,238,.15); }
.ai-send {
  width: 52px; height: 52px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--grad-main); border: 0; cursor: pointer; color: #04222b; font-weight: 700; font-size: 13.5px; font-family: var(--font);
  box-shadow: 0 4px 16px rgba(34,211,238,.35); transition: transform .25s, filter .25s, width .3s, height .3s;
}
.ai-send svg { width: 20px; height: 20px; }
.ai-panel.open .ai-send { width: 100%; height: 44px; border-radius: 999px; }
.ai-send:hover { transform: scale(1.05); filter: brightness(1.1); }
.ai-send svg { width: 17px; height: 17px; }
.ai-send .ai-send-text { display: none; }
.ai-panel.open .ai-send .ai-send-text { display: inline; }
/* 迷你条「收起为小球」按钮（仅迷你态显示，展开后隐藏） */
.ai-minimize {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; margin-right: 4px; border-radius: 50%;
  background: none; border: none; cursor: pointer; color: #4a7a9d;
  transition: background .2s, color .2s;
}
.ai-minimize:hover { background: rgba(34,211,238,.15); color: #0e7490; }
.ai-minimize svg { width: 16px; height: 16px; }
.ai-panel.open .ai-minimize { display: none; }
/* PC 端收起为小球：隐藏迷你条，显示右下角悬浮球 */
.ai-panel.mini-hidden { opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(20px); }
.fab-ai.fab-show { display: flex; }

/* ---------- 移动端：底部胶囊入口（与 PC 迷你对话框同款）+ 底部面板 ---------- */
@media (max-width: 680px) {
  .fab-ai {
    display: flex; right: 12px; left: 12px; bottom: calc(64px + env(safe-area-inset-bottom, 0px)); transform: none;
    padding: 5px 6px 5px 16px; border-radius: 999px;
    background: linear-gradient(170deg, #ffffff, #f0f9ff);
    border: 1px solid rgba(34,211,238,.45);
    box-shadow: 0 10px 34px rgba(0,0,0,.4), 0 0 28px rgba(34,211,238,.25);
  }
  .fab-ai .fab-label { display: block; flex: 1; text-align: left; font-size: 15px; color: #4a7a9d; }
  .fab-ai .fab-ball { width: 46px; height: 46px; flex: none; }
  .fab-ai .fab-ball svg { width: 24px; height: 24px; }
  .fab-ai .fab-ring { inset: -4px; }
  .ai-panel {
    left: 8px; right: 8px; bottom: 12px; top: auto; width: auto; max-width: none;
    display: flex; height: 92vh; height: 92dvh; flex-direction: column; border-radius: 22px;
    transform: translateY(30px) scale(.97); opacity: 0; pointer-events: none;
    transition: opacity .3s, transform .35s cubic-bezier(.2,.7,.3,1);
  }
  .ai-panel.open {
    left: 8px; right: 8px; bottom: 12px; top: auto; width: auto; max-width: none;
    height: 92vh; height: 92dvh; border-radius: 22px;
    transform: none; opacity: 1; pointer-events: auto;
  }
  /* 键盘弹收时高度随布局视口瞬时变化：面板及内部禁用过渡，避免逐帧动画卡顿；
     回复区 flex:1 自适应，输入区固定高钉在底部 */
  .ai-panel, .ai-head, .ai-body, .ai-input, .ai-input input, .ai-send { transition: none; }
  .ai-head { flex: none; }
  .ai-body { flex: 1 1 auto; min-height: 0; }
  .ai-input { flex: none; }
  .ai-head {
    width: auto; flex-direction: row; align-items: center; gap: 12px; padding: 14px 16px;
    border-right: 0; border-bottom: 1px solid var(--line);
    opacity: 1; transform: none;
  }
  .ai-head .ai-logo { width: 40px; height: 40px; }
  .ai-head .ai-logo svg { width: 22px; height: 22px; }
  .ai-head .ai-desc { display: none; }
  .ai-head .ai-actions { margin-top: 0; margin-left: auto; }
  .ai-body { padding: 16px 14px 8px; opacity: 1; }
  .ai-input {
    width: auto; flex-direction: row; padding: 12px 14px;
    border-left: 0; border-top: 1px solid var(--line);
  }
  .ai-panel.open .ai-input { width: auto; flex-direction: row; padding: 12px 14px; }
  .ai-input input { width: auto; flex: 1; height: 44px; font-size: 13.5px; }
  .ai-panel.open .ai-input input { flex: 1; height: 44px; }
  .ai-send, .ai-panel.open .ai-send { width: 44px; height: 44px; border-radius: 50%; }
  .ai-send .ai-send-text, .ai-panel.open .ai-send .ai-send-text { display: none; }
  .ai-mini-logo { display: none; }
}
.ai-head {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px;
  background: linear-gradient(120deg, rgba(34,211,238,.14), rgba(45,212,191,.05));
  border-bottom: 1px solid var(--line);
}
.ai-head .ai-logo {
  width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(34,211,238,.25), rgba(45,212,191,.12));
  border: 1px solid var(--line-strong); box-shadow: 0 0 18px rgba(34,211,238,.3);
}
.ai-head .ai-logo svg { width: 24px; height: 24px; }
.ai-head .ai-title { font-weight: 800; font-size: 15.5px; }
.ai-head .ai-sub { font-size: 12px; color: var(--teal); display: flex; align-items: center; gap: 6px; }
.ai-head .ai-sub::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #34d399; box-shadow: 0 0 8px #34d399; }
.ai-head .ai-actions { margin-left: auto; display: flex; gap: 8px; }
.ai-icon-btn {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(56,189,248,.08); border: 1px solid var(--line); color: var(--ink-dim);
  cursor: pointer; transition: color .25s, border-color .25s, background .25s;
}
.ai-icon-btn:hover { color: var(--cyan); border-color: var(--line-strong); background: rgba(56,189,248,.15); }
.ai-body {
  flex: 1; overflow-y: auto; padding: 18px 16px 10px; display: flex; flex-direction: column; gap: 14px;
  scrollbar-width: thin; scrollbar-color: rgba(56,189,248,.3) transparent;
}
.ai-body::-webkit-scrollbar { width: 5px; }
.ai-body::-webkit-scrollbar-thumb { background: rgba(56,189,248,.25); border-radius: 4px; }
.ai-msg { display: flex; gap: 10px; max-width: 92%; animation: msgIn .4s cubic-bezier(.2,.7,.3,1); }
@keyframes msgIn { from { opacity: 0; transform: translateY(12px);} to { opacity: 1; transform: none;} }
.ai-msg.bot { align-self: flex-start; }
.ai-msg.user { align-self: flex-end; flex-direction: row-reverse; }
.ai-avatar {
  width: 30px; height: 30px; border-radius: 9px; flex: none; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(34,211,238,.22), rgba(129,140,248,.12));
  border: 1px solid var(--line-strong); margin-top: 2px;
}
.ai-avatar svg { width: 17px; height: 17px; }
.ai-bubble {
  padding: 12px 15px; border-radius: 14px; font-size: 13.8px; line-height: 1.7; color: var(--ink);
  background: rgba(16,30,54,.75); border: 1px solid var(--line);
  border-top-left-radius: 5px;
}
.ai-msg.user .ai-bubble {
  background: linear-gradient(120deg, rgba(14,116,144,.55), rgba(8,74,110,.5));
  border-color: rgba(103,232,249,.3); border-top-left-radius: 14px; border-top-right-radius: 5px;
}
.ai-bubble strong { color: var(--cyan-soft); }
.ai-bubble .ai-mini { display: block; margin-top: 6px; font-size: 12px; color: var(--ink-faint); }
/* 打字中 */
.ai-typing { display: inline-flex; gap: 5px; padding: 4px 2px; }
.ai-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); opacity: .35; animation: tp 1.1s infinite; }
.ai-typing i:nth-child(2) { animation-delay: .18s; }
.ai-typing i:nth-child(3) { animation-delay: .36s; }
@keyframes tp { 0%,100% { opacity: .25; transform: translateY(0);} 50% { opacity: 1; transform: translateY(-3px);} }
/* 快捷选项 */
.ai-quick { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-start; max-width: 96%; animation: msgIn .4s; }
.ai-chip-btn {
  padding: 8px 14px; border-radius: 999px; font-size: 12.8px; font-weight: 600; font-family: var(--font);
  color: var(--cyan-soft); background: rgba(34,211,238,.07); border: 1px solid var(--line-strong);
  cursor: pointer; transition: all .25s;
}
.ai-chip-btn:hover { background: rgba(34,211,238,.18); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(34,211,238,.25); }
/* 推荐产品卡 */
.ai-product {
  margin-top: 10px; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(103,232,249,.35);
  background: linear-gradient(150deg, rgba(34,211,238,.1), rgba(8,20,38,.6));
}
.ai-product .ap-head {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  background: rgba(34,211,238,.1); border-bottom: 1px solid var(--line);
}
.ai-product .ap-code {
  font-family: Consolas, monospace; font-weight: 800; font-size: 16px; color: #fff;
  padding: 3px 10px; border-radius: 8px; background: var(--grad-main); color: #04222b;
}
.ai-product .ap-name { font-size: 13px; font-weight: 700; color: var(--ink); }
.ai-product .ap-body { padding: 12px 14px; }
.ai-product .ap-reason { display: flex; gap: 8px; font-size: 12.5px; color: var(--ink-dim); margin-bottom: 6px; }
.ai-product .ap-reason::before { content: "✓"; color: var(--teal); font-weight: 800; flex: none; }
.ai-product .ap-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 12px; }
.ai-product .ap-tags span { font-size: 11px; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--cyan-soft); background: rgba(34,211,238,.06); }
.ai-product .ap-actions { display: flex; gap: 8px; }
.ai-product .ap-btn {
  flex: 1; text-align: center; padding: 8px 10px; border-radius: 9px; font-size: 12.5px; font-weight: 700;
  transition: filter .25s, transform .25s;
}
.ai-product .ap-btn:hover { filter: brightness(1.12); transform: translateY(-2px); }
.ai-product .ap-btn.primary { background: var(--grad-main); color: #04222b; }
.ai-product .ap-btn.ghost { border: 1px solid var(--line-strong); color: var(--cyan-soft); }

/* ---------- 资讯中心 ---------- */
.news-card { display: flex; flex-direction: column; }
/* 标题固定 2 行、摘要固定 3 行，卡片内元素位置对齐 */
.news-card h3 {
  font-size: 19px; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(19px * 1.4 * 2);
}
.news-card > p {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(14.5px * 1.75 * 3);
}
.news-card .more { margin-top: auto; }
.news-cover { margin: -34px -30px 20px; height: 170px; overflow: hidden; }
.news-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-card:hover .news-cover img { transform: scale(1.06); }
.news-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.news-meta time { font-size: 12.5px; color: var(--ink-faint); }
.article-cover { margin-bottom: 30px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.article-body { font-size: 16px; color: var(--ink-dim); }
.article-body h3, .article-body h4, .article-body h5 { color: var(--ink); margin: 34px 0 14px; letter-spacing: 0; }
.article-body h3 { font-size: 24px; }
.article-body h4 { font-size: 19px; }
.article-body p { margin-bottom: 16px; }
.article-body ul, .article-body ol { padding-left: 22px; margin-bottom: 16px; display: grid; gap: 8px; list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body a { color: var(--cyan); text-decoration: underline; }
.article-body code { background: rgba(34,211,238,.1); padding: 2px 8px; border-radius: 6px; font-size: 13.5px; color: var(--cyan-soft); font-family: Consolas, monospace; }
.article-body pre { background: rgba(6,13,25,.9); border: 1px solid var(--line); padding: 18px; border-radius: 12px; overflow-x: auto; margin-bottom: 16px; }
.article-body pre code { background: none; padding: 0; }
.article-body blockquote { border-left: 3px solid var(--cyan); padding: 4px 0 4px 18px; margin-bottom: 16px; color: var(--ink-faint); }
.article-body img { max-width: 100%; border-radius: 12px; margin: 10px 0; }
.article-body hr { border: 0; border-top: 1px solid var(--line); margin: 30px 0; }
.article-body strong { color: var(--cyan-soft); }
.article-body table { width: 100%; border-collapse: collapse; margin: 20px 0 26px; font-size: 14.5px; display: block; overflow-x: auto; }
.article-body thead, .article-body tbody { display: table; width: 100%; min-width: 480px; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.article-body th { background: rgba(34,211,238,.08); color: var(--ink); font-weight: 600; white-space: nowrap; }
.article-body tbody tr:nth-child(even) { background: rgba(255,255,255,.02); }

/* ---------- 产品详情页 ---------- */
.detail-sec { padding-top: 70px; }
.detail-hero { padding-bottom: 60px; }
.detail-hero h1 { font-size: clamp(30px, 4vw, 46px); margin: 14px 0 0; }
.detail-hero-card {
  display: grid; grid-template-columns: 1.15fr .85fr; margin-top: 40px;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(170deg, rgba(14,28,51,.7), rgba(7,14,27,.9));
}
.detail-hero-card .txt { padding: 42px 44px; }
.detail-hero-card .txt h3 { font-size: clamp(20px, 2.2vw, 27px); margin: 12px 0 14px; }
.detail-hero-card .txt p { color: var(--ink-dim); font-size: 15px; margin-top: 14px; }
.detail-hero-card .media { position: relative; min-height: 300px; }
.detail-hero-card .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.detail-hero-card .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,20,38,.85), transparent 55%); }

.rel-prod-list { display: grid; gap: 12px; max-width: 760px; margin-left: auto; margin-right: auto; }
.rel-prod {
  display: flex; align-items: center; gap: 16px; padding: 16px 22px;
  border: 1px solid var(--line); border-radius: 14px;
  background: linear-gradient(170deg, rgba(14,28,51,.6), rgba(7,14,27,.85));
  transition: border-color .25s, transform .25s;
}
.rel-prod:hover { border-color: var(--line-strong); transform: translateX(6px); }
.rel-prod .model-badge { flex: none; }
.rel-prod-name { flex: 1; color: var(--ink-dim); font-size: 14.5px; }
.rel-prod-arrow { color: var(--cyan); font-weight: 700; }

a.card.sol-card { text-decoration: none; color: inherit; }
a.news-card { text-decoration: none; color: inherit; }

@media (max-width: 900px) {
  .detail-hero-card { grid-template-columns: 1fr; }
  .detail-hero-card .media { min-height: 220px; order: -1; }
  .detail-hero-card .txt { padding: 28px 24px; }
}

/* ---------- 方案横向滚动 ---------- */
.sol-slider { position: relative; }
.sol-track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
  scroll-behavior: smooth; padding-bottom: 4px;
}
.sol-track::-webkit-scrollbar { display: none; }
.sol-slide { flex: 0 0 100%; scroll-snap-align: center; }
.sol-slide .product-block { height: 100%; }
.sol-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.sol-arrow {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); background: rgba(14,28,51,.7); color: var(--cyan);
  cursor: pointer; transition: background .2s, border-color .2s, transform .2s;
}
.sol-arrow:hover { background: rgba(34,211,238,.15); border-color: var(--cyan); transform: scale(1.06); }
.sol-arrow:disabled { opacity: .35; cursor: default; transform: none; }
.sol-dots { display: flex; gap: 8px; }
.sol-dot {
  width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0;
  background: var(--line-strong); cursor: pointer; transition: width .25s, background .25s;
}
.sol-dot.active { width: 24px; background: var(--cyan); }
/* ---------- 全生命周期赋能（技术平台） ---------- */
.lifecycle { display: flex; align-items: stretch; gap: 10px; }
.lc-stage {
  flex: 1; min-width: 0; border-radius: var(--radius); padding: 30px 24px;
  background: linear-gradient(165deg, rgba(16,30,54,.72), rgba(8,16,30,.85));
  border: 1px solid var(--line);
  transition: transform .35s, border-color .35s, box-shadow .35s;
}
.lc-stage:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 18px 44px rgba(0,0,0,.42), 0 0 34px rgba(34,211,238,.1); }
.lc-no {
  font-size: 30px; font-weight: 800; line-height: 1; letter-spacing: .02em;
  background: var(--grad-main); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .9; margin-bottom: 14px;
}
.lc-stage h3 { font-size: 19px; margin: 0 0 6px; }
.lc-sub { font-size: 12.5px; color: var(--cyan); margin: 0 0 16px; font-weight: 600; }
.lc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lc-list li {
  position: relative; padding-left: 16px; font-size: 13.5px; color: var(--ink-dim); line-height: 1.55;
}
.lc-list li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; border-radius: 2px;
  background: var(--grad-main); box-shadow: 0 0 8px rgba(34,211,238,.5);
}
.lc-arrow {
  align-self: center; flex: none; color: var(--cyan); opacity: .55;
  filter: drop-shadow(0 0 6px rgba(34,211,238,.4));
}
@media (max-width: 1020px) {
  .lifecycle { flex-wrap: wrap; }
  .lc-stage { flex: 1 1 44%; }
  .lc-arrow { display: none; }
}
@media (max-width: 560px) {
  .lc-stage { flex: 1 1 100%; }
}

/* 方案卡片区分页器 */
.sol-pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 34px; }
.sol-pager-info { font-size: 13px; color: var(--ink-faint); }
.sol-pager .btn.sm { padding: 7px 16px; font-size: 12.5px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--cyan-soft); background: rgba(34,211,238,.06); cursor: pointer; transition: background .25s, transform .25s; font-family: var(--font); }
.sol-pager .btn.sm:hover:not(:disabled) { background: rgba(34,211,238,.16); transform: translateY(-2px); }
.sol-pager .btn.sm:disabled { opacity: .38; cursor: not-allowed; }
.btn.sm { padding: 8px 16px; font-size: 13px; }
@media (max-width: 900px) {
  .sol-slide { flex-basis: 100%; }
}

/* ---------- 资讯分类筛选 ---------- */
.news-filters { display: flex; gap: 10px; flex-wrap: wrap; }
.news-filter {
  padding: 9px 18px; border-radius: 999px; font-size: 14px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(14,28,51,.55); color: var(--ink-dim);
  transition: all .2s;
}
.news-filter:hover { border-color: var(--line-strong); color: var(--ink); }
.news-filter.active {
  background: rgba(34,211,238,.12); border-color: var(--cyan); color: var(--cyan); font-weight: 600;
}
.news-filter .nf-count {
  display: inline-block; margin-left: 5px; font-size: 12px; padding: 1px 8px;
  border-radius: 999px; background: rgba(255,255,255,.07);
}
.news-filter.active .nf-count { background: rgba(34,211,238,.2); }
.news-card.hidden { display: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-card { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important; }
  .split, .split.rev { grid-template-columns: 1fr; gap: 36px; }
  .product-head { grid-template-columns: 1fr; }
  .product-head .media { min-height: 240px; order: -1; }
  .product-feats { grid-template-columns: repeat(2, 1fr); }
  .tl-track { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .tl-track::before { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .orb { max-width: 60vw; }
}
@media (max-width: 680px) {
  html, body { overflow-x: hidden; }
  section { padding: 72px 0; }
  .orb { max-width: 52vw; opacity: .38; }

  /* 导航 */
  .nav-inner { height: 64px; }
  .logo { font-size: 17px; gap: 9px; }
  .logo small { font-size: 8.5px; letter-spacing: .24em; }
  .logo-mark { width: 34px; height: 34px; border-radius: 9px; }
  .logo-mark svg { width: 20px; height: 20px; }
  .nav-links {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--nav-bg); backdrop-filter: blur(20px); padding: 14px 5vw 22px;
    border-bottom: 1px solid var(--line); display: none;
    max-height: calc(100vh - 64px); overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 12px; font-size: 15.5px; }
  .nav-links a.active::after { bottom: 6px; }
  .nav-cta { margin-top: 8px; text-align: center; padding: 13px 22px !important; }
  .nav-toggle { display: grid; place-items: center; width: 38px; height: 38px; }

  /* Hero */
  .hero { min-height: 92vh; padding: 116px 0 76px; }
  .hero-media img { opacity: .42; }
  .hero h1 { font-size: clamp(34px, 10.4vw, 44px); }
  .hero h1 .thin { font-size: clamp(14px, 4.2vw, 18px); letter-spacing: .1em; margin-bottom: 12px; }
  .hero-badge { font-size: 12px; padding: 7px 14px; letter-spacing: .02em; margin-bottom: 22px; }
  .hero p.lead { font-size: 14.5px; margin-bottom: 32px; }
  .hero-actions .btn { width: 100%; justify-content: center; padding: 15px 24px; }
  .hero-scroll { display: none; }

  /* 通用标题 */
  .kicker { font-size: 11.5px; letter-spacing: .28em; }
  .sec-title { font-size: clamp(24px, 7vw, 30px); }
  .sec-sub { font-size: 14.5px; }
  .page-hero { padding: 130px 0 60px; }
  .page-hero h1 { font-size: clamp(27px, 8vw, 36px); }
  .page-hero p { font-size: 14.5px; }
  .crumbs { font-size: 12px; }

  /* 数据统计 */
  .stats { margin-top: -40px; }
  .stats-card { grid-template-columns: repeat(2, 1fr) !important; }
  .stat { padding: 22px 12px; }
  .stat .num { font-size: 24px; }
  .stat .lbl { font-size: 12px; line-height: 1.5; }
  .stat + .stat::before { display: none; }

  /* 网格与卡片 */
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 18px; }
  .grid { gap: 18px; }
  .card { padding: 26px 22px; }
  .card h3 { font-size: 18px; }
  .card p { font-size: 13.8px; }

  /* 分栏图文 */
  .split, .split.rev { gap: 28px; }
  .split h2 { font-size: clamp(23px, 6.6vw, 28px); }
  .split .media { border-radius: 14px; }
  .check-list li { font-size: 14px; }

  /* 时间轴 */
  .tl-track { grid-template-columns: 1fr 1fr; gap: 14px; }
  .tl-item { padding-top: 30px; }
  .tl-item .year { font-size: 20px; }
  .tl-item p { font-size: 12.5px; }

  /* 徽章 */
  .badges { gap: 10px; }
  .badge { padding: 10px 16px; font-size: 13px; }

  /* 产品详情 */
  .product-block { margin-bottom: 32px; border-radius: 16px; }
  .product-head .txt, .product-body { padding: 26px 20px; }
  .product-head .txt h3 { font-size: 22px; }
  .product-head .media { min-height: 200px; }
  .product-feats { grid-template-columns: 1fr; padding: 0 20px 24px; gap: 12px; }
  .feat { padding: 15px; font-size: 12.8px; }

  /* 参数表 */
  .spec-table { font-size: 13px; }
  .spec-table th, .spec-table td { padding: 11px 12px; }
  .spec-table th { width: 96px; font-size: 12.5px; }
  .spec-table caption { font-size: 15.5px; }

  /* CTA */
  .cta-band { padding: 44px 22px; border-radius: 18px; }
  .cta-band .btn { width: 100%; justify-content: center; }

  /* 页脚 */
  footer { padding: 56px 0 28px; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .foot-bottom { flex-direction: column; gap: 6px; }
}

/* ---------- 页脚「关注我们」平台二维码 ---------- */
.foot-social { display: flex; gap: 18px; align-items: flex-start; margin-top: 4px; min-width: 0; }
.foot-social-names { list-style: none; margin: 0; padding: 0; display: flex; flex: 1 1 150px; flex-direction: column; gap: 4px; min-width: 150px; }
.foot-social-name {
  background: none; border: none; padding: 4px 0; cursor: pointer;
  color: var(--ink-dim); font-size: 14px; font-family: inherit; text-align: left;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
  transition: color .2s;
}
.foot-social-name:hover { color: var(--ink); }
.foot-social-name.active { color: var(--cyan); font-weight: 600; }
.foot-social-qr { flex: 0 0 118px; width: 118px; }
.foot-social-qr img {
  width: 108px; height: 108px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; padding: 5px; display: block;
  object-fit: contain;
}
@media (max-width: 560px) {
  .foot-social-qr img { width: 96px; height: 96px; }
}

/* ---------- 页脚「关注我们 + 联系我们」同行布局 ---------- */
.foot-follow { display: flex; gap: 32px; align-items: flex-start; flex-wrap: wrap; }
.foot-follow > div { min-width: 0; flex: 1 1 130px; }
.foot-follow > .foot-follow-us { flex-basis: 286px; min-width: 286px; }
.foot-follow h4 { margin-bottom: 14px; }
.foot-follow .foot-contact ul { display: grid; gap: 10px; }
@media (max-width: 768px) {
  .foot-follow { flex-direction: column; gap: 26px; }
}
