/* ============================================
   HDSMART 弘大智控 — 官网样式
   基于 LOGO 真实色调 · 科技商务蓝升级版
   ============================================ */

:root {
  /* 品牌色 — 取自 LOGO 芯片蓝 */
  --brand: #1a56db;
  --brand-dark: #0f3b8a;
  --brand-light: #2563eb;
  --accent: #3b82f6;

  /* 中性色 */
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0b1220;
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --border-light: #f1f5f9;

  /* 强调 */
  --success: #10b981;
  --warning: #f59e0b;
  --hot: #ef4444;

  /* 排版 */
  --font: -apple-system, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-mono: "SF Mono", "Fira Code", monospace;

  /* 间距 */
  --section-py: 96px;
  --container: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color .2s; }
img { max-width: 100%; height: auto; display: block; }

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

/* ========== 导航 ========== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 1px 20px rgba(0,0,0,.08); }
.nav-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 136px;
}
.nav-logo img {
  height: 120px; width: auto;
  object-fit: contain;
}
.nav-toggle {
  display: none; width: 32px; height: 32px;
  flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 100%; height: 2px; background: var(--text);
  border-radius: 2px; transition: transform .25s, opacity .25s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-links {
  display: flex; align-items: center; gap: 32px;
}
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
  background: var(--brand); transition: width .25s;
}
.nav-links a:hover { color: var(--brand); }
.nav-links a:hover::after { width: 100%; }

/* 导航右侧容器（菜单 + 语言切换） */
.nav-right { display: flex; align-items: center; gap: 24px; }

/* 中英文切换器 */
.lang-switch {
  display: inline-flex; align-items: center; flex-shrink: 0;
  border: 1px solid rgba(0,0,0,.15); border-radius: 20px; overflow: hidden;
  font-size: 13px; line-height: 1;
}
.lang-switch button {
  background: none; border: none; cursor: pointer;
  padding: 7px 12px; color: var(--text-secondary); font-weight: 500;
  font-family: inherit; transition: background .2s, color .2s;
}
.lang-switch button + button { border-left: 1px solid rgba(0,0,0,.15); }
.lang-switch button.active { background: var(--brand); color: #fff; }
.lang-switch button:hover:not(.active) { color: var(--brand); }

/* ========== Hero ========== */
.hero {
  position: relative; min-height: auto;
  display: flex; align-items: center;
  padding: 152px 24px 50px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(37,99,235,.08), transparent),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(26,86,219,.05), transparent);
  z-index: 0;
}
.hero-inner {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  position: relative; z-index: 1;
}
.hero-tag {
  font-size: 13px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 56px); font-weight: 800; line-height: 1.15;
  letter-spacing: -1.5px; color: var(--text); margin-bottom: 24px;
}
.hero h1 .accent { color: var(--brand); }
.hero-desc {
  font-size: 16px; line-height: 1.75; color: var(--text-secondary);
  margin-bottom: 36px; max-width: 480px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 28px; border-radius: 8px; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all .2s; border: 2px solid transparent;
}
.btn-primary {
  background: var(--brand); color: #fff; border-color: var(--brand);
}
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(26,86,219,.3); }
.btn-outline {
  background: transparent; color: var(--text); border-color: var(--border);
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }

/* Hero 设备框 */
.device-frame {
  position: relative;
  background: linear-gradient(145deg, #f8fafc, #fff);
  border-radius: 16px;
  padding: 20px;
  box-shadow:
    0 4px 24px rgba(0,0,0,.06),
    0 1px 3px rgba(0,0,0,.04),
    inset 0 1px 0 rgba(255,255,255,.8);
  border: 1px solid var(--border-light);
}
.device-frame img {
  border-radius: 8px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Hero 滚动提示 */
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  color: var(--text-muted); animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ========== Section 通用 ========== */
.section { padding: var(--section-py) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: #e2e8f0; }
.section-dark .light { color: #fff; }

.section-header { text-align: center; margin-bottom: 64px; }
.tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent);
  margin-bottom: 12px;
}
.tag-light { color: var(--accent); }
.section-header h2 {
  font-size: clamp(28px, 4vw, 42px); font-weight: 800;
  letter-spacing: -0.8px; color: var(--text); margin-bottom: 12px;
}
.section-line {
  width: 40px; height: 3px; background: var(--brand);
  border-radius: 2px; margin: 0 auto;
}
.section-line-light { background: var(--accent); }

/* ========== 产品卡片 ========== */
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; margin-bottom: 48px;
}
.product-card {
  background: var(--bg); border: 1px solid var(--border-light);
  border-radius: var(--radius); overflow: hidden;
  transition: all .3s; position: relative;
}
.product-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(26,86,219,.10);
  transform: translateY(-4px);
}
.product-card-header {
  display: flex; align-items: center; gap: 12px;
  padding: 20px 24px 0;
}
.product-num {
  font-size: 13px; font-weight: 800; color: var(--brand);
  font-family: var(--font-mono); letter-spacing: -0.5px;
}
.product-card-header h3 {
  font-size: 18px; font-weight: 700; flex: 1;
}
.product-badge {
  font-size: 11px; font-weight: 600; padding: 3px 10px;
  border-radius: 20px; background: var(--bg-alt); color: var(--text-muted);
}
.badge-hot { background: rgba(239,68,68,.08); color: var(--hot); }
.badge-pro { background: rgba(26,86,219,.08); color: var(--brand); }

.product-img-wrap {
  padding: 16px 24px;
}
.product-img-wrap img {
  width: 100%; height: 200px; object-fit: contain; object-position: center;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  transition: transform .3s;
}
.product-card:hover .product-img-wrap img { transform: scale(1.03); }

.product-specs { padding: 0 24px 24px; }
.spec-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 8px 0; border-bottom: 1px dashed var(--border-light);
  font-size: 13px;
}
.spec-row:last-child { border-bottom: none; }
.spec-label { color: var(--text-muted); font-weight: 500; white-space: nowrap; }
.spec-value { color: var(--text); font-weight: 600; text-align: right; word-break: break-all; }

/* ========== 技术实力 ========== */
.tech-group-label {
  font-size: 15px; font-weight: 600; color: var(--text);
  margin: 36px 0 20px; padding-left: 14px; position: relative;
}
.tech-group-label:first-of-type { margin-top: 6px; }
.tech-group-label::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 16px; border-radius: 2px; background: var(--brand);
}
.tech-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.tech-item {
  padding: 32px 28px; border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--border-light);
  transition: all .3s;
}
.tech-item:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 24px rgba(26,86,219,.08);
}
.tech-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: rgba(26,86,219,.06); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.tech-item h4 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.tech-cert {
  display: flex; align-items: stretch; gap: 28px;
  margin: 30px 0 8px; padding: 24px 28px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(26,86,219,.04), rgba(26,86,219,.01));
  border: 1px solid var(--border-light);
}
.tech-cert-img {
  width: auto; height: 100%;
  max-width: 200px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(0,0,0,.08); flex-shrink: 0;
  cursor: zoom-in; transition: transform .2s ease, box-shadow .2s ease;
}
.tech-cert-img:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(0,0,0,.14); }
/* 右侧区域：文字 + 轮播 */
.tech-cert-right {
  display: flex; flex-direction: column; gap: 12px;
  flex: 1; min-width: 0;
}
.ip-carousel-wrapper {
  flex: 1; display: flex; flex-direction: column;
}
.tech-cert-text { display: flex; flex-direction: column; gap: 4px; }
.tech-cert-eyebrow { font-size: 15px; font-weight: 700; color: var(--text); margin: 0; }
.tech-cert-badge {
  display: inline-block; align-self: flex-start;
  font-size: 12px; font-weight: 600; letter-spacing: .5px;
  color: var(--brand); background: rgba(26,86,219,.08);
  padding: 3px 10px; border-radius: 20px; margin: 2px 0 0;
}
.tech-cert-title {
  font-size: 24px; font-weight: 800; letter-spacing: .5px;
  color: var(--brand); margin: 6px 0 0;
  line-height: 1.3;
}
.tech-cert-org { display: none; }

/* ========== IP 证书堆叠展示（技术实力区内）========== */
.ip-carousel-label {
  font-size: 13px; font-weight: 700; color: var(--text-secondary);
  margin: 4px 0 8px; letter-spacing: .3px;
}
.ip-carousel {
  position: relative;
  flex: 1; min-height: 170px;
}
.ip-carousel-track {
  display: flex;
  align-items: center;
  gap: 0;
}
.ip-carousel-item {
  position: relative;
  flex-shrink: 0;
  width: 130px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, z-index .25s ease;
  /* 堆叠：每张向右偏移并轻微旋转 */
  margin-left: -70px;
  transform: rotate(var(--rot, 0deg));
  z-index: var(--z, 1);
}
.ip-carousel-item:first-child { margin-left: 0; z-index: 9; }
/* 每张的旋转角度和层级 */
.ip-carousel-item:nth-child(1) { --rot: -4deg; --z: 9; }
.ip-carousel-item:nth-child(2) { --rot: -2.5deg; --z: 8; }
.ip-carousel-item:nth-child(3) { --rot: -1deg; --z: 7; }
.ip-carousel-item:nth-child(4) { --rot: 0.5deg; --z: 6; }
.ip-carousel-item:nth-child(5) { --rot: 1.5deg; --z: 5; }
.ip-carousel-item:nth-child(6) { --rot: 2.5deg; --z: 4; }
.ip-carousel-item:nth-child(7) { --rot: 3.5deg; --z: 3; }
.ip-carousel-item:nth-child(8) { --rot: 4.5deg; --z: 2; }
.ip-carousel-item:nth-child(9) { --rot: 5.5deg; --z: 1; }

/* hover 时浮起到最前 */
.ip-carousel-item:hover {
  transform: rotate(0deg) translateY(-16px) scale(1.08);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  z-index: 100 !important;
}
.ip-carousel-item img {
  display: block;
  width: 100%;
  height: 175px;
  object-fit: cover;
  filter: blur(1.2px);
  transition: filter .25s ease;
}
.ip-carousel-item:hover img {
  filter: blur(0.3px);
}
.ip-carousel-item span {
  position: absolute;
  top: 6px; left: 6px;
  font-size: 10px; font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #1a56db, #2563eb);
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: .3px;
  z-index: 2;
}
.ip-carousel-hint {
  font-size: 11px; color: var(--text-muted);
  margin: 6px 0 0;
}
/* tech-cert 响应式 */
@media (max-width: 768px) {
  .tech-cert {
    flex-direction: column; align-items: center; gap: 18px; padding: 20px;
  }
  .tech-cert-img { width: 180px; height: auto; max-width: none; align-self: center; }
  .ip-carousel-wrapper { flex: none; }
  .ip-carousel { height: auto; min-height: auto; }
  .ip-carousel-item { width: 100px; margin-left: -50px !important; }
  .ip-carousel-item img { height: 135px; }
}
@media (max-width: 480px) {
  .tech-cert-img { width: 150px; height: auto; }
  .ip-carousel-item { width: 85px; margin-left: -42px !important; }
  .ip-carousel-item img { height: 115px; }
  .ip-carousel-label { font-size: 12px; }
}
.tech-item p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ========== 关于我们 ========== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.about-content .tag { margin-bottom: 8px; }
.about-content h2 { font-size: clamp(26px, 3.5vw, 36px); margin-bottom: 4px; }
.about-subtitle { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; font-family: var(--font-mono); }
.about-text { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.about-stats {
  display: flex; gap: 36px; margin-top: 32px;
  padding-top: 24px; border-top: 1px solid var(--border-light);
}
.stat strong { display: block; font-size: 32px; font-weight: 800; color: var(--brand); line-height: 1.1; }
.stat span { font-size: 13px; color: var(--text-muted); }
/* 关于我们右侧：朗峻广场办公实景图 */
.about-office-img {
  width: 100%; height: auto;
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(26,86,219,.12);
  object-fit: cover;
}

/* ========== 联系我们 ========== */
.contact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.contact-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 32px 24px; text-align: center;
  transition: all .3s;
}
.contact-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(59,130,246,.3);
}
.contact-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(59,130,246,.12); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.contact-card h4 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.contact-card p { font-size: 14px; color: #94a3b8; }
.contact-card a { color: var(--accent); }
.contact-card a:hover { text-decoration: underline; }
.contact-person { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* ========== 页脚 ========== */
.footer {
  background: var(--bg); color: var(--text-secondary);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}
.footer-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px;
  align-items: center;
}
/* 页脚与首端同为浅色底，LOGO 黑字+透明底自然清晰（不更改 LOGO 图形色）；尺寸与首端一致 */
/* 尾部 LOGO 与「深圳弘大智控技术有限公司」改为横向同行，并与右侧「首页」等链接垂直居中对齐 */
.footer-brand {
  display: flex; align-items: center; gap: 16px;
}
.footer-brand img {
  height: 120px; width: auto; max-width: 100%;
  margin-bottom: 0; opacity: 1;
}
.footer-brand p { font-size: 15px; font-weight: 600; color: var(--text); white-space: nowrap; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--text-secondary); }
.footer-links a:hover { color: var(--brand); }
.footer-copy { text-align: right; font-size: 12px; }
.footer-copy p + p { margin-top: 4px; }
.footer-copy a { color: #475569; }

/* ========== 动效：滚动渐显 ========== */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1);
}
.reveal.visible {
  opacity: 1; transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll { animation: none; }
}

/* ========== 响应式 ========== */

/* Tablet */
@media (max-width: 1024px) {
  :root { --section-py: 72px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .device-frame { max-width: 420px; margin: 0 auto; }
  .knob-inner { grid-template-columns: 1fr; }
  .knob-visual { order: -1; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
  .contact-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --section-py: 56px; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 128px; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,.97); backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column; align-items: center; justify-content: center;
    gap: 24px; opacity: 0; pointer-events: none;
    transition: opacity .3s; z-index: 999;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: 18px; }
  .hero { min-height: auto; padding: 150px 20px 40px; }
  .hero h1 { font-size: 32px; }
  .product-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .about-stats { gap: 24px; }
  .stat strong { font-size: 26px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-links { justify-content: center; }
  .footer-copy { text-align: center; }
  .footer-brand { flex-direction: column; gap: 12px; }
  .knob-section { padding: 24px; }
}

/* Small mobile */
@media (max-width: 420px) {
  .hero h1 { font-size: 28px; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
  .device-frame { padding: 12px; }
  .lang-switch button { padding: 6px 10px; font-size: 12px; }
  .product-card-header { padding: 16px 16px 0; }
  .product-specs { padding: 0 16px 16px; }
  .spec-value { font-size: 12px; }
}

/* ========== 品牌理念（融入「关于我们」） ========== */
.brand-in-about {
  margin-top: 56px; padding-top: 48px;
  border-top: 1px solid var(--border-light);
}
.brand-hero-title {
  font-size: 40px; font-weight: 800; line-height: 1.25; letter-spacing: -0.5px;
  color: var(--brand); text-align: center; margin: 0 auto 14px;
}
.brand-hero-sub {
  text-align: center; font-size: 18px; line-height: 1.85; color: var(--text-secondary);
  max-width: 760px; margin: 0 auto 44px;
}
.brand-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.brand-card--wide { grid-column: 1 / -1; }
.brand-card {
  background: var(--bg); border: 1px solid var(--border-light);
  border-radius: 12px; padding: 28px;
  box-shadow: 0 2px 8px rgba(11,36,64,.06);
}
.brand-card h4 {
  font-size: 15px; font-weight: 700; color: var(--brand);
  margin-bottom: 14px; letter-spacing: .5px;
}
.brand-card p {
  font-size: 15px; line-height: 1.85; color: var(--text-secondary);
}
.brand-values {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.brand-value-item {
  padding: 16px; background: var(--bg-alt); border-radius: 10px;
  border: 1px solid var(--border-light);
}
.bv-title {
  display: block; font-weight: 700; font-size: 16px; color: var(--text); margin-bottom: 8px;
}
.bv-desc {
  display: block; font-size: 14px; line-height: 1.7; color: var(--text-secondary);
}

@media (max-width: 768px) {
  .brand-grid { grid-template-columns: 1fr; }
  .brand-values { grid-template-columns: 1fr 1fr; }
  .brand-hero-title { font-size: 28px; }
}
@media (max-width: 420px) {
  .brand-values { grid-template-columns: 1fr; }
}

/* ========== 产品分组标题 ========== */
.product-group-title {
  font-size: 20px; font-weight: 800; letter-spacing: -0.3px;
  color: var(--text); margin: 48px 0 20px;
  padding-left: 14px; position: relative;
}
.product-group-title::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 20px; border-radius: 2px; background: var(--brand);
}
.product-group-title:first-of-type { margin-top: 8px; }

/* ========== 产品卡片（现为可点击链接） ========== */
.product-card {
  display: flex; flex-direction: column;
  color: inherit; text-decoration: none;
}
.product-card-intro {
  padding: 0 24px; margin: 4px 0 12px;
  font-size: 13px; color: var(--text-secondary); line-height: 1.6;
  min-height: 40px;
}
.product-card-more {
  margin-top: auto; padding: 14px 24px 22px;
  font-size: 13px; font-weight: 700; color: var(--brand);
  display: flex; align-items: center; gap: 4px;
  border-top: 1px dashed var(--border-light);
}
.product-card:hover .product-card-more { gap: 8px; }

/* ========== 产品二级详情页 ========== */
.product-detail { padding-top: 136px; }

.pd-breadcrumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-muted); margin-bottom: 28px;
}
.pd-breadcrumb a { color: var(--text-secondary); }
.pd-breadcrumb a:hover { color: var(--brand); }
.pd-breadcrumb span { color: var(--border); }
.pd-crumb-current { color: var(--brand); font-weight: 600; }

.pd-hero-section { padding-top: 24px; padding-bottom: 56px; }
.pd-hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.pd-hero-visual { display: flex; justify-content: center; }
.pd-hero-visual .device-frame { width: 100%; max-width: 460px; }
.pd-badge-row { margin-bottom: 14px; }
.pd-title {
  font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -0.8px;
  color: var(--text); margin-bottom: 10px;
}
.pd-tagline {
  font-size: 17px; font-weight: 600; color: var(--brand);
  margin-bottom: 16px;
}
.pd-intro {
  font-size: 15px; line-height: 1.85; color: var(--text-secondary);
  margin-bottom: 28px; max-width: 520px;
}
.pd-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* 核心特性 */
.pd-features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px;
  list-style: none; padding: 0;
}
.pd-feature-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 20px 22px; border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--border-light);
  font-size: 15px; color: var(--text); line-height: 1.6;
  transition: all .25s;
}
.pd-feature-item:hover { border-color: var(--accent); box-shadow: 0 6px 22px rgba(26,86,219,.08); }
.pd-check {
  flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(26,86,219,.1); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; margin-top: 1px;
}

/* 详细参数 */
.pd-specs-table-wrap { max-width: 860px; margin: 0 auto; }
.pd-specs-table {
  width: 100%; border-collapse: collapse; background: var(--bg);
  border: 1px solid var(--border-light); border-radius: var(--radius); overflow: hidden;
}
.pd-specs-table th, .pd-specs-table td {
  padding: 14px 22px; text-align: left; font-size: 14px; vertical-align: top;
  border-bottom: 1px solid var(--border-light);
}
.pd-specs-table tr:last-child th, .pd-specs-table tr:last-child td { border-bottom: none; }
.pd-specs-table th {
  width: 32%; color: var(--text-secondary); font-weight: 600;
  background: var(--bg-alt); white-space: nowrap;
}
.pd-specs-table td { color: var(--text); font-weight: 500; }

/* 应用场景 */
.pd-apps { max-width: 860px; margin: 36px auto 0; text-align: center; }
.pd-apps-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 14px; }
.pd-apps-tags { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pd-app-tag {
  display: inline-block; padding: 8px 18px; border-radius: 30px;
  background: rgba(26,86,219,.06); color: var(--brand);
  font-size: 13px; font-weight: 600; border: 1px solid rgba(26,86,219,.12);
}

/* CTA */
.pd-cta-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.pd-cta-inner h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; }
.pd-cta-inner p { font-size: 15px; color: #94a3b8; margin-bottom: 26px; }

/* ========== 产品图集 Gallery ========== */
.pd-gallery { width: 100%; max-width: 460px; margin: 0 auto; }
.pd-gallery-main { width: 100%; }
.pd-gallery-main img {
  width: 100%; height: auto;
  max-height: 420px; object-fit: contain;
  border-radius: 8px;
}
.pd-gallery-thumbs {
  display: flex; gap: 10px; margin-top: 14px;
  flex-wrap: wrap; justify-content: center;
}
.pd-thumb {
  position: relative;
  width: 68px; height: 68px; padding: 0;
  border: 2px solid var(--border-light); border-radius: 8px;
  overflow: hidden; background: var(--bg-alt);
  cursor: pointer; transition: all .2s ease;
}
.pd-thumb img {
  width: 100%; height: 100%;
  object-fit: contain; pointer-events: none;
}
.pd-thumb:hover { border-color: var(--accent); transform: translateY(-1px); }
.pd-thumb.is-active {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(26,86,219,.15);
}
.pd-thumb-badge {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(11,18,32,.78); color: #fff;
  font-size: 9px; font-weight: 600; line-height: 16px;
  text-align: center; letter-spacing: .3px;
}

/* ========== 外形尺寸 Dimensions ========== */
.pd-dims-section { padding-top: 56px; padding-bottom: 64px; }
.pd-dims-grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 40px; align-items: center;
  max-width: 980px; margin: 0 auto;
}
.pd-dims-svg {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px;
}
.pd-dims-svg img { width: 100%; height: auto; cursor: zoom-in; }
.pd-gallery-main img.zoomable { cursor: zoom-in; }
.pd-dims-list { list-style: none; padding: 0; margin: 0 0 20px; }
.pd-dims-list li {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px; padding: 13px 0;
  border-bottom: 1px dashed var(--border-light);
  font-size: 15px;
}
.pd-dims-list li:last-child { border-bottom: none; }
.pd-dims-list li span { color: var(--text-secondary); font-weight: 500; }
.pd-dims-list li strong {
  color: var(--text); font-family: var(--font-mono);
  font-weight: 700; white-space: nowrap;
}
.pd-dims-note {
  font-size: 13px; color: var(--text-muted);
  line-height: 1.75; margin-top: 4px;
}

/* ========== 图片灯箱 Lightbox ========== */
.lb-overlay {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8, 14, 26, .93);
  padding: 28px;
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
}
.lb-overlay.open { opacity: 1; pointer-events: auto; }
.lb-overlay img {
  max-width: 92vw; max-height: 88vh;
  border-radius: 6px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, .55);
  cursor: zoom-in;
  background: #fff;
}
.lb-overlay img.actual { max-width: none; max-height: none; cursor: zoom-out; }
.lb-close {
  position: absolute; top: 18px; right: 26px;
  color: #fff; font-size: 34px; line-height: 1;
  cursor: pointer; opacity: .85;
}
.lb-close:hover { opacity: 1; }
.lb-hint {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: #cdd6e6; font-size: 13px;
  background: rgba(0, 0, 0, .42); padding: 7px 16px; border-radius: 20px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .pd-gallery { max-width: 380px; }
  .pd-gallery-main img { max-height: 320px; }
  .pd-thumb { width: 58px; height: 58px; }
  .pd-dims-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* 空状态 */
.pd-empty { text-align: center; padding: 80px 0; }
.pd-empty h2 { font-size: 28px; margin-bottom: 12px; }
.pd-empty p { color: var(--text-secondary); margin-bottom: 24px; }

/* 详情页响应式 */
@media (max-width: 1024px) {
  .pd-hero { grid-template-columns: 1fr; gap: 32px; }
  .pd-hero-visual { order: -1; }
  .pd-hero-visual .device-frame { max-width: 380px; }
}
@media (max-width: 768px) {
  .pd-features { grid-template-columns: 1fr; }
  .pd-specs-table th { width: 40%; white-space: normal; }
}
@media (max-width: 420px) {
  .pd-specs-table th, .pd-specs-table td { padding: 12px 14px; font-size: 13px; }
}

/* ========== Hero 产品轮播 ========== */
.hero-carousel {
  position: relative;
  width: 100%;
  max-width: 560px;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 40px rgba(26,86,219,.12), 0 2px 12px rgba(0,0,0,.06);
}

.hero-carousel-track {
  display: flex;
  transition: transform .5s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
}

.hero-carousel-slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-sizing: border-box;
  background: #fff;
}

.hero-carousel-slide img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  border-radius: 10px;
}

/* 箭头 */
.hero-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.9);
  color: var(--brand);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  transition: all .25s ease;
  backdrop-filter: blur(4px);
}
.hero-carousel-arrow:hover { background: var(--brand); color: #fff; transform: translateY(-50%) scale(1.08); }
.hero-carousel-arrow:active { transform: translateY(-50%) scale(.95); }
.hero-carousel-prev { left: 8px; }
.hero-carousel-next { right: 8px; }

/* 指示点 */
.hero-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding: 10px 0 4px;
  background: rgba(255,255,255,.85);
}

.hero-dot {
  width: 7px; height: 7px;
  border-radius: 4px;
  background: #c8cde0;
  cursor: pointer;
  transition: all .3s ease;
  border: none;
  padding: 0;
}
.hero-dot.active { width: 20px; background: var(--brand); }
.hero-dot:hover { background: var(--brand); opacity: .7; }

/* 响应式 */
@media (max-width: 1024px) {
  .hero-carousel { max-width: 480px; }
  .hero-carousel-slide img { max-height: 320px; }
}
@media (max-width: 768px) {
  .hero-carousel { max-width: 100%; }
  .hero-carousel-slide img { max-height: 240px; }
  .hero-carousel-arrow { width: 30px; height: 30px; }
  .hero-carousel-prev { left: 4px; }
  .hero-carousel-next { right: 4px; }
}
@media (max-width: 480px) {
  .hero-carousel-slide { padding: 6px; }
  .hero-carousel-slide img { max-height: 200px; border-radius: 8px; }
  .hero-carousel-arrow { width: 28px; height: 28px; }
}

/* ========== 知识产权 ========== */
.ip-desc {
  text-align: center;
  color: #666;
  font-size: 0.95rem;
  max-width: 600px;
  margin: -8px auto 36px;
}
.ip-group-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand);
  margin: 32px 0 16px;
  letter-spacing: 0.5px;
}
.ip-group-label:first-of-type { margin-top: 8px; }

.ip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ip-card {
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
  cursor: pointer;
}
.ip-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

/* 类型徽章 */
.ip-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  color: #fff;
  letter-spacing: 0.5px;
}
.ip-badge-software     { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.ip-badge-patent-util  { background: linear-gradient(135deg, #43e97b, #38f9d7); color: #1a4d2e; }
.ip-badge-patent-design{ background: linear-gradient(135deg, #fa709a, #fee140); color: #5a2a1a; }

/* 模糊缩略图（默认模糊，hover 减弱） */
.ip-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: blur(3.5px);
  transition: filter .35s ease;
  display: block;
}
.ip-card:hover .ip-thumb { filter: blur(1px); }

/* 卡片信息区 */
.ip-info {
  padding: 14px 16px 16px;
}
.ip-info h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1a2332;
  margin: 0 0 6px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ip-meta {
  font-size: 0.78rem;
  color: #7b8798;
  margin: 0 0 4px;
  word-break: break-all;
}
.ip-date {
  font-size: 0.78rem;
  color: var(--brand);
  font-weight: 600;
  margin: 0;
}

.ip-note {
  text-align: center;
  font-size: 0.78rem;
  color: #aab0ba;
  margin-top: 40px;
  font-style: italic;
}

/* IP 响应式 */
@media (max-width: 1024px) {
  .ip-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .ip-thumb { height: 170px; }
}
@media (max-width: 640px) {
  .ip-grid { grid-template-columns: 1fr; gap: 14px; max-width: 400px; margin-left: auto; margin-right: auto; }
  .ip-thumb { height: 220px; }
}
