/* ============================================================
   CITRINE INNOVATION LLC 官网样式
   主题色取自公司LOGO主色 #1c45ad（宝蓝），浅色科技风
   ============================================================ */
:root {
  --brand: #1c45ad;
  --brand-dark: #12307c;
  --brand-deep: #0b1f52;
  --brand-light: #e8eefb;
  --brand-soft: #f2f6fd;
  --accent: #2f6bff;
  --cyan: #00b2e3;
  --bg: #f6f8fc;
  --card: #ffffff;
  --text: #1a2433;
  --text-sub: #5a6a82;
  --line: #dde5f0;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(18, 48, 124, .08);
  --shadow-hover: 0 14px 38px rgba(18, 48, 124, .16);
  --nav-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------------- 顶部导航 ---------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-logo img { height: 44px; width: auto; }
.nav-logo .logo-text {
  font-weight: 800; letter-spacing: .06em; font-size: 17px; color: var(--brand-deep);
  line-height: 1.2;
}
.nav-logo .logo-text small {
  display: block; font-size: 10px; font-weight: 600; letter-spacing: .28em; color: var(--text-sub);
  white-space: nowrap;
}
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  padding: 8px 12px; border-radius: 8px; font-size: 14.5px; font-weight: 600; color: var(--text);
  transition: .2s;
  position: relative;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--brand); background: var(--brand-light); }
.nav-links a.active { color: #fff; background: var(--brand); }
.nav-cta {
  margin-left: 10px; padding: 9px 20px !important; border-radius: 999px !important;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  color: #fff !important; box-shadow: 0 4px 14px rgba(28, 69, 173, .35);
}
.nav-cta:hover { background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%) !important; }
.nav-toggle { display: none; background: none; border: none; font-size: 26px; color: var(--brand); cursor: pointer; line-height: 1; padding: 6px; }

/* 右侧工具区：搜索 + 语言切换 */
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-tools { display: flex; align-items: center; gap: 8px; }
.nav-search-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 11px; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; color: var(--brand); font-size: 14px; font-weight: 600;
  font-family: inherit; cursor: pointer; transition: .2s;
}
.nav-search-btn svg { width: 17px; height: 17px; flex: 0 0 auto; }
.nav-search-label { display: none; }
.nav-search-btn:hover { border-color: var(--brand); background: var(--brand-light); box-shadow: 0 3px 10px rgba(28,69,173,.14); }
.lang-switch { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.lang-switch button {
  border: none; background: transparent; padding: 8px 13px; font-size: 13px; font-weight: 700;
  color: var(--text-sub); cursor: pointer; transition: .2s; line-height: 1; font-family: inherit;
}
.lang-switch button.on { background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; }
.lang-switch button:not(.on):hover { color: var(--brand); background: var(--brand-light); }

/* ---------------- 通用 section ---------------- */
main { padding-top: var(--nav-h); }
section { padding: 84px 0; }
.section-head { margin-bottom: 46px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-light);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; color: var(--brand-deep); letter-spacing: .02em;
}
.section-head p { margin-top: 12px; color: var(--text-sub); max-width: 760px; font-size: 16px; }
.section-head.center { text-align: center; }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; overflow: hidden;
  padding: 120px 0 96px;
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(47, 107, 255, .14), transparent 60%),
    radial-gradient(800px 420px at 8% 110%, rgba(0, 178, 227, .10), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(28, 69, 173, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 69, 173, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 16px; font-size: 13px; font-weight: 600; color: var(--brand);
  box-shadow: var(--shadow); margin-bottom: 24px;
}
.hero-badge i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0, 178, 227, .18);
}
.hero h1 {
  font-size: clamp(32px, 4.6vw, 54px); line-height: 1.22; font-weight: 900;
  color: var(--brand-deep); letter-spacing: .01em;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--brand) 10%, var(--accent) 60%, var(--cyan) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { margin: 22px 0 34px; font-size: 17px; color: var(--text-sub); max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 999px; font-size: 15px; font-weight: 700;
  transition: .25s; cursor: pointer; border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  color: #fff; box-shadow: 0 8px 22px rgba(28, 69, 173, .32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(28, 69, 173, .42); }
.btn-ghost {
  background: #fff; color: var(--brand); border: 1.5px solid var(--brand);
}
.btn-ghost:hover { background: var(--brand-light); }
.hero-visual { position: relative; }
.hero-visual .frame {
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-hover);
  border: 1px solid var(--line); background: #fff;
}
.hero-visual img { width: 100%; height: 420px; object-fit: cover; }
.hero-float {
  position: absolute; left: -34px; bottom: -28px;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-hover);
  padding: 16px 22px; border: 1px solid var(--line);
}
.hero-float b { display: block; font-size: 26px; color: var(--brand); font-family: "Consolas", monospace; }
.hero-float span { font-size: 12px; color: var(--text-sub); letter-spacing: .12em; }

/* 数据条 */
.stats {
  background: linear-gradient(120deg, var(--brand-deep) 0%, var(--brand) 55%, var(--accent) 100%);
  padding: 46px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
.stat b {
  display: block; color: #fff; font-size: clamp(26px, 3vw, 40px); font-weight: 800;
  font-family: "Consolas", "Segoe UI", monospace; letter-spacing: .02em;
}
.stat span { color: rgba(255, 255, 255, .78); font-size: 14px; letter-spacing: .1em; }

/* ---------------- 卡片网格 ---------------- */
.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 {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow); transition: .25s; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: rgba(28, 69, 173, .35); }
.card .num {
  font-family: "Consolas", monospace; font-size: 13px; font-weight: 700; color: var(--accent);
  letter-spacing: .2em;
}
.card h3 { margin: 10px 0 12px; font-size: 19px; color: var(--brand-deep); font-weight: 800; }
.card p { color: var(--text-sub); font-size: 14.5px; }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-light); color: var(--brand); margin-bottom: 18px;
}
.card .icon svg { width: 26px; height: 26px; }
.card ul li {
  padding: 7px 0 7px 22px; position: relative; color: var(--text-sub); font-size: 14px;
  border-bottom: 1px dashed var(--line);
}
.card ul li:last-child { border-bottom: none; }
.card ul li::before {
  content: ""; position: absolute; left: 4px; top: 15px; width: 7px; height: 7px;
  border-radius: 2px; background: linear-gradient(135deg, var(--brand), var(--cyan)); transform: rotate(45deg);
}

/* ---------------- 产品卡片 ---------------- */
.prod-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: .25s; display: flex; flex-direction: column;
}
.prod-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.prod-card .thumb {
  height: 210px; overflow: hidden; background: #eef2f9; position: relative;
}
.prod-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.prod-card:hover .thumb img { transform: scale(1.05); }
.prod-card .thumb .tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(18, 48, 124, .88); color: #fff; font-size: 12px; font-weight: 600;
  padding: 4px 12px; border-radius: 999px; letter-spacing: .08em;
}
.prod-card .body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.prod-card h4 { font-size: 17px; color: var(--brand-deep); font-weight: 800; margin-bottom: 4px; }
.prod-card .en { font-size: 12px; color: var(--accent); letter-spacing: .06em; font-weight: 600; margin-bottom: 10px; }
.prod-card p { font-size: 13.5px; color: var(--text-sub); flex: 1; }
.prod-card .specs { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.prod-card .specs div { font-size: 12.5px; color: var(--text-sub); display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line); padding-bottom: 4px; }
.prod-card .specs b { color: var(--brand); font-family: "Consolas", monospace; font-weight: 700; }

/* 参数表 */
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: 14px; }
.spec-table caption { caption-side: top; text-align: left; padding: 0 0 12px; font-weight: 800; color: var(--brand-deep); font-size: 17px; }
.spec-table th, .spec-table td { padding: 11px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.spec-table thead th { background: var(--brand); color: #fff; font-weight: 700; letter-spacing: .04em; }
.spec-table tbody tr:nth-child(even) { background: var(--brand-soft); }
.spec-table tbody tr:hover { background: var(--brand-light); }
.spec-table td:first-child { color: var(--text-sub); width: 34%; }
.spec-table td:last-child { font-weight: 600; color: var(--brand-deep); font-family: "Consolas", "Segoe UI", monospace; }

/* ---------------- 流程 ---------------- */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; counter-reset: step; }
.flow .step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 16px; text-align: center; position: relative; box-shadow: var(--shadow);
}
.flow .step::before {
  counter-increment: step; content: "0" counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto 12px;
  border-radius: 50%; background: var(--brand-light); color: var(--brand);
  font-family: "Consolas", monospace; font-weight: 800; font-size: 15px;
}
.flow .step h4 { font-size: 15px; color: var(--brand-deep); margin-bottom: 6px; }
.flow .step p { font-size: 12.5px; color: var(--text-sub); }

/* ---------------- 页内 banner ---------------- */
.page-banner {
  padding: 96px 0 60px; position: relative; overflow: hidden;
  background:
    radial-gradient(900px 400px at 90% -20%, rgba(47, 107, 255, .16), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}
.page-banner::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(28, 69, 173, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 69, 173, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%);
  pointer-events: none;
}
.page-banner .container { position: relative; }
.page-banner h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; color: var(--brand-deep); }
.page-banner .crumb { font-size: 13px; color: var(--text-sub); margin-top: 10px; letter-spacing: .08em; }
.page-banner .crumb b { color: var(--brand); }

/* ---------------- 图文行 ---------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .imgbox { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-hover); border: 1px solid var(--line); }
.split .imgbox img { width: 100%; height: 400px; object-fit: cover; }
.split h3 { font-size: 24px; color: var(--brand-deep); font-weight: 800; margin-bottom: 16px; }
.split p { color: var(--text-sub); margin-bottom: 14px; font-size: 15px; }
.quote {
  border-left: 4px solid var(--brand); background: #fff; border-radius: 0 12px 12px 0;
  padding: 18px 22px; color: var(--brand-deep); font-weight: 600; box-shadow: var(--shadow);
}

/* ---------------- 联系 ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; }
.contact-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); margin-bottom: 18px;
}
.contact-item .icon {
  flex: 0 0 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-light); color: var(--brand);
}
.contact-item .icon svg { width: 22px; height: 22px; }
.contact-item h4 { font-size: 15px; color: var(--brand-deep); margin-bottom: 4px; }
.contact-item p { font-size: 14px; color: var(--text-sub); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-card h3 { color: var(--brand-deep); font-size: 20px; margin-bottom: 6px; }
.form-card .tip { font-size: 13px; color: var(--text-sub); margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-card label { display: block; font-size: 13px; font-weight: 700; color: var(--brand-deep); margin: 14px 0 6px; }
.form-card input, .form-card textarea, .form-card select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 14px; font-family: inherit; background: var(--brand-soft); color: var(--text);
  transition: .2s;
}
.form-card input:focus, .form-card textarea:focus, .form-card select:focus {
  outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(28, 69, 173, .12);
}
.form-card textarea { min-height: 120px; resize: vertical; }
.form-note { margin-top: 14px; font-size: 13px; color: var(--brand); display: none; background: var(--brand-light); border-radius: 10px; padding: 10px 14px; }

/* ---------------- CTA ---------------- */
.cta-band {
  background: linear-gradient(120deg, var(--brand-deep) 0%, var(--brand) 60%, var(--accent) 100%);
  border-radius: 22px; padding: 52px 48px; color: #fff; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-band::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
  border: 40px solid rgba(255, 255, 255, .08); border-radius: 50%;
  pointer-events: none;
}
.cta-band h3 { font-size: clamp(20px, 2.6vw, 30px); font-weight: 800; }
.cta-band p { color: rgba(255, 255, 255, .82); margin-top: 8px; max-width: 560px; }
.cta-band .btn-white { background: #fff; color: var(--brand); }
.cta-band .btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }

/* ---------------- 页脚 ---------------- */
footer {
  background: var(--brand-deep); color: rgba(255, 255, 255, .82); margin-top: 40px;
  padding: 60px 0 0; position: relative;
}
footer::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px; pointer-events: none;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; position: relative; }
.foot-grid h5 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: .1em; }
.foot-grid a { display: block; padding: 5px 0; font-size: 14px; color: rgba(255, 255, 255, .72); transition: .2s; }
.foot-grid a:hover { color: #fff; padding-left: 6px; }
.foot-brand img { height: 52px; }
.foot-brand p { font-size: 13.5px; margin-top: 16px; color: rgba(255, 255, 255, .65); }
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 44px; padding: 20px 0;
  font-size: 13px; color: rgba(255, 255, 255, .55); text-align: center; position: relative;
}

/* ---------------- 占位提示 ---------------- */
.ph-note {
  display: inline-block; font-size: 11px; color: #8a94a6; background: #eef1f6;
  border-radius: 6px; padding: 2px 8px; margin-top: 8px; letter-spacing: .06em;
}
.soon-card {
  border: 2px dashed var(--line); background: var(--brand-soft); border-radius: var(--radius);
  display: grid; place-items: center; min-height: 200px; text-align: center; color: var(--text-sub);
  padding: 30px;
}
.soon-card b { display: block; color: var(--brand); font-size: 18px; margin-bottom: 6px; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual img { height: 320px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1200px) {
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch; padding: 14px;
    border-bottom: 1px solid var(--line); display: none; box-shadow: var(--shadow);
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto; z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; font-size: 16px; white-space: normal; }
  .nav-toggle { display: block; }
  .nav-right { gap: 10px; }
  .nav-search-label { display: none; }
  .nav-search-btn { padding: 8px 11px; }
  .nav-logo .logo-text { font-size: 14px; }
  .nav-logo .logo-text small { display: none; }
  .nav-logo img { height: 38px; }
}
@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .hero { padding: 80px 0 70px; }
  .hero-float { left: 10px; bottom: -20px; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .nav-logo .logo-text { display: none; }
  .nav-logo img { height: 36px; }
  .nav-right { gap: 8px; }
  .nav-tools { gap: 7px; }
  .lang-switch button { padding: 7px 10px; font-size: 12px; }
  .hero h1 { font-size: 30px; }
  .cta-band { padding: 36px 26px; }
  .td-article { padding: 26px 18px; }
}

/* ===== 技术解析详情页 ===== */
.td-layout { display: grid; grid-template-columns: 236px 1fr; gap: 44px; align-items: start; }
.td-side {
  position: sticky; top: calc(var(--nav-h) + 24px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 14px; box-shadow: var(--shadow);
}
.td-side h4 {
  font-size: 12px; letter-spacing: .18em; color: var(--text-sub);
  padding: 4px 12px 10px; border-bottom: 1px dashed var(--line); margin-bottom: 8px;
}
.td-side a {
  display: block; padding: 10px 12px; border-radius: 9px;
  font-size: 14px; font-weight: 600; color: var(--text-sub); margin-bottom: 2px;
}
.td-side a:hover { background: var(--brand-light); color: var(--brand); }
.td-side a.on { background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; }
.td-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--brand); margin-bottom: 18px;
}
.td-back:hover { text-decoration: underline; }
.td-article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 44px 48px; }
.td-article .td-kicker { font-size: 13px; font-weight: 700; letter-spacing: .2em; color: var(--accent); }
.td-article h2 { font-size: 28px; color: var(--brand-deep); font-weight: 800; margin: 10px 0 6px; }
.td-article .td-sub { color: var(--text-sub); font-size: 15px; margin-bottom: 26px; }
.td-fig {
  background: var(--brand-soft); border: 1px solid var(--line); border-radius: 16px;
  padding: 22px; margin: 8px 0 30px;
}
.td-fig img { width: 100%; height: auto; display: block; border-radius: 10px; }
.td-fig figcaption { text-align: center; font-size: 13px; color: var(--text-sub); margin-top: 14px; }
.td-article p { color: var(--text); font-size: 15.5px; line-height: 1.95; margin-bottom: 16px; }
.td-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0 8px; }
.td-points div {
  background: var(--brand-soft); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 14px; text-align: center;
}
.td-points b { display: block; color: var(--brand); font-size: 15px; margin-bottom: 6px; }
.td-points span { font-size: 13px; color: var(--text-sub); }
.td-next {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: 34px; padding-top: 24px; border-top: 1px dashed var(--line); flex-wrap: wrap;
}
.td-next a { font-size: 14px; font-weight: 700; color: var(--brand); }
.td-next a:hover { text-decoration: underline; }
@media (max-width: 960px) {
  .td-layout { grid-template-columns: 1fr; }
  .td-side { position: static; display: flex; flex-wrap: wrap; gap: 6px; padding: 12px; }
  .td-side h4 { width: 100%; }
  .td-article { padding: 30px 22px; }
  .td-points { grid-template-columns: 1fr; }
}

/* ===== 电芯卡片与电芯详情 ===== */
.prod-card .thumb.contain { display: flex; align-items: center; justify-content: center; padding: 14px; }
.prod-card .thumb.contain img { width: auto; max-width: 92%; max-height: 100%; object-fit: contain; }
.cell-detail-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 26px; align-items: start; }
.cell-photo {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: flex; align-items: center; justify-content: center;
  min-height: 340px; box-shadow: var(--shadow);
}
.cell-photo img { max-height: 320px; width: auto; max-width: 100%; object-fit: contain; }
.cell-charts { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 340px; }
.cell-charts img { width: auto; max-width: 100%; max-height: 360px; height: auto; border-radius: 10px; }
.cell-charts.chart-lg { min-height: 420px; }
.cell-charts.chart-lg img { max-height: 560px; }
.cell-charts figcaption { text-align: center; font-size: 13px; color: var(--text-sub); margin: 10px 0 6px; }
@media (max-width: 960px) {
  .cell-detail-grid { grid-template-columns: 1fr; }
}

/* ===== 储能品类详情页 ===== */
.cell-split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 30px; align-items: stretch; margin-bottom: 34px; }
.cell-photo.contain-box { min-height: 300px; }
.cell-intro h2 { font-size: 24px; color: var(--brand-deep); margin-bottom: 14px; }
.cell-intro p { color: var(--text-sub); line-height: 1.9; margin-bottom: 12px; }
.ess-hl { list-style: none; margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ess-hl li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow); }
.ess-hl b { display: block; color: var(--brand); font-size: 15px; margin-bottom: 4px; }
.ess-hl span { font-size: 13px; color: var(--text-sub); line-height: 1.6; }
.td-h2 { font-size: 20px; color: var(--brand-deep); margin: 30px 0 14px; padding-left: 12px; border-left: 4px solid var(--brand); }
.tbl-wrap { overflow-x: auto; border-radius: var(--radius); }
.tbl-wrap .spec-table td:first-child { width: 22%; }
.tbl-note { margin-top: 12px; font-size: 13px; color: var(--text-sub); }
.cell-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line); }
.cell-nav a { color: var(--text-sub); font-size: 14px; }
.cell-nav a.btn { color: #fff; }
@media (max-width: 960px) {
  .cell-split { grid-template-columns: 1fr; }
  .ess-hl { grid-template-columns: 1fr; }
}
a.prod-card.card-link { display: block; color: inherit; text-decoration: none; }
a.prod-card.card-link:hover { transform: translateY(-4px); }

/* ===== 设备分类详情页 ===== */
.eq-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.eq-cats a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text-sub); font-size: 13px; text-decoration: none; }
.eq-cats a.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.eq-cats a:hover { border-color: var(--brand); color: var(--brand); }
.eq-cats a.on:hover { color: #fff; }
.eq-desc { color: var(--text-sub); font-size: 14px; margin-bottom: 26px; }
.eq-item { display: grid; grid-template-columns: 300px 1fr; gap: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; margin-bottom: 22px; }
.eq-photo { background: #f4f7fc; border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: 12px; }
.eq-photo img { max-width: 100%; max-height: 230px; object-fit: contain; }
.eq-info h3 { font-size: 17px; color: var(--brand-deep); margin-bottom: 8px; }
.eq-model {
  display: inline-block; font-size: 13px; font-weight: 700; color: var(--brand);
  background: var(--brand-light); border-radius: 8px; padding: 4px 12px; margin-bottom: 12px;
  font-family: "Consolas", "Segoe UI", monospace; letter-spacing: .04em;
}
.eq-desc-text { font-size: 14px; color: var(--text-sub); line-height: 1.9; }
@media (max-width: 860px) { .eq-item { grid-template-columns: 1fr; } }

/* ===== 站内搜索弹层 ===== */
.search-overlay { position: fixed; inset: 0; z-index: 200; display: flex; align-items: flex-start; justify-content: center; padding: 9vh 16px 16px; }
.search-overlay[hidden] { display: none; }
.search-backdrop { position: absolute; inset: 0; background: rgba(11, 31, 82, .55); backdrop-filter: blur(4px); }
.search-panel {
  position: relative; width: min(680px, 100%); max-height: 82vh;
  display: flex; flex-direction: column; background: #fff; border-radius: 18px;
  box-shadow: 0 24px 64px rgba(11, 31, 82, .35); overflow: hidden;
  animation: searchPop .22s ease;
}
@keyframes searchPop { from { opacity: 0; transform: translateY(-14px) scale(.98); } to { opacity: 1; transform: none; } }
.search-bar { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.search-bar > svg { width: 20px; height: 20px; color: var(--brand); flex: 0 0 auto; }
.search-input { flex: 1; min-width: 0; border: none; outline: none; font-size: 17px; font-family: inherit; color: var(--text); background: transparent; }
.search-input::placeholder { color: #9aa7bd; }
.search-input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-close { border: none; background: var(--brand-soft); color: var(--text-sub); width: 32px; height: 32px; border-radius: 8px; font-size: 20px; cursor: pointer; line-height: 1; transition: .2s; flex: 0 0 auto; }
.search-close:hover { background: var(--brand-light); color: var(--brand); }
.search-body { overflow-y: auto; padding: 10px; flex: 1; overscroll-behavior: contain; }
.search-foot { padding: 10px 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--text-sub); background: var(--brand-soft); }
.sr-count { font-size: 12px; color: var(--text-sub); padding: 6px 10px; letter-spacing: .04em; }
.sr-item { display: block; padding: 12px 14px; border-radius: 12px; transition: .15s; border: 1px solid transparent; }
.sr-item:hover, .sr-item.active { background: var(--brand-soft); border-color: var(--line); }
.sr-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sr-page { font-size: 11px; color: var(--accent); background: var(--brand-light); padding: 2px 9px; border-radius: 999px; font-weight: 600; }
.sr-head { font-size: 15px; font-weight: 700; color: var(--brand-deep); }
.sr-snip { display: block; font-size: 13px; color: var(--text-sub); margin-top: 4px; line-height: 1.6; }
.sr-item mark { background: rgba(47, 107, 255, .18); color: var(--brand); border-radius: 3px; padding: 0 1px; }
.search-hint { padding: 14px 12px; }
.sr-hint-title { font-size: 12px; letter-spacing: .12em; color: var(--text-sub); margin-bottom: 12px; text-transform: uppercase; }
.sr-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sr-chip { border: 1px solid var(--line); background: #fff; color: var(--brand); padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; cursor: pointer; transition: .2s; font-family: inherit; }
.sr-chip:hover { background: var(--brand-light); border-color: var(--brand); }
.search-empty { text-align: center; padding: 36px 20px; color: var(--text-sub); }
.search-empty b { display: block; color: var(--brand-deep); font-size: 17px; margin-bottom: 8px; }
.search-empty p { margin-bottom: 18px; font-size: 14px; }
body.search-open { overflow: hidden; }
@media (max-width: 600px) {
  .search-overlay { padding: 0; align-items: stretch; }
  .search-panel { width: 100%; max-height: 100vh; height: 100vh; border-radius: 0; }
  .search-body { flex: 1; }
}

/* ===== 品牌化滚动条 ===== */
html { scrollbar-color: var(--brand) var(--bg); scrollbar-width: thin; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--brand), var(--accent)); border-radius: 8px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--brand-dark); }
.search-body { scrollbar-width: thin; scrollbar-color: var(--brand) var(--brand-soft); }
.search-body::-webkit-scrollbar { width: 10px; }
.search-body::-webkit-scrollbar-track { background: var(--brand-soft); }
.search-body::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--brand), var(--accent)); border-radius: 8px; border: 2px solid var(--brand-soft); }
.tbl-wrap::-webkit-scrollbar { height: 8px; }
.tbl-wrap::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 8px; border: 2px solid var(--bg); }

/* ===== 移动端与英文排版防溢出 ===== */
.eq-item { scroll-margin-top: 90px; }
section[id] { scroll-margin-top: 90px; }
h1, h2, h3, h4, .sr-head, .eq-info h3, .card h3, .prod-card h4 { overflow-wrap: anywhere; }
.btn { white-space: normal; text-align: center; }
.eq-model { overflow-wrap: anywhere; }
.spec-table td, .spec-table th { overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .spec-table { font-size: 13px; }
  .spec-table th, .spec-table td { padding: 9px 12px; }
  .cell-photo { min-height: 260px; padding: 18px; }
  .cell-charts { min-height: 260px; }
  .eq-photo img { max-height: 200px; }
  .page-banner { padding: 72px 0 44px; }
  .td-article h2 { font-size: 23px; }
  .cell-nav { flex-direction: column; gap: 12px; align-items: stretch; text-align: center; }
}

/* ===== 产品页左侧分类导航 ===== */
.prod-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 26px; align-items: start; padding: 6px 0 40px; }
.prod-side { position: sticky; top: calc(var(--nav-h) + 24px); min-width: 0; }
.prod-side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 10px; max-height: calc(100vh - var(--nav-h) - 48px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--brand) var(--brand-soft); }
.prod-side-card::-webkit-scrollbar { width: 8px; }
.prod-side-card::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 8px; border: 2px solid #fff; }
.prod-side-title { font-size: 11px; letter-spacing: .16em; color: var(--text-sub); padding: 2px 10px 8px; border-bottom: 1px dashed var(--line); margin-bottom: 6px; }
.toc-back { display: block; font-size: 12px; font-weight: 600; color: var(--brand); padding: 2px 10px 8px; }
.toc-back:hover { text-decoration: underline; }
.prod-toc { display: flex; flex-direction: column; gap: 2px; }
.toc-group { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .05em; color: var(--brand-deep); background: var(--brand-light); border-left: 3px solid var(--brand); border-radius: 6px; padding: 8px 10px; margin: 14px 0 6px; }
.toc-group::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--brand); transform: rotate(45deg); flex: 0 0 auto; }
.equip-toc > .toc-group:first-child { margin-top: 2px; }
.equip-toc > .toc-group:nth-of-type(2) { background: #e4f6fa; border-left-color: var(--cyan); color: #0b6b7d; margin-top: 18px; }
.equip-toc > .toc-group:nth-of-type(2)::before { background: var(--cyan); }
.equip-toc .toc-link { margin-left: 7px; padding: 6px 10px; }
.toc-link { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--text-sub); transition: .2s; }
.toc-link:hover { background: var(--brand-light); color: var(--brand); }
.toc-link.active { background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; box-shadow: 0 4px 12px rgba(28, 69, 173, .25); }
.toc-num { font-family: "Consolas", monospace; font-size: 10px; font-weight: 700; color: var(--accent); }
.toc-link.active .toc-num { color: #fff; }
.toc-sub { margin: 2px 0 4px 12px; padding-left: 10px; border-left: 2px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.toc-link.sub { font-size: 12px; padding: 6px 8px; }
.prod-side-cta { margin-top: 12px; width: 100%; justify-content: center; padding: 9px 12px; font-size: 13px; }
.prod-main { min-width: 0; }
.prod-block { padding: 34px 0; scroll-margin-top: calc(var(--nav-h) + 20px); border-bottom: 1px dashed var(--line); }
.prod-block:last-child { border-bottom: none; }
.prod-block .section-head { margin-bottom: 26px; }
.prod-subhead { color: var(--brand-deep); margin: 10px 0 20px; font-size: 19px; scroll-margin-top: calc(var(--nav-h) + 20px); }
.equip-block { padding: 20px 0 30px; border-bottom: none; }
.equip-block .eq-desc { margin-bottom: 22px; }
.prod-toc::-webkit-scrollbar { height: 6px; }
.prod-toc::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 8px; }
@media (max-width: 1024px) {
  .prod-layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 0; }
  .prod-side { position: sticky; top: var(--nav-h); z-index: 60; margin: 0 0 8px; min-width: 0; }
  .prod-side-card { padding: 8px; border-radius: 12px; min-width: 0; max-height: none; overflow-y: visible; }
  .prod-side-title, .prod-side-cta, .toc-num, .toc-sub, .toc-group, .toc-back { display: none; }
  .prod-toc { flex-direction: row; overflow-x: auto; gap: 6px; padding: 2px; scrollbar-width: thin; max-width: 100%; }
  .toc-link { white-space: nowrap; padding: 8px 14px; border: 1px solid var(--line); background: #fff; border-radius: 999px; font-size: 13px; flex: 0 0 auto; }
  .toc-link.active { border-color: transparent; }
  .prod-block { scroll-margin-top: calc(var(--nav-h) + 62px); padding: 26px 0; }
  .prod-subhead { scroll-margin-top: calc(var(--nav-h) + 62px); }
}

/* ===== 英文模式导航：更小字号、取消加粗 ===== */
html[lang="en"] .nav-links a { font-size: 13px; font-weight: 400; }
html[lang="en"] .toc-link { font-size: 12px; font-weight: 400; }
html[lang="en"] .toc-link.sub { font-size: 11px; }
html[lang="en"] .toc-num { font-size: 9px; }
html[lang="en"] .toc-back { font-size: 11px; font-weight: 400; }
html[lang="en"] .prod-side-title { font-size: 10px; }
html[lang="en"] .toc-group { font-size: 10.5px; letter-spacing: .02em; padding: 7px 8px; gap: 6px; }
html[lang="en"] .toc-group::before { width: 6px; height: 6px; }
@media (max-width: 1024px) {
  html[lang="en"] .toc-link { font-size: 12px; font-weight: 400; }
}
