/* 浩瀚 HaoHan — 企业官网 */
:root {
  --primary: #1a3d7c;
  --primary-dark: #0f2858;
  --primary-light: #2a5aa8;
  --accent: #e8a317;
  --text: #1a1a2e;
  --text-muted: #5c6370;
  --bg: #f5f7fb;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(26, 61, 124, 0.08);
  --shadow-lg: 0 12px 40px rgba(26, 61, 124, 0.12);
  --radius: 12px;
  --header-h: 76px;
  --font: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 1px 0 var(--border);
  height: var(--header-h);
  overflow: visible;
}

.site-header .container.header-inner {
  padding-left: 12px;
  padding-right: 20px;
  max-width: 1200px;
  overflow: visible;
}

.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 8px;
  overflow: visible;
}

.logo-link {
  flex-shrink: 0;
  z-index: 2;
  order: 0;
  margin-left: -6px;
  margin-right: 18px;
}

.logo-link img {
  height: 48px;
  width: auto;
  max-width: 168px;
  object-fit: contain;
}

.nav-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  flex-wrap: nowrap;
  min-width: 0;
  order: 1;
  padding-left: 4px;
  overflow: hidden;
}

.header-tools {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
  z-index: 3;
  margin-left: auto;
  margin-right: 0;
  padding-right: 2px;
  order: 2;
}

.header-inner > .header-tools {
  align-self: center;
  justify-content: flex-end;
  padding-bottom: 0;
}

.nav-main > .header-tools {
  margin-left: 10px;
  padding-left: 4px;
}

.header-theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 6px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #e8a317;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.22s ease;
}

.header-theme-toggle:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transform: scale(1.06);
}

.header-theme-toggle svg {
  display: block;
}

.header-theme-toggle .icon-moon {
  display: none;
}

html.theme-dark .header-theme-toggle .icon-sun {
  display: none;
}

html.theme-dark .header-theme-toggle .icon-moon {
  display: block;
  color: #fbbf24;
}

.header-lang {
  position: relative;
  margin-top: 10px;
  align-self: flex-end;
  flex-shrink: 0;
}

.header-lang-toggle {
  min-width: 72px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  cursor: pointer;
  transform: none;
  transform-origin: right center;
  transition: transform 0.22s ease, border-color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.header-lang-toggle:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transform: scale(1.05);
}

.header-lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 120px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  z-index: 1100;
}

.header-lang-menu[hidden] {
  display: none;
}

.header-lang-menu button {
  display: block;
  width: 100%;
  padding: 10px 14px;
  border: none;
  border-radius: 8px;
  background: none;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.header-lang-menu button:hover,
.header-lang-menu button.is-active {
  background: rgba(26, 61, 124, 0.08);
  color: var(--primary);
}

.nav-toggle {
  flex-shrink: 0;
  z-index: 2;
  order: 3;
}

/* 深色主题 */
html.theme-dark {
  color-scheme: dark;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --bg: #0f1419;
  --white: #1a2332;
  --border: #2d3748;
  --primary: #6b9fff;
  --primary-dark: #4a7fd4;
  --primary-light: #8bb4ff;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.45);
}

html.theme-dark body {
  background: var(--bg);
  color: var(--text);
}

html.theme-dark .site-header {
  background: var(--white);
  box-shadow: 0 1px 0 var(--border);
}

html.theme-dark .logo-link img {
  filter: brightness(1.05);
}

html.theme-dark .nav-main a,
html.theme-dark .nav-item--dropdown .nav-parent {
  color: var(--text);
}

html.theme-dark .nav-main > a:hover,
html.theme-dark .nav-main > a.active,
html.theme-dark .nav-item--dropdown .nav-parent:hover,
html.theme-dark .nav-item--dropdown .nav-parent.active {
  color: var(--primary);
  background: rgba(107, 159, 255, 0.12);
}

html.theme-dark .nav-dropdown {
  background: #243044;
  border-color: var(--border);
  box-shadow: var(--shadow-lg);
}

html.theme-dark .nav-dropdown a {
  color: var(--text);
}

html.theme-dark .nav-dropdown a:hover {
  background: rgba(107, 159, 255, 0.12);
  color: var(--primary);
}

html.theme-dark .header-theme-toggle,
html.theme-dark .header-lang-toggle {
  background: #243044;
  border-color: #3d4f66;
  color: #fbbf24;
}

html.theme-dark .header-lang-menu {
  background: #243044;
  border-color: #3d4f66;
}

html.theme-dark .header-lang-menu button {
  color: var(--text);
}

html.theme-dark .header-lang-menu button:hover,
html.theme-dark .header-lang-menu button.is-active {
  background: rgba(107, 159, 255, 0.15);
  color: var(--primary);
}

html.theme-dark .nav-toggle span,
html.theme-dark .nav-toggle span::before,
html.theme-dark .nav-toggle span::after {
  background: var(--text);
}

html.theme-dark .hero {
  background: #0a0e14;
}

html.theme-dark .hero-content h1,
html.theme-dark .hero-content p {
  color: #f1f5f9;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

html.theme-dark .hero-arrow {
  background: rgba(36, 48, 68, 0.85);
  color: #f1f5f9;
  border-color: #3d4f66;
}

html.theme-dark .hero-dot {
  background: rgba(255, 255, 255, 0.35);
}

html.theme-dark .hero-dot.is-active {
  background: var(--accent);
}

html.theme-dark .btn-outline {
  color: #f1f5f9;
  border-color: rgba(255, 255, 255, 0.5);
}

html.theme-dark .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

html.theme-dark .home-products,
html.theme-dark .company-profile,
html.theme-dark .partners-section,
html.theme-dark main section {
  background: var(--bg);
}

html.theme-dark .home-section-head h2,
html.theme-dark .company-profile-title,
html.theme-dark .partners-heading,
html.theme-dark h1,
html.theme-dark h2,
html.theme-dark h3 {
  color: #f1f5f9;
}

html.theme-dark .home-section-tag-en,
html.theme-dark .company-profile-sub,
html.theme-dark .text-muted {
  color: var(--text-muted);
}

html.theme-dark .hot-products-tab,
html.theme-dark .product-center-entry-btn,
html.theme-dark .company-profile-more {
  color: var(--text-muted);
  border-color: var(--border);
}

html.theme-dark .hot-products-tab:hover,
html.theme-dark .hot-products-tab.is-active {
  color: var(--primary);
  border-color: var(--primary);
}

html.theme-dark .product-card,
html.theme-dark .product-card-mini,
html.theme-dark .inner-page-panel,
html.theme-dark .message-card,
html.theme-dark .ai-qa-panel,
html.theme-dark .download-card {
  background: var(--white);
  border-color: var(--border);
  color: var(--text);
}

html.theme-dark .product-card h3,
html.theme-dark .product-card .price {
  color: #f1f5f9;
}

html.theme-dark .company-profile-desc,
html.theme-dark .company-stat-label {
  color: var(--text-muted);
}

html.theme-dark .company-stat-num {
  color: var(--primary);
}

html.theme-dark .site-footer {
  background: #0a0e14;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

html.theme-dark .footer-col h4 {
  color: #f1f5f9;
}

html.theme-dark .footer-col a:hover {
  color: var(--primary);
}

html.theme-dark .nav-chat-panel {
  background: #1a2332;
  border-color: #3d4f66;
  color: var(--text);
}

html.theme-dark .nav-chat-panel__head {
  background: #243044;
  border-bottom-color: #3d4f66;
}

html.theme-dark .nav-chat-quick-btn {
  background: #243044;
  border-color: #3d4f66;
  color: var(--text);
}

html.theme-dark .nav-chat-quick-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

html.theme-dark .nav-chat-bubble--ai {
  background: #243044;
  color: var(--text);
}

html.theme-dark .nav-chat-bubble--user {
  background: #2d4a7a;
  color: #f1f5f9;
}

html.theme-dark .nav-chat-form input {
  background: #243044;
  border-color: #3d4f66;
  color: var(--text);
}

html.theme-dark .nav-chat-fab {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

html.theme-dark .page-hero,
html.theme-dark .breadcrumb {
  background: #1a2332;
  color: var(--text);
}

html.theme-dark .breadcrumb a {
  color: var(--primary);
}

.nav-main a {
  padding: 8px 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-main > a:hover,
.nav-main > a.active,
.nav-item--dropdown .nav-parent:hover,
.nav-item--dropdown .nav-parent.active {
  color: var(--primary);
  background: rgba(26, 61, 124, 0.06);
}

.nav-item--dropdown {
  position: relative;
}

/* 透明桥接区：填补主菜单与下拉之间的空隙，避免鼠标移动时菜单闪退 */
.nav-item--dropdown::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: max(100%, 148px);
  height: 14px;
  z-index: 199;
}

.nav-item--dropdown .nav-parent {
  padding: 8px 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-item--dropdown .nav-parent::after {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.45;
  transition: transform 0.2s, opacity 0.2s, margin-top 0.2s;
}

.nav-item--dropdown:hover .nav-parent::after,
.nav-item--dropdown.is-open .nav-parent::after {
  transform: rotate(225deg);
  margin-top: 2px;
  opacity: 0.75;
}

.nav-item--dropdown .nav-parent.active::after {
  opacity: 0.65;
}

#company-profile,
#partners {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.partner-item {
  padding: 28px 16px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.partner-item:hover {
  border-color: rgba(26, 61, 124, 0.25);
  box-shadow: var(--shadow);
}

@media (max-width: 768px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .partner-item {
    padding: 20px 12px;
    font-size: 14px;
  }
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 148px;
  margin-top: 8px;
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  z-index: 200;
}

.nav-item--dropdown:hover .nav-dropdown,
.nav-item--dropdown.is-open .nav-dropdown,
.nav-item--dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.nav-dropdown a:hover {
  color: var(--primary);
  background: rgba(26, 61, 124, 0.08);
  text-decoration: none;
}

#message {
  scroll-margin-top: calc(var(--header-h) + 20px);
}

#contact-message {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  order: 4;
  /* position 见 .header-inner 内 */
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: var(--primary-dark);
  color: var(--white);
  overflow: hidden;
}

/* 三屏轮播背景 */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide-bg-1 .hero-gradient {
  background: linear-gradient(135deg, #0f2858 0%, #1a3d7c 45%, #2a5aa8 100%);
}

.hero-slide-bg-2 .hero-gradient {
  background: linear-gradient(135deg, #1a1f4e 0%, #2d3a8c 50%, #1a3d7c 100%);
}

.hero-slide-bg-3 .hero-gradient {
  background: linear-gradient(135deg, #0a2540 0%, #1a3d7c 40%, #1e6b8a 100%);
}

.hero-slide-bg-2 .hero-rays {
  opacity: 0.8;
}

/* 禁止复制文案区域 */
.hero-content.no-copy {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-touch-callout: none;
}

.hero-content.no-copy::selection {
  background: transparent;
  color: inherit;
}

.hero-texts {
  position: relative;
  min-height: 160px;
}

.hero-text-set {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s ease;
  pointer-events: none;
}

.hero-text-set.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
  transform: translateY(0);
  pointer-events: auto;
}

/* 左右切换箭头（悬停显示） */
.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  color: #333333;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transform: translateY(-50%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hero:hover .hero-arrow {
  opacity: 1;
  visibility: visible;
}

.hero-arrow:hover {
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
}

.hero-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.hero-arrow-prev {
  left: 28px;
}

.hero-arrow-next {
  right: 28px;
}

@media (max-width: 768px) {
  .hero-arrow {
    width: 38px;
    height: 38px;
  }

  .hero-arrow-prev {
    left: 12px;
  }

  .hero-arrow-next {
    right: 12px;
  }
}

/* 轮播指示器（圆点 + 激活长条） */
.hero-dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: width 0.35s ease, height 0.35s ease, border-radius 0.35s ease, background 0.35s ease;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.55);
}

.hero-dot.is-active {
  width: 28px;
  height: 8px;
  border-radius: 4px;
  background: #ffffff;
}

.hero-waves {
  z-index: 2;
}

/* 1. 渐变流动 */
.hero-gradient {
  position: absolute;
  inset: -50%;
  background: linear-gradient(
    -45deg,
    var(--primary-dark),
    var(--primary),
    #1e5fad,
    var(--primary-light),
    #0d2247,
    var(--primary)
  );
  background-size: 400% 400%;
  animation: heroGradientShift 14s ease infinite;
}

@keyframes heroGradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* 2. 光斑漂浮 */
.hero-orbs {
  position: absolute;
  inset: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: orbFloat 18s ease-in-out infinite;
}

.orb-1 {
  width: 380px;
  height: 380px;
  background: rgba(42, 90, 168, 0.7);
  top: -10%;
  left: -5%;
  animation-duration: 16s;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(232, 163, 23, 0.25);
  top: 20%;
  right: 5%;
  animation-duration: 20s;
  animation-delay: -4s;
}

.orb-3 {
  width: 260px;
  height: 260px;
  background: rgba(100, 180, 255, 0.35);
  bottom: 10%;
  left: 25%;
  animation-duration: 22s;
  animation-delay: -8s;
}

.orb-4 {
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.12);
  bottom: 25%;
  right: 20%;
  animation-duration: 14s;
  animation-delay: -2s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -25px) scale(1.08); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* 3. 网格扫描 */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 75%);
  animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.9; }
}

/* 4. 光束旋转 */
.hero-rays {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140%;
  height: 140%;
  transform: translate(-50%, -50%);
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(255, 255, 255, 0.03) 40deg,
    transparent 80deg,
    rgba(255, 255, 255, 0.06) 120deg,
    transparent 160deg,
    rgba(255, 255, 255, 0.02) 200deg,
    transparent 360deg
  );
  animation: raysSpin 30s linear infinite;
}

@keyframes raysSpin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 5. 粒子闪烁 */
.hero-particles {
  position: absolute;
  inset: 0;
}

.hero-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
  animation: particleTwinkle 3s ease-in-out infinite;
}

.hero-particles span:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; }
.hero-particles span:nth-child(2) { top: 25%; left: 35%; animation-delay: 0.4s; width: 3px; height: 3px; }
.hero-particles span:nth-child(3) { top: 12%; left: 62%; animation-delay: 0.8s; }
.hero-particles span:nth-child(4) { top: 40%; left: 78%; animation-delay: 1.2s; width: 5px; height: 5px; }
.hero-particles span:nth-child(5) { top: 55%; left: 15%; animation-delay: 1.6s; }
.hero-particles span:nth-child(6) { top: 65%; left: 45%; animation-delay: 0.2s; width: 3px; height: 3px; }
.hero-particles span:nth-child(7) { top: 70%; left: 88%; animation-delay: 0.6s; }
.hero-particles span:nth-child(8) { top: 30%; left: 92%; animation-delay: 1s; }
.hero-particles span:nth-child(9) { top: 48%; left: 55%; animation-delay: 1.4s; width: 6px; height: 6px; }
.hero-particles span:nth-child(10) { top: 80%; left: 68%; animation-delay: 1.8s; }

@keyframes particleTwinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.8) translateY(0); }
  50% { opacity: 1; transform: scale(1.2) translateY(-8px); }
}

/* 6. 底部波浪 */
.hero-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  line-height: 0;
}

.hero-waves svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-waves svg {
  animation: waveSlide 10s ease-in-out infinite alternate;
  transform-origin: center bottom;
}

.hero-waves .wave-1 {
  fill: rgba(255, 255, 255, 0.1);
  animation: waveBob1 8s ease-in-out infinite;
}

.hero-waves .wave-2 {
  fill: rgba(255, 255, 255, 0.06);
  animation: waveBob2 11s ease-in-out infinite;
}

@keyframes waveSlide {
  from { transform: scaleX(1) translateX(0); }
  to { transform: scaleX(1.05) translateX(-2%); }
}

@keyframes waveBob1 {
  0%, 100% { transform: translateY(0); opacity: 0.9; }
  50% { transform: translateY(-6px); opacity: 1; }
}

@keyframes waveBob2 {
  0%, 100% { transform: translateY(4px); }
  50% { transform: translateY(-4px); }
}

.hero-content {
  position: relative;
  z-index: 3;
  padding-top: 80px;
  padding-bottom: 100px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }

  .hero-gradient,
  .orb,
  .hero-grid,
  .hero-rays,
  .hero-particles span,
  .hero-waves svg,
  .hero-waves .wave-1,
  .hero-waves .wave-2 {
    animation: none;
  }
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero p {
  font-size: 1.125rem;
  opacity: 0.9;
  max-width: 560px;
  margin-bottom: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: var(--text);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(232, 163, 23, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Page banner */
.page-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}

.page-banner h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.page-banner p {
  opacity: 0.85;
  font-size: 1rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 14px;
  opacity: 0.8;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Sections */
main {
  flex: 1;
}

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--white);
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.section-title--hot-products {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 32px;
  text-align: left;
  flex-wrap: wrap;
}

.section-title--hot-products .section-title-main {
  flex: 1;
  min-width: 240px;
  text-align: left;
}

.section-title--hot-products .section-title-main h2 {
  margin: 0 0 6px;
}

.section-title--hot-products .home-section-tag-en {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hot-products-tabs {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
  flex-shrink: 0;
  padding-bottom: 6px;
}

.hot-products-tab {
  font-size: 15px;
  font-weight: 500;
  color: #333;
  white-space: nowrap;
  transition: color 0.2s;
}

.hot-products-tab:hover {
  color: var(--primary);
  text-decoration: none;
}

.hot-products-tab.is-active {
  color: var(--primary);
  font-weight: 600;
}

.hot-products-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin: -24px 0 32px;
}

@media (max-width: 768px) {
  .section-title--hot-products {
    flex-direction: column;
    align-items: flex-start;
  }

  .hot-products-tabs {
    width: 100%;
    justify-content: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    padding-bottom: 0;
  }
}

/* 首页合作伙伴 */
.partners-layout {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px 16px;
  align-items: end;
}

.partners-heading {
  grid-column: 1;
  margin: 0;
  padding: 0 0 4px;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  text-align: left;
  line-height: 1.2;
}

.partners-showcase {
  grid-column: 1 / -1;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px 16px;
  margin: 0;
  padding: 0;
}

.partner-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 104px;
  padding: 18px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.partner-logo-item:hover {
  border-color: rgba(26, 61, 124, 0.2);
  box-shadow: var(--shadow);
}

.partner-logo-item img {
  display: block;
  max-width: 100%;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 1100px) {
  .partners-layout,
  .partners-showcase {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .partners-layout,
  .partners-showcase {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .partners-showcase {
    gap: 12px 10px;
  }

  .partner-logo-item {
    min-height: 76px;
    padding: 12px 10px;
  }

  .partner-logo-item img {
    max-height: 50px;
  }
}

@media (max-width: 480px) {
  .partners-layout,
  .partners-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Feature cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(26, 61, 124, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.125rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* Stats */
.stats-bar {
  background: var(--primary);
  color: var(--white);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.stat-item span {
  font-size: 0.9375rem;
  opacity: 0.85;
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

/* 产品网格：按窗口宽度自动列数，卡片撑满剩余空间 */
.product-row--4,
.product-row--5 {
  display: grid;
  width: 100%;
  box-sizing: border-box;
  gap: clamp(12px, 1.5vw, 24px);
  align-items: stretch;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.product-row--5 {
  row-gap: clamp(14px, 1.8vw, 24px);
}

.product-row--4 > .product-card[hidden],
.product-row--5 > .product-card[hidden] {
  display: none !important;
}

.product-card {
  position: relative;
  background: #fff;
  border-radius: 2px;
  border: 1px solid #eee;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.product-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.product-card-zoom {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-zoom::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-sizing: border-box;
}

.product-card-zoom::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
  right: 9px;
  bottom: 9px;
  border-radius: 1px;
}

.product-card:hover .product-card-zoom,
.product-card-zoom:focus-visible {
  opacity: 1;
  transform: scale(1);
}

.product-card-zoom:hover {
  background: rgba(24, 144, 255, 0.9);
}

#product-center .product-row,
#hot-models .product-row.product-row--5 {
  overflow: visible;
}

#hot-models .product-card:hover {
  transform: scale(1.04);
  z-index: 3;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

#product-center .product-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.product-preview {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.product-preview[hidden] {
  display: none !important;
}

.product-preview__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.product-preview__dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(90vh, 720px);
  overflow: auto;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
  animation: product-preview-in 0.25s ease;
}

@keyframes product-preview-in {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.product-preview__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.product-preview__close:hover {
  background: rgba(0, 0, 0, 0.7);
}

.product-preview__img {
  background: #fafafa;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.product-preview__img img {
  max-width: 100%;
  max-height: min(50vh, 380px);
  object-fit: contain;
}

.product-preview__body {
  padding: 20px 24px 24px;
}

.product-preview__body h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: #333;
  line-height: 1.45;
}

.product-preview__body p {
  margin: 0 0 16px;
  font-size: 13px;
  color: #888;
  line-height: 1.65;
}

.product-preview__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.product-preview__detail {
  display: inline-block;
  padding: 8px 18px;
  background: var(--primary, #1890ff);
  color: #fff !important;
  border-radius: 2px;
  font-size: 13px;
  text-decoration: none !important;
}

.product-preview__detail:hover {
  opacity: 0.9;
}

@media (max-width: 768px) {
  .product-card-zoom {
    opacity: 0.9;
    transform: scale(1);
  }

  #hot-models .product-card:hover {
    transform: none;
  }
}

.product-card-link {
  display: block;
  height: 100%;
  color: inherit;
}

.product-card-link:hover {
  text-decoration: none;
}

.product-card-img {
  aspect-ratio: 1 / 1;
  width: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(8px, 1vw, 14px);
  overflow: hidden;
  border-bottom: 1px solid #f5f5f5;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.product-card-body {
  padding: 16px 18px 18px;
}

.product-card-body h3 {
  font-size: 13px;
  font-weight: 700;
  color: #333;
  line-height: 1.45;
  margin: 0 0 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 1.45em;
}

.product-title-center {
  text-align: center;
  white-space: normal;
}

/* 浩瀚市场：横图自适应，刚好框住图片 */
.product-card--market .product-card-img {
  aspect-ratio: auto;
  height: auto;
  padding: 0;
  line-height: 0;
  background: #f5f5f5;
  border-bottom: 1px solid #eee;
}

.product-card--market .product-card-img img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  vertical-align: top;
}

/* 主机系列：横图铺满卡片，避免两侧留白 */
.product-card--host .product-card-img {
  aspect-ratio: 4 / 3;
  height: auto;
  padding: 0;
  line-height: 0;
  background: #fff;
  border-bottom: 1px solid #eee;
  overflow: hidden;
}

.product-card--host .product-card-img img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* 首页底部进入产品中心（与 MORE » 同款） */
.product-center-entry {
  text-align: center;
  padding: 20px 0 4px;
  margin-top: 4px;
}

.product-center-entry-btn {
  display: inline-block;
  padding: 5px 16px;
  font-size: 12px;
  font-weight: 500;
  color: #999;
  letter-spacing: 0.08em;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 20px;
  transition: color 0.2s, border-color 0.2s;
}

.product-center-entry-btn:hover {
  color: #666;
  border-color: #bbb;
  text-decoration: none;
}

/* 首页公司简介 */
.company-profile-section {
  background: #fff;
  padding: 0 0 56px;
  overflow: hidden;
}

.company-profile {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 0;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 0 0;
}

.company-profile-media {
  min-height: 420px;
  overflow: hidden;
  background: #e8e8e8;
  margin-left: max(0px, calc((100vw - 1200px) / -2));
  position: relative;
  z-index: 0;
}

.company-profile-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: left center;
  display: block;
}

.company-profile-content {
  padding: 48px 56px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.company-profile-content--boxed {
  margin: 24px 0 24px 8px;
  padding: 40px 48px 36px;
  background: #fff;
  border: 1px solid #d8dde6;
  border-radius: 4px;
  box-shadow: 0 2px 16px rgba(26, 61, 124, 0.06);
}

.company-profile-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 6px;
  letter-spacing: 0.02em;
}

.company-profile-sub {
  font-size: 13px;
  font-weight: 400;
  color: #333;
  letter-spacing: 0.12em;
  margin: 0 0 24px;
  text-transform: uppercase;
}

.company-profile-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.85;
  margin: 0 0 32px;
  text-align: justify;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
  line-clamp: 8;
  overflow: hidden;
}

.company-profile-stats {
  display: flex;
  gap: 48px;
  margin-bottom: 28px;
}

.company-stat-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1890ff;
  line-height: 1.1;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
  min-width: 2.5ch;
}

.company-stat-label {
  font-size: 14px;
  color: #333;
}

.company-profile-more {
  display: inline-block;
  align-self: flex-start;
  padding: 8px 22px;
  font-size: 14px;
  color: #666;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 22px;
  transition: color 0.2s, border-color 0.2s;
}

.company-profile-more:hover {
  color: #333;
  border-color: #999;
  text-decoration: none;
}

@media (max-width: 992px) {
  .company-profile {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }

  .company-profile-media {
    min-height: 280px;
    margin-left: -16px;
    margin-right: -16px;
    width: calc(100% + 32px);
  }

  .company-profile-media img {
    min-height: 280px;
    object-position: center;
  }

  .company-profile-content {
    padding: 32px 24px;
  }

  .company-profile-content--boxed {
    margin: 20px 0 0;
    padding: 28px 22px 24px;
  }
}

.product-card-body > p {
  font-size: 12px;
  color: #888;
  line-height: 1.55;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: calc(1.55em * 2);
}

.product-card .card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: none;
}

.product-card .card-price {
  font-size: 18px;
  font-weight: 700;
  color: #1a2a4a;
  letter-spacing: 0.02em;
}

.product-card .card-more {
  flex-shrink: 0;
  padding: 5px 16px;
  font-size: 12px;
  font-weight: 500;
  color: #999;
  letter-spacing: 0.08em;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 20px;
  transition: color 0.2s, border-color 0.2s;
}

.product-card:hover .card-more {
  color: #666;
  border-color: #bbb;
}

@media (max-width: 768px) {
  .product-row--4,
  .product-row--5 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .product-row--4,
  .product-row--5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-card-body {
    padding: 12px;
  }

  .product-card-body h3 {
    font-size: 12px;
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    min-height: 2.6em;
    margin-bottom: 10px;
  }

  .product-card .card-price {
    font-size: 15px;
  }

  .product-card .card-more {
    padding: 4px 10px;
    font-size: 10px;
  }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-thumb {
  height: 180px;
  background: linear-gradient(145deg, var(--primary-light), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.3);
  overflow: hidden;
}

.card-thumb.card-thumb-img {
  height: auto;
  min-height: 0;
  display: block;
  line-height: 0;
  background: #2a1515;
}

.card-thumb-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.card-body {
  padding: 24px;
}

.card-body h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
  color: var(--primary);
}

.card-body p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.6;
  max-height: calc(1.6em * 2);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

.card-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a2a4a;
  letter-spacing: 0.02em;
}

.card-more {
  display: inline-flex;
  align-items: center;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 500;
  color: #888;
  letter-spacing: 0.05em;
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.card-more:hover {
  color: #555;
  border-color: #bbb;
  text-decoration: none;
}

.card-meta {
  font-size: 13px;
  color: var(--text-muted);
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(26, 61, 124, 0.08);
  color: var(--primary);
  border-radius: 4px;
  font-size: 12px;
  margin-right: 6px;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.about-content h2 {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.about-visual {
  background: #f5f7fa;
  border-radius: var(--radius);
  width: 100%;
  margin-top: 80px;
  height: calc(100% - 80px);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  box-sizing: border-box;
  text-align: center;
}

.about-visual img {
  display: block;
  margin: auto;
  max-width: 80%;
  max-height: min(260px, calc(100% - 80px));
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center center;
}

.timeline {
  max-width: 720px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  gap: 24px;
  padding-bottom: 32px;
  border-left: 2px solid var(--border);
  margin-left: 12px;
  padding-left: 32px;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
}

.timeline-item:last-child {
  border-left-color: transparent;
}

.timeline-year {
  font-weight: 700;
  color: var(--primary);
  min-width: 56px;
}

/* 内页统一布局（除首页，与下载中心同款） */
.inner-page-top,
.download-page-top {
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #3d4f6f 0%, #4a5d7a 50%, #5a6d85 100%);
  padding: 28px 0 0;
}

.inner-page-top-inner,
.download-page-top-inner {
  padding: 8px 0 24px;
}

.inner-page-top-foot,
.download-page-top-foot {
  background: rgba(0, 0, 0, 0.15);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 8px 10px 24px;
}

.inner-page-top-foot-inner,
.download-page-top-foot-inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.inner-page-top .inner-page-top-inner {
  max-width: 100%;
  padding-left: 24px;
  padding-right: 8px;
}

.product-subnav,
.news-subnav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0;
  margin-right: auto;
}

.product-subnav-link,
.news-subnav-link {
  display: inline-block;
  padding: 7px 18px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.product-subnav-link:hover,
.news-subnav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

.product-subnav-link.is-active,
.news-subnav-link.is-active {
  color: var(--primary);
  background: #fff;
  border-color: #fff;
  font-weight: 600;
}

.product-filter-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  margin-bottom: 24px;
  padding: 18px 24px;
  border: 1px solid #ebebeb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
}

.product-filter-label {
  flex-shrink: 0;
  padding: 0;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  background: none;
  white-space: nowrap;
}

.product-filter-tabs {
  display: flex;
  align-items: center;
  flex: 1;
  flex-wrap: wrap;
  gap: 12px;
}

.product-filter-tab {
  flex: 0 0 auto;
  min-width: 0;
  padding: 9px 24px;
  font-size: 14px;
  line-height: 1.2;
  color: #666;
  background: #f2f2f2;
  border: none;
  border-radius: 22px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.product-filter-tab:hover:not(.is-active) {
  color: #444;
  background: #e8e8e8;
}

.product-filter-tab.is-active {
  color: #fff;
  font-weight: 500;
  background: #1890ff;
  box-shadow: none;
}

#product-center {
  width: calc(100vw - 32px) !important;
  max-width: calc(100vw - 32px) !important;
  margin-left: calc(50% - 50vw + 16px) !important;
  margin-right: calc(50% - 50vw + 16px) !important;
  box-sizing: border-box;
  padding: 12px 0 0;
  --product-gap: 28px;
  --product-cols: 4;
  --product-scale: 0.56;
}

#product-center .product-filter-bar {
  display: flex;
  margin-bottom: 20px;
  box-sizing: border-box;
}

#product-center .product-filter-empty {
  margin: 0 0 20px;
}

/* 产品中心：第一行 4 张、左对齐；整体缩放 70% */
#product-center .product-row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 0;
  gap: var(--product-gap);
  justify-content: flex-start;
  align-items: stretch;
  zoom: var(--product-scale);
}

#product-center .product-card {
  flex: 0 0 calc((100% - (var(--product-cols) - 1) * var(--product-gap)) / var(--product-cols));
  width: calc((100% - (var(--product-cols) - 1) * var(--product-gap)) / var(--product-cols));
  max-width: calc((100% - (var(--product-cols) - 1) * var(--product-gap)) / var(--product-cols));
}

#product-center .product-row.product-row--single .product-card:not([hidden]) {
  flex: 0 0 min(100%, 880px);
  width: min(100%, 880px);
  max-width: min(100%, 880px);
}

#product-center .product-card-img {
  aspect-ratio: auto;
  min-height: clamp(320px, 34vw, 520px);
  padding: 8px;
}

#product-center .product-card-img img {
  width: 100%;
  height: 100%;
  min-height: clamp(300px, 32vw, 500px);
  max-height: none;
  object-fit: contain;
}

#product-center .product-card--market .product-card-img {
  min-height: clamp(280px, 30vw, 460px);
}

#product-center .product-card--market .product-card-img img {
  min-height: 0;
  height: auto;
}

#product-center .product-card--host .product-card-img {
  padding: 0;
  display: block;
  line-height: 0;
  background: #fff;
  overflow: hidden;
}

#product-center .product-card--host .product-card-img img {
  display: block;
  width: 100%;
  height: clamp(280px, 30vw, 460px);
  min-height: clamp(280px, 30vw, 460px);
  object-fit: cover;
  object-position: center;
}

#product-center .product-card-body {
  padding: 48px 50px 50px;
}

#product-center .product-card-body h3 {
  font-size: clamp(22px, 2.2vw, 36px);
  margin-bottom: 16px;
  min-height: 0;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

#product-center .product-card-body > p {
  font-size: clamp(18px, 1.8vw, 30px);
  line-height: 1.65;
  margin-bottom: 24px;
  max-height: none;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  overflow: visible;
  display: block;
}

#product-center .product-card .card-price {
  font-size: clamp(28px, 3vw, 56px);
}

#product-center .product-card .card-more {
  padding: 12px 32px;
  font-size: clamp(18px, 1.6vw, 30px);
  border-radius: 24px;
}

#hot-models .product-row.product-row--5 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 1100px) {
  #product-center {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    margin-left: calc(50% - 50vw + 10px) !important;
    margin-right: calc(50% - 50vw + 10px) !important;
    --product-cols: 2;
    --product-gap: 24px;
  }

  #hot-models .product-row.product-row--5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 520px) {
  #product-center {
    --product-gap: 18px;
    padding-left: 10px;
    padding-right: 10px;
  }

  #hot-models .product-row.product-row--5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  #product-center .product-card-img {
    padding: 18px;
  }

  #product-center .product-card-body {
    padding: 20px 22px 22px;
  }

  #product-center .product-card-body h3 {
    font-size: 17px;
  }

  #product-center .product-card-body > p {
    font-size: 15px;
  }

  #product-center .product-card .card-price {
    font-size: 24px;
  }

  #product-center .product-card .card-more {
    font-size: 15px;
    padding: 7px 16px;
  }
}


.product-filter-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  padding: 48px 16px;
  margin: 0;
}

.page-unavailable {
  text-align: center;
  padding: 56px 24px 64px;
}

.page-unavailable__icon {
  margin: 0 0 16px;
  font-size: 48px;
  line-height: 1;
}

.page-unavailable__title {
  margin: 0 0 12px;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
}

.page-unavailable__desc {
  max-width: 420px;
  margin: 0 auto 24px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}

.product-other-panel {
  padding: 24px 0 8px;
}

.product-row--1 {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(260px, 360px);
  justify-content: start;
}

.product-other-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.product-other-btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 15px;
  color: var(--primary);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.product-other-btn:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(26, 61, 124, 0.12);
  text-decoration: none;
}

.inner-page-tag,
.download-page-tag {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
  text-align: left;
  align-items: flex-start;
}

.inner-page-tag-en,
.download-page-tag-en {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.2;
}

.inner-page-tag-zh,
.download-page-tag-zh {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  line-height: 1.25;
  letter-spacing: 0.04em;
}

.inner-page-breadcrumb,
.download-breadcrumb {
  margin-left: auto;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
  text-align: right;
  white-space: nowrap;
  flex-shrink: 0;
}

.inner-page-breadcrumb a,
.download-breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s;
}

.inner-page-breadcrumb a:hover,
.download-breadcrumb a:hover {
  color: #fff;
}

.inner-page-breadcrumb .sep,
.download-breadcrumb .sep {
  margin: 0 8px;
  opacity: 0.7;
}

.inner-page-body,
.download-page-body {
  padding: 24px 0 56px;
  background: var(--bg);
}

.inner-page-body--products {
  padding-top: 20px;
}

.inner-page-body--products > .container#product-center {
  width: calc(100vw - 32px) !important;
  max-width: calc(100vw - 32px) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.inner-page-body > .container {
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
}

.inner-page-panel,
.download-panel {
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  overflow-x: auto;
  overflow-y: hidden;
}

.inner-page-panel--pad {
  padding: 32px;
  overflow: visible;
}

.inner-page-body .inner-page-panel + .inner-page-panel {
  margin-top: 24px;
}

.inner-page-panel .section-title {
  margin-bottom: 32px;
}

.inner-page-panel .section-title h2 {
  color: var(--text);
}

.inner-page-panel .contact-form {
  box-shadow: none;
  border: 1px solid var(--border);
}

.inner-page-panel .features-grid {
  align-items: stretch;
}

.inner-page-panel .feature-card {
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.inner-page-panel .feature-icon {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

.inner-page-panel .feature-card h3,
.inner-page-panel .feature-card p {
  text-align: center;
  width: 100%;
}

.download-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14px;
  table-layout: auto;
}

.download-table thead {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
}

.download-table th {
  padding: 14px 20px;
  text-align: left;
  font-weight: 500;
  color: #666;
  font-size: 14px;
}

.download-table td {
  padding: 18px 20px;
  border-bottom: 1px solid #f0f0f0;
  color: #333;
  vertical-align: middle;
}

.download-table tbody tr:hover {
  background: #fafafa;
}

.download-table .col-name {
  width: auto;
  line-height: 1.5;
}

.download-table .col-date {
  width: 1%;
  min-width: 168px;
  color: #666;
  white-space: nowrap;
}

.download-table .col-action {
  width: 1%;
  min-width: 168px;
  padding-left: 16px;
  padding-right: 16px;
  text-align: center;
  white-space: nowrap;
  overflow: visible;
}

.btn-download-file {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  min-width: 148px;
  max-width: none;
  padding: 10px 28px;
  background: #3d8bfd;
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  border-radius: 999px;
  border: none;
  box-shadow: 0 2px 8px rgba(61, 139, 253, 0.35);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  white-space: nowrap;
  text-decoration: none;
}

.btn-download-file:hover {
  background: #2f7ef5;
  box-shadow: 0 4px 14px rgba(47, 126, 245, 0.45);
  transform: translateY(-1px);
  text-decoration: none;
  color: #fff !important;
}

.btn-download-file:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(47, 126, 245, 0.3);
}

.btn-download-file .icon-download {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: block;
}

.btn-download-file__text {
  flex-shrink: 0;
  line-height: 1.2;
}

.download-pagination {
  padding: 20px;
  text-align: center;
  font-size: 14px;
  color: #666;
  border-top: 1px solid #f0f0f0;
  background: #fff;
}

@media (max-width: 768px) {
  .download-table {
    min-width: 520px;
  }

  .download-table th,
  .download-table td {
    padding: 12px 14px;
    font-size: 13px;
  }

  .download-table .col-date {
    min-width: 140px;
    white-space: normal;
    font-size: 12px;
  }

  .download-table .col-action {
    min-width: 152px;
  }

  .btn-download-file {
    min-width: 136px;
    padding: 9px 20px;
    font-size: 13px;
    gap: 6px;
  }

  .btn-download-file .icon-download {
    width: 16px;
    height: 16px;
  }
}

.btn-sm {
  padding: 8px 20px;
  font-size: 14px;
  background: var(--primary);
  color: var(--white);
  border-radius: 6px;
}

.btn-sm:hover {
  background: var(--primary-dark);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item .icon {
  width: 48px;
  height: 48px;
  background: rgba(26, 61, 124, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-form {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 40px 0 24px;
  margin-top: auto;
}

.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 40px 72px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.footer-wechat-group {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  flex-shrink: 0;
  margin-left: auto;
  position: relative;
  z-index: 1100;
}

.footer-wechat-item {
  text-align: center;
}

.footer-wechat-qr {
  display: block;
  width: 110px;
  height: 110px;
  margin: 0 auto 8px;
  padding: 5px;
  background: #fff;
  border-radius: 4px;
  object-fit: contain;
  box-sizing: border-box;
}

.footer-wechat-label {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.footer-grid {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(100px, 1fr));
  gap: 24px 56px;
  min-width: 280px;
  max-width: 720px;
}

.footer-brand {
  display: none;
}

.footer-brand img {
  height: 48px;
  max-width: 220px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.8;
}

.footer-col h4 {
  font-size: 15px;
  margin-bottom: 16px;
  color: var(--white);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  font-size: 14px;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-col a:hover {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  opacity: 0.7;
}

/* CTA strip */
.cta-strip {
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 48px 0;
  text-align: center;
}

.cta-strip h2 {
  margin-bottom: 12px;
}

.cta-strip p {
  margin-bottom: 24px;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 1100px) {
  .nav-main a {
    padding: 6px 8px;
    font-size: 13px;
  }

  .logo-link {
    margin-right: 12px;
  }

  .logo-link img {
    height: 44px;
    max-width: 150px;
  }
}

@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-visual {
    margin-top: 24px;
    height: auto;
    min-height: 280px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .inner-page-top-foot,
  .download-page-top-foot {
    padding-left: 16px;
    padding-right: 8px;
  }

  .inner-page-top .inner-page-top-inner {
    padding-left: 16px;
  }

  .inner-page-top-foot .inner-page-top-foot-inner,
  .download-page-top-foot .download-page-top-foot-inner {
    padding-left: 0;
    padding-right: 0;
  }

  .product-subnav,
  .news-subnav {
    width: 100%;
    margin-right: 0;
  }

  .nav-item--dropdown {
    width: 100%;
  }

  .nav-item--dropdown::before {
    display: none;
  }

  .nav-item--dropdown .nav-parent {
    width: 100%;
    padding: 12px 16px;
  }

  .nav-dropdown {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 4px;
    padding: 0 0 8px 12px;
    border: none;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.25s ease, visibility 0.25s;
  }

  .nav-item--dropdown.is-open .nav-dropdown {
    visibility: visible;
    max-height: 200px;
    pointer-events: auto;
  }

  .nav-dropdown a {
    padding: 10px 16px;
    background: rgba(26, 61, 124, 0.04);
    margin-bottom: 4px;
  }

  .product-filter-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
  }

  .product-filter-tabs {
    width: 100%;
    gap: 10px;
  }

  .product-filter-tab {
    padding: 8px 18px;
  }

  .inner-page-breadcrumb,
  .download-breadcrumb {
    margin-left: auto;
    width: auto;
    text-align: right;
  }

  .nav-toggle {
    display: flex;
    margin-left: 0;
  }

  .site-header .container.header-inner {
    padding-right: 12px;
  }

  .header-inner > .header-tools {
    margin-left: auto;
    margin-right: 0;
    padding-right: 0;
    padding-bottom: 0;
  }

  .header-lang {
    margin-top: 8px;
  }

  .logo-link img {
    height: 44px;
    max-width: 160px;
  }

  .nav-main {
    flex: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    justify-content: flex-start;
    background: var(--white);
    flex-direction: column;
    padding: 16px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
  }

  .nav-main.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-main a {
    width: 100%;
    padding: 12px 16px;
  }

  .header-theme-toggle {
    width: 36px;
    height: 36px;
  }

  .header-lang-toggle {
    min-width: 64px;
    padding: 7px 14px;
    font-size: 13px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-main {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .footer-wechat-group {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }

  .footer-grid {
    width: 100%;
    max-width: none;
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* 产品详情页 */
.product-detail-panel {
  padding: 0 !important;
  overflow: hidden;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 32px;
  border-bottom: 1px solid var(--border);
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-gallery--landscape .product-main {
  aspect-ratio: 16 / 10;
}

.product-gallery--landscape .product-thumb img {
  object-fit: contain;
}

.product-main {
  aspect-ratio: 1 / 1;
  background: #f5f5f5;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.35s ease;
}

.product-main img.is-fading {
  opacity: 0.4;
}

.product-thumbs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.product-thumb {
  width: 72px;
  height: 72px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  background: #f5f5f5;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s;
}

.product-thumb.is-active {
  border-color: #1890ff;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.35;
}

.product-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.product-desc-box {
  background: #f5f5f5;
  border-radius: 4px;
  padding: 16px 18px;
  margin-bottom: 24px;
  max-height: 160px;
  overflow-y: auto;
}

.product-desc-box p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.product-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 12px 28px;
  background: #1890ff;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 24px;
}

.product-consult {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #1a1a1a;
  color: #fff !important;
  font-size: 15px;
  font-weight: 500;
  border-radius: 24px;
  transition: background 0.2s;
}

.product-consult:hover {
  background: #333;
}

.product-tabs {
  padding: 0 32px 32px;
}

.product-tab-bar {
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.product-tab {
  display: inline-block;
  padding: 14px 4px;
  margin-right: 24px;
  font-size: 15px;
  font-weight: 500;
  color: #1890ff;
  border-bottom: 2px solid #1890ff;
  margin-bottom: -1px;
}

.product-tab-content {
  min-height: 120px;
  font-size: 14px;
  color: #555;
  line-height: 1.8;
}

.product-tab-content p {
  margin-bottom: 12px;
}

.product-tab-content a {
  color: #1890ff;
}

.product-tab-content--full h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin: 20px 0 10px;
}

.product-tab-content--full h3:first-of-type {
  margin-top: 8px;
}

@media (max-width: 992px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .product-detail {
    padding: 20px;
  }

  .product-tabs {
    padding: 0 20px 24px;
  }

  .product-thumb {
    width: 60px;
    height: 60px;
  }
}

/* 右侧悬浮咨询窗（手动打开，无遮罩） */
.nav-chat-widget {
  position: fixed;
  right: 0;
  top: auto;
  bottom: 200px;
  z-index: 1099;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  max-width: calc(100vw - 8px);
  transform: none;
}

.nav-chat-widget.is-dragging {
  user-select: none;
}

.nav-chat-panel {
  display: none;
  flex-direction: column;
  width: 380px;
  height: 620px;
  max-height: min(620px, calc(100dvh - 48px));
  background: #fff;
  border: 1px solid #e0e6ed;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
  overflow: hidden;
}

.nav-chat-widget.is-expanded .nav-chat-panel {
  display: flex;
}

.nav-chat-fab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 34px;
  padding: 6px 0 7px;
  border: none;
  border-radius: 17px 0 0 17px;
  background: #fff;
  color: #222;
  cursor: pointer;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.07), 0 2px 6px rgba(0, 0, 0, 0.05);
  transform: scale(0.92);
  transform-origin: right center;
  transition: transform 0.25s ease, box-shadow 0.2s, background 0.2s;
}

.nav-chat-fab:hover {
  box-shadow: -3px 0 14px rgba(0, 0, 0, 0.09), 0 3px 10px rgba(0, 0, 0, 0.07);
  transform: scale(1.04);
}

.nav-chat-fab.is-active {
  background: #f8f9fc;
  box-shadow: -3px 0 16px rgba(99, 102, 241, 0.12);
  transform: scale(0.98);
}

.nav-chat-fab__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(145deg, #c084fc 0%, #6366f1 45%, #f472b6 100%);
  color: #fff;
  flex-shrink: 0;
}

.nav-chat-fab__icon {
  display: block;
  width: 12px;
  height: 12px;
}

.nav-chat-fab__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  color: #1a1a1a;
}

.nav-chat-fab__label > span {
  display: block;
}

.nav-chat-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: linear-gradient(135deg, var(--primary) 0%, #2a5298 100%);
  color: #fff;
  cursor: move;
  touch-action: none;
}

.nav-chat-panel__head h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  pointer-events: none;
}

.nav-chat-panel__close {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  border-radius: 6px;
  cursor: pointer;
}

.nav-chat-panel__close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.nav-chat-quick {
  flex-shrink: 0;
  padding: 10px 12px;
  background: #faf9ff;
  border-bottom: 1px solid #ede9fe;
}

.nav-chat-quick__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  max-height: 140px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.nav-chat-quick-btn {
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  color: #5b21b6;
  background: #fff;
  border: 1px solid #ddd6fe;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.nav-chat-quick-btn:hover {
  color: #fff;
  background: #7c3aed;
  border-color: #7c3aed;
}

.nav-chat-messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-anchor: auto;
  padding: 14px 16px;
  background: #f5f7fa;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto;
}

.nav-chat-bubble {
  max-width: 88%;
  margin-bottom: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.6;
}

.nav-chat-bubble p {
  margin: 0 0 6px;
}

.nav-chat-bubble__label {
  display: inline-block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
}

.nav-chat-bubble__time {
  display: block;
  font-size: 11px;
  color: #999;
}

.nav-chat-bubble--user {
  margin-left: auto;
  background: var(--primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.nav-chat-bubble--user .nav-chat-bubble__time {
  color: rgba(255, 255, 255, 0.75);
  text-align: right;
}

.nav-chat-bubble--ai {
  margin-right: auto;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-bottom-left-radius: 4px;
}

.nav-chat-bubble--typing {
  padding: 12px 16px;
}

.nav-chat-typing {
  font-size: 13px;
  color: #888;
}

.nav-chat-form {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid #eee;
  background: #fff;
}

.nav-chat-form input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.nav-chat-form .btn {
  flex-shrink: 0;
  padding: 10px 16px;
}

@media (max-width: 480px) {
  .nav-chat-widget {
    right: 0;
    top: auto;
    bottom: 165px;
    transform: none;
    flex-direction: column-reverse;
    align-items: flex-end;
  }

  .nav-chat-panel {
    width: min(340px, calc(100vw - 56px));
    height: min(520px, calc(100dvh - 120px));
    max-height: calc(100dvh - 120px);
  }

  .nav-chat-fab {
    width: 32px;
    padding: 6px 0 7px;
    border-radius: 16px 0 0 16px;
  }

  .nav-chat-fab__icon-wrap {
    width: 22px;
    height: 22px;
  }

  .nav-chat-fab__icon {
    width: 11px;
    height: 11px;
  }

  .nav-chat-fab__label {
    font-size: 8px;
  }
}

/* 留言板 */
.message-board {
  max-width: 800px;
  margin: 0 auto;
}

.message-board-form-panel {
  margin-bottom: 24px;
}

.message-board-title {
  margin: 0 0 8px;
  font-size: 1.25rem;
  color: var(--primary);
}

.message-board-intro {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 14px;
}

.message-board-scroll {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.message-board-scroll__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: #fafafa;
  border-bottom: 1px solid #eee;
}

.message-board-scroll__title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.message-board-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: min(560px, 65vh);
  max-height: min(560px, 65vh);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 16px 20px 20px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.message-card {
  flex-shrink: 0;
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  padding: 14px 16px;
}

.message-card--ai {
  background: #f0f7ff;
  border-color: #bae0ff;
}

.message-card__badge--ai {
  color: #0958d9;
  background: #e6f4ff;
  border-color: #91caff;
}

.message-card__foot--ai {
  justify-content: space-between;
}

.message-card__ai-tip {
  font-size: 12px;
  color: #1677ff;
}

.message-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.message-card__name {
  font-size: 16px;
  font-weight: 600;
  color: #222;
}

.message-card__badge {
  flex-shrink: 0;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #d48806;
  background: #fff7e6;
  border: 1px solid #ffe58f;
  border-radius: 12px;
}

.message-card__text {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

.message-card__foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.message-card__stars {
  color: #faad14;
  font-size: 16px;
  letter-spacing: 2px;
}

.message-card__like {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  font-size: 13px;
  color: #666;
  background: #f5f5f5;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.message-card__like:hover {
  color: var(--primary);
  background: rgba(26, 61, 124, 0.06);
  border-color: rgba(26, 61, 124, 0.15);
}

.message-card__time {
  margin-left: auto;
  font-size: 12px;
  color: #aaa;
}

@media (max-width: 768px) {
  .message-card__foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .message-card__time {
    margin-left: 0;
  }
}

/* AI 问答页 */
.ai-qa-page {
  flex: 1;
  background: linear-gradient(180deg, #f8f7ff 0%, #f5f7fb 42%, #f5f7fb 100%);
}

.ai-qa-hero {
  padding: 48px 0 32px;
}

.ai-qa-badge {
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #6d28d9;
  background: #ede9fe;
  border-radius: 999px;
}

.ai-qa-title {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.25;
}

.ai-qa-lead {
  max-width: 720px;
  margin: 0 0 32px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

.ai-qa-topics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ai-qa-topic-card {
  padding: 20px 18px;
  background: #fff;
  border: 1px solid #ece8ff;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.06);
}

.ai-qa-topic-card h2 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
  color: #312e81;
}

.ai-qa-topic-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ai-qa-topic-card li + li {
  margin-top: 8px;
}

.ai-qa-topic-btn {
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 13px;
  color: #4f46e5;
  text-align: left;
  line-height: 1.5;
  cursor: pointer;
}

.ai-qa-topic-btn:hover {
  color: #6d28d9;
  text-decoration: underline;
}

.ai-qa-chat-section {
  padding: 0 0 56px;
}

.ai-qa-chat-shell {
  max-width: 920px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.12);
  border: 1px solid #e9e5ff;
}

.ai-qa-chat-shell__banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #5b21b6;
  background: linear-gradient(90deg, #f5f3ff, #ede9fe, #f5f3ff);
}

.ai-qa-chat-shell__logo {
  font-size: 16px;
}

.ai-qa-chat-panel {
  background: #fff;
  padding: 24px 24px 20px;
}

.ai-qa-chat-panel__head h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a1a2e;
}

.ai-qa-chat-panel__head p {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--text-muted);
}

.ai-qa-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.ai-qa-quick-btn {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #5b21b6;
  background: #fff;
  border: 1px solid #c4b5fd;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.ai-qa-quick-btn:hover {
  color: #fff;
  background: #7c3aed;
  border-color: #7c3aed;
}

.ai-qa-messages {
  min-height: 280px;
  max-height: 420px;
  overflow-y: auto;
  overflow-anchor: auto;
  padding: 16px;
  margin-bottom: 16px;
  background: #faf9ff;
  border: 1px solid #ede9fe;
  border-radius: 12px;
  -webkit-overflow-scrolling: touch;
}

.ai-qa-msg {
  max-width: 88%;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.65;
}

.ai-qa-msg p {
  margin: 0;
}

.ai-qa-msg--ai {
  margin-right: auto;
  background: #fff;
  border: 1px solid #e9e5ff;
  border-bottom-left-radius: 4px;
}

.ai-qa-msg--user {
  margin-left: auto;
  background: linear-gradient(135deg, #7c3aed, #6366f1);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.ai-qa-msg__label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #6d28d9;
}

.ai-qa-msg--typing {
  color: #888;
  font-size: 13px;
}

.ai-qa-form {
  display: flex;
  gap: 10px;
  align-items: center;
}

.ai-qa-form input {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  font-size: 14px;
  border: 1px solid #ddd6fe;
  border-radius: 999px;
  outline: none;
}

.ai-qa-form input:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.ai-qa-send {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.ai-qa-send:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

@media (max-width: 992px) {
  .ai-qa-topics {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ai-qa-hero {
    padding: 32px 0 24px;
  }

  .ai-qa-topics {
    grid-template-columns: 1fr;
  }

  .ai-qa-chat-panel {
    padding: 18px 16px 16px;
  }

  .ai-qa-messages {
    min-height: 220px;
    max-height: 320px;
  }
}
