/**
 * 前台站点样式（依赖 theme-tokens.css）
 * 区块注释标明页面区域；具体规则旁必要时补充说明。
 */

/* === 盒模型重置 === */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* === 页面根：纵向 flex 保证页脚贴底 === */
body.site-body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-body);
  color: var(--color-ink);
  background: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--color-link); }
a:hover { color: var(--color-link-hover); }

/* === 入场动效（仅位移+透明度，避免 CLS）=== */
@keyframes anim-fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 首页移动菜单展开（贴近 wanbangda motion 面板） */
@keyframes nav-mobile-panel-in {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === 顶栏：粘性 + 轻磨砂 === */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-line);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo：品牌块与字标 */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--color-ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: opacity var(--motion-duration-sm) var(--motion-ease-standard);
}
.logo:hover { opacity: 0.88; }

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  box-shadow: var(--shadow-md);
}

.logo-text {
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* 移动端菜单按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-ink);
  margin: 0 auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1rem;
}

.nav-item { position: relative; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  color: var(--color-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: background-color var(--motion-duration-sm) var(--motion-ease-standard),
    color var(--motion-duration-sm) var(--motion-ease-standard);
}
.nav-link:hover {
  background: var(--color-primary-muted);
  color: var(--color-primary);
}
.nav-link.active { color: var(--color-primary); }

/* 有子菜单时与 wanbangda 一致：Chevron 随展开旋转 */
.nav-chevron {
  display: inline-block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background: center / 12px 8px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23475569' stroke-width='1.5' stroke-linecap='round' d='M1 1.5L6 6l5-4.5'/%3E%3C/svg%3E");
  opacity: 0.9;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-item.has-children:hover .nav-chevron,
.nav-item.has-children:focus-within .nav-chevron {
  transform: rotate(180deg);
}

/* ============================================================================
 * 完全复刻 wanbangda-project React Navbar 下拉菜单样式
 * 参考：absolute top-full left-1/2 -translate-x-1/2 bg-white rounded-2xl shadow-2xl
 * ============================================================================ */

/* 下拉容器基础样式 - 匹配 React 版本的 motion.div */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  right: auto;
  transform: translateX(-50%) translateY(15px) scale(0.98);
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 
              0 0 0 1px rgba(15, 23, 42, 0.05);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.2s;
  z-index: var(--z-dropdown);
  overflow: hidden;
}

/* hover 时显示 - 模拟 React AnimatePresence */
.nav-item.has-children:hover .nav-dropdown,
.nav-item.has-children:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

/* 简单下拉菜单 */
.nav-dropdown--simple {
  min-width: 200px;
  padding: 0.5rem;
}
.nav-dropdown--simple li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-dropdown--simple a {
  display: block;
  padding: 0.6rem 1rem;
  color: #0f172a;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 8px;
  transition: background 0.15s ease;
}
.nav-dropdown--simple a:hover {
  background: #f1f5f9;
  color: #2563eb;
}

/* 产品 mega 下拉 - 列数由 --category-count 决定；每列 min 200px；外层宽度随网格内容收缩（不出现横向滚动条） */
.nav-dropdown--mega {
  width: max-content;
  min-width: 200px;
  max-width: calc(100vw - 2rem);
  padding: 1.5rem;
  overflow: visible;
}
.nav-mega-grid {
  display: grid;
  grid-template-columns: repeat(var(--category-count, 3), minmax(200px, max-content));
  gap: 1.5rem 2rem;
}
.nav-mega-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.nav-mega-title {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  color: #0f172a;
  text-decoration: none;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.5rem;
  transition: color 0.15s ease;
}
.nav-mega-title:hover {
  color: #2563eb;
}
.nav-mega-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.nav-mega-item {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.875rem;
  color: #475569;
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav-mega-item:hover {
  color: #2563eb;
}

/* 导航栏产品列表 - 一级分类下的产品（每行一个） */
.nav-mega-product-list {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 0.5rem;
}
.nav-mega-product-item {
  display: block;
  padding: 0.35rem 0.5rem;
  font-size: 0.8rem;
  color: #475569;
  text-decoration: none;
  transition: all 0.15s ease;
  border-radius: 4px;
  line-height: 1.4;
}
.nav-mega-product-item:hover {
  background: #f1f5f9;
  color: #2563eb;
}
.nav-mega-product-item::before {
  content: '•';
  color: #94a3b8;
  margin-right: 0.35rem;
}

/* 导航栏产品列表 - 二级分类下的产品（每行一个，缩进显示） */
.nav-mega-sub-product-list {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin: 0.25rem 0 0.5rem 0.75rem;
  padding-left: 0.5rem;
  border-left: 2px solid #e2e8f0;
}
.nav-mega-sub-product-item {
  display: block;
  padding: 0.25rem 0.4rem;
  font-size: 0.75rem;
  color: #64748b;
  text-decoration: none;
  transition: all 0.15s ease;
  border-radius: 3px;
  line-height: 1.3;
}
.nav-mega-sub-product-item:hover {
  background: #f8fafc;
  color: #2563eb;
}
.nav-mega-sub-product-item::before {
  content: '◦';
  color: #cbd5e1;
  margin-right: 0.25rem;
}

/* 桌面端：分类/链接单行显示，列宽由最长文案决定（与 minmax(..., max-content) 配合） */
@media (min-width: 721px) {
  .nav-dropdown--mega .nav-mega-title,
  .nav-dropdown--mega .nav-mega-item,
  .nav-dropdown--mega .nav-mega-product-item,
  .nav-dropdown--mega .nav-mega-sub-product-item {
    white-space: nowrap;
  }
}

/* 活动下拉 - 匹配 React：flex flex-col w-48 p-2 */
.nav-dropdown--activities {
  display: flex;
  flex-direction: column;
  width: 192px;
  padding: 0.5rem;
}
.nav-activity-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  color: #334155;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-activity-item:hover {
  background: #eff6ff;
  color: #2563eb;
}
.nav-activity-arrow {
  transform: rotate(-90deg);
  opacity: 0.5;
  transition: opacity 0.15s ease;
}
.nav-activity-item:hover .nav-activity-arrow {
  opacity: 1;
}

/* 旧版级联下拉样式（向后兼容） */
.nav-children {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 200px;
  margin: 0.5rem 0 0;
  padding: 0.4rem 0;
  list-style: none;
  background: var(--color-surface);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px) scale(0.98);
  transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.2s;
  z-index: var(--z-dropdown);
}
.nav-item.has-children:hover .nav-children,
.nav-item.has-children:focus-within .nav-children {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* wanbangda 风格：产品 mega 下拉水平居中 */
.nav-item--mega.has-children .nav-children {
  left: 50%;
  right: auto;
  transform: translateX(-50%) translateY(15px) scale(0.98);
}
.nav-item--mega.has-children:hover .nav-children,
.nav-item--mega.has-children:focus-within .nav-children {
  transform: translateX(-50%) translateY(0) scale(1);
}

/* 顶栏搜索：圆形图标按钮 */
.nav-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  flex-shrink: 0;
  color: var(--color-muted);
  background: #f1f5f9;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-search-btn:hover {
  background: var(--color-primary);
  color: #fff;
}
.nav-search-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.nav-children a {
  display: block;
  padding: 0.45rem 1rem;
  color: var(--color-ink);
  text-decoration: none;
  font-size: 0.9rem;
}
.nav-children a:hover { background: var(--color-bg); }
.nav-children a.active { color: var(--color-primary); font-weight: 600; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 0.5rem;
  padding-left: 1.5rem;
  border-left: 1px solid var(--color-line);
}

/* 顶栏 / 页脚：语言切换（自定义浮层，展开列表样式与主题一致） */
.lang-dd {
  position: relative;
  flex-shrink: 0;
}
/* 语言下拉触发按钮 & 菜单：优化默认背景色（solid: slate-50 / transparent: white/10）、选中背景色（blue-50），完全匹配 wanbangda-project/src/components/Navbar.tsx React 样式（不同背景适配） */
.lang-dd-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid var(--color-line);
  background-color: var(--color-dropdown-hover); /* 默认 solid 头栏：slate-50 浅灰，提升与白底区分度 */
  color: var(--color-ink);
  cursor: pointer;
  min-width: 7.5rem;
  max-width: 12rem;
  box-sizing: border-box;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.lang-dd-trigger:hover {
  border-color: var(--color-line-strong);
  background-color: var(--color-primary-muted); /* hover 微蓝，匹配 React hover:bg-blue-50 */
}
.lang-dd-trigger:focus {
  border-color: var(--color-primary);
  outline: none;
}

/* 语言下拉菜单：始终浅色底（即使透明头栏），匹配 React bg-white rounded-xl shadow */
.lang-dd-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  width: 9rem; /* w-36 = 144px */
  min-width: 9rem;
  margin: 0;
  padding: 0.5rem;
  list-style: none;
  background: var(--color-dropdown-bg);
  border: 1px solid var(--color-line);
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgb(15 23 42 / 0.1), 0 8px 10px -6px rgb(15 23 42 / 0.1);
  z-index: calc(var(--z-dropdown) + 20);
  box-sizing: border-box;
  overflow: hidden;
}
.lang-dd-menu li {
  margin: 0;
  padding: 0;
}

/* 下拉项：flex 布局适配 emoji+文字，优化 hover（neutral slate-50）与选中（blue-50 + blue-700） */
.lang-dd-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-sm);
  font-size: var(--font-size-sm);
  font-weight: 700;
  text-decoration: none;
  color: var(--color-ink);
  transition: background var(--motion-duration-sm) var(--motion-ease-standard),
    color var(--motion-duration-sm) var(--motion-ease-standard);
  width: 100%;
  text-align: left;
}
.lang-dd-item:hover {
  background: var(--color-dropdown-hover); /* neutral 浅灰 hover，提升不同背景下的可读性 */
  color: var(--color-ink);
}
.lang-dd-item.is-active {
  background: var(--color-dropdown-active); /* 优化选中背景：blue-50，与 React 完全一致 */
  color: var(--color-dropdown-active-text); /* blue-700 深蓝，突出选中状态 */
}
/* 页脚：触发器与浮层均为深色主题（与透明头栏逻辑类似，但菜单深色以适配页脚 bg） */
.lang-dd--footer .lang-dd-trigger {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  color: #e2e8f0;
  font-weight: 700;
}
.lang-dd--footer .lang-dd-trigger:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background-color: rgba(255, 255, 255, 0.15);
}
.lang-dd--footer .lang-dd-menu {
  top: auto;
  bottom: calc(100% + 0.5rem);
  background: #0f172a;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.3), 0 8px 10px -6px rgb(0 0 0 / 0.3);
  width: 9rem;
}
.lang-dd--footer .lang-dd-item {
  color: #e2e8f0;
}
.lang-dd--footer .lang-dd-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.lang-dd--footer .lang-dd-item.is-active {
  /* 优化深色选中背景：保持蓝色强调，与 React light 选中逻辑一致（blue tint） */
  background: rgba(147, 197, 253, 0.25);
  color: #bae6fd;
}

/* 按钮组 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--motion-duration-sm) var(--motion-ease-standard),
    color var(--motion-duration-sm) var(--motion-ease-standard),
    border-color var(--motion-duration-sm) var(--motion-ease-standard),
    box-shadow var(--motion-duration-sm) var(--motion-ease-standard);
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  border-color: var(--color-line);
  color: var(--color-ink);
}
.btn-outline:hover {
  border-color: var(--color-line-strong);
  background: var(--color-surface);
}
.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--color-muted);
}
.btn-ghost:hover { color: var(--color-ink); }
.btn-lg { padding: 0.65rem 1.25rem; font-size: 1rem; }
.btn-block { width: 100%; }

.main {
  flex: 1;
  width: 100%;
}

/* === 首页轮播（CMS home_carousel_slide）=== */
.home-carousel {
  position: relative;
  background: var(--color-footer-bg);
}
.carousel-viewport {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  aspect-ratio: 16 / 6;
  max-height: min(52vh, 480px);
  overflow: hidden;
}
@media (max-width: 720px) {
  .carousel-viewport {
    aspect-ratio: 4 / 3;
    max-height: min(48vh, 360px);
  }
}
.carousel-track {
  position: relative;
  height: 100%;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
.carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
  .carousel-slide {
    transition: none;
  }
}
.carousel-slide-bg {
  height: 100%;
  position: relative;
}
.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carousel-slide-link,
.carousel-img-link {
  display: block;
  height: 100%;
  position: relative;
  color: inherit;
  text-decoration: none;
}
.carousel-slide-link:hover .carousel-title,
.carousel-img-link:hover .carousel-title { color: #fff; }
.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.75rem 1.25rem 2.25rem;
  background: linear-gradient(to top, rgba(32, 33, 36, 0.88), transparent);
  pointer-events: none;
}
.carousel-slide-link .carousel-caption { pointer-events: none; }
.carousel-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.15rem, 3vw, 1.75rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.carousel-sub {
  margin: 0;
  font-size: 0.95rem;
  color: #e8eaed;
  max-width: 40rem;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: var(--z-carousel-ui);
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  font-size: 1.35rem;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-ink);
  box-shadow: var(--shadow-md);
  transition: background var(--motion-duration-sm) var(--motion-ease-standard);
}
.carousel-btn:hover { background: #fff; }
.carousel-prev { left: 0.65rem; }
.carousel-next { right: 0.65rem; }
@media (max-width: 720px) {
  .carousel-btn { width: 36px; height: 36px; font-size: 1.1rem; }
}
.carousel-dots {
  position: absolute;
  bottom: 0.65rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-carousel-ui);
  display: flex;
  gap: 0.4rem;
  align-items: center;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.4);
  transition: transform var(--motion-duration-xs), background var(--motion-duration-xs);
}
.carousel-dot.is-active {
  background: #fff;
  transform: scale(1.25);
}

/* === Hero：渐变背景 + 双列文案 === */
.hero {
  background: linear-gradient(125deg, var(--color-hero-from) 0%, var(--color-hero-to) 50%, var(--color-hero-mid) 100%);
  color: #e8eaed;
  padding: 3.5rem 1.25rem 4rem;
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-copy {
  animation: anim-fade-up 0.5s var(--motion-ease-out) both;
}
.hero-visual {
  animation: anim-fade-up 0.55s 0.06s var(--motion-ease-out) both;
}
.hero-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: var(--line-height-tight);
  letter-spacing: -0.03em;
  color: #fff;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  color: var(--color-hero-eyebrow);
  margin: 0 0 0.75rem;
  font-weight: 700;
}
.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  color: #e8eaed;
  max-width: 36rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero .btn-primary {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}
.hero .btn-primary:hover {
  background: var(--color-primary-muted);
  color: var(--color-primary-hover);
  border-color: var(--color-primary-muted);
}
.hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.hero .btn-outline:hover { background: rgba(255, 255, 255, 0.12); }

.hero-visual { display: flex; justify-content: flex-end; }
.hero-card {
  width: 100%;
  max-width: 320px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  backdrop-filter: blur(10px);
  transition: transform var(--motion-duration-md) var(--motion-ease-out),
    box-shadow var(--motion-duration-md) var(--motion-ease-out);
}
.hero-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.hero-card-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-hero-eyebrow);
  font-weight: 700;
}
.hero-card-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: #fff;
  font-size: 0.95rem;
}
.hero-card-list li { margin-bottom: 0.35rem; }

/* === 首页数据条 === */
.stats-strip {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-line);
}
.stats-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat {
  animation: anim-fade-up 0.45s var(--motion-ease-out) both;
}
.stat:nth-child(1) { animation-delay: 0.04s; }
.stat:nth-child(2) { animation-delay: 0.1s; }
.stat:nth-child(3) { animation-delay: 0.16s; }
.stat:nth-child(4) { animation-delay: 0.22s; }
.stat-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* === 通用区块与卡片网格 === */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.25rem;
}
.section-alt {
  background: #f1f3f4;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.section-head h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.link-more {
  font-weight: 600;
  text-decoration: none;
  color: var(--color-primary);
}
.link-more:hover { text-decoration: underline; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.product-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--motion-duration-sm) var(--motion-ease-out),
    box-shadow var(--motion-duration-sm) var(--motion-ease-out);
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.product-card-media {
  height: 180px;
  background: linear-gradient(135deg, var(--color-primary-muted), #dadce0);
}
.product-card h3 {
  margin: 0;
  padding: 0rem 1.25rem 0rem 0;
  font-size: 1rem;
}
.product-card p {
  margin: 0;
  padding: 0 1.25rem 0rem 0;
  font-size: 0.9rem;
  color: var(--color-muted);
  flex: 1;
}
.card-cta {
  display: block;
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--color-line);
  text-align: center;
  font-weight: 600;
  text-decoration: none;
  color: var(--color-primary);
  background: var(--color-primary-muted);
  transition: background var(--motion-duration-sm) var(--motion-ease-standard);
}
.card-cta:hover { background: #d2e3fc; }

.section-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}
.aside-panel {
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}
.aside-panel h3 { margin-top: 0; }
.muted { color: var(--color-muted); font-size: 0.95rem; }

/* === Markdown 通用页壳 === */
.page-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}
.page-header h1 { margin: 0 0 0.5rem; font-size: 1.75rem; font-weight: 600; }
.page-lead { margin: 0 0 1.5rem; color: var(--color-muted); max-width: 42rem; }
.page-cta-wrap { margin-top: 2rem; }

/* === 产品详情：面包屑与正文 === */
.breadcrumb {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 0.35rem;
}
.breadcrumb a { color: var(--color-muted); font-weight: 600; text-decoration: none; }
.breadcrumb a:hover { color: var(--color-primary); text-decoration: underline; }
.breadcrumb-sep { margin: 0 0.35rem; color: var(--color-line); }
.breadcrumb-current { color: var(--color-ink); font-weight: 600; }
.detail-back-wrap { margin: 0 0 1.25rem; }
.link-back {
  font-weight: 600;
  text-decoration: none;
  color: var(--color-primary);
  font-size: 0.95rem;
}
.link-back:hover { text-decoration: underline; }

.product-detail-page .prose {
  max-width: 52rem;
}
.prose-product-detail .content > h1 {
  margin-top: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  letter-spacing: -0.02em;
}
.product-detail-page .content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
  display: block;
  margin: 1rem 0;
}
.product-detail-page .content video,
.product-detail-page .content iframe {
  width: 100%;
  max-width: 800px;
  display: block;
  margin: 1rem 0;
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
  background: var(--color-footer-bg);
}
.product-detail-page .content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1rem 0;
}
.product-detail-page .content th,
.product-detail-page .content td {
  border: 1px solid var(--color-line);
  padding: 0.5rem 0.65rem;
  text-align: left;
}
.product-detail-page .content th {
  background: var(--color-bg);
  font-weight: 700;
}
.product-detail-page .content blockquote {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  border-left: 4px solid var(--color-primary);
  background: var(--color-primary-muted);
  color: var(--color-ink);
}

/* === CMS 目录列表 / 文章索引 === */
.catalog-page .product-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.catalog-page .product-card-link:hover h3 {
  color: var(--color-primary);
}
.media-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}
.media-fig {
  margin: 0;
  max-width: 100%;
}
.media-fig img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
}
.media-video {
  font-size: 0.9rem;
  word-break: break-all;
}
.cms-body iframe,
.cms-body video {
  max-width: 100%;
}
.article-index {
  list-style: none;
  padding: 0;
  margin: 0;
}
.article-index li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-line);
}
.article-index a {
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--color-ink);
}
.article-index a:hover {
  color: var(--color-primary);
}
.article-meta {
  display: block;
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: 0.25rem;
}
.catalog-intro {
  margin-bottom: 0.5rem;
}

/* === B2B 产品目录（横幅 + 侧栏 + 横向行卡，对齐常见外贸站布局） === */
.catalog-b2b {
  background: var(--color-bg);
}
.catalog-hero {
  position: relative;
  min-height: 140px;
  background: linear-gradient(115deg, #2c3e50 0%, #34495e 40%, #4a6578 100%);
  display: flex;
  align-items: flex-end;
  padding: 0 1.25rem;
}
.catalog-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  padding: 1.75rem 0 1.25rem;
}
.catalog-hero-label {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.catalog-crumbs {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  font-size: 0.9rem;
  color: var(--color-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-line);
}
.catalog-crumbs a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}
.catalog-crumbs a:hover {
  text-decoration: underline;
}
.catalog-crumbs-sep {
  color: var(--color-line-strong);
  font-weight: 400;
}
.catalog-crumbs-heading {
  margin: 0;
  display: inline;
  font-size: inherit;
  font-weight: 700;
  color: var(--color-ink);
}
.catalog-b2b-body {
  padding-top: 1.5rem;
}
.catalog-split {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.75rem;
  align-items: start;
}
.catalog-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 0.5rem);
}
.catalog-sidebar-block {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}
.catalog-sidebar-title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-ink);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-primary);
}
.catalog-category-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 22rem;
  overflow-y: auto;
}
.catalog-category-list li {
  border-bottom: 1px solid var(--color-line);
}
.catalog-category-list li:last-child {
  border-bottom: none;
}
.catalog-category-list a {
  display: block;
  padding: 0.55rem 0.15rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-ink);
  text-decoration: none;
  line-height: 1.35;
}
.catalog-category-list a:hover {
  color: var(--color-primary);
}
.catalog-sidebar-empty {
  margin: 0;
  font-size: 0.9rem;
}
.catalog-sidebar-cta .catalog-sidebar-lead {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.45;
}
.btn-catalog-chat {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  box-shadow: var(--shadow-sm);
  transition: background var(--motion-duration-sm) var(--motion-ease-standard),
    border-color var(--motion-duration-sm) var(--motion-ease-standard),
    box-shadow var(--motion-duration-sm) var(--motion-ease-standard);
}
.btn-catalog-chat:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.catalog-intro-b2b {
  margin-bottom: 1.25rem;
  max-width: none;
}
.catalog-row-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.catalog-row-card {
  display: grid;
  grid-template-columns: minmax(140px, 240px) 1fr;
  gap: 1rem;
  align-items: stretch;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--motion-duration-sm) var(--motion-ease-out);
}
.catalog-row-card:hover {
  box-shadow: var(--shadow-md);
}
.catalog-row-media {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  aspect-ratio: 4 / 3;
}
.catalog-row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.catalog-row-placeholder {
  width: 100%;
  height: 100%;
  min-height: 120px;
  background: linear-gradient(135deg, var(--color-primary-muted), #dadce0);
}
.catalog-row-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.catalog-row-title {
  margin: 0 0 0.4rem;
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 700;
  line-height: 1.35;
}
.catalog-row-title a {
  color: var(--color-ink);
  text-decoration: none;
}
.catalog-row-title a:hover {
  color: var(--color-primary);
}
.catalog-row-summary {
  margin: 0 0 auto;
  padding-bottom: 0.75rem;
  font-size: 0.92rem;
  color: var(--color-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.catalog-row-price-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  color: #fff;
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  box-shadow: var(--shadow-sm);
  transition: background var(--motion-duration-sm) var(--motion-ease-standard),
    border-color var(--motion-duration-sm) var(--motion-ease-standard),
    box-shadow var(--motion-duration-sm) var(--motion-ease-standard);
}
.catalog-row-price-cta:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.catalog-row-price-ico {
  font-size: 1rem;
  line-height: 1;
}

/* 产品详情 B2B 顶栏 */
.product-b2b-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-line);
}
.product-b2b-visual {
  min-width: 0;
}
.product-b2b-figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-line);
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
}
.product-b2b-figure img {
  width: 100%;
  height: auto;
  display: block;
}
.product-b2b-placeholder {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--color-primary-muted), #dadce0);
}
.product-b2b-intro h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.product-b2b-lead {
  margin: 0 0 1.25rem;
  color: var(--color-muted);
  line-height: 1.55;
  font-size: 1rem;
}
/* 与 .btn-primary 同色，仅保留字号/内边距微调 */
.product-b2b-cta {
  padding: 0.65rem 1.35rem;
  font-weight: 700;
}
.product-b2b-gallery {
  margin-top: 0;
}

/* === 导航：产品二级级联下拉 === */
.nav-children--cascade {
  min-width: 240px;
}
.nav-child-has-sub {
  position: relative;
}
.nav-grandchildren {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  margin: 0;
  padding: 0.35rem 0;
  min-width: 200px;
  list-style: none;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: calc(var(--z-dropdown) + 1);
}
.nav-grandchildren a {
  display: block;
  padding: 0.4rem 1rem;
  font-size: 0.88rem;
  color: var(--color-ink);
  text-decoration: none;
}
.nav-grandchildren a:hover {
  background: var(--color-bg);
}
.nav-child-has-sub:hover > .nav-grandchildren,
.nav-child-has-sub:focus-within > .nav-grandchildren {
  display: block;
}

/* === 产品列表：二级筛选 + 卡片网格 === */
.catalog-sub-filter {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.catalog-sub-label {
  font-weight: 600;
  font-size: 0.9rem;
}
.catalog-sub-select {
  font: inherit;
  padding: 0.45rem 2rem 0.45rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-line);
  min-width: 12rem;
  background: var(--color-surface);
}
.catalog-category-list a.is-active {
  color: var(--color-primary);
  font-weight: 700;
}
.product-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.product-tile {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--motion-duration-sm) var(--motion-ease-out);
}
.product-tile:hover {
  box-shadow: var(--shadow-md);
}
.product-tile-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-bg);
}
.product-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-tile-placeholder {
  width: 100%;
  height: 100%;
  min-height: 160px;
  background: linear-gradient(135deg, var(--color-primary-muted), #dadce0);
}
.product-tile-body {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-tile-title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}
.product-tile-title a {
  color: var(--color-ink);
  text-decoration: none;
}
.product-tile-title a:hover {
  color: var(--color-primary);
}
.product-tile-desc {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.5;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-tile-cta {
  align-self: flex-start;
  margin-top: auto;
}

/* === 产品详情：淘宝式主图区 === */
.product-showcase-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 1.5rem 2rem;
  align-items: start;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-line);
}
.product-showcase-left {
  min-width: 0;
}
.product-showcase-stage-wrap {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
  background: var(--color-bg);
  overflow: hidden;
}
.product-showcase-stage {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.product-showcase-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.product-showcase-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}
.product-showcase-video-fallback {
  padding: 2rem;
  text-align: center;
}
.product-showcase-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  background: rgba(255, 255, 255, 0.95);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-ink);
  box-shadow: var(--shadow-sm);
}
.product-showcase-prev { left: 10px; }
.product-showcase-next { right: 10px; }
.product-showcase-nav:hover {
  background: var(--color-primary-muted);
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.product-showcase-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.65rem;
}
.product-showcase-thumb {
  width: 64px;
  height: 64px;
  padding: 0;
  border: 2px solid var(--color-line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: var(--color-surface);
}
.product-showcase-thumb.is-active {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary);
}
.product-showcase-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-showcase-thumb-v {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.25rem;
  color: var(--color-primary);
}
.product-showcase-side {
  position: sticky;
  top: calc(var(--header-h) + 0.5rem);
}
.product-showcase-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 700;
}
.product-showcase-lead {
  margin: 0 0 1rem;
  color: var(--color-muted);
  line-height: 1.55;
}
.product-showcase-spec {
  margin-bottom: 1rem;
  max-width: none;
}
.product-showcase-spec .content {
  font-size: 0.92rem;
}
.product-showcase-cta {
  margin-top: 0.5rem;
}
.product-detail-body-title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}
/* === 正文 Markdown（prose）=== */
.prose {
  max-width: 48rem;
}
.prose-tight .content { margin-top: 0.5rem; }
.prose .content :first-child { margin-top: 0; }
.prose h2 { font-size: 1.2rem; margin-top: 1.75rem; }
.prose h3 { font-size: 1.05rem; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.35rem; }

/* === 联系页双栏 === */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.contact-panel {
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}
.contact-form .form-row { margin-bottom: 1rem; }
.contact-form .form-row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}
.contact-form .req { color: var(--color-primary); }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  font: inherit;
  background: var(--color-surface);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--color-primary-muted);
  border-color: var(--color-primary);
}
.contact-status {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #c5221f;
}
.contact-status:empty { display: none; }
.contact-status.is-ok { color: #137333; }

/* === 页脚 === */
.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 2.5rem 1.25rem;
  margin-top: auto;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.footer-brand strong { color: var(--color-footer-heading); font-size: 1rem; }
.footer-tag {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  max-width: 36rem;
  line-height: 1.5;
}
.footer-links {
  margin: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.footer-links a {
  color: #e8eaed;
  text-decoration: none;
  font-weight: 600;
}
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-lang { margin-left: auto; display: inline-flex; align-items: center; gap: 0.75rem; }
.footer-copy { margin: 0; font-size: 0.85rem; color: var(--color-muted); }

/* === 错误页 === */
.error-body { padding: 2rem; font-family: var(--font-sans); }

/* === 减弱动效：系统偏好 === */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy,
  .hero-visual,
  .stat,
  .hero-card {
    animation: none !important;
    transition: none !important;
  }
  .product-card {
    transition: none;
  }
  /* 新轮播减弱动效 */
  .hero-slide,
  .hero-slide-img,
  .hero-content-inner,
  .hero-eyebrow,
  .hero-title,
  .hero-desc,
  .hero-actions {
    transition: none !important;
    animation: none !important;
  }
  .hero-slide.is-active .hero-eyebrow,
  .hero-slide.is-active .hero-title,
  .hero-slide.is-active .hero-desc,
  .hero-slide.is-active .hero-actions {
    opacity: 1;
    transform: none;
  }
  .hero-slide-img {
    transform: scale(1) !important;
  }
  .hero-dot {
    transition: none;
  }
  .hero-btn:hover,
  .hero-btn:active {
    transform: none;
  }
  body.page-home .nav.is-open {
    animation: none;
  }
}

/* === 响应式断点 === */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { justify-content: flex-start; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .section-split { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .catalog-split {
    grid-template-columns: 1fr;
  }
  .catalog-sidebar {
    position: static;
  }
  .product-b2b-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--color-line);
    box-shadow: var(--shadow-lg);
    /* 移动端导航滚动支持 */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    max-height: calc(100vh - var(--header-h));
    overscroll-behavior: contain;
    z-index: var(--z-header);
  }
  .nav.is-open { display: flex; }
  
  /* 移动端导航栏滚动条样式 */
  .nav::-webkit-scrollbar {
    width: 6px;
  }
  .nav::-webkit-scrollbar-track {
    background: transparent;
  }
  .nav::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
  }
  .nav::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
  }
  
  /* 移动端：新版下拉菜单样式适配 */
  .nav-dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    border-left: 2px solid #e2e8f0;
    border-radius: 0;
    margin: 0.5rem 0;
    background: transparent;
    width: 100% !important;
    padding: 0 0 0 0.75rem;
  }
  .nav-dropdown--mega {
    width: 100% !important;
    max-width: none;
    padding: 0.5rem;
    --category-count: 1;
  }
  .nav-mega-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem;
  }
  .nav-mega-col {
    width: 100%;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
  }
  .nav-mega-col:last-child {
    border-bottom: none;
  }
  .nav-mega-title {
    font-size: 0.9rem;
    border-bottom: none;
    padding: 0.5rem 0;
    font-weight: 700;
    color: #0f172a;
  }
  .nav-mega-list {
    padding-left: 0.5rem;
  }
  .nav-mega-item {
    font-size: 0.85rem;
    padding: 0.35rem 0;
    color: #475569;
  }
  /* 移动端产品列表样式 */
  .nav-mega-product-list {
    padding-left: 0.5rem;
    margin-top: 0.25rem;
  }
  .nav-mega-product-item {
    font-size: 0.8rem;
    padding: 0.3rem 0;
    color: #64748b;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nav-mega-sub-product-list {
    padding-left: 0.75rem;
    margin: 0.25rem 0;
  }
  .nav-mega-sub-product-item {
    font-size: 0.75rem;
    padding: 0.2rem 0;
    color: #94a3b8;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nav-dropdown--activities {
    width: 100% !important;
    padding: 0;
  }
  .nav-activity-item {
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
    border-bottom: 1px solid #f1f5f9;
  }
  .nav-activity-item:last-child {
    border-bottom: none;
  }
  .nav-dropdown--simple {
    padding: 0;
    min-width: auto;
    list-style: none;
  }
  .nav-dropdown--simple li {
    border-bottom: 1px solid #f1f5f9;
  }
  .nav-dropdown--simple li:last-child {
    border-bottom: none;
  }
  .nav-dropdown--simple a {
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
    display: block;
  }
  /* 导航链接移动端优化 */
  .nav-link {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    border-bottom: 1px solid #f1f5f9;
  }
  .nav-item:last-child .nav-link {
    border-bottom: none;
  }
  .nav-chevron {
    width: 16px;
    height: 16px;
    background-size: 14px 10px;
  }
  
  /* 旧版级联下拉（向后兼容） */
  .nav-item.has-children .nav-children {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 0.5rem;
    margin-top: 0;
  }
  .nav-actions {
    margin-left: 0;
    padding: 1rem 0 0.5rem;
    border-left: none;
    border-top: 1px solid #f1f5f9;
    flex-wrap: wrap;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: flex-start;
  }
  .nav-search-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f1f5f9;
    color: #0f172a;
  }
  .lang-dd--header {
    width: auto;
  }
  .lang-dd--header .lang-dd-trigger {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }
  .card-grid { grid-template-columns: 1fr; }
  .contact-form .form-row.two { grid-template-columns: 1fr; }
  .footer-lang { margin-left: 0; width: 100%; }
  .catalog-row-card {
    grid-template-columns: 1fr;
  }
  .catalog-row-media {
    max-width: 100%;
    aspect-ratio: 16 / 9;
  }
  .product-showcase-top {
    grid-template-columns: 1fr;
  }
  .product-showcase-side {
    position: static;
  }
  .nav-grandchildren {
    position: static;
    display: block;
    box-shadow: none;
    border: none;
    padding-left: 0.75rem;
    margin-top: 0.25rem;
  }
  .nav-child-has-sub:hover > .nav-grandchildren {
    display: block;
  }
}

/* =============================================================================
 * Wanbangda 参考风格（沉浸式首页顶栏、大圆角卡片、深色页脚；与 theme-tokens 联动）
 * ============================================================================= */

/* --- 首页：顶栏覆盖在首屏图上，滚动后变白底（过渡与 shadow 贴近 wanbangda Navbar） --- */
/* 使用 body.page-home 提高优先级，确保覆盖默认 .site-header 样式 */
body.page-home .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
  backdrop-filter: none;
  padding: 0.85rem 0;
  transition: background 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease, padding 0.5s ease,
    backdrop-filter 0.5s ease;
}
body.page-home .site-header.is-solid {
  padding: 0.45rem 0;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(12px);
  border-bottom-color: var(--color-line);
  box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.06),
    0 0 0 1px rgba(15, 23, 42, 0.04);
}
/* 首页透明顶栏时隐藏 logo 标记，突出字标 */
body.page-home .site-header:not(.is-solid) .logo-mark {
  display: none;
}
body.page-home .logo-text {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  text-transform: none;
}
body.page-home .site-header.is-solid .logo {
  color: var(--color-primary-hover);
}
body.page-home .site-header.is-solid .logo-text {
  font-size: 1.1rem;
}
body.page-home .site-header:not(.is-solid) .logo,
body.page-home .site-header:not(.is-solid) .nav-link {
  color: #fff;
}
body.page-home .site-header:not(.is-solid) .nav-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
body.page-home .site-header:not(.is-solid) .nav-chevron {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' d='M1 1.5L6 6l5-4.5'/%3E%3C/svg%3E");
}
body.page-home .site-header:not(.is-solid) .nav-search-btn {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
body.page-home .site-header:not(.is-solid) .nav-search-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
}
body.page-home .site-header:not(.is-solid) .nav-children a {
  color: var(--color-ink);
}

/* 透明顶栏下的新版下拉菜单样式 */
body.page-home .site-header:not(.is-solid) .nav-dropdown {
  background: #ffffff;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
}
body.page-home .site-header:not(.is-solid) .nav-dropdown a {
  color: #0f172a;
}
body.page-home .site-header:not(.is-solid) .nav-dropdown a:hover {
  color: #2563eb;
}
body.page-home .site-header:not(.is-solid) .lang-dd--header .lang-dd-trigger {
  border-color: rgba(255, 255, 255, 0.35);
  background-color: rgba(255, 255, 255, 0.1); /* 透明头栏：white/10，匹配 React bg-white/10 */
  color: #fff;
  font-weight: 700;
}

body.page-home .site-header:not(.is-solid) .lang-dd--header .lang-dd-trigger:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background-color: rgba(255, 255, 255, 0.2); /* 优化 hover 背景，与 React hover:bg-white/20 一致 */
}
body.page-home .site-header:not(.is-solid) .lang-dd--header .lang-dd-trigger:focus {
  outline-color: rgba(255, 255, 255, 0.45);
  border-color: rgba(255, 255, 255, 0.65);
}
/* 首页透明顶栏下浮层仍为浅底卡片，保证选项可读（使用主题变量） */
body.page-home .site-header:not(.is-solid) .lang-dd--header .lang-dd-menu {
  background: var(--color-dropdown-bg);
  border-color: var(--color-line);
  box-shadow: 0 20px 25px -5px rgb(15 23 42 / 0.1), 0 8px 10px -6px rgb(15 23 42 / 0.1);
  width: 9rem;
}
body.page-home .site-header:not(.is-solid) .lang-dd--header .lang-dd-item {
  color: var(--color-ink);
}
body.page-home .site-header:not(.is-solid) .lang-dd--header .lang-dd-item:hover {
  background: var(--color-dropdown-hover);
}
body.page-home .site-header:not(.is-solid) .lang-dd--header .lang-dd-item.is-active {
  background: var(--color-dropdown-active);
  color: var(--color-dropdown-active-text);
}
body.page-home .site-header:not(.is-solid) .nav-actions {
  border-left-color: rgba(255, 255, 255, 0.2);
}

/* --- 全屏轮播 Hero（完全复刻 wanbangda-project） --- */
.hero-section {
  position: relative;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #020617;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.5s ease, visibility 1.5s ease;
  z-index: 0;
  /* 垂直水平居中内容，复刻 React 版 flex items-center justify-center */
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

/* 背景图 Ken Burns 动画：scale 1.1 -> 1 */
.hero-slide-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.hero-slide.is-active .hero-slide-img {
  transform: scale(1);
}

/* 遮罩层 */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.5);
  backdrop-filter: blur(1px);
  pointer-events: none;
  z-index: 1;
}

/* 内容区布局 */
.hero-slide-content {
  position: relative;
  z-index: 10;
  width: 100%;
  margin: 0 auto;
  padding: calc(var(--header-h) + 2rem) 1rem 5rem;
  pointer-events: none;
}

/* 外层包装器：复刻 React 版 max-w-7xl mx-auto，整体居中 */
.hero-content-wrapper {
  width: 100%;
  max-width: 80rem; /* max-w-7xl = 1280px */
  margin: 0 auto;
}

@media (min-width: 640px) {
  .hero-content-wrapper {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-content-wrapper {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* 内容区：复刻 React 版 max-w-4xl，内容左对齐 */
.hero-content-inner {
  max-width: 70rem;
  color: #fff;
  text-align: left;
}

/* 文本元素初始态：隐藏在上方 */
.hero-eyebrow,
.hero-title,
.hero-desc {
  opacity: 0;
  transform: translateY(-50px);
}

/* 按钮初始态：缩小隐藏 */
.hero-actions {
  opacity: 0;
  transform: scale(0.3);
}

/* is-active 时触发交错入场 */
.hero-slide.is-active .hero-eyebrow {
  animation: hero-text-slide-down 0.65s cubic-bezier(0.2, 0, 0, 1) 0.1s forwards;
}

.hero-slide.is-active .hero-title {
  animation: hero-text-slide-down 0.65s cubic-bezier(0.2, 0, 0, 1) 0.3s forwards;
}

.hero-slide.is-active .hero-desc {
  animation: hero-text-slide-down 0.65s cubic-bezier(0.2, 0, 0, 1) 0.5s forwards;
}

.hero-slide.is-active .hero-actions {
  animation: hero-btn-bounce 0.55s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.7s forwards;
}

@keyframes hero-text-slide-down {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-btn-bounce {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    transform: scale(1.08);
  }
  70% {
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* 眉题 - Pioneering Infrastructure，复刻 React 版样式 */
.hero-eyebrow {
  display: inline-block;
  padding: 0.375rem 1rem; /* px-4 py-1.5 近似 */
  margin-bottom: 2rem; /* mb-8 */
  font-size: 0.75rem; /* text-xs */
  font-weight: 800; /* font-black */
  letter-spacing: 0.2em; /* tracking-[0.2em] */
  text-transform: uppercase;
  color: #fff;
  background: #2563eb; /* bg-blue-600 */
  border-radius: 9999px; /* rounded-full */
}

/* 标题 - 完全匹配 React 版式 */
.hero-title {
  margin: 0 0 2rem;
  font-size: clamp(2.5rem, 8vw, 4rem); /* text-5xl md:text-8xl approx */
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #fff;
}

.hero-title-main {
  display: block;
}

.hero-title-sub {
  display: block;
  color: #3b82f6; /* text-blue-500 */
}

/* 描述文字，复刻 React 版 text-xl md:text-2xl text-slate-300 mb-12 max-w-2xl leading-relaxed font-medium */
.hero-desc {
  margin: 0 0 3rem; /* mb-12 = 3rem */
  font-size: clamp(1.25rem, 2.5vw, 1.5rem); /* text-xl md:text-2xl approx */
  font-weight: 500; /* font-medium */
  color: #cbd5e1; /* text-slate-300 */
  line-height: 1.625; /* leading-relaxed */
  max-width: 42rem; /* max-w-2xl approx */
}

/* 按钮组 - 复刻 React 版 flex flex-col sm:flex-row gap-6 */
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* 左对齐，与 React 版一致 */
  gap: 1.5rem; /* gap-6 = 1.5rem */
  pointer-events: auto;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
}

/* 按钮样式，完全复刻 React 版（transition 勿用 all，避免误动画 transform 导致字糊） */
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem; /* gap between text and icon */
  padding: 1.25rem 2.5rem; /* px-10 py-5 approx */
  font-weight: 800; /* font-black */
  font-size: 1.125rem; /* text-lg */
  text-decoration: none;
  border-radius: 1rem; /* rounded-2xl */
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, backdrop-filter 0.2s ease;
  cursor: pointer;
  -webkit-font-smoothing: antialiased;
}

/* Primary 按钮：bg-blue-600 hover:bg-blue-700 shadow-blue-600/40 */
.hero-btn-primary {
  background: #2563eb;
  color: #fff;
  border: none;
  box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.4); /* shadow-2xl shadow-blue-600/40 */
}

/* hover/focus/active 须保持 #fff：全局 a:hover 使用 --color-link-hover，与 hover 背景同色会导致字不可见 */
/* 不用 scale：缩放会破坏次像素抗锯齿，Windows 上常见“字发糊/重影” */
.hero-btn-primary:hover {
  background: #1d4ed8; /* hover:bg-blue-700 */
  color: #fff;
  box-shadow: 0 28px 56px -10px rgba(29, 78, 216, 0.5);
}

.hero-btn-primary:focus-visible {
  color: #fff;
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.hero-btn-primary:active {
  color: #fff;
  background: #1e40af;
  box-shadow: 0 18px 40px -12px rgba(30, 64, 175, 0.45);
}

/* Secondary：减弱默认 blur，避免与背后 Ken Burns 动图叠加产生拖影；hover 关 blur 改不透明毛面 */
.hero-btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.26);
  color: #fff; /* 覆盖全局 a:hover 链接着色，保持白字毛玻璃按钮可读 */
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero-btn-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

/* 指示点 */
.hero-dots {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 20;
}

.hero-dot {
  width: 10px;
  height: 6px;
  border-radius: 9999px;
  border: none;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.35);
  transition: width 0.5s ease, background 0.5s ease;
}

.hero-dot.is-active {
  width: 3rem;
  background: #2563eb;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* 左右切换箭头 */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-arrow:active {
  transform: translateY(-50%) scale(0.92);
}

.hero-arrow--prev {
  left: 1rem;
}

.hero-arrow--next {
  right: 1rem;
}

@media (max-width: 768px) {
  .hero-arrow {
    width: 36px;
    height: 36px;
  }
  .hero-arrow svg {
    width: 18px;
    height: 18px;
  }
  .hero-arrow--prev {
    left: 0.5rem;
  }
  .hero-arrow--next {
    right: 0.5rem;
  }
}

@media (min-width: 1025px) and (max-width: 1439px) {
  .hero-arrow {
    width: 44px;
    height: 44px;
  }
}

/* 平板（竖屏/横屏）Hero 优化：下移文案重心并收敛字号与间距 */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-slide {
    align-items: flex-end;
  }

  .hero-slide-content {
    padding: calc(var(--header-h) + 1.2rem) 1.4rem 5.4rem;
  }

  .hero-content-wrapper {
    max-width: 64rem;
  }

  .hero-content-inner {
    max-width: 46rem;
  }

  .hero-eyebrow {
    margin-bottom: 1.25rem;
    font-size: 0.68rem;
  }

  .hero-title {
    margin-bottom: 1.35rem;
    font-size: clamp(2.4rem, 5.4vw, 3.1rem);
    line-height: 1.02;
  }

  .hero-desc {
    margin-bottom: 1.75rem;
    font-size: clamp(1rem, 2.3vw, 1.18rem);
    max-width: 92%;
  }

  .hero-actions {
    gap: 0.9rem;
  }

  .hero-btn {
    padding: 0.9rem 1.4rem;
    font-size: 0.98rem;
    border-radius: 0.8rem;
  }

  .hero-btn-icon {
    width: 20px;
    height: 20px;
  }

  .hero-dots {
    bottom: 1.5rem;
  }
}

/* 中等笔记本（13~14寸常见宽度）Hero 优化：避免标题和按钮在 1366 左右过大 */
@media (min-width: 1025px) and (max-width: 1439px) {
  .hero-slide-content {
    padding: calc(var(--header-h) + 1.6rem) 1.6rem 4.6rem;
  }

  .hero-content-wrapper {
    max-width: 72rem;
  }

  .hero-content-inner {
    max-width: 50rem;
  }

  .hero-title {
    margin-bottom: 1.6rem;
    font-size: clamp(3rem, 4vw, 3.6rem);
    line-height: 0.98;
  }

  .hero-desc {
    margin-bottom: 2.25rem;
    font-size: clamp(1.08rem, 1.85vw, 1.3rem);
    max-width: 40rem;
  }

  .hero-actions {
    gap: 1rem;
  }

  .hero-btn {
    padding: 1rem 1.9rem;
    font-size: 1rem;
    border-radius: 0.9rem;
  }

  .hero-btn-icon {
    width: 22px;
    height: 22px;
  }
}

/* 大屏笔记本（1440/1680）Hero 优化：提升空间利用率并控制字体/按钮尺度 */
@media (min-width: 1440px) and (max-width: 1919px) {
  .hero-slide-content {
    padding: calc(var(--header-h) + 2rem) 2rem 5rem;
  }

  .hero-content-wrapper {
    max-width: 84rem;
  }

  .hero-content-inner {
    max-width: 54rem;
  }

  .hero-title {
    margin-bottom: 1.8rem;
    font-size: clamp(3.5rem, 3.4vw, 4.1rem);
    line-height: 0.94;
  }

  .hero-desc {
    margin-bottom: 2.6rem;
    font-size: clamp(1.15rem, 1.5vw, 1.4rem);
    max-width: 41rem;
  }

  .hero-actions {
    gap: 1.2rem;
  }

  .hero-btn {
    padding: 1.05rem 2.15rem;
    font-size: 1.05rem;
  }
}

/* 移动端 Hero 优化：降低文字视觉重心，缩小字号与按钮，避免遮挡和拥挤 */
@media (max-width: 768px) {
  .hero-slide {
    align-items: flex-end;
  }

  .hero-slide-content {
    padding: calc(var(--header-h) + 0.75rem) 0.9rem 5.25rem;
  }

  .hero-content-wrapper {
    padding-left: 0.2rem;
    padding-right: 0.2rem;
  }

  .hero-content-inner {
    max-width: 100%;
  }

  .hero-eyebrow {
    margin-bottom: 0.9rem;
    padding: 0.28rem 0.75rem;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
  }

  .hero-title {
    margin-bottom: 1rem;
    font-size: clamp(1.7rem, 8.5vw, 2.6rem);
    line-height: 1.06;
    letter-spacing: -0.02em;
  }

  .hero-desc {
    margin-bottom: 1.25rem;
    font-size: clamp(0.9rem, 3.6vw, 1rem);
    line-height: 1.5;
    max-width: 96%;
  }

  .hero-actions {
    gap: 0.7rem;
    width: 100%;
  }

  .hero-btn {
    width: 100%;
    justify-content: center;
    padding: 0.78rem 1rem;
    font-size: 0.92rem;
    border-radius: 0.7rem;
    gap: 0.5rem;
  }

  .hero-btn-icon {
    width: 18px;
    height: 18px;
  }

  .hero-dots {
    bottom: 1.15rem;
    gap: 0.38rem;
  }

  .hero-dot {
    width: 8px;
    height: 5px;
  }

  .hero-dot.is-active {
    width: 2rem;
  }
}

/* 无轮播时的兜底首屏 */
.hero-section-fallback {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 45%, #2563eb 100%);
}

.hero-section-fallback .hero-content-inner {
  opacity: 1;
  transform: none;
}

.hero-section-fallback .hero-eyebrow {
  animation: hero-text-slide-down 0.65s cubic-bezier(0.2, 0, 0, 1) 0.1s both;
}

.hero-section-fallback .hero-title {
  animation: hero-text-slide-down 0.65s cubic-bezier(0.2, 0, 0, 1) 0.3s both;
}

.hero-section-fallback .hero-desc {
  animation: hero-text-slide-down 0.65s cubic-bezier(0.2, 0, 0, 1) 0.5s both;
}

.hero-section-fallback .hero-actions {
  animation: hero-btn-bounce 0.55s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.7s both;
}

/* 减弱动效 */
@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slide-img,
  .hero-content-inner,
  .hero-eyebrow,
  .hero-title,
  .hero-desc,
  .hero-actions {
    transition: none !important;
    animation: none !important;
  }
  .hero-slide.is-active .hero-eyebrow,
  .hero-slide.is-active .hero-title,
  .hero-slide.is-active .hero-desc,
  .hero-slide.is-active .hero-actions {
    opacity: 1;
    transform: none;
  }
  .hero-slide-img {
    transform: scale(1) !important;
  }
}

/* --- 无轮播时首屏渐变兜底 --- */
.home-hero-fallback {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 1.25rem 4rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 45%, var(--color-primary) 100%);
  color: #e2e8f0;
}
.home-hero-fallback-inner {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
/* 与轮播首屏相同的标题层级与配色（无主图时渐变底） */
.home-hero-fallback .carousel-hero-content {
  animation: carousel-hero-content-in 0.8s cubic-bezier(0.2, 0, 0, 1) 0.3s both;
}
.home-hero-fallback .carousel-title-block {
  margin: 0 0 1.5rem;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #fff;
  max-width: 22ch;
}
.home-hero-fallback .carousel-title-accent {
  display: block;
  color: #3b82f6;
  margin-top: 0.15em;
}
.home-hero-fallback .carousel-desc {
  margin: 0 0 2.5rem;
  font-size: clamp(1.05rem, 1.9vw, 1.35rem);
  font-weight: 500;
  color: #cbd5e1;
  line-height: 1.65;
  max-width: 36rem;
}
.home-hero-fallback .carousel-cta-primary {
  padding: 1rem 2.25rem;
  font-weight: 800;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.35);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.home-hero-fallback .carousel-cta-primary:hover {
  transform: scale(1.04);
  color: #fff;
}
.home-hero-fallback .carousel-cta-secondary {
  border-radius: var(--radius-lg);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  font-weight: 800;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}
.home-hero-fallback .carousel-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* --- 关于 + 数据：双栏 --- */
.home-about-split {
  padding: clamp(3rem, 8vw, 6rem) 1.25rem;
  background: var(--color-surface);
}
.home-about-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.home-about-visual {
  position: relative;
  align-self: start;
}
.home-about-img {
  width: 100%;
  height: 440px;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
}
.home-about-badge {
  position: absolute;
  bottom: -1.25rem;
  right: 1rem;
  background: var(--color-surface);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.home-about-badge-num {
  display: block;
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
}
.home-about-badge-label {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-muted);
}
.home-about-title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--color-ink);
}
.home-about-lead {
  margin: 0 0 2rem;
  font-size: 1.1rem;
  color: var(--color-muted);
  line-height: 1.75;
}
.home-about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.home-about-stat-val {
  display: block;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--color-ink);
  letter-spacing: -0.03em;
}
.home-about-stat-lbl {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
}
.home-about-quote {
  margin: 0 0 1.5rem;
  padding: 0.75rem 0 0.75rem 1rem;
  border-left: 4px solid var(--color-primary);
  font-style: italic;
  color: var(--color-muted);
  line-height: 1.7;
}

/* --- 首页热门产品区（与工程案例 teaser 同套版式：居中标题 + home-cases-grid） --- */
.home-teaser-more-link {
  margin: 1rem 0 0;
  text-align: center;
}
.home-product-teaser-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.home-case-media .home-case-media-placeholder {
  width: 100%;
  height: 100%;
  min-height: 100%;
  background: linear-gradient(135deg, #dbeafe 0%, #e2e8f0 100%);
}
.home-products-teaser .home-case-loc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-product-quote-link {
  margin-top: 0.65rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  color: var(--color-primary);
}
.home-product-quote-link:hover {
  text-decoration: underline;
}

/* --- 首页工厂展示 --- */
.home-factory-showcase {
  padding: clamp(3rem, 6vw, 5rem) 1.25rem;
  background: var(--color-surface);
}

.home-factory-head {
  max-width: var(--max);
  margin: 0 auto 2.5rem;
  text-align: center;
}

.home-factory-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.home-factory-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
  transition: transform var(--motion-duration-sm) var(--motion-ease-out);
}

.home-factory-item:hover {
  transform: translateY(-6px);
}

.home-factory-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--motion-ease-out);
}

.home-factory-item:hover .home-factory-img {
  transform: scale(1.06);
}

@media (max-width: 960px) {
  .home-factory-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .home-factory-grid {
    grid-template-columns: 1fr;
  }
}

/* --- 首页优势区域 --- */
.home-benefits-split {
  padding: clamp(3rem, 8vw, 6rem) 1.25rem;
  background: var(--color-surface);
}
.home-benefits-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.home-benefits-heading {
   margin: 0.5rem 0 1.25rem;
   font-size: clamp(1.25rem, 2vw, 1.6rem);
   font-weight: 700;
   letter-spacing: -0.02em;
   color: var(--color-ink);
   line-height: 1.3;
 }
.home-benefits-desc {
  margin: 0 0 2rem;
  font-size: 1rem;
  color: var(--color-muted);
  line-height: 1.75;
}
.home-benefits-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.home-benefits-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #f8fafc;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-line);
  transition: box-shadow var(--motion-duration-sm) var(--motion-ease-standard);
}
.home-benefits-item:hover {
  box-shadow: var(--shadow-md);
}
.home-benefits-item-num {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  border-radius: var(--radius-sm);
}
.home-benefits-item-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-ink);
  line-height: 1.5;
  padding-top: 0.4rem;
}
.home-benefits-visual {
  align-self: start;
}
.home-benefits-img {
  width: 100%;
  height: 480px;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
}

@media (max-width: 720px) {
  .home-benefits-inner {
    grid-template-columns: 1fr;
  }
  .home-benefits-img {
    height: 320px;
  }
}

/* --- 首页公司简介 --- */
.home-company-intro {
  padding: clamp(3rem, 6vw, 5rem) 1.25rem;
  background: #f8fafc;
}

.home-company-intro-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.home-company-intro-split {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
}

.home-company-intro-main {
  min-width: 0;
}

.home-company-intro-head {
  margin-bottom: 2rem;
}

.home-company-intro-body {
  max-width: none;
  margin: 0 0 2rem;
}

/* --- 首页 FAQ --- */
.home-company-intro-faq {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-line);
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.home-faq-head {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--color-line);
}

.home-faq-heading {
  margin: 0 0 0.25rem;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

.home-faq-sub {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.home-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.home-faq-item {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow var(--motion-duration-sm) var(--motion-ease-standard);
}

.home-faq-item[open] {
  box-shadow: var(--shadow-sm);
}

.home-faq-q {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-ink);
  cursor: pointer;
  user-select: none;
  transition: background var(--motion-duration-xs) var(--motion-ease-standard);
}

.home-faq-q::-webkit-details-marker {
  display: none;
}

.home-faq-q::after {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-left: 0.75rem;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform var(--motion-duration-sm) var(--motion-ease-standard);
}

.home-faq-item[open] .home-faq-q::after {
  transform: rotate(180deg);
}

.home-faq-q:hover {
  background: var(--color-bg);
}

.home-faq-a {
  margin: 0;
  padding: 0 1rem 1rem;
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.7;
}

@media (max-width: 860px) {
  .home-company-intro-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .home-company-intro-faq {
    position: static;
    order: -1;
  }
}

.home-company-intro-body p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.8;
  text-align: left;
}

.home-company-intro-body p:last-child {
  margin-bottom: 0;
}

.home-about-stat-icon {
  color: #2563eb;
  margin-bottom: 0.5rem;
}

.home-company-intro-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 0 0 2rem;
}

@media (max-width: 600px) {
  .home-company-intro-stats {
    grid-template-columns: 1fr 1fr;
  }
}

.home-company-intro-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.home-section-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  border-left: 6px solid var(--color-primary);
  padding-left: 1rem;
}
.home-section-title--center {
  border-left: none;
  padding-left: 0;
  text-align: center;
}
.home-section-lead {
  margin: 0;
  color: var(--color-muted);
  font-size: 1rem;
  max-width: 36rem;
}
.home-section-lead--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.home-section-more {
  font-weight: 800;
  text-decoration: none;
  color: var(--color-primary);
  white-space: nowrap;
}
.home-section-more:hover {
  text-decoration: underline;
}

/* --- 案例 teaser --- */
.home-cases-teaser {
  padding: clamp(3rem, 6vw, 5rem) 1.25rem;
  background: var(--color-surface);
}
.home-cases-head {
  max-width: var(--max);
  margin: 0 auto 2.5rem;
  text-align: center;
}
.home-cases-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.home-case-card {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform var(--motion-duration-sm) var(--motion-ease-out);
}
.home-case-card:hover {
  transform: translateY(-8px);
}
.home-case-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-md);
  background: var(--color-bg-alt, #f1f5f9);
}
.home-case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--motion-ease-out);
}
.home-case-card:hover .home-case-media img {
  transform: scale(1.04);
}
.home-case-title {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.3;
}
.home-case-card:hover .home-case-title {
  color: var(--color-primary);
}
.home-case-loc {
  margin: 0;
  font-size: 0.82rem;
  color: var(--color-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- 首页科学技术卡片区 --- */
.home-tech-section {
  padding: clamp(3rem, 7vw, 5rem) 1.25rem;
  background: var(--color-bg-alt, #f8fafc);
}
.home-tech-card {
  background: var(--color-bg, #fff);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  transition: transform var(--motion-duration-sm) var(--motion-ease-out), box-shadow var(--motion-duration-sm) var(--motion-ease-out);
}
.home-tech-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.home-tech-tag {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 10%, transparent);
  border-radius: 999px;
}
.home-tech-card-title {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--color-heading);
}
.home-tech-card-desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-muted);
}

/* --- 询价 CTA 横条 --- */
.home-inquiry-cta {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6rem) 1.25rem;
  background: #0f172a;
  color: #e2e8f0;
  overflow: hidden;
}
.home-inquiry-cta::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(37, 99, 235, 0.12));
  transform: skewX(-12deg) translateX(30%);
  pointer-events: none;
}
.home-inquiry-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.home-inquiry-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
}
.home-inquiry-lead {
  margin: 0;
  max-width: 36rem;
  color: #94a3b8;
  font-size: 1.05rem;
  line-height: 1.65;
}
.home-inquiry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.home-inquiry-outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.home-inquiry-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.home-md-section {
  background: #f1f5f9;
}
.home-aside-panel {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* --- 页脚（多栏） --- */
.site-footer--wbd {
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-wbd-accent {
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.7), transparent);
  opacity: 0.6;
}
.footer-inner--wbd {
  max-width: var(--max);
  padding: clamp(3rem, 6vw, 5rem) 1.25rem 2rem;
}
.footer-wbd-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  margin-bottom: 3rem;
}
.footer-wbd-logo {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-footer-heading);
  margin-bottom: 1rem;
}
.footer-wbd-desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--color-footer-text);
  max-width: 28rem;
}
.footer-wbd-heading {
  margin: 0 0 1.25rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #64748b;
}
.footer-wbd-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-wbd-list li {
  margin-bottom: 0.65rem;
}
.footer-wbd-list a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
}
.footer-wbd-list a:hover {
  color: #60a5fa;
}
.footer-wbd-qr-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-wbd-qr-img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  background: #fff;
  padding: 0.25rem;
  box-shadow: 0 2px 4px -1px rgb(0 0 0 / 0.1);
}

.footer-wbd-qr-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  margin: 0;
}

.footer-wbd-qr-hint {
  font-size: 0.7rem;
  line-height: 1.35;
  color: #64748b;
  margin: 0;
  max-width: 12rem;
}

.footer-wbd-qr-btn {
  display: inline-block;
  text-align: left;
}

.footer-wbd-qr {
  width: 5rem;
  height: 5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-wbd-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-wbd-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #94a3b8;
}

.footer-wbd-contact-item svg {
  color: #60a5fa;
  flex-shrink: 0;
}
.footer-wbd-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}
.footer-wbd-copy {
  margin: 0;
  flex: 1;
  min-width: 12rem;
}
.footer-wbd-legal {
  display: flex;
  gap: 1.25rem;
}
.footer-wbd-legal a {
  color: #64748b;
  text-decoration: none;
}
.footer-wbd-legal a:hover {
  color: #e2e8f0;
}

/* --- 产品列表 / 详情（目录页） --- */
.catalog-page-wbd {
  background: #f1f5f9;
}
.catalog-page-wbd .catalog-hero {
  display: none;
}
.catalog-page-wbd .catalog-crumbs {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-line);
}
.catalog-page-wbd .catalog-sidebar-block {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-line);
}
.catalog-page-wbd .catalog-sidebar-title {
  font-weight: 900;
  letter-spacing: -0.02em;
}
.catalog-page-wbd .catalog-sidebar-cta {
  background: linear-gradient(145deg, var(--color-primary), #1d4ed8);
  color: #fff;
  border: none;
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.25);
}
.catalog-page-wbd .catalog-sidebar-cta .catalog-sidebar-title {
  color: #fff;
}
.catalog-page-wbd .catalog-sidebar-cta .catalog-sidebar-lead {
  color: rgba(255, 255, 255, 0.88);
}
.catalog-page-wbd .btn-catalog-chat {
  background: #fff;
  color: var(--color-primary);
  font-weight: 800;
  border-radius: var(--radius-pill);
}
.product-card-grid .product-tile {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--motion-duration-sm) var(--motion-ease-out),
    transform var(--motion-duration-sm) var(--motion-ease-out);
}
.product-card-grid .product-tile:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}
.product-card-grid .product-tile-media {
  aspect-ratio: 16 / 10;
}
.product-card-grid .product-tile-title {
  font-weight: 800;
}

.product-detail-wbd .breadcrumb {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.product-detail-wbd .product-showcase-stage-wrap {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: none;
}
.product-detail-wbd .product-showcase-title {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}
.product-detail-wbd .product-showcase-cta {
  border-radius: var(--radius-lg);
  font-weight: 800;
  padding: 0.85rem 1.5rem;
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.25);
}

/* --- 联系页 --- */
.contact-page-wbd .contact-panel {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-line);
  padding: 2rem;
  background: var(--color-surface);
}
.contact-page-wbd .contact-form input,
.contact-page-wbd .contact-form textarea {
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  border: none;
  background: #f1f5f9;
}
.contact-page-wbd .contact-form input:focus,
.contact-page-wbd .contact-form textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 0;
}
.contact-page-wbd .btn-primary {
  border-radius: var(--radius-lg);
  font-weight: 800;
}

/* --- 顶栏 mega 下拉：更圆润 --- */
.nav-children--cascade {
  min-width: min(700px, 94vw);
  padding: 1rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}
.nav-item--mega .nav-children--cascade > li > a {
  font-weight: 800;
  border-bottom: 1px solid var(--color-line);
  padding-bottom: 0.5rem;
  margin-bottom: 0.35rem;
}
/* --- 内页统一：灰底 + 面包屑 + 内容卡片（与页脚/顶栏导航标签一致） --- */
.page-inner .main {
  background: #f1f5f9;
}

.wbd-crumbs {
  max-width: 80rem;
  margin: 0 auto 1.25rem;
  padding: 0.85rem 1.15rem;
  font-size: 0.9rem;
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
}
.wbd-crumbs a {
  color: #64748b;
  font-weight: 500;
  text-decoration: none;
}
.wbd-crumbs a:hover {
  color: #2563eb;
}
.wbd-crumbs-sep {
  color: #94a3b8;
  font-weight: 400;
  opacity: 0.85;
}
.wbd-crumbs-current {
  font-weight: 700;
  color: #2563eb;
}

.inner-page-wbd {
  padding: 1.5rem 1.25rem 2.5rem;
  max-width: 80rem;
  margin: 0 auto;
}
.inner-page-wbd .wbd-crumbs {
  margin: 0 0 1.25rem;
  max-width: 100%;
  box-sizing: border-box;
}
.inner-page-shell {
  max-width: 100%;
  margin: 0;
}
.inner-page-header {
  margin-bottom: 1.5rem;
}
.inner-page-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--color-ink);
  line-height: 1.1;
}
.inner-page-lead {
  margin: 0;
  font-size: 1.05rem;
  color: var(--color-muted);
  line-height: 1.65;
}
.inner-page-cta {
  margin: 2rem 0 0;
}
.inner-page-cta .btn-lg {
  border-radius: var(--radius-lg);
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
}
.inner-page-empty {
  padding: 3rem 1rem;
  text-align: center;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--color-line);
}

.inner-prose-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-md);
  padding: 1.75rem 2rem 2rem;
}
.inner-prose-card .content > *:first-child {
  margin-top: 0;
}
.inner-prose-card--flush {
  padding: 1.5rem 1.65rem;
}

.article-list-back {
  margin: 0 0 1.25rem;
}
.article-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.article-card-wbd {
  margin: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  height: 350px;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--motion-duration-sm) var(--motion-ease-out),
    transform var(--motion-duration-sm) var(--motion-ease-out);
}
.article-card-wbd:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}
.article-card-wbd-media {
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--color-bg-alt, #f1f5f9);
}
.article-card-wbd-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.6s var(--motion-ease-out);
}
.article-card-wbd:hover .article-card-wbd-media img {
  transform: scale(1.04);
}
.article-card-wbd-link {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.25rem 1.25rem;
  flex: 1;
  min-height: 0;
  text-decoration: none;
  color: inherit;
}
.article-card-wbd-date {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}
.article-card-wbd-title {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}
.article-card-wbd-link:hover .article-card-wbd-title {
  color: var(--color-primary);
}
.article-card-wbd-summary {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--color-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  min-height: 0;
}
.article-card-wbd-cta {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-top: auto;
}

.article-detail-header .article-detail-meta {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-muted);
}
.article-media-wbd {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.article-media-fig {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  max-width: 100%;
}
.article-media-fig img {
  display: block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
.article-media-video {
  font-size: 0.9rem;
  word-break: break-all;
  padding: 1rem;
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
}
.article-body-wbd {
  margin-top: 0;
}

.contact-layout-wbd {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 400px);
  gap: 1.75rem;
  align-items: start;
}
.contact-layout-wbd .contact-panel {
  margin: 0;
}

/* 产品详情外包一层内页灰底时，顶栏轮播区留白一致 */
.product-detail-wbd.inner-page-wbd {
  padding-top: 0.5rem;
}
.product-detail-wbd > .wbd-crumbs {
  margin-bottom: 1rem;
}

@media (max-width: 960px) {
  .home-about-inner {
    grid-template-columns: 1fr;
  }
  .footer-wbd-grid {
    grid-template-columns: 1fr 1fr;
  }
  .home-cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-layout-wbd {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .footer-wbd-grid {
    grid-template-columns: 1fr;
  }
  .home-cases-grid {
    grid-template-columns: 1fr;
  }
  body.page-home .nav-toggle {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
  }
  body.page-home .site-header:not(.is-solid) .nav-toggle span {
    background: #fff;
  }
  body.page-home .site-header.is-solid .nav-toggle {
    border-color: var(--color-line);
    background: #f1f5f9;
  }
  body.page-home .site-header.is-solid .nav-toggle span {
    background: var(--color-ink);
  }
  body.page-home .nav.is-open {
    animation: nav-mobile-panel-in 0.35s cubic-bezier(0.2, 0, 0, 1) both;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
  body.page-home .nav.is-open .nav-link {
    color: #0f172a;
  }
  body.page-home .nav.is-open .nav-chevron {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%230f172a' stroke-width='1.5' stroke-linecap='round' d='M1 1.5L6 6l5-4.5'/%3E%3C/svg%3E");
  }
  /* 移动端导航打开时页面禁止滚动 */
  body.nav-is-open {
    overflow: hidden;
    touch-action: none;
  }
}

/* ============================================================================
 * 产品列表页：完全复刻 wanbangda-project/src/components/ProductList.tsx
 * 参考：pt-24 min-h-screen bg-slate-50, max-w-7xl mx-auto px-4 sm:px-6 lg:px-8
 * ============================================================================ */

.products-page {
  min-height: 100vh;
  background: #f8fafc;
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}

.products-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .products-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .products-container {
    padding: 0 2rem;
  }
}

/* 面包屑导航：白色卡片、圆角、阴影 */
.products-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 3rem;
  padding: 1rem 1.5rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.05);
  overflow-x: auto;
  white-space: nowrap;
}

.breadcrumb-item {
  color: #64748b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.breadcrumb-item:hover {
  color: #2563eb;
}

.breadcrumb-item.is-active {
  color: #2563eb;
  font-weight: 700;
}

.breadcrumb-sep {
  color: #cbd5e1;
  flex-shrink: 0;
}

/* 主布局：flex flex-col lg:flex-row gap-12 */
.products-layout {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .products-layout {
    flex-direction: row;
  }
}

/* 侧边栏：lg:w-72 flex-shrink-0 */
.products-sidebar {
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .products-sidebar {
    width: 20rem;
    position: sticky;
    top: 6rem;
    align-self: flex-start;
  }
}

/* 筛选卡片：bg-white rounded-3xl p-6 shadow-xl shadow-slate-200/50 */
.products-filter-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.05);
  margin-bottom: 2rem;
}

.products-filter-title {
  font-size: 1.125rem;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.products-filter-icon {
  color: #2563eb;
}

/* 分类列表 */
.products-category-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.products-category-item {
  display: flex;
  flex-direction: column;
}

.products-category-header {
  display: flex;
  align-items: center;
  border-radius: 12px;
  transition: all 0.2s ease;
  overflow: hidden;
}

.products-category-header:hover {
  background: #f8fafc;
}

.products-category-header.is-active {
  background: #eff6ff;
  color: #2563eb;
}

.products-category-name {
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #475569;
  text-decoration: none;
  transition: color 0.15s ease;
}

.products-category-header:hover .products-category-name,
.products-category-header.is-active .products-category-name {
  color: #2563eb;
}

.products-category-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s ease;
}

.products-category-toggle:hover {
  color: #2563eb;
}

.products-category-toggle svg {
  transition: transform 0.2s ease;
}

.products-category-toggle.is-expanded svg {
  transform: rotate(180deg);
}

/* 子分类列表 */
.products-subcategory-list {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding-left: 1rem;
  margin-top: 0.25rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.products-subcategory-list.is-expanded {
  display: flex;
}

.products-subcategory-item {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.products-subcategory-item:hover {
  background: #f8fafc;
  color: #2563eb;
}

.products-subcategory-item.is-active {
  background: #dbeafe;
  color: #2563eb;
}

/* 侧边栏产品项（在分类下列出的产品） */
.products-subcategory-product {
  position: relative;
  font-weight: 500;
  color: #475569;
  background: transparent;
  padding-left: 1.25rem;
}

.products-subcategory-product::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: #94a3b8;
  border-radius: 50%;
}

.products-subcategory-product:hover {
  background: #f1f5f9;
  color: #1d4ed8;
}

.products-subcategory-product-nested {
  margin-left: 0.75rem;
  padding-left: 1rem;
  font-size: 0.7rem;
}

/* 促销卡片：bg-blue-600 rounded-3xl p-8 text-white */
.products-promo-card {
  background: #2563eb;
  border-radius: 24px;
  padding: 2rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.25);
}

.products-promo-icon {
  position: absolute;
  top: 0;
  right: 0;
  padding: 1rem;
  opacity: 0.1;
  transition: transform 0.3s ease;
}

.products-promo-card:hover .products-promo-icon {
  transform: scale(1.25);
}

.products-promo-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  position: relative;
  z-index: 1;
}

.products-promo-text {
  font-size: 0.875rem;
  color: #bfdbfe;
  margin: 0 0 1.5rem 0;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.products-promo-btn {
  display: inline-block;
  background: #ffffff;
  color: #2563eb;
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 900;
  text-decoration: none;
  position: relative;
  z-index: 1;
  transition: transform 0.15s ease;
}

.products-promo-btn:hover {
  transform: scale(1.05);
}

.products-promo-btn:active {
  transform: scale(0.95);
}

/* 主内容区 */
.products-main {
  flex: 1;
}

/* 标题栏 */
.products-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 3rem;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .products-header {
    flex-direction: row;
    align-items: flex-end;
  }
}

.products-header-title h1 {
  font-size: 2.25rem;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 1rem 0;
}

.products-title-bar {
  width: 3rem;
  height: 0.375rem;
  background: #2563eb;
  border-radius: 9999px;
}

/* 视图切换按钮 */
.products-view-toggle {
  display: flex;
  background: #ffffff;
  padding: 0.25rem;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.products-view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  background: transparent;
  color: #94a3b8;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.products-view-btn:hover {
  color: #64748b;
}

.products-view-btn.is-active {
  background: #f1f5f9;
  color: #2563eb;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.05);
}

/* 产品容器 - 支持 grid/list 两种视图 */
.products-content {
  display: grid;
  gap: 2rem;
}

/* 网格视图 (默认) */
.products-content.is-grid {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .products-content.is-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 列表视图 */
.products-content.is-list {
  grid-template-columns: 1fr;
}

/* 产品卡片 - 网格视图样式 */
.products-content.is-grid .product-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.05);
  transition: box-shadow 0.3s ease;
}

.products-content.is-grid .product-card:hover {
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
}

.products-content.is-grid .product-card-media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.products-content.is-grid .product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.products-content.is-grid .product-card:hover .product-card-media img {
  transform: scale(1.1);
}

.products-content.is-grid .product-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #dbeafe 0%, #e2e8f0 100%);
}

.products-content.is-grid .product-card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 产品卡片 - 列表视图样式（水平布局） */
.products-content.is-list .product-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.05);
  transition: box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .products-content.is-list .product-card {
    flex-direction: row;
    height: 16rem;
  }
}

.products-content.is-list .product-card:hover {
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
}

.products-content.is-list .product-card-media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .products-content.is-list .product-card-media {
    aspect-ratio: auto;
    width: 18rem;
    height: 100%;
  }
}

.products-content.is-list .product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.products-content.is-list .product-card:hover .product-card-media img {
  transform: scale(1.1);
}

.products-content.is-list .product-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #dbeafe 0%, #e2e8f0 100%);
}

.products-content.is-list .product-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

/* 产品卡片通用元素 */
.product-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.75rem 0;
}

.product-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.product-card-title a:hover {
  color: #2563eb;
}

.product-card-summary {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0 0 1.5rem 0;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 列表视图允许更多行数 */
.products-content.is-list .product-card-summary {
  -webkit-line-clamp: 3;
}

.product-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: #2563eb;
  font-weight: 700;
  text-decoration: none;
  transition: gap 0.15s ease;
  margin-top: auto;
  align-self: flex-start;
}

.product-card-link:hover {
  gap: 0.5rem;
}

/* 空状态 */
.products-empty {
  background: #ffffff;
  border-radius: 24px;
  padding: 8rem 2rem;
  text-align: center;
  box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.products-empty svg {
  color: #e2e8f0;
  margin-bottom: 1.5rem;
}

.products-empty p {
  font-size: 1.125rem;
  color: #94a3b8;
  font-weight: 500;
  margin: 0 0 1.5rem 0;
}

.products-empty a {
  color: #2563eb;
  font-weight: 700;
  text-decoration: none;
}

.products-empty a:hover {
  text-decoration: underline;
}

/* ============================================================================
 * 产品详情页：完全复刻 wanbangda-project/src/components/ProductDetail.tsx
 * ============================================================================ */

.product-detail-page {
  min-height: 100vh;
  background: #ffffff;
  padding: 1.5rem 0 4rem;
}

.product-detail-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .product-detail-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .product-detail-container {
    padding: 0 2rem;
  }
}

/* 面包屑导航 */
.product-detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.625rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
  margin-bottom: 3rem;
}

.product-detail-breadcrumb a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s ease;
}

.product-detail-breadcrumb a:hover {
  color: #2563eb;
}

.product-detail-breadcrumb .is-current {
  color: #0f172a;
  border-bottom: 2px solid #2563eb;
  padding-bottom: 0.25rem;
}

/* 主展示区：两列布局 */
.product-detail-showcase {
  display: grid;
  gap: 5rem;
  align-items: start;
  margin-bottom: 8rem;
}

@media (min-width: 1024px) {
  .product-detail-showcase {
    grid-template-columns: 1fr 1fr;
  }
}

/* 左侧媒体区 */
.product-detail-media {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .product-detail-media {
    position: sticky;
    top: 8rem;
  }
}

/* 主图展示区域 - 固定宽度，不随缩略图数量变化 */
.product-detail-stage {
  position: relative;
  width: 100%; /* 容器宽度100% */
  max-width: 600px; /* 最大宽度固定为600px */
  aspect-ratio: 4 / 3; /* 保持4:3宽高比 */
  border-radius: 48px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(15, 23, 42, 0.05);
  flex-shrink: 0; /* 防止被压缩 */
}

/* 响应式调整 */
@media (max-width: 1024px) {
  .product-detail-stage {
    max-width: 500px;
  }
}

@media (max-width: 640px) {
  .product-detail-stage {
    width: 85%;
    max-width: 360px;
    margin: 0 auto;
    border-radius: 24px;
    aspect-ratio: 4 / 3;
  }
  .product-detail-thumbs-wrapper {
    width: 85%;
    max-width: 360px;
    margin: 0 auto;
  }
}

.product-detail-stage-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
}

.product-detail-stage-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-detail-stage:hover .product-detail-stage-inner img {
  transform: scale(1.02);
}

/* 左右切换按钮 */
.product-detail-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: none;
  border-radius: 50%;
  color: #0f172a;
  cursor: pointer;
  opacity: 0;
  transition: all 0.2s ease;
  z-index: 10;
}

.product-detail-stage:hover .product-detail-nav {
  opacity: 1;
}

.product-detail-nav:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

.product-detail-prev {
  left: 1rem;
}

.product-detail-next {
  right: 1rem;
}

/* 缩略图条 */
.product-detail-thumbs {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}

.product-detail-thumbs::-webkit-scrollbar {
  display: none;
}

/* 移动端缩略图触摸滑动优化 */
@media (max-width: 768px) {
  .product-detail-thumbs {
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.75rem;
  }
  .product-detail-thumb {
    scroll-snap-align: start;
    -webkit-tap-highlight-color: transparent;
  }
  .product-detail-thumb:active {
    transform: scale(0.92);
  }
  /* 移动端主图触摸优化 */
  .product-detail-stage {
    touch-action: pan-y pinch-zoom;
    -webkit-tap-highlight-color: transparent;
  }
  .product-detail-stage-inner img {
    pointer-events: none; /* 防止图片拖动 */
  }
}

.product-detail-thumb {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  padding: 0;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.2s ease;
  background: #f1f5f9;
}

.product-detail-thumb:hover {
  opacity: 1;
  transform: scale(1.05);
}

.product-detail-thumb.is-active {
  opacity: 1;
  box-shadow: 0 0 0 4px #2563eb, 0 0 0 8px #ffffff;
  transform: scale(0.95);
}

.product-detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-thumb-video {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #0f172a;
  color: #ffffff;
  gap: 0.25rem;
}

.product-detail-thumb-video span {
  font-size: 0.625rem;
  font-weight: 900;
  text-transform: uppercase;
}

/* 缩略图条容器 - 带左右导航，宽度与主图区域一致 */
.product-detail-thumbs-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  width: 100%;
  max-width: 600px; /* 与主图区域宽度一致 */
}

/* 响应式调整 - 与主图区域保持一致 */
@media (max-width: 1024px) {
  .product-detail-thumbs-wrapper {
    max-width: 500px;
  }
}

@media (max-width: 640px) {
  .product-detail-thumbs-wrapper {
    max-width: 100%;
  }
}

/* 缩略图左右导航按钮 */
.product-detail-thumbs-nav {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  flex-shrink: 0;
  padding: 0;
}

/* 缩略图数量超过6个时显示导航按钮 */
.product-detail-thumbs-wrapper.has-many .product-detail-thumbs-nav {
  opacity: 1;
  visibility: visible;
}

.product-detail-thumbs-nav:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

.product-detail-thumbs-nav:disabled,
.product-detail-thumbs-nav.is-disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.product-detail-thumbs-nav:disabled:hover,
.product-detail-thumbs-nav.is-disabled:hover {
  background: #ffffff;
  color: #0f172a;
  border-color: #e2e8f0;
}

/* 缩略图区域滚动容器 */
.product-detail-thumbs-wrapper.has-many .product-detail-thumbs {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* 右侧信息区 */
.product-detail-info {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* 分类标签 */
.product-detail-tag {
  display: inline-block;
  width: fit-content;
  padding: 0.25rem 0.75rem;
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #dbeafe;
  border-radius: 9999px;
  font-size: 0.625rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* 产品名称 */
.product-detail-name {
  font-size: 3rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

@media (min-width: 768px) {
  .product-detail-name {
    font-size: 3.5rem;
  }
}

/* 简短描述 */
.product-detail-summary {
  font-size: 1.25rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* CTA 按钮 */
.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.product-detail-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: #2563eb;
  color: #ffffff !important;
  border-radius: 16px;
  font-weight: 900;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.3);
  transition: all 0.15s ease;
}

.product-detail-cta:hover {
  background: #1d4ed8;
  color: #ffffff !important;
  transform: scale(1.02);
}

.product-detail-cta:active {
  transform: scale(0.98);
}

/* 三大特点 - 一行最多3个，自动平均分配 */
.product-detail-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid #e2e8f0;
}

/* 当只有1-2个特点时，平均分配宽度 */
.product-detail-features:has(.product-detail-feature:nth-child(1):last-child) {
  grid-template-columns: 1fr;
}

.product-detail-features:has(.product-detail-feature:nth-child(2):last-child) {
  grid-template-columns: repeat(2, 1fr);
}

.product-detail-feature {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* 图标和标签行 - 横向排列 */
.product-detail-feature-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.15rem;
}

.product-detail-feature svg {
  color: #2563eb;
  flex-shrink: 0;
}

.product-detail-feature-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2563eb;
  margin: 0;
  line-height: 1.2;
}

.product-detail-feature-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  margin: 0;
  line-height: 1.3;
  padding-left: 2.25rem;
}

/* 规格区 */
.product-detail-specs {
  margin-top: 8rem;
  padding-top: 5rem;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

@media (min-width: 768px) {
  .product-detail-specs {
    flex-direction: row;
  }
}

/* 规格区网格内标题 */
.product-detail-specs-grid-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem 0;
  padding-bottom: 1rem;
  border-bottom: 2px solid #2563eb;
  text-align: left;
}

.product-detail-specs-header {
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .product-detail-specs-header {
    width: 33.333%;
  }
}

.product-detail-specs-header h2 {
  font-size: 2.25rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem 0;
}

.product-detail-specs-header h2 span {
  color: #2563eb;
}

.product-detail-specs-bar {
  width: 3rem;
  height: 0.375rem;
  background: #2563eb;
  border-radius: 9999px;
  margin-bottom: 2rem;
}

.product-detail-specs-header p {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

.product-detail-specs-content {
  flex: 1;
}

.product-detail-specs-grid {
  background: #f8fafc;
  border-radius: 48px;
  padding: 2.5rem 3rem;
  box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.05);
}

@media (min-width: 768px) {
  .product-detail-specs-grid {
    padding: 4rem;
  }
}

/* 规格项（如果 specSidebarHtml 中有 dl/dt/dd 结构） */
.product-detail-specs-grid dl {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .product-detail-specs-grid dl {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 3rem;
  }
}

.product-detail-specs-grid dt {
  font-size: 0.625rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.product-detail-specs-grid dd {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

/* 规格区 Markdown 表格样式 */
.product-detail-specs-grid table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 0;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
}

.product-detail-specs-grid th,
.product-detail-specs-grid td {
  border: 1px solid #e2e8f0;
  padding: 0.75rem 1rem;
  text-align: left;
}

.product-detail-specs-grid th {
  background: #f1f5f9;
  font-weight: 700;
  color: #0f172a;
  text-align: left;
}

.product-detail-specs-grid tr:nth-child(even) {
  background: #f8fafc;
}

.product-detail-specs-grid tr:hover {
  background: #f1f5f9;
}

/* 详情描述区 */
.product-detail-body {
  margin-top: 8rem;
}

.product-detail-body-title {
  font-size: 2.25rem;
  font-weight: 900;
  color: #0f172a;
  text-align: center;
  letter-spacing: -0.02em;
  margin: 0 0 3rem 0;
}

.product-detail-body-card {
  background: #ffffff;
  border-radius: 48px;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .product-detail-body-card {
    padding: 3rem 4rem;
  }
}

.product-detail-body-text {
  font-size: 1.125rem;
  color: #475569;
  line-height: 1.8;
}

.product-detail-body-text p {
  margin: 0 0 1rem 0;
}

.product-detail-body-text p:last-child {
  margin-bottom: 0;
}
.product-detail-body-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .product-detail-body-features {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-detail-body-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: #eff6ff;
  border-radius: 16px;
  color: #1e40af;
  font-weight: 700;
  font-size: 0.875rem;
}

.product-detail-body-feature svg {
  color: #2563eb;
  flex-shrink: 0;
}

/* 返回按钮 */
.product-detail-back {
  margin-top: 5rem;
  text-align: center;
}

.product-detail-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #64748b;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s ease;
}

.product-detail-back-link:hover {
  color: #2563eb;
}

/* ============================================================================
 * 产品详情页 - 移动端优化
 * ============================================================================ */
@media (max-width: 768px) {
  .product-detail-page {
    padding-top: 1rem;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }
  .product-detail-container {
    padding: 0 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  /* 面包屑优化 */
  .products-breadcrumb {
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  .products-breadcrumb::-webkit-scrollbar {
    height: 4px;
  }
  .products-breadcrumb::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
  }
  /* 主展示区改为单列 */
  .product-detail-showcase {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 4rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  /* 媒体区优化 */
  .product-detail-media {
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .product-detail-stage {
    border-radius: 24px;
    width: 85%;
    max-width: 400px;
    margin: 0 auto;
    aspect-ratio: 4 / 3;
    overflow: hidden;
  }
  .product-detail-nav {
    width: 36px;
    height: 36px;
    opacity: 1;
    background: rgba(255, 255, 255, 0.95);
  }
  .product-detail-prev { left: 0.5rem; }
  .product-detail-next { right: 0.5rem; }
  /* 缩略图优化 */
  .product-detail-thumbs-wrapper {
    width: 85%;
    max-width: 400px;
    margin: 0 auto;
    gap: 0.5rem;
  }
  .product-detail-thumbs {
    gap: 0.75rem;
  }
  .product-detail-thumb {
    width: 52px;
    height: 52px;
    border-radius: 10px;
  }
  .product-detail-thumbs-nav {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
  }
  .product-detail-thumb.is-active {
    box-shadow: 0 0 0 3px #2563eb, 0 0 0 6px #ffffff;
  }
  /* 信息区优化 */
  .product-detail-info {
    gap: 1.75rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .product-detail-tag {
    font-size: 0.625rem;
    padding: 0.25rem 0.6rem;
  }
  .product-detail-name {
    font-size: 2rem;
    line-height: 1.15;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .product-detail-summary {
    font-size: 1.1rem;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .product-detail-actions {
    flex-direction: column;
    gap: 0.75rem;
  }
  .product-detail-cta {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
  /* 产品特点优化 */
  .product-detail-features {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
    padding-top: 1.5rem;
  }
  .product-detail-feature-header svg {
    width: 24px;
    height: 24px;
  }
  .product-detail-feature-label {
    font-size: 0.7rem;
  }
  .product-detail-feature-value {
    font-size: 0.85rem;
    padding-left: 2rem;
  }
  /* 规格区优化 */
  .product-detail-specs {
    margin-top: 4rem;
    padding-top: 3rem;
    gap: 2rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .product-detail-specs-grid-title {
    font-size: 1.5rem;
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
  }
  .product-detail-specs-grid {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .product-detail-specs-grid table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    font-size: 0.9rem;
  }
  .product-detail-specs-grid th,
  .product-detail-specs-grid td {
    padding: 0.75rem;
  }
  /* 详情描述区优化 */
  .product-detail-body {
    margin-top: 4rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .product-detail-body-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .product-detail-body-card {
    border-radius: 24px;
    padding: 1.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  .product-detail-body-text {
    font-size: 1rem;
    line-height: 1.7;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .product-detail-body-text img {
    max-width: 100%;
    height: auto;
  }
  .product-detail-body-text table {
    font-size: 0.9rem;
  }
  .product-detail-body-text th,
  .product-detail-body-text td {
    padding: 0.65rem;
    font-size: 0.85rem;
  }
  .product-detail-body-features {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .product-detail-body-feature {
    padding: 0.875rem;
    font-size: 0.8rem;
  }
  /* 返回按钮优化 */
  .product-detail-back {
    margin-top: 3rem;
  }
}

@media (max-width: 480px) {
  .product-detail-container {
    padding: 0 0.75rem;
  }
  .product-detail-name {
    font-size: 1.75rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .product-detail-summary {
    font-size: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .product-detail-stage {
    width: 90%;
    max-width: 320px;
    border-radius: 20px;
    aspect-ratio: 4 / 3;
  }
  .product-detail-thumbs-wrapper {
    width: 90%;
    max-width: 320px;
  }
  .product-detail-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
  }
  .product-detail-thumbs {
    gap: 0.5rem;
  }
  .product-detail-body-card {
    padding: 1.25rem;
    border-radius: 20px;
  }
  .product-detail-specs-grid-title,
  .product-detail-body-title {
    font-size: 1.5rem;
  }
}

/* 活动首页：新闻/案例标签 + 嵌入列表（与独立列表页复用 .news-section / .cases-section） */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.events-hub-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.events-hub-tab {
  padding: 0.6rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.events-hub-tab:hover {
  color: #1e40af;
  background: #e0e7ff;
  border-color: #c7d2fe;
}

.events-hub-tab[aria-selected="true"] {
  color: #fff;
  background: #2563eb;
  border-color: #2563eb;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.events-hub-embed.news-section,
.events-hub-embed.cases-section {
  padding: 1.5rem 0 2.5rem;
  min-height: 0;
  background: transparent;
}

.events-hub-embed .news-header,
.events-hub-embed .cases-header {
  margin-bottom: 2rem;
}

/* ============================================================================
 * 新闻列表页样式（复刻 React NewsList.tsx）
 * ============================================================================ */
.news-section {
  padding: 1.5rem 1.25rem 2.5rem;
  background: #f8fafc;
  min-height: 100vh;
}

.news-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 0;
}

@media (min-width: 640px) {
  .news-container {
    padding: 0 0;
  }
}

@media (min-width: 1024px) {
  .news-container {
    padding: 0 0;
  }
}

.news-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .news-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.news-header-title {
  flex: 1;
}

.news-title {
  font-size: 2.25rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .news-title {
    font-size: 3rem;
  }
}

.news-title-bar {
  width: 3rem;
  height: 6px;
  background: #2563eb;
  border-radius: 3px;
}

.news-search {
  position: relative;
  width: 100%;
  max-width: 28rem;
}

.news-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.news-search-input {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 3rem;
  border-radius: 1rem;
  background: #fff;
  border: none;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
  font-size: 1rem;
  outline: none;
  transition: box-shadow 0.2s ease;
}

.news-search-input:focus {
  box-shadow: 0 0 0 2px #2563eb, 0 1px 3px 0 rgb(0 0 0 / 0.1);
}

.news-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.news-card {
  background: #fff;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  border: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  height: 350px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.15);
}

.news-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
  overflow: hidden;
  background: #f1f5f9;
}

.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.7s ease;
}

.news-card:hover .news-card-media img {
  transform: scale(1.06);
}

.news-card-date {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem 0.75rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #1d4ed8;
}

.news-card-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.news-card-title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.news-card:hover .news-card-title {
  color: #2563eb;
}

.news-card-summary {
  margin: 0 0 0.5rem;
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #2563eb;
  font-weight: 700;
  font-size: 0.8rem;
  text-decoration: none;
  margin-top: auto;
}

.news-card-link svg {
  transition: transform 0.2s ease;
}

.news-card-link:hover svg {
  transform: translateX(4px);
}

.news-empty {
  text-align: center;
  padding: 6rem 0;
  color: #94a3b8;
  font-size: 1.125rem;
}

.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 4rem;
}

.news-page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.news-page-btn:hover:not(:disabled) {
  color: #2563eb;
  border-color: #2563eb;
}

.news-page-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.news-page-info {
  font-weight: 700;
  color: #0f172a;
}

/* ============================================================================
 * 案例列表页样式（复刻 React CaseList.tsx）
 * ============================================================================ */
.cases-section {
  padding: 8rem 0 6rem;
  background: #fff;
  min-height: 100vh;
}

.cases-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .cases-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .cases-container {
    padding: 0 2rem;
  }
}

.cases-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .cases-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.cases-header-title {
  flex: 1;
}

.cases-title {
  font-size: 2.25rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .cases-title {
    font-size: 3rem;
  }
}

.cases-title-bar {
  width: 3rem;
  height: 6px;
  background: #2563eb;
  border-radius: 3px;
  margin-bottom: 1.5rem;
}

.cases-lead {
  color: #64748b;
  font-size: 1.125rem;
  max-width: 36rem;
  line-height: 1.6;
}

.cases-search {
  position: relative;
  width: 100%;
  max-width: 28rem;
}

.cases-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.cases-search-input {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 3rem;
  border-radius: 1rem;
  background: #f8fafc;
  border: none;
  box-shadow: inset 0 1px 2px 0 rgb(0 0 0 / 0.05);
  font-size: 1rem;
  outline: none;
  transition: box-shadow 0.2s ease;
}

.cases-search-input:focus {
  box-shadow: 0 0 0 2px #2563eb, inset 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.cases-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cases-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.case-card {
  position: relative;
  height: 350px;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.15);
  cursor: pointer;
}

.case-card-media {
  position: absolute;
  inset: 0;
}

.case-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.case-card:hover .case-card-media img {
  transform: scale(1.1);
}

.case-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #020617 0%, #02061740 50%, transparent 100%);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.case-card:hover .case-card-overlay {
  opacity: 0.9;
}

.case-card-content {
  position: absolute;
  inset: 0;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}

.case-card-location {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #60a5fa;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.case-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.case-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  opacity: 0;
  transform: translateY(1rem);
  transition: all 0.3s ease;
  width: fit-content;
}

.case-card:hover .case-card-btn {
  opacity: 1;
  transform: translateY(0);
}

.case-card-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.cases-empty {
  text-align: center;
  padding: 6rem 0;
  color: #94a3b8;
  font-size: 1.125rem;
}

.cases-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 4rem;
}

.cases-page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cases-page-btn:hover:not(:disabled) {
  color: #2563eb;
  border-color: #2563eb;
}

.cases-page-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.cases-page-info {
  font-weight: 700;
  color: #0f172a;
}

/* ============================================================================
 * 联系页面样式（参考 React InquirySection）
 * ============================================================================ */
.contact-hero {
  position: relative;
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  overflow: hidden;
}

.contact-hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: rgba(37, 99, 235, 0.1);
  transform: skewX(-12deg) translateX(25%);
}

.contact-hero-content {
  position: relative;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

@media (min-width: 640px) {
  .contact-hero-content {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .contact-hero-content {
    padding: 0 2rem;
  }
}

.contact-hero-eyebrow {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(37, 99, 235, 0.2);
  color: #60a5fa;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
}

.contact-hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .contact-hero-title {
    font-size: 3.5rem;
  }
}

.contact-hero-lead {
  font-size: 1.125rem;
  color: #94a3b8;
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.6;
}

.contact-main {
  padding: 4rem 0;
  background: #0f172a;
  color: #fff;
}

.contact-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  gap: 4rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .contact-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .contact-container {
    padding: 0 2rem;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
  }
}

.contact-info-header {
  margin-bottom: 3rem;
}

.contact-info-eyebrow {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(37, 99, 235, 0.2);
  color: #60a5fa;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.contact-info-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .contact-info-title {
    font-size: 3rem;
  }
}

.contact-info-desc {
  font-size: 1.125rem;
  color: #94a3b8;
  line-height: 1.6;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  backdrop-filter: blur(12px);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.contact-card:hover {
  border-color: rgba(37, 99, 235, 0.5);
  transform: translateY(-2px);
}

.contact-card-icon {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.2);
  transition: transform 0.3s ease;
}

.contact-card:hover .contact-card-icon {
  transform: scale(1.1);
}

.contact-card-icon--phone {
  background: #2563eb;
  color: #fff;
}

.contact-card-icon--email {
  background: #3b82f6;
  color: #fff;
}

.contact-card-icon--location {
  background: #0ea5e9;
  color: #fff;
}

.contact-card-icon--clock {
  background: #06b6d4;
  color: #fff;
}

.contact-card-icon--qr {
  background: #25d366;
  color: #fff;
}

.contact-card-icon--wechat {
  background: #07c160;
  color: #fff;
}

.contact-card--qr {
  grid-column: 1 / -1;
}

.contact-qr-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.contact-qr-img {
  width: 120px;
  height: 120px;
  border-radius: 0.75rem;
  background: #fff;
  padding: 0.5rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.contact-qr-hint {
  font-size: 0.875rem;
  color: #94a3b8;
}

/* 联系页：二维码点击放大（lightbox） */
.contact-qr-trigger {
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: zoom-in;
  border-radius: 0.75rem;
  line-height: 0;
  display: inline-block;
}

.contact-qr-trigger:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 3px;
}

.contact-qr-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}

.contact-qr-lightbox[hidden] {
  display: none !important;
}

body.contact-qr-lightbox-open {
  overflow: hidden;
}

.contact-qr-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.82);
  cursor: pointer;
}

.contact-qr-lightbox-panel {
  position: relative;
  z-index: 1;
  max-width: min(92vw, 28rem);
  background: #fff;
  padding: 1rem;
  border-radius: 1.25rem;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.5);
}

.contact-qr-lightbox-img {
  display: block;
  width: 100%;
  max-width: min(85vw, 22rem);
  height: auto;
  margin: 0 auto;
  border-radius: 0.75rem;
}

.contact-qr-lightbox-close {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 9999px;
  background: #1e293b;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.contact-qr-lightbox-close:hover {
  background: #334155;
}

.contact-qr-lightbox-close:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 2px;
}

.contact-card-content {
  flex: 1;
}

.contact-card-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.contact-card-value {
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
}

.contact-card-address {
  font-size: 1rem;
  font-weight: 500;
  color: #e2e8f0;
  line-height: 1.5;
}

.contact-form-wrapper {
  background: #fff;
  border-radius: 2rem;
  padding: 2.5rem;
  box-shadow: 0 50px 100px -20px rgb(0 0 0 / 0.5);
}

@media (min-width: 768px) {
  .contact-form-wrapper {
    padding: 3rem;
  }
}

.contact-form-title {
  font-size: 1.75rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.contact-form-modern {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form-row {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .contact-form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-form-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
  margin-left: 0.25rem;
}

.contact-required {
  color: #ef4444;
}

.contact-form-input,
.contact-form-textarea {
  padding: 1rem 1.25rem;
  background: #f1f5f9;
  border: none;
  border-radius: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  outline: none;
  transition: box-shadow 0.2s ease;
}

.contact-form-input::placeholder,
.contact-form-textarea::placeholder {
  color: #94a3b8;
}

.contact-form-input:focus,
.contact-form-textarea:focus {
  box-shadow: 0 0 0 3px #2563eb;
}

.contact-form-textarea {
  resize: none;
  min-height: 120px;
}

.contact-form-submit {
  padding: 1.25rem 2rem;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 1rem;
  font-size: 1.125rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  box-shadow: 0 20px 25px -5px rgb(37 99 235 / 0.3);
  transition: background 0.2s ease, transform 0.2s ease;
  margin-top: 0.5rem;
}

.contact-form-submit:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

.contact-form-submit:active {
  transform: translateY(0) scale(0.98);
}

.contact-status-modern {
  text-align: center;
  padding: 1rem;
  border-radius: 0.75rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.contact-status-modern.is-ok {
  background: #dcfce7;
  color: #166534;
}

.contact-status-modern.is-error {
  background: #fee2e2;
  color: #991b1b;
}

.contact-extra {
  padding: 4rem 0;
  background: #f8fafc;
}

.contact-extra-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .contact-extra-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .contact-extra-container {
    padding: 0 2rem;
  }
}

.contact-md {
  background: #fff;
  padding: 2.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

@media (min-width: 768px) {
  .contact-md {
    padding: 3rem;
  }
}

.contact-md h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1.5rem;
}

.contact-md h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 2rem 0 1rem;
}

.contact-md p {
  color: #475569;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.contact-md table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.contact-md th,
.contact-md td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.contact-md th {
  font-weight: 700;
  color: #0f172a;
  background: #f8fafc;
}

/* ============================================================================
 * 联系我们页面 - 移动端优化
 * ============================================================================ */
@media (max-width: 768px) {
  .contact-hero {
    padding: 6rem 0 3rem;
  }
  .contact-hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }
  .contact-hero-lead {
    font-size: 1rem;
    padding: 0 0.5rem;
  }
  .contact-main {
    padding: 2.5rem 0;
  }
  .contact-container {
    gap: 2.5rem;
  }
  .contact-info-header {
    margin-bottom: 2rem;
  }
  .contact-info-title {
    font-size: 1.75rem;
  }
  .contact-info-desc {
    font-size: 1rem;
  }
  .contact-cards {
    gap: 1rem;
  }
  .contact-card {
    padding: 1rem 1.25rem;
    gap: 1rem;
  }
  .contact-card-icon {
    width: 3rem;
    height: 3rem;
  }
  .contact-card-value {
    font-size: 1.1rem;
  }
  .contact-card-address {
    font-size: 0.9rem;
  }
  .contact-form-wrapper {
    padding: 1.5rem;
    border-radius: 1.5rem;
  }
  .contact-form-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .contact-form-modern {
    gap: 1.25rem;
  }
  .contact-form-row {
    gap: 1.25rem;
  }
  .contact-form-input,
  .contact-form-textarea {
    padding: 0.875rem 1rem;
    font-size: 16px; /* 防止iOS缩放 */
  }
  .contact-form-submit {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    width: 100%;
  }
  .contact-extra {
    padding: 2.5rem 0;
  }
  .contact-md {
    padding: 1.5rem;
    border-radius: 1rem;
  }
  .contact-md h2 {
    font-size: 1.5rem;
  }
  .contact-md table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    font-size: 0.9rem;
  }
  .contact-md th,
  .contact-md td {
    padding: 0.75rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .contact-hero-title {
    font-size: 1.75rem;
  }
  .contact-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .contact-card-icon {
    width: 2.75rem;
    height: 2.75rem;
  }
  .contact-form-wrapper {
    padding: 1.25rem;
    border-radius: 1.25rem;
  }
}

/* ============================================================================
 * 关于我们页面样式（参考 React Stats 组件）
 * ============================================================================ */
.about-hero {
  padding: 2rem 0 6rem;
  background: #fff;
}

.about-container {
  padding: 0;
  display: grid;
  gap: 5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .about-container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.about-visual {
  position: relative;
}

.about-image-wrapper {
  position: relative;
}

.about-image {
  width: 100%;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  position: relative;
  z-index: 10;
}

.about-image-deco {
  position: absolute;
  border-radius: 3rem;
  z-index: -10;
}

.about-image-deco--1 {
  width: 16rem;
  height: 16rem;
  background: #2563eb;
  bottom: -2.5rem;
  right: -2.5rem;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: #fff;
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  z-index: 20;
  display: none;
}

@media (min-width: 768px) {
  .about-badge {
    display: block;
  }
}

.about-badge-num {
  font-size: 3rem;
  font-weight: 900;
  color: #2563eb;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.about-badge-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748b;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-right: 60px;
}

.about-header {
  margin-bottom: 0.5rem;
}

.about-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .about-title {
    font-size: 3rem;
  }
}

.about-lead {
  font-size: 1.25rem;
  color: #64748b;
  line-height: 1.7;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 640px) {
  .about-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.about-stat {
  text-align: left;
}

.about-stat-icon {
  color: #2563eb;
  margin-bottom: 1rem;
}

.about-stat-icon--blue {
  display: inline-flex;
  padding: 0.75rem;
  background: #dbeafe;
  border-radius: 0.75rem;
}

.about-stat-value {
  font-size: 1.875rem;
  font-weight: 900;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.about-stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
}

.about-quote {
  position: relative;
  font-size: 1.125rem;
  color: #475569;
  font-style: italic;
  line-height: 1.7;
  padding-left: 1.5rem;
  border: none;
  background: none;
  margin: 0px;
}

.about-quote-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #2563eb;
  border-radius: 2px;
}

.about-md {
  color: #475569;
  line-height: 1.7;
}

.about-md h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin: 2rem 0 1rem;
}

.about-md h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 1.5rem 0 0.75rem;
}

.about-md p {
  margin-bottom: 1rem;
}

.about-md ul,
.about-md ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.about-md li {
  margin-bottom: 0.5rem;
}

/* 关于我们 - 公司特色 */
.about-features {
  padding: 6rem 0;
  background: #f8fafc;
}

.about-features-container {
  padding: 0;
}

.about-features-header {
  text-align: center;
  margin-bottom: 4rem;
}

.about-features-title {
  font-size: 2rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .about-features-title {
    font-size: 2.5rem;
  }
}

.about-features-bar {
  width: 3rem;
  height: 6px;
  background: #2563eb;
  border-radius: 3px;
  margin: 0 auto;
}

.about-features-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .about-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .about-features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.about-feature-card {
  background: #fff;
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

.about-feature-icon {
  display: inline-flex;
  padding: 0.875rem;
  background: #dbeafe;
  color: #2563eb;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
}

.about-feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.about-feature-desc {
  color: #64748b;
  line-height: 1.6;
}

/* =============================================
   滚动入场动画 (scroll-anim.js)
   ============================================= */

[data-anim] {
  opacity: 0;
}

[data-anim].anim-visible {
  animation-duration: 0.7s;
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

[data-anim="fade-up"].anim-visible {
  animation-name: anim-fade-up;
}

[data-anim="fade-left"].anim-visible {
  animation-name: anim-fade-left;
}

[data-anim="fade-right"].anim-visible {
  animation-name: anim-fade-right;
}

[data-anim="pop"].anim-visible {
  animation-name: anim-pop;
  animation-duration: 0.5s;
  animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

[data-anim="scale-in"].anim-visible {
  animation-name: anim-scale-in;
  animation-duration: 0.6s;
  animation-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

@keyframes anim-fade-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes anim-fade-left {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes anim-fade-right {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes anim-pop {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  60% {
    transform: scale(1.08);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes anim-scale-in {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-anim] {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
}
