/* ============================================================
   ORZM TECHNOLOGY - Official Website Styles
   科技感蓝灰主题 | 滚动动效 | 响应式 | 1280px 最大宽度
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  /* ── 主色：品牌红 ── */
  --primary: #e60008;
  --primary-dark: #cc0006;
  --primary-light: #ff1a1f;
  /* ── 蓝色变量统一指向主色（向后兼容） ── */
  --blue-500: #e60008;
  --blue-600: #e60008;
  --blue-700: #cc0006;
  /* ── 天蓝系（M9 专属色保留） ── */
  --sky-400: #38bdf8;
  --sky-500: #0ea5e9;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --dark-900: #0a0a0f;
  --dark-800: #111118;
  --dark-700: #1a1a2e;
  --white: #ffffff;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --trans-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --trans-slow: 600ms cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1536px; /* 96rem — 全局容器最大宽度 */
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  font-family:
    "Inter",
    "Noto Sans SC",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background-color: var(--dark-900);
  color: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
ul {
  list-style: none;
}

/* ---------- Responsive Typography ---------- */
html {
  font-size: 16px;
}
@media (max-width: 1280px) {
  html {
    font-size: 15px;
  }
}
@media (max-width: 1024px) {
  html {
    font-size: 14px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  html {
    font-size: 13px;
  }
}

/* ---------- Max Width Container ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media (min-width: 768px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
@media (min-width: 1280px) {
  .container {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}
@media (min-width: 1536px) {
  .container {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

/* ---------- Light/Dark Section Themes ---------- */
.section-dark {
  background-color: var(--dark-900);
  color: var(--white);
}
.section-light {
  background-color: var(--gray-50);
  color: var(--gray-900);
}
.section-gray {
  background-color: var(--gray-100);
  color: var(--gray-900);
}
.section-navy {
  background-color: var(--gray-900);
  color: var(--white);
}

/* Light section text colors */
.section-light .section-desc,
.section-gray .section-desc,
.section-light p:not(.text-white),
.section-gray p:not(.text-white) {
  color: var(--gray-600);
}
.section-light .section-tag,
.section-gray .section-tag {
  color: var(--primary);
  border-color: rgba(230, 0, 8, 0.3);
  background: rgba(230, 0, 8, 0.06);
}

/* ---------- Utility ---------- */
.gradient-text {
  background: linear-gradient(135deg, #ff4d50 0%, #e60008 50%, #cc0006 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  border: 1px solid rgba(230, 0, 8, 0.3);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: rgba(230, 0, 8, 0.06);
  margin-bottom: 1rem;
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  transition: all var(--trans-base);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  opacity: 0;
  transition: opacity var(--trans-base);
}
.btn-primary:hover::after {
  opacity: 1;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(230, 0, 8, 0.35);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  background: transparent;
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all var(--trans-base);
}
.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(230, 0, 8, 0.08);
  transform: translateY(-2px);
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  background: transparent;
  color: var(--gray-900);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 0.75rem;
  border: 1px solid var(--gray-300);
  cursor: pointer;
  transition: all var(--trans-base);
}
.btn-outline-dark:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(230, 0, 8, 0.05);
}

/* ============================================================
   NAVIGATION - 重构版
   ============================================================ */
#navbar {
  background: transparent;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 滚动后的导航栏样式 */
#navbar.scrolled {
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.4);
}

#navbar.scrolled .nav-logo {
  transform: scale(0.9);
}

/* Logo 样式 */
.nav-logo {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-icon {
  transition:
    transform var(--trans-base),
    filter var(--trans-base);
  filter: drop-shadow(0 0 0 transparent);
}

.nav-logo:hover .logo-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 0 20px rgba(230, 0, 8, 0.5));
}

.nav-logo span {
  transition: all var(--trans-base);
  background: linear-gradient(135deg, white 0%, rgba(255, 255, 255, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-logo:hover span {
  background: linear-gradient(
    135deg,
    var(--primary-light) 0%,
    var(--primary) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
}

/* 导航链接样式 - 加大字号 */
.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.5rem 0;
}

.nav-link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -10px;
  right: -10px;
  height: 0;
  background: rgba(230, 0, 8, 0.1);
  border-radius: 8px;
  transform: translateY(-50%);
  transition: height 0.3s ease;
  z-index: -1;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-link:hover {
  color: white;
  transform: translateY(-2px);
}

.nav-link:hover::before {
  height: 100%;
}

.nav-link:hover::after {
  width: 100%;
}

/* 当前页面激活态 */
.nav-link.nav-page-active {
  color: white;
}

.nav-link.nav-page-active::after {
  width: 100%;
  box-shadow: 0 0 10px var(--primary);
}

/* 导航分隔线 */
.nav-divider {
  width: 1px;
  height: 24px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  margin: 0 0.5rem;
}

/* 语言切换按钮 */
.lang-btn {
  background: rgba(230, 0, 8, 0.12);
  border: 1px solid rgba(230, 0, 8, 0.3);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.4rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.lang-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lang-btn:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(230, 0, 8, 0.3);
}

.lang-btn:hover::before {
  opacity: 1;
}

.lang-btn span {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.lang-btn:hover span {
  color: white;
}

/* Mobile Menu */
.menu-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all var(--trans-base);
}
.mobile-menu {
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mobile-nav-link {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color var(--trans-base);
}
.mobile-nav-link:hover {
  color: var(--primary);
}

/* ============================================================
   HERO SECTION - Full Dark
   ============================================================ */
.hero-section {
  min-height: 100vh;
  background:
    radial-gradient(
      ellipse 80% 60% at 50% -10%,
      rgba(230, 0, 8, 0.18) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 60% 40% at 80% 80%,
      rgba(14, 165, 233, 0.1) 0%,
      transparent 60%
    ),
    var(--dark-900);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 4rem; /* 为固定导航预留空间，确保对称 */
}

@media (min-width: 1024px) {
  .hero-section {
    padding-top: 5rem; /* 大屏幕上增加间距 */
  }
}

/* ============================================================
   HERO SPLIT - 双产品中间线分割效果 (限制在1280px容器内)
   ============================================================ */
.hero-split {
  --split-angle: -45deg;
  --transition-speed: 0.6s;
}

/* 背景容器 - 与产品容器同高，扩展全屏 */
.hero-bg-container {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  height: 80vh;
  max-height: 800px;
  z-index: 0;
  overflow: hidden;
}

/* 产品容器 - 使用 container 类，与页面内容宽度一致 */
.hero-products-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  z-index: 1;
  height: 80vh;
  max-height: 800px;
}

.hero-products-split {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.hero-product-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transition:
    clip-path var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1),
    opacity var(--transition-speed) ease;
}

/* M7 默认占据左侧区域 (垂直中线分割) */
.hero-product-m7 {
  /* 左侧矩形 - 左半部分 */
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
  z-index: 2;
}

/* M9 默认占据右侧区域 (垂直中线分割) */
.hero-product-m9 {
  /* 右侧矩形 - 右半部分 */
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
  z-index: 1;
}

/* 悬停状态 */
.hero-products-split:hover .hero-product-m7,
.hero-products-split:hover .hero-product-m9 {
  opacity: 1;
}

/* 悬停左侧区域 - 分割线右移，M7 全屏显示 */
.hero-products-split.m7-active .hero-product-m7 {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  opacity: 1;
  z-index: 3;
}

.hero-products-split.m7-active .hero-product-m9 {
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
  opacity: 0;
}

/* 悬停右侧区域 - 分割线左移，M9 全屏显示 */
.hero-products-split.m9-active .hero-product-m9 {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  opacity: 1;
  z-index: 3;
}

.hero-products-split.m9-active .hero-product-m7 {
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  opacity: 0;
}

/* 产品图片 */
.hero-poster-img,
.hero-product-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

/* 静态图片（poster/首帧）—— 默认可见 */
.hero-poster-img {
  transform: scale(1.1);
  transition:
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.6s ease;
  z-index: 0;
}

/* 视频层 —— 默认隐藏，悬停激活后淡入覆盖图片 */
.hero-product-video {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
  z-index: 1;
  /* 确保视频不阻挡鼠标事件穿透到 hover-zone */
  pointer-events: none;
}

.hero-product-layer:hover .hero-poster-img,
.hero-products-split:has(.hero-hover-zone-m7:hover)
  .hero-product-m7
  .hero-poster-img,
.hero-products-split:has(.hero-hover-zone-m9:hover)
  .hero-product-m9
  .hero-poster-img {
  transform: scale(1);
}

/* 悬停激活态：视频淡入，图片淡出 → 视觉无缝切换 */
.hero-products-split.m7-active .hero-product-m7 .hero-product-video,
.hero-products-split.m9-active .hero-product-m9 .hero-product-video,
.hero-products-split:has(.hero-hover-zone-m7:hover)
  .hero-product-m7
  .hero-product-video,
.hero-products-split:has(.hero-hover-zone-m9:hover)
  .hero-product-m9
  .hero-product-video {
  opacity: 1;
  visibility: visible;
}

.hero-products-split.m7-active .hero-product-m7 .hero-poster-img,
.hero-products-split.m9-active .hero-product-m9 .hero-poster-img,
.hero-products-split:has(.hero-hover-zone-m7:hover)
  .hero-product-m7
  .hero-poster-img,
.hero-products-split:has(.hero-hover-zone-m9:hover)
  .hero-product-m9
  .hero-poster-img {
  opacity: 0;
}

/* 产品遮罩 */
.hero-product-overlay {
  position: absolute;
  inset: 0;
  transition: opacity var(--transition-speed) ease;
}

.m7-overlay {
  background: linear-gradient(
    135deg,
    rgba(204, 0, 6, 0.4) 0%,
    rgba(10, 10, 15, 0.7) 100%
  );
}

.m9-overlay {
  background: linear-gradient(
    225deg,
    rgba(14, 165, 233, 0.4) 0%,
    rgba(10, 10, 15, 0.7) 100%
  );
}

/* 产品标签 */
.hero-product-label {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(20px);
}

/* M7 标签 - 左侧区域 */
.m7-label {
  top: 50%;
  left: 25%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* M9 标签 - 右侧区域 */
.m9-label {
  top: 50%;
  right: 25%;
  transform: translate(50%, -50%);
  pointer-events: none;
}

.hero-products-split:hover .hero-product-label,
.hero-products-split:has(.hero-hover-zone-m7:hover) .m7-label,
.hero-products-split:has(.hero-hover-zone-m9:hover) .m9-label,
.hero-products-split.m7-active .m7-label,
.hero-products-split.m9-active .m9-label {
  opacity: 1;
  transform: translateY(0);
}

.label-badge {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.1em;
}

.label-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* 垂直分割线装饰 - 中间垂直线 */
.hero-split-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(230, 0, 8, 0.5) 20%,
    rgba(255, 255, 255, 0.9) 40%,
    rgba(230, 0, 8, 1) 50%,
    rgba(255, 255, 255, 0.9) 60%,
    rgba(230, 0, 8, 0.5) 80%,
    transparent 100%
  );
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;
  box-shadow:
    0 0 10px rgba(230, 0, 8, 0.5),
    0 0 20px rgba(230, 0, 8, 0.2);
  transition:
    left var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1),
    opacity var(--transition-speed) ease;
}

/* M7 悬停时分割线移到右边并淡出 */
.hero-products-split.m7-active .hero-split-line {
  left: 100%;
  opacity: 0;
}

/* M9 悬停时分割线移到左边并淡出 */
.hero-products-split.m9-active .hero-split-line {
  left: 0%;
  opacity: 0;
}

/* 悬停区域 - 用于检测鼠标位置，左右分割 */
.hero-hover-zone-m7,
.hero-hover-zone-m9 {
  position: absolute;
  top: 0;
  height: 100%;
  z-index: 10;
  cursor: pointer;
}

/* M7 悬停区域 - 左侧区域 */
.hero-hover-zone-m7 {
  left: 0;
  width: 50%;
}

/* M9 悬停区域 - 右侧区域 */
.hero-hover-zone-m9 {
  right: 0;
  width: 50%;
}

/* 悬停提示 */
.hero-hover-hint {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hero-products-split:hover .hero-hover-hint {
  opacity: 1;
}

.hint-m7,
.hint-m9 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  position: absolute;
}

.hint-m7 {
  bottom: 15%;
  left: 10%;
}

.hint-m9 {
  bottom: 15%;
  right: 10%;
}

.hint-m7 svg,
.hint-m9 svg {
  transition: transform 0.3s ease;
}

.hero-products-split:has(.hero-hover-zone-m7:hover) .hint-m7,
.hero-products-split.m7-active .hint-m7 {
  color: var(--primary-light);
  transform: translateX(-5px);
}

.hero-products-split:has(.hero-hover-zone-m9:hover) .hint-m9,
.hero-products-split.m9-active .hint-m9 {
  color: var(--sky-400);
  transform: translateX(5px);
}

/* 中央内容层 */
.hero-content {
  position: relative;
  z-index: 6;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
  /* 关键：让文字内容不阻挡悬停区域的鼠标事件 */
  pointer-events: none;
}

.hero-products-split:has(.hero-hover-zone-m7:hover) ~ .hero-content,
.hero-products-split:has(.hero-hover-zone-m9:hover) ~ .hero-content,
.hero-section.m7-active .hero-content,
.hero-section.m9-active .hero-content {
  opacity: 0.3;
  transform: scale(0.95);
}

.hero-section.m7-active .hero-content,
.hero-section.m9-active .hero-content {
  opacity: 0;
  transform: scale(0.92);
  visibility: hidden;
  pointer-events: none;
}

/* Animated background grid */
.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(230, 0, 8, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 0, 8, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridFloat 20s linear infinite;
}
@keyframes gridFloat {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(60px);
  }
}

/* Glow orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.glow-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(230, 0, 8, 0.2) 0%, transparent 70%);
  top: -100px;
  left: -100px;
  animation: orbFloat 8s ease-in-out infinite alternate;
}
.glow-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(14, 165, 233, 0.15) 0%,
    transparent 70%
  );
  bottom: -80px;
  right: -80px;
  animation: orbFloat 10s ease-in-out infinite alternate-reverse;
}
@keyframes orbFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(30px, 20px) scale(1.1);
  }
}

/* Hero Badge */
.hero-badge {
  background: rgba(230, 0, 8, 0.08);
  border: 1px solid rgba(230, 0, 8, 0.25);
  border-radius: 999px;
  padding: 0.4rem 1.2rem;
}
.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--blue-500);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--blue-500);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.4);
  }
}

/* Hero Title - entrance animation */
.hero-title,
.hero-sub,
.hero-badge {
  animation: heroFadeUp 1s ease both;
}
.hero-title {
  animation-delay: 0.1s;
}
.hero-sub {
  animation-delay: 0.3s;
}
.hero-badge {
  animation-delay: 0s;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Indicator */
.scroll-indicator {
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-8px);
  }
}
.scroll-dot {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 13px;
  position: relative;
}
.scroll-dot::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: white;
  border-radius: 2px;
  animation: scrollDot 1.5s ease-in-out infinite;
}
@keyframes scrollDot {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(16px);
  }
}

/* ============================================================
   OVERLAP SECTION - Image + Text Overlay Layout
   ============================================================ */
.overlap-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.overlap-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.overlap-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.overlap-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(15, 23, 42, 0.95) 0%,
    rgba(15, 23, 42, 0.7) 50%,
    rgba(15, 23, 42, 0.3) 100%
  );
}
.overlap-overlay-right {
  background: linear-gradient(
    270deg,
    rgba(15, 23, 42, 0.95) 0%,
    rgba(15, 23, 42, 0.7) 50%,
    rgba(15, 23, 42, 0.3) 100%
  );
}

/* ============================================================
   PRODUCT SHOWCASE - 堆叠滚动切换（sticky 方案）
   效果：图片叠在一起 → 滚动依次切换 → 切完后正常滚动
   ============================================================ */

/* 外层容器：占据 N 个视口高度（N=slide数量），提供滚动空间 */
.product-showcase {
  position: relative;
  width: 100%;
  /* JS 动态设置 height = totalSlides * 100vh */
}

/* Sticky 内层：固定在视口顶部，所有 slides 在此内部重叠切换
   关键优化：
   - contain: layout style paint → 限制浏览器重算范围
   - will-change: transform → 提前告知浏览器此元素会频繁变换（GPU 层提升） */
.showcase-sticky-inner {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  contain: layout style paint;
  will-change: transform;
}

/* 所有 slide 重叠在一起，绝对定位在 sticky 容器内
   ⚠️ 不设 transition！由 JS 每帧直驱 transform/opacity，避免 transition 与 JS 冲突
   
   视觉效果（全屏位移）：
   - 默认：隐藏在右侧 100vw 处等待
   - active：居中显示 translate3D(0)
   - past：向左滑出至 -100vw
   
   性能优化：
   - translate3D() → 强制 GPU 硬件加速合成（比 translateX 更可靠）
   - backface-visibility → 消除 3D 变换闪烁
   - will-change → 预声明动画属性，提前创建合成层 */
.showcase-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  /* GPU 合成层三件套 */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform, opacity;
  /* 初始状态：全屏右侧隐藏等待 */
  opacity: 0.35;
  visibility: hidden;
  transform: translate3d(100vw, 0, 0) scale(0.96);
  pointer-events: none;
  z-index: 1;
  /* 字体渲染优化：丝滑过渡时文字不模糊 */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 当前激活的 slide —— 仅作初始/备用，JS 直驱时覆盖 */
.showcase-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0) scale(1);
  z-index: 20;
  pointer-events: auto;
}

/* 已经过的 slide —— 向左全屏滑出 */
.showcase-slide.past {
  opacity: 0.3;
  visibility: visible;
  transform: translate3d(-100vw, 0, 0) scale(0.96);
  z-index: 5;
}

/* 背景图片 - 全屏覆盖 */
.showcase-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition:
    transform 8s ease-out,
    opacity 0.8s ease;
}

.showcase-slide.active .showcase-bg-img {
  transform: scale(1.05);
}

/* 暗色遮罩 */
.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.92) 0%,
    rgba(15, 23, 42, 0.75) 40%,
    rgba(30, 41, 59, 0.65) 70%,
    rgba(15, 23, 42, 0.85) 100%
  );
  z-index: 2;
}

/* 内容层 - 与背景分离，独立动画 */
.showcase-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 3;
  /* 关键：GPU 合成层独立于父级 slide */
  will-change: transform, opacity;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 文字子元素初始态（JS 驱动时覆盖） */
.showcase-content .showcase-tag,
.showcase-content .showcase-title,
.showcase-content .showcase-subtitle,
.showcase-content .btn-primary {
  opacity: 0;
  will-change: transform, opacity;
}

/* 标签 */
.showcase-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary-light);
  background: rgba(230, 0, 8, 0.12);
  border: 1px solid rgba(230, 0, 8, 0.25);
  backdrop-filter: blur(10px);
  margin-bottom: 1.25rem;
}

/* 主标题 */
.showcase-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  color: white;
  margin-bottom: 1.25rem;
}

/* 副标题/描述 */
.showcase-subtitle {
  max-width: 600px;
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(203, 213, 225, 0.85);
  margin-bottom: 2rem;
}

/* 进度指示器 */
.showcase-indicator {
  position: absolute;
  right: 2rem;
  bottom: 50%;
  transform: translateY(50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.indicator-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
}

.indicator-dot::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid transparent;
  transition: border-color 0.4s ease;
}

.indicator-dot.active {
  background: var(--primary);
  border-color: var(--primary-light);
  box-shadow: 0 0 12px rgba(230, 0, 8, 0.5);
  transform: scale(1.2);
}

.indicator-dot:hover::before {
  border-color: rgba(255, 255, 255, 0.3);
}

/* 滚动提示 */
.showcase-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  animation: showcaseScrollBounce 2s infinite;
}

@keyframes showcaseScrollBounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-8px);
  }
  60% {
    transform: translateX(-50%) translateY(-4px);
  }
}

/* ============================================================
   RESPONSIVE - Product Showcase
   ============================================================ */
@media (max-width: 1024px) {
  .showcase-indicator {
    right: 1rem;
  }
  .showcase-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
  }
  .showcase-subtitle {
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  .product-showcase {
    height: 90vh;
  }
  .showcase-indicator {
    right: auto;
    left: 50%;
    bottom: 1rem;
    flex-direction: row;
    transform: translateX(-50%);
  }
  .showcase-scroll-hint {
    display: none;
  }
}

/* ============================================================
   PARALLAX IMAGE SECTION - 核心竞争力标题区
   ============================================================ */
.parallax-section {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 6rem 0;
  /* 确立独立堆叠上下文，防止子元素溢出到外部 */
  isolation: isolate;
}

.parallax-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  will-change: transform;
}
.parallax-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 放大图片以支持视差位移时不露边 */
  transform: scale(1.15);
}

.parallax-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* ============================================================
   PRODUCT SECTIONS
   ============================================================ */
.product-section {
  background: var(--dark-900);
}

.product-heading {
  line-height: 1.1;
}
.product-tagline {
  letter-spacing: 0.12em;
}

/* Product Visual */
.product-img-wrap {
  perspective: 1000px;
}
.product-img-inner {
  border-radius: var(--radius-xl);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  position: relative;
  overflow: hidden;
  transition: transform 0.6s ease;
}
.product-img-inner:hover {
  transform: rotateY(3deg) rotateX(2deg) scale(1.01);
}

.m7-img-bg {
  background:
    radial-gradient(
      ellipse 80% 80% at 50% 50%,
      rgba(230, 0, 8, 0.12) 0%,
      transparent 70%
    ),
    linear-gradient(
      135deg,
      rgba(204, 0, 6, 0.15) 0%,
      rgba(10, 10, 15, 0.8) 100%
    );
  border: 1px solid rgba(230, 0, 8, 0.15);
}
.m9-img-bg {
  background:
    radial-gradient(
      ellipse 80% 80% at 50% 50%,
      rgba(14, 165, 233, 0.12) 0%,
      transparent 70%
    ),
    linear-gradient(
      135deg,
      rgba(14, 165, 233, 0.15) 0%,
      rgba(10, 10, 15, 0.8) 100%
    );
  border: 1px solid rgba(14, 165, 233, 0.15);
}

/* Product Visual (animated rings) */
.product-visual {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-ring {
  position: absolute;
  border: 1px solid rgba(230, 0, 8, 0.2);
  border-radius: 50%;
}
.m9-ring {
  border-color: rgba(14, 165, 233, 0.2);
}
.ring-1 {
  width: 200px;
  height: 200px;
  animation: ringRotate 12s linear infinite;
}
.ring-2 {
  width: 150px;
  height: 150px;
  animation: ringRotate 8s linear infinite reverse;
  border-style: dashed;
}
.ring-3 {
  width: 100px;
  height: 100px;
  animation: ringRotate 5s linear infinite;
}
@keyframes ringRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.product-core {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.m7-core {
  background: linear-gradient(135deg, #cc0006, #e60008);
  box-shadow:
    0 0 32px rgba(230, 0, 8, 0.5),
    0 0 64px rgba(230, 0, 8, 0.2);
}
.m9-core {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  box-shadow:
    0 0 32px rgba(14, 165, 233, 0.5),
    0 0 64px rgba(14, 165, 233, 0.2);
}
.product-label {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: white;
}

/* Floating Spec Tags */
.spec-tag {
  position: absolute;
  background: rgba(10, 10, 15, 0.8);
  border: 1px solid rgba(230, 0, 8, 0.3);
  border-radius: 0.5rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--blue-500);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}
.spec-tag-1 {
  top: 10px;
  left: 0;
  animation: tagFloat 4s ease-in-out infinite;
}
.spec-tag-2 {
  bottom: 20px;
  right: 0;
  animation: tagFloat 4s ease-in-out infinite 1.3s;
}
.spec-tag-3 {
  top: 50%;
  right: -10px;
  transform: translateY(-50%);
  animation: tagFloat 4s ease-in-out infinite 2.6s;
}
@keyframes tagFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
.spec-tag-3 {
  animation: tagFloat3 4s ease-in-out infinite 2.6s;
}
@keyframes tagFloat3 {
  0%,
  100% {
    transform: translateY(-50%);
  }
  50% {
    transform: translateY(calc(-50% - 6px));
  }
}

/* Spec Stats */
.spec-list {
  display: flex;
  gap: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
}
.spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.spec-num {
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  line-height: 1;
}
.spec-num span {
  font-size: 0.9rem;
  color: var(--blue-500);
  font-weight: 500;
}
.spec-desc {
  font-size: 0.78rem;
  color: var(--gray-400);
  letter-spacing: 0.04em;
}

/* Light section adjustments */
.section-light .spec-list,
.section-gray .spec-list {
  border-top-color: var(--gray-200);
}
.section-light .spec-num,
.section-gray .spec-num {
  color: var(--gray-900);
}
.section-light .spec-desc,
.section-gray .spec-desc {
  color: var(--gray-500);
}

/* Feature List */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.feature-item {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--gray-400);
}
.feature-item::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue-500);
  font-weight: 700;
}
.section-light .feature-item,
.section-gray .feature-item {
  color: var(--gray-600);
}

/* ============================================================
   ADVANTAGE CARDS
   ============================================================ */
.adv-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--trans-base);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.adv-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(230, 0, 8, 0.06) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity var(--trans-base);
}
.adv-card:hover {
  border-color: rgba(230, 0, 8, 0.25);
  transform: translateY(-4px);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(230, 0, 8, 0.1);
}
.adv-card:hover::before {
  opacity: 1;
}
.adv-icon {
  width: 52px;
  height: 52px;
  background: rgba(230, 0, 8, 0.08);
  border: 1px solid rgba(230, 0, 8, 0.2);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all var(--trans-base);
  flex-shrink: 0;
}
.adv-card:hover .adv-icon {
  background: rgba(230, 0, 8, 0.15);
  border-color: rgba(230, 0, 8, 0.4);
}

/* 卡片标题固定间距 */
.adv-card h3 {
  flex-shrink: 0;
}

/* 描述文字弹性填充，确保卡片等高 */
.adv-card p {
  flex: 1;
}

/* Light section cards */
.section-light .adv-card,
.section-gray .adv-card {
  background: white;
  border-color: var(--gray-200);
}
.section-light .adv-card:hover,
.section-gray .adv-card:hover {
  border-color: var(--blue-500);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

/* Light section card text colors */
.section-light .adv-card h3,
.section-gray .adv-card h3 {
  color: var(--gray-900);
}
.section-light .adv-card p,
.section-gray .adv-card p {
  color: var(--gray-600);
}

/* 核心竞争力模块 - 整体垂直节奏优化 */
#advantage {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
@media (min-width: 1024px) {
  #advantage {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(230, 0, 8, 0.4) 10%,
    rgba(230, 0, 8, 0.4) 90%,
    transparent
  );
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 0 1.5rem;
  align-items: center;
  padding: 1.5rem 0;
  position: relative;
}

.timeline-year {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue-500);
  text-align: right;
  padding-right: 1.5rem;
}
/* Odd items: year on left, content on right */
.timeline-item:nth-child(odd) .timeline-year {
  grid-column: 1;
  text-align: right;
}
.timeline-item:nth-child(odd) .timeline-dot {
  grid-column: 2;
}
.timeline-item:nth-child(odd) .timeline-content {
  grid-column: 3;
  padding-left: 1.5rem;
  text-align: left;
}
/* Even items: content on left, year on right */
.timeline-item:nth-child(even) .timeline-year {
  grid-column: 3;
  text-align: left;
  order: 3;
  padding-left: 1.5rem;
  padding-right: 0;
}
.timeline-item:nth-child(even) .timeline-dot {
  grid-column: 2;
  order: 2;
}
.timeline-item:nth-child(even) .timeline-content {
  grid-column: 1;
  order: 1;
  text-align: right;
  padding-right: 1.5rem;
}

.timeline-dot {
  width: 14px;
  height: 14px;
  background: var(--dark-900);
  border: 2px solid var(--blue-500);
  border-radius: 50%;
  position: relative;
  z-index: 1;
  margin: 0 auto;
  transition: all var(--trans-base);
}
.timeline-dot-active {
  background: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(230, 0, 8, 0.25);
  animation: dotPulse2 2s ease-in-out infinite;
}
@keyframes dotPulse2 {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(230, 0, 8, 0.25);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(230, 0, 8, 0.1);
  }
}
.timeline-item:hover .timeline-dot {
  background: var(--blue-500);
  box-shadow: 0 0 16px rgba(230, 0, 8, 0.5);
}

/* Light section timeline */
.section-light .timeline-dot,
.section-gray .timeline-dot {
  background: var(--gray-50);
}

/* ============================================================
   RESPONSIVE - Timeline
   ============================================================ */
@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }
  .timeline-item {
    grid-template-columns: 40px 1fr;
    gap: 0 1rem;
  }
  .timeline-item:nth-child(odd) .timeline-year,
  .timeline-item:nth-child(even) .timeline-year {
    grid-column: 2;
    text-align: left;
    order: 2;
    padding-left: 0;
    padding-right: 0;
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }
  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    grid-column: 1;
    grid-row: span 2;
    order: 1;
    margin: 0;
    align-self: start;
    margin-top: 4px;
  }
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    grid-column: 2;
    order: 3;
    text-align: left;
    padding: 0;
  }
}

/* 
   ============================================================
   ABOUT SECTION
   ============================================================ 
*/
.about-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all var(--trans-base);
  cursor: default;
}
.about-card-tall {
  min-height: 180px;
}
.about-card:hover {
  border-color: rgba(230, 0, 8, 0.25);
  background: rgba(230, 0, 8, 0.05);
  transform: translateY(-3px);
}
.about-card-icon {
  transition: transform var(--trans-base);
}
.about-card:hover .about-card-icon {
  transform: scale(1.15) rotate(-5deg);
}
.about-stat {
  text-align: left;
}

/* Light section */
.section-light .about-card,
.section-gray .about-card {
  background: white;
  border-color: var(--gray-200);
}
.section-light .about-card:hover,
.section-gray .about-card:hover {
  border-color: var(--blue-500);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(230, 0, 8, 0.08);
  border: 1px solid rgba(230, 0, 8, 0.2);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Light section contact */
.section-light .contact-icon,
.section-gray .contact-icon {
  background: rgba(230, 0, 8, 0.06);
}

/* Form */
.form-group {
  position: relative;
}
.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  color: white;
  font-size: 0.9rem;
  transition: all var(--trans-base);
  outline: none;
  resize: none;
  font-family: inherit;
}
.form-input:focus {
  border-color: var(--blue-500);
  background: rgba(230, 0, 8, 0.05);
  box-shadow: 0 0 0 3px rgba(230, 0, 8, 0.12);
}
.form-label {
  position: absolute;
  top: 50%;
  left: 1.25rem;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.9rem;
  pointer-events: none;
  transition: all var(--trans-base);
  background: transparent;
}
.form-textarea ~ .form-label {
  top: 1rem;
  transform: none;
}
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
  top: -0.6rem;
  left: 1rem;
  font-size: 0.72rem;
  color: var(--blue-500);
  background: var(--dark-900);
  padding: 0 0.3rem;
}
.section-light .form-input:focus ~ .form-label,
.section-light .form-input:not(:placeholder-shown) ~ .form-label,
.section-gray .form-input:focus ~ .form-label,
.section-gray .form-input:not(:placeholder-shown) ~ .form-label {
  background: var(--gray-50);
}

/* Light section form */
.section-light .form-input,
.section-gray .form-input {
  background: white;
  border-color: var(--gray-200);
  color: var(--gray-900);
}
.section-light .form-input:focus,
.section-gray .form-input:focus {
  border-color: var(--blue-500);
  background: white;
}
.section-light .form-label,
.section-gray .form-label {
  color: var(--gray-400);
}

.form-textarea {
  min-height: 120px;
}
.form-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 0.75rem;
  padding: 0.75rem 1.25rem;
  color: #10b981;
  font-size: 0.875rem;
  text-align: center;
}
.form-success.hidden {
  display: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #060609;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.25rem;
}
.footer-link {
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--trans-base);
}
.footer-link:hover {
  color: var(--primary);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */

/* Base: elements start hidden / offset */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition:
    opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.reveal-up {
  transform: translateY(50px);
}
.reveal-left {
  transform: translateX(-60px);
}
.reveal-right {
  transform: translateX(60px);
}

/* Triggered: animate to final state */
.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delay for cards */
.adv-card.reveal-up.is-visible,
.cert-card.reveal-up.is-visible,
.value-card.reveal-up.is-visible {
  transition-delay: var(--delay, 0ms);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1280px) {
  .product-img-inner {
    min-height: 360px;
  }
}

@media (max-width: 1024px) {
  .product-img-inner {
    min-height: 320px;
  }
  .spec-list {
    gap: 1.5rem;
  }
  .overlap-section {
    min-height: 70vh;
  }
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .hero-bg-container,
  .hero-products-wrapper {
    height: 50vh;
    max-height: 400px;
  }
  .hero-products-split {
    border-radius: 1rem;
  }
  .label-badge {
    font-size: 2rem;
  }
  .label-text {
    font-size: 0.75rem;
  }
  .m7-label {
    bottom: 8%;
    left: 5%;
  }
  .m9-label {
    top: 8%;
    right: 5%;
  }
  .hint-m7,
  .hint-m9 {
    font-size: 0.75rem;
  }
  .spec-list {
    gap: 1rem;
  }
  .spec-num {
    font-size: 1.4rem;
  }
  .product-visual {
    width: 160px;
    height: 160px;
  }
  .ring-1 {
    width: 160px;
    height: 160px;
  }
  .ring-2 {
    width: 120px;
    height: 120px;
  }
  .ring-3 {
    width: 80px;
    height: 80px;
  }
  .product-core {
    width: 56px;
    height: 56px;
  }
  .overlap-section {
    min-height: auto;
    padding: 4rem 0;
  }
  .parallax-section {
    min-height: 40vh;
    padding: 4rem 0;
  }
}

@media (max-width: 480px) {
  .btn-primary,
  .btn-ghost {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
  }
  .about-visual-grid {
    grid-template-columns: 1fr 1fr;
  }
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ============================================================
   CUSTOM SCROLLBAR
   ============================================================ */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--dark-900);
}
::-webkit-scrollbar-thumb {
  background: rgba(230, 0, 8, 0.3);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(230, 0, 8, 0.5);
}

/* ============================================================
   SELECTION
   ============================================================ */
::selection {
  background: rgba(230, 0, 8, 0.3);
  color: white;
}

/* ============================================================
   BACK TO TOP - 返回顶部按钮
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
  box-shadow: 0 4px 20px rgba(230, 0, 8, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 30px rgba(230, 0, 8, 0.5);
}

.back-to-top:active {
  transform: translateY(-2px) scale(1.05);
}

.back-to-top svg {
  transition: transform 0.3s ease;
}

.back-to-top:hover svg {
  transform: translateY(-2px);
}

/* 滚动时的脉冲动画 */
@keyframes backToTopPulse {
  0%,
  100% {
    box-shadow: 0 4px 20px rgba(230, 0, 8, 0.3);
  }
  50% {
    box-shadow:
      0 4px 30px rgba(230, 0, 8, 0.5),
      0 0 0 8px rgba(230, 0, 8, 0.1);
  }
}

.back-to-top.visible {
  animation: backToTopPulse 2s ease-in-out infinite;
}

.back-to-top:hover {
  animation: none;
}

/* ============================================================
   PAGE HERO (通用页面头部)
   ============================================================ */
.page-hero {
  min-height: 50vh;
  padding-top: 100px;
  background:
    radial-gradient(
      ellipse 80% 60% at 50% -10%,
      rgba(230, 0, 8, 0.15) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 60% 40% at 80% 80%,
      rgba(14, 165, 233, 0.08) 0%,
      transparent 60%
    ),
    var(--dark-900);
}

/* ============================================================
   NAVIGATION - 页面激活态
   ============================================================ */
.nav-page-active {
  color: white;
}
.nav-page-active::after {
  width: 100%;
}

/* ============================================================
   PRODUCT PAGE - 标签切换按钮
   ============================================================ */
.product-tab-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--trans-base);
}
.product-tab-btn:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}
.product-tab-btn.active {
  color: white;
  background: linear-gradient(
    135deg,
    rgba(230, 0, 8, 0.4),
    rgba(204, 0, 6, 0.3)
  );
  border-color: rgba(230, 0, 8, 0.5);
  box-shadow: 0 0 20px rgba(230, 0, 8, 0.2);
}

/* ============================================================
   PRODUCT PAGE - 规格表格
   ============================================================ */
.specs-table-wrap {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.specs-table th,
.specs-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.specs-table th {
  background: rgba(230, 0, 8, 0.1);
  font-weight: 600;
  color: var(--blue-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
}
.specs-table tr:last-child td {
  border-bottom: none;
}
.specs-table td {
  color: rgba(255, 255, 255, 0.8);
}
.specs-table td:first-child {
  font-weight: 500;
  color: white;
}
.specs-table tbody tr:hover {
  background: rgba(230, 0, 8, 0.05);
}

.specs-table-sky th {
  background: rgba(14, 165, 233, 0.1);
  color: var(--sky-500);
}

/* Light section table */
.section-light .specs-table-wrap,
.section-gray .specs-table-wrap {
  background: white;
  border-color: var(--gray-200);
}
.section-light .specs-table th,
.section-gray .specs-table th {
  background: var(--gray-100);
  color: var(--blue-600);
}
.section-light .specs-table td,
.section-gray .specs-table td {
  color: var(--gray-600);
  border-bottom-color: var(--gray-100);
}
.section-light .specs-table td:first-child,
.section-gray .specs-table td:first-child {
  color: var(--gray-900);
}

/* ============================================================
   PRODUCT PAGE - 对比卡片
   ============================================================ */
.compare-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all var(--trans-base);
}
.compare-card:hover {
  border-color: rgba(230, 0, 8, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}
.compare-m7 {
  border-top: 3px solid var(--blue-500);
}
.compare-m9 {
  border-top: 3px solid var(--sky-500);
}
.compare-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-500);
  background: rgba(230, 0, 8, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.compare-badge.m9-badge {
  color: var(--sky-500);
  background: rgba(14, 165, 233, 0.1);
}
.compare-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: white;
}
.compare-title.m9-title {
  color: var(--sky-400);
}
.compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.compare-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}
.compare-list li:last-child {
  border-bottom: none;
}

/* Light section compare */
.section-light .compare-card,
.section-gray .compare-card {
  background: white;
  border-color: var(--gray-200);
}
.section-light .compare-list li,
.section-gray .compare-list li {
  color: var(--gray-600);
  border-bottom-color: var(--gray-100);
}

/* ============================================================
   ABOUT PAGE - 企业介绍视觉
   ============================================================ */
.intro-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.intro-visual-inner {
  position: relative;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.intro-visual-ring {
  position: absolute;
  border: 1px solid rgba(230, 0, 8, 0.2);
  border-radius: 50%;
}
.intro-visual-ring.ring-1 {
  width: 280px;
  height: 280px;
  animation: ringRotate 15s linear infinite;
}
.intro-visual-ring.ring-2 {
  width: 220px;
  height: 220px;
  animation: ringRotate 10s linear infinite reverse;
  border-style: dashed;
}
.intro-visual-ring.ring-3 {
  width: 160px;
  height: 160px;
  animation: ringRotate 6s linear infinite;
}
.intro-visual-core {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #cc0006, #e60008);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(230, 0, 8, 0.4);
  position: relative;
  z-index: 2;
}

/* ============================================================
   ABOUT PAGE - 统计小卡片
   ============================================================ */
.stat-mini {
  text-align: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  transition: all var(--trans-base);
}
.stat-mini:hover {
  border-color: rgba(230, 0, 8, 0.25);
  transform: translateY(-2px);
}
.stat-mini-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.25rem;
}
.stat-mini-num span {
  color: var(--blue-500);
  font-size: 1rem;
}
.stat-mini-label {
  font-size: 0.75rem;
  color: var(--gray-400);
  letter-spacing: 0.05em;
}

/* Light section stat */
.section-light .stat-mini,
.section-gray .stat-mini {
  background: white;
  border-color: var(--gray-200);
}
.section-light .stat-mini-num,
.section-gray .stat-mini-num {
  color: var(--gray-900);
}

/* ============================================================
   ABOUT PAGE - 核心价值观卡片
   ============================================================ */
.value-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all var(--trans-base);
}
.value-card:hover {
  border-color: rgba(230, 0, 8, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}
.value-icon {
  width: 64px;
  height: 64px;
  background: rgba(230, 0, 8, 0.08);
  border: 1px solid rgba(230, 0, 8, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  transition: all var(--trans-base);
}
.value-card:hover .value-icon {
  background: rgba(230, 0, 8, 0.15);
  border-color: rgba(230, 0, 8, 0.4);
  transform: scale(1.1);
}

/* Light section value */
.section-light .value-card,
.section-gray .value-card {
  background: white;
  border-color: var(--gray-200);
}

/* ============================================================
   ABOUT PAGE - 资质认证卡片
   ============================================================ */
.cert-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  transition: all var(--trans-base);
}
.cert-card:hover {
  border-color: rgba(230, 0, 8, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.cert-icon {
  width: 60px;
  height: 60px;
  background: rgba(230, 0, 8, 0.08);
  border: 1px solid rgba(230, 0, 8, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.cert-name {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.25rem;
}
.cert-desc {
  font-size: 0.75rem;
  color: var(--gray-400);
}

/* Light section cert */
.section-light .cert-card,
.section-gray .cert-card {
  background: white;
  border-color: var(--gray-200);
}
.section-light .cert-name,
.section-gray .cert-name {
  color: var(--gray-900);
}

/* ============================================================
   ABOUT PAGE - 团队视觉
   ============================================================ */
.team-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.team-visual-inner {
  position: relative;
  width: 260px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-visual-ring {
  position: absolute;
  border: 1px solid rgba(230, 0, 8, 0.2);
  border-radius: 50%;
}
.team-visual-ring.ring-1 {
  width: 260px;
  height: 260px;
  animation: ringRotate 12s linear infinite;
}
.team-visual-ring.ring-2 {
  width: 200px;
  height: 200px;
  animation: ringRotate 8s linear infinite reverse;
  border-style: dashed;
}
.team-visual-ring.ring-3 {
  width: 140px;
  height: 140px;
  animation: ringRotate 5s linear infinite;
}
.team-visual-core {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #cc0006, #e60008);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 32px rgba(230, 0, 8, 0.4);
  position: relative;
  z-index: 2;
}

/* ============================================================
   ABOUT PAGE - 团队标签
   ============================================================ */
.team-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(230, 0, 8, 0.1);
  border: 1px solid rgba(230, 0, 8, 0.25);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--blue-500);
  transition: all var(--trans-base);
}
.team-badge:hover {
  background: rgba(230, 0, 8, 0.2);
  border-color: rgba(230, 0, 8, 0.4);
  transform: translateY(-2px);
}

/* Light section team badge */
.section-light .team-badge,
.section-gray .team-badge {
  background: rgba(230, 0, 8, 0.08);
}

/* ============================================================
   HOME PAGE - 产品卡片
   ============================================================ */
.product-card-home {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--trans-base);
  display: block;
}
.product-card-home:hover {
  border-color: rgba(230, 0, 8, 0.25);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.product-card-home-visual {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.product-card-home-body {
  padding: 1.5rem;
}
.product-card-home-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-500);
  background: rgba(230, 0, 8, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}
.product-card-home-tag.m9-tag {
  color: var(--sky-500);
  background: rgba(14, 165, 233, 0.1);
}
.btn-link {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--trans-base);
}
.btn-link:hover {
  color: var(--primary-light);
}
.btn-link.m9-link {
  color: var(--sky-500);
}
.btn-link.m9-link:hover {
  color: var(--sky-400);
}

.m7-card-bg {
  background:
    radial-gradient(
      ellipse 80% 80% at 50% 50%,
      rgba(230, 0, 8, 0.12) 0%,
      transparent 70%
    ),
    linear-gradient(135deg, rgba(204, 0, 6, 0.1) 0%, rgba(10, 10, 15, 0.9) 100%);
}
.m9-card-bg {
  background:
    radial-gradient(
      ellipse 80% 80% at 50% 50%,
      rgba(14, 165, 233, 0.12) 0%,
      transparent 70%
    ),
    linear-gradient(
      135deg,
      rgba(14, 165, 233, 0.1) 0%,
      rgba(10, 10, 15, 0.9) 100%
    );
}

/* Light section product card */
.section-light .product-card-home,
.section-gray .product-card-home {
  background: white;
  border-color: var(--gray-200);
}
.section-light .product-card-home:hover,
.section-gray .product-card-home:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* ============================================================
   RESPONSIVE - 关于页
   ============================================================ */
@media (max-width: 768px) {
  .intro-visual-inner,
  .team-visual-inner {
    width: 200px;
    height: 200px;
  }
  .intro-visual-ring.ring-1,
  .team-visual-ring.ring-1 {
    width: 200px;
    height: 200px;
  }
  .intro-visual-ring.ring-2,
  .team-visual-ring.ring-2 {
    width: 160px;
    height: 160px;
  }
  .intro-visual-ring.ring-3,
  .team-visual-ring.ring-3 {
    width: 120px;
    height: 120px;
  }
  .intro-visual-core {
    width: 70px;
    height: 70px;
  }
  .team-visual-core {
    width: 60px;
    height: 60px;
  }
  .intro-visual-core svg {
    width: 36px;
    height: 36px;
  }
  .team-visual-core svg {
    width: 28px;
    height: 28px;
  }
  .specs-table th,
  .specs-table td {
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
  }
  .compare-title {
    font-size: 1.5rem;
  }
}

/* ============================================================
   时间线激活态修复
   ============================================================ */
.timeline-dot.active {
  background: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(230, 0, 8, 0.25);
  animation: dotPulse2 2s ease-in-out infinite;
}

/* ============================================================
   IMAGE STYLES
   ============================================================ */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-rounded {
  border-radius: var(--radius-xl);
}

/* Image reveal animation */
.img-reveal {
  opacity: 0;
  transform: scale(1.05);
  transition:
    opacity 1s ease,
    transform 1s ease;
}
.img-reveal.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* ============================================================
   CERTIFICATES SLIDER - 证书滑动展示
   ============================================================ */
.certificates-slider-container {
  position: relative;
  /* 全宽布局 — 与页面显示区域一致 */
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 4rem; /* 左右留出箭头空间 */
}

.certificates-slider-wrapper {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem;
}

.certificates-slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 2rem;
  padding: 1rem;
}

.certificate-slide {
  flex: 0 0 calc(25% - 1.5rem); /* 每行显示4张，间隙2rem，计算宽度 */
  min-width: 0;
}

.certificate-image-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  background: white;
  aspect-ratio: 1/1.414; /* A4比例 */
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.certificate-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* 图片放大30% — 保持容器比例，图片本身缩放1.3 */
  transform: scale(1.3);
  transform-origin: center center;
}

.certificate-slide:hover .certificate-image-container {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

/* 证书标题 — 图片下方常驻显示 */
.certificate-title {
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  color: #1f2937;
  margin-top: 0.875rem;
  transition: color 0.3s ease;
}

.certificate-slide:hover .certificate-title {
  color: var(--primary);
}

/* 证书滑动控制按钮（左右浮动式） */
.cert-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.cert-arrow:hover {
  background: rgba(230, 0, 8, 0.9);
  color: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 24px rgba(230, 0, 8, 0.4);
}

.cert-arrow:active {
  transform: translateY(-50%) scale(1.05);
}

.cert-arrow svg {
  width: 24px;
  height: 24px;
}

.cert-arrow-left {
  left: 0;
}

.cert-arrow-right {
  right: 0;
}

/* 禁用状态 — 半透明而非隐藏 */
.cert-arrow.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* 响应式调整 */
@media (max-width: 1024px) {
  .certificate-slide {
    flex: 0 0 calc(33.333% - 1.5rem); /* 每行3张 */
  }
}

@media (max-width: 768px) {
  .certificate-slide {
    flex: 0 0 calc(50% - 1.5rem); /* 每行2张 */
  }
  .certificates-slider-wrapper {
    padding: 1rem;
  }
  .certificates-slider-track {
    gap: 1rem;
    padding: 0.5rem;
  }
  .certificates-slider-container {
    padding: 1.5rem 2.5rem;
  }
}

@media (max-width: 480px) {
  .certificate-slide {
    flex: 0 0 calc(100% - 1rem); /* 每行1张 */
  }
  .cert-arrow {
    width: 40px;
    height: 40px;
  }
  .cert-arrow svg {
    width: 20px;
    height: 20px;
  }
  .certificates-slider-container {
    padding: 1rem 1.5rem;
  }
}

/* ==================== HISTORY HORIZONTAL SLIDER ==================== */

/* ── 标题区域 - 居中布局 ── */
.history-header {
  text-align: center;
  margin-bottom: 3rem;
}

.history-main-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-top: 1rem;
  margin-bottom: 0.75rem;
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.75) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.history-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

/* 标题下方装饰线 */
.history-header-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 1.5rem;
}

.history-header-line::before,
.history-header-line::after {
  content: "";
  height: 1px;
  width: 60px;
  background: linear-gradient(90deg, transparent, rgba(230, 0, 8, 0.5));
}

.history-header-line::after {
  background: linear-gradient(90deg, rgba(230, 0, 8, 0.5), transparent);
}

.history-header-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px rgba(230, 0, 8, 0.6);
  animation: headerDotPulse 2s ease-in-out infinite;
  margin: 0 0.75rem;
}

@keyframes headerDotPulse {
  0%,
  100% {
    box-shadow: 0 0 12px rgba(230, 0, 8, 0.6);
    transform: scale(1);
  }
  50% {
    box-shadow:
      0 0 20px rgba(230, 0, 8, 0.9),
      0 0 40px rgba(230, 0, 8, 0.3);
    transform: scale(1.2);
  }
}

/* ── 滑块容器 — 全宽布局（突破 container） ── */
.history-slider-container {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 0 5rem;
  overflow: visible;
}

@media (min-width: 1536px) {
  .history-slider-container {
    padding: 0 calc((100vw - var(--max-width)) / 2 + 4rem);
  }
}

/* 滑动视口 */
.history-slider-viewport {
  overflow: hidden;
}

/* 轨道 */
.history-slider-track {
  display: flex;
  gap: 3.5rem;
  padding: 3rem 0 4rem;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  perspective: 1200px;
  transform-style: preserve-3d;
  will-change: transform;
}

/* 时间轴连接线 — 从第一个节点到最后一个节点 */
.history-slider-track::before {
  content: "";
  position: absolute;
  top: 44px;
  left: 10px;
  right: 10px;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(230, 0, 8, 0.08) 0%,
    rgba(230, 0, 8, 0.4) 8%,
    rgba(230, 0, 8, 0.4) 92%,
    rgba(230, 0, 8, 0.08) 100%
  );
  box-shadow: 0 0 30px rgba(230, 0, 8, 0.12);
  z-index: 0;
}

/* ── 时间节点 ── */
.history-node {
  --history-wave: 0px;
  flex: 0 0 auto;
  width: 360px;
  position: relative;
  z-index: 1;
  /* 入场动画初始态 */
  opacity: 0;
  transform: translateY(calc(30px + var(--history-wave))) translateZ(0);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.history-node:nth-child(odd) {
  --history-wave: 24px;
}

.history-node:nth-child(even) {
  --history-wave: -24px;
}

/* 滚动触发入场（JS 添加 .is-visible） */
.history-node.is-visible {
  opacity: 1;
  transform: translateY(var(--history-wave)) translateZ(0);
}

/* stagger 延迟 */
.history-node.is-visible {
  transition-delay: calc(var(--node-index, 0) * 0.08s);
}

/* 节点圆点 */
.history-node-dot {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 2px solid rgba(230, 0, 8, 0.8);
  box-shadow: 0 0 18px rgba(230, 0, 8, 0.18);
  z-index: 2;
  transition: all 0.4s ease;
  margin-bottom: 1.5rem;
}

/* 圆点光环（扩散动画） */
.history-node-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(230, 0, 8, 0.4);
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
  animation: ringExpand 2.8s ease-out infinite;
  animation-delay: calc(var(--node-index, 0) * 0.4s);
  pointer-events: none;
}

@keyframes ringExpand {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.55;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.8);
    opacity: 0;
  }
}

/* 节点内容容器 */
.history-node-content {
  padding: 2rem;
  position: relative;
  border-radius: 2rem;
  background: rgba(12, 12, 20, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.history-node-content::before {
  content: "";
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  right: 1.2rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(230, 0, 8, 0.4), rgba(255, 255, 255, 0.04));
  opacity: 0.35;
}

.history-node:hover .history-node-content {
  transform: translateY(-10px) scale(1.01);
  border-color: rgba(230, 0, 8, 0.45);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

/* 悬停效果 */
.history-node:hover .history-node-dot {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow:
    0 0 0 6px rgba(230, 0, 8, 0.15),
    0 0 20px rgba(230, 0, 8, 0.4);
  transform: scale(1.3);
}

.history-node:hover .history-node-ring {
  animation: none;
  opacity: 0;
}

/* 悬停时节点内容发光 */
.history-node:hover::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: radial-gradient(
    ellipse at center bottom,
    rgba(230, 0, 8, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: -1;
}

/* 年份 — 字号加大50% */
.history-node-year {
  font-size: 4.125rem;
  font-weight: 900;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.75rem;
  transition: all 0.4s ease;
}

.history-node:hover .history-node-year {
  transform: scale(1.05);
  filter: brightness(1.2);
}

/* 标题 — 字号加大100% */
.history-node-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.625rem;
  position: relative;
  transition: all 0.3s ease;
  line-height: 1.3;
}

/* 标题下方短装饰线 */
.history-node-title::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
  margin-top: 0.5rem;
  transition: width 0.4s ease;
}

.history-node:hover .history-node-title::after {
  width: 60px;
}

/* 描述 */
.history-node-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  transition: color 0.3s ease;
}

.history-node:hover .history-node-desc {
  color: rgba(255, 255, 255, 0.85);
}

/* ==================== 历史模块箭头按钮 ==================== */
.history-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 10, 18, 0.82);
  backdrop-filter: blur(18px);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 0 24px rgba(230, 0, 8, 0.12);
}

.history-arrow:hover {
  background: linear-gradient(135deg, rgba(230, 0, 8, 0.9), rgba(255, 102, 102, 0.85));
  color: white;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 10px 40px rgba(230, 0, 8, 0.35);
}

.history-arrow-left {
  left: 0;
}

.history-arrow-right {
  right: 0;
}

/* 箭头禁用状态 — 半透明 */
.history-arrow.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* ==================== 进度条 ==================== */
.history-progress {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  margin-top: 1.4rem;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.08);
}

.history-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(230, 0, 8, 1), rgba(255, 90, 90, 0.9));
  border-radius: 999px;
  transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  box-shadow: 0 0 18px rgba(230, 0, 8, 0.35);
}

/* 进度条发光效果 */
.history-progress-bar::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-light);
  box-shadow:
    0 0 10px rgba(230, 0, 8, 0.6),
    0 0 20px rgba(230, 0, 8, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.history-progress-bar[style*="width"]:not([style*="width: 0%"])::after {
  opacity: 1;
}

/* ==================== 响应式 ==================== */
@media (max-width: 1024px) {
  .history-node {
    width: 300px;
  }
  .history-node-year {
    font-size: 3.25rem;
  }
  .history-node-title {
    font-size: 1.75rem;
  }
  .history-slider-container {
    padding: 0 3rem;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
  }
}

@media (max-width: 768px) {
  .history-node {
    width: 240px;
  }
  .history-node-year {
    font-size: 2.5rem;
  }
  .history-node-title {
    font-size: 1.5rem;
  }
  .history-node-desc {
    font-size: 0.875rem;
  }
  .history-arrow {
    width: 36px;
    height: 36px;
  }
  .history-arrow svg {
    width: 16px;
    height: 16px;
  }
  .history-slider-container {
    padding: 0 2rem;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
  }
  .history-header-line::before,
  .history-header-line::after {
    width: 40px;
  }
  .history-slider-track {
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .history-node {
    width: 200px;
  }
  .history-node-year {
    font-size: 2rem;
  }
  .history-node-title {
    font-size: 1.25rem;
  }
  .history-node-desc {
    font-size: 0.8rem;
  }
  .history-slider-container {
    padding: 0 1.5rem;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
  }
  .history-slider-track {
    gap: 1.5rem;
  }
}
