/* ==========================================================================
   品盈软件官网 - 极简商务企业风样式规范 (Apple/B2B SaaS Style)
   ========================================================================== */

:root {
  /* 核心色彩 - 经典商务蓝与极简灰白 */
  --primary: #0066cc;         /* 现代信任商务蓝 */
  --primary-dark: #004c99;    /* 深沉蓝，用于悬浮或强调 */
  --primary-light: #e6f0ff;   /* 极浅蓝背景 */
  
  --bg-main: #ffffff;         /* 纯白主背景 */
  --bg-sub: #f5f5f7;          /* 极简灰白，区隔内容层级 (Apple风) */
  --bg-card: #ffffff;
  
  /* 文字色彩 */
  --text-main: #1d1d1f;       /* 近黑色主文本 */
  --text-sub: #86868b;        /* 灰色次文本 */
  --text-muted: #a1a1a6;      /* 更浅的辅助文本 */
  
  /* 边框与装饰 */
  --border: #e5e5ea;
  --border-light: #f2f2f7;
  
  /* 字体系统 */
  --text-xs: 0.75rem;     /* 12px */
  --text-sm: 0.875rem;    /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg: 1.125rem;    /* 18px */
  --text-xl: 1.5rem;      /* 24px */
  --text-2xl: 2rem;       /* 32px */
  --text-3xl: 2.5rem;     /* 40px */
  --text-4xl: 3.5rem;     /* 56px */
  --text-5xl: 4.5rem;     /* 72px */

  --leading-tight: 1.2;
  --leading-normal: 1.5;
  --leading-relaxed: 1.6;

  /* 阴影 */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  
  /* 圆角 */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* 间距系统 */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 5rem;
  --space-16: 7rem;

  --section-padding: 140px 0; /* 从 100px 调大到 140px，让全屏滚下来后有更宽阔的呼吸感 */
  --container-padding: 0 5%;
  --card-padding: 40px; /* 从 32px 调大到 40px，让卡片也更丰满 */

  /* 动效 */
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --ease-default: cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* --------------------------------------------------------------------------
   基础重置
   -------------------------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* 仅针对首页开启全屏滚动和吸附 (已移除，避免鼠标滚轮卡顿) */
html.home-page {
  /* scroll-snap-type: y proximity; */
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --------------------------------------------------------------------------
   布局与网格
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1440px; /* 从1200px调宽到1440px，适应宽屏显示器 */
  margin: 0 auto;
  padding: var(--container-padding);
}

.section {
  padding: var(--section-padding);
  position: relative;
}

/* 仅首页的区块强制全屏高度并开启滚动吸附 (已废弃，解决内容过多导致的滚动卡顿问题) */
html.home-page .section {
  /* min-height: 100vh; */
  /* display: flex; */
  /* flex-direction: column; */
  /* justify-content: center; */
  padding: 80px 0;
  /* scroll-snap-align: start; */
  /* scroll-snap-stop: normal; */
}

.section-bg {
  background-color: var(--bg-sub);
}
.section-light {
  background-color: var(--bg-main);
}

.grid {
  display: grid;
  gap: var(--space-8);
}

.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-cols-4, .grid-cols-3 { grid-template-columns: repeat(2, 1fr); }
  html { font-size: 15px; }
}

@media (max-width: 768px) {
  .grid-cols-2, .grid-cols-3, .grid-cols-4 { grid-template-columns: 1fr; }
  .mobile-grid-1 { grid-template-columns: 1fr !important; }
  .mobile-grid-2 { grid-template-columns: repeat(2, 1fr) !important; }
  .section { padding: 80px 0; } /* 移动端也相应放大，原来是 60px */
  html { font-size: 14px; }
}

/* --------------------------------------------------------------------------
   排版样式 (极简大气排版)
   -------------------------------------------------------------------------- */
.section-title {
  font-size: var(--text-4xl); /* 从 3xl 放大到 4xl，撑起大屏排版 */
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-3);
  color: var(--text-main);
  letter-spacing: -1px;
}

.section-subtitle {
  font-size: var(--text-xl); /* 从 lg 放大到 xl */
  color: var(--text-sub);
  text-align: center;
  margin-bottom: var(--space-16); /* 标题到内容的间距拉大 */
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   UI 组件 - 按钮 (圆润、克制)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: var(--text-base);
  font-weight: 500;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-default);
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: scale(1.02);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-solid {
  background-color: var(--text-main);
  color: #ffffff;
}

.btn-solid:hover {
  background-color: #000000;
  transform: scale(1.02);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--text-main);
}

/* --------------------------------------------------------------------------
   UI 组件 - 高端卡片 (白色、柔和阴影、无边框感)
   -------------------------------------------------------------------------- */
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: var(--card-padding);
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-normal) var(--ease-default),
              box-shadow var(--duration-normal) var(--ease-default);
  border: 1px solid var(--border);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-title {
  font-size: var(--text-xl);
  color: var(--text-main);
  margin-bottom: var(--space-4);
  font-weight: 600;
  letter-spacing: -0.3px;
}

.card-desc {
  color: var(--text-sub);
  line-height: var(--leading-relaxed);
  font-size: var(--text-base);
}

/* --------------------------------------------------------------------------
   导航栏 (透明与毛玻璃状态切换)
   -------------------------------------------------------------------------- */
.main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 80px;
  background: transparent; /* 默认全透明，与深色 Hero 背景融合 */
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(5%, calc((100vw - 1440px) / 2 + 5%)); /* 响应式边距：在大屏下与1440px内容区对齐 */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* 极细半透明边框 */
  transition: all var(--duration-normal) var(--ease-default);
}

.main-nav.scrolled {
  height: 64px;
  background: rgba(255, 255, 255, 0.9); /* 滚动后变为白色 */
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-logo {
  color: #ffffff; /* 默认白色 Logo */
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.5px;
  transition: color var(--duration-normal) var(--ease-default);
}

.main-nav.scrolled .nav-logo {
  color: var(--text-main); /* 滚动后变为深色 */
}

.nav-links {
  display: flex;
  gap: var(--space-10); /* 加大菜单项之间的间距 */
}

.nav-link {
  color: #ffffff; /* 默认白色链接 */
  font-size: var(--text-base); /* 字体从 sm (14px) 调大到 base (16px) */
  font-weight: 500;
  opacity: 0.8;
  transition: all var(--duration-fast);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  opacity: 1;
  color: #ffffff;
}

/* 链接下划线特效 */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: width var(--duration-normal) var(--ease-default);
  border-radius: 2px;
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.main-nav.scrolled .nav-link {
  color: var(--text-main); /* 滚动后变为深色 */
  opacity: 0.7;
}

.main-nav.scrolled .nav-link:hover, .main-nav.scrolled .nav-link.active {
  opacity: 1;
  color: var(--primary);
}

.main-nav.scrolled .nav-link::after {
  background: var(--primary); /* 滚动后下划线变为主题蓝 */
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: #ffffff; /* 默认白色汉堡菜单 */
  transition: transform 0.3s ease, opacity 0.3s ease, background var(--duration-normal);
}

.main-nav.scrolled .menu-toggle span {
  background: var(--text-main); /* 滚动后变为深色 */
}

/* --------------------------------------------------------------------------
   移动端导航栏与菜单重构 (全屏玻璃态)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .main-nav { height: 64px; }
  .nav-links { display: none; }
  .menu-toggle { display: flex; }

  /* 移动端菜单打开状态 */
  .main-nav.menu-open {
    background: rgba(255, 255, 255, 0.98); /* 顶部导航条保持近乎纯白 */
    border-bottom: 1px solid var(--border);
    box-shadow: none;
  }
  
  .main-nav.menu-open .nav-logo {
    color: var(--text-main);
  }

  .main-nav.menu-open .menu-toggle span {
    background: var(--text-main);
  }

  /* 汉堡按钮转为 X 形动画 */
  .main-nav.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .main-nav.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }
  .main-nav.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* 全屏菜单容器 */
  .main-nav.menu-open .nav-links {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* 改为靠上对齐，避免菜单过多时挤压 */
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    height: calc(100vh - 64px);
    background: rgba(255, 255, 255, 0.98); /* 关键修复：给展开的菜单区加上白色不透明背景 */
    backdrop-filter: saturate(180%) blur(30px);
    -webkit-backdrop-filter: saturate(180%) blur(30px);
    padding: 10vh var(--space-4) 15vh; /* 增加顶部呼吸空间 */
    gap: var(--space-8); /* 稍微拉开间距 */
    animation: fadeInMenu 0.3s ease forwards;
  }

  /* 移动端菜单链接样式 */
  .main-nav.menu-open .nav-link {
    color: var(--text-main);
    font-size: var(--text-2xl);
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUpMenu 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  /* 禁用移动端的悬停下划线 */
  .main-nav.menu-open .nav-link::after {
    display: none;
  }
  
  /* 链接错落动画延迟 */
  .main-nav.menu-open li:nth-child(1) .nav-link { animation-delay: 0.05s; }
  .main-nav.menu-open li:nth-child(2) .nav-link { animation-delay: 0.1s; }
  .main-nav.menu-open li:nth-child(3) .nav-link { animation-delay: 0.15s; }
  .main-nav.menu-open li:nth-child(4) .nav-link { animation-delay: 0.2s; }
  .main-nav.menu-open li:nth-child(5) .nav-link { animation-delay: 0.25s; }
  .main-nav.menu-open li:nth-child(6) .nav-link { animation-delay: 0.3s; }
}

@keyframes fadeInMenu {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUpMenu {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   Hero 区域 (全屏沉浸式动图/视频背景)
   -------------------------------------------------------------------------- */
.hero {
  min-height: 45vh; /* 内页默认较矮的 Hero 尺寸，约占据屏幕一半 */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: #000; /* 兜底背景色，动图加载前显黑 */
  padding: 0 5%;
  overflow: hidden;
}

html.home-page .hero {
  min-height: 100vh; /* 首页强制占满全屏 */
  min-height: 100dvh; /* 适配移动端浏览器视口 */
  /* scroll-snap-align: start; */
  /* scroll-snap-stop: normal; */
}

/* 背景视频/动图 */
.hero-bg-media {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translateX(-50%) translateY(-50%);
  z-index: 0;
  object-fit: cover;
  opacity: 1; /* 取消之前的透明度降低，让视频完全高亮 */
}

/* 深色半透明遮罩，保证文字可读性 */
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4); /* 40% 的纯黑遮罩 */
  z-index: 1;
}

/* Hero 内容层 */
.hero-content {
  z-index: 10; /* 必须在遮罩之上 */
  max-width: 900px;
  margin-top: 60px;
}

/* 强制 Hero 区域文字为白色，覆盖全局颜色 */
.hero-title {
  font-size: var(--text-5xl);
  font-weight: 700;
  color: #ffffff; /* 白色文字 */
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: var(--space-6);
  opacity: 0;
  animation: slideUp var(--duration-slow) var(--ease-default) forwards;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3); /* 增加文字投影，提升在复杂背景下的辨识度 */
}

.hero-title span {
  color: #66b3ff; /* 针对视频背景调整的一个稍微明亮的品牌蓝 */
}

.hero-desc {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.85); /* 半透明白色 */
  max-width: 700px;
  margin: 0 auto var(--space-8);
  line-height: var(--leading-relaxed);
  font-weight: 400;
  opacity: 0;
  animation: slideUp var(--duration-slow) var(--ease-default) 0.1s forwards;
  text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

.hero-actions {
  opacity: 0;
  animation: slideUp var(--duration-slow) var(--ease-default) 0.2s forwards;
  display: flex;
  gap: var(--space-4);
  justify-content: center;
}

/* 底部滚动提示符 */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: #ffffff;
  animation: bounce 2s infinite;
  opacity: 0.7;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-10px) translateX(-50%); }
  60% { transform: translateY(-5px) translateX(-50%); }
}

@media (max-width: 768px) {
  .hero-title { font-size: var(--text-4xl); }
  .hero-desc { font-size: var(--text-lg); }
  .hero-actions { flex-direction: column; }
}

/* --------------------------------------------------------------------------
   新增组件样式 (标签、列表、Logo墙、时间轴)
   -------------------------------------------------------------------------- */
/* 企业文化卡片增强 (关于我们页面) */
.culture-card {
  position: relative;
  overflow: hidden;
  padding: var(--space-10) var(--space-6);
  border: none;
  background: var(--bg-main);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: all var(--duration-slow) var(--ease-default);
  z-index: 1;
}

.culture-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.culture-card::before {
  content: attr(data-index);
  position: absolute;
  top: -20px;
  right: -10px;
  font-size: 120px;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.05;
  z-index: -1;
  transition: opacity var(--duration-normal);
}

.culture-card:hover::before {
  opacity: 0.1;
}

.culture-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  transition: transform var(--duration-normal), background var(--duration-normal);
}

.culture-card:hover .culture-icon {
  transform: scale(1.1);
  background: var(--primary);
  color: #fff;
}

.culture-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: var(--space-4);
}

.culture-desc {
  color: var(--text-sub);
  line-height: var(--leading-relaxed);
  font-size: var(--text-base);
}
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-8) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-16);
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.timeline-content-wrapper {
  width: 45%;
  padding-right: var(--space-10);
  text-align: right;
}

.timeline-image-wrapper {
  width: 45%;
  padding-left: var(--space-10);
}

.timeline-image-wrapper img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform var(--duration-normal);
}

.timeline-item:hover .timeline-image-wrapper img {
  transform: scale(1.02);
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-item:nth-child(even) .timeline-content-wrapper {
  padding-right: 0;
  padding-left: var(--space-10);
  text-align: left;
}

.timeline-item:nth-child(even) .timeline-image-wrapper {
  padding-left: 0;
  padding-right: var(--space-10);
}

.timeline-item::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: var(--bg-main);
  border: 4px solid var(--primary);
  border-radius: 50%;
  z-index: 1;
  transition: all var(--duration-normal);
}

.timeline-item:hover::after {
  background: var(--primary);
  transform: translate(-50%, -50%) scale(1.2);
  box-shadow: 0 0 0 6px rgba(0, 102, 204, 0.2);
}

.timeline-card {
  background: var(--bg-card);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  display: inline-block;
  width: 100%;
  transition: transform var(--duration-normal), box-shadow var(--duration-normal);
}

.timeline-item:hover .timeline-card {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.timeline-year {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: var(--space-4);
  letter-spacing: -1px;
}

.timeline-content {
  color: var(--text-sub);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
}

@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }
  .timeline-item, .timeline-item:nth-child(even) {
    flex-direction: column;
    align-items: flex-start;
  }
  .timeline-content-wrapper, .timeline-item:nth-child(even) .timeline-content-wrapper {
    width: 100%;
    padding-left: 60px;
    padding-right: 0;
    text-align: left;
    margin-bottom: var(--space-6);
  }
  .timeline-image-wrapper, .timeline-item:nth-child(even) .timeline-image-wrapper {
    width: 100%;
    padding-left: 60px;
    padding-right: 0;
  }
  .timeline-item::after {
    left: 20px;
    top: 40px;
    transform: translate(-50%, -50%);
  }
  .timeline-item:hover::after {
    transform: translate(-50%, -50%) scale(1.2);
  }
}
.badge-container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
  margin-bottom: var(--space-6);
}

.badge {
  font-size: var(--text-xs);
  padding: 4px 10px;
  background: var(--bg-sub);
  color: var(--text-sub);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.check-list {
  margin-top: var(--space-6);
  margin-bottom: var(--space-8);
}

.check-list li {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-3);
  color: var(--text-main);
  font-size: var(--text-base);
}

.check-list li svg {
  color: var(--primary);
  margin-right: var(--space-3);
  flex-shrink: 0;
}

.client-logo-wall {
  margin-top: var(--space-12);
  padding-top: var(--space-12);
  border-top: 1px solid rgba(0,0,0,0.05);
  text-align: center;
}

.client-logo-wall h3 {
  font-size: var(--text-sm);
  color: var(--text-sub);
  margin-bottom: var(--space-8);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.client-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-12);
  flex-wrap: wrap;
  opacity: 0.5;
}

/* 无限滚动照片墙 (关于我们页面多职场) */
.gallery-marquee {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: var(--space-4) 0;
  margin-top: var(--space-10);
  background: var(--bg-main); /* 确保背景干净 */
}

.gallery-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}

.gallery-track:hover {
  animation-play-state: paused;
}

.gallery-item {
  width: 400px;
  height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  margin-right: var(--space-6);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-default);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.photo-label {
  position: absolute;
  bottom: var(--space-4);
  left: var(--space-4);
  background: rgba(255, 255, 255, 0.85);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-main);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  box-shadow: var(--shadow-sm);
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .gallery-item {
    width: 280px;
    height: 200px;
    margin-right: var(--space-4);
  }
}

/* --------------------------------------------------------------------------
   动效定义 (自然顺滑，无夸张感)
   -------------------------------------------------------------------------- */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-slow) var(--ease-default),
              transform var(--duration-slow) var(--ease-default);
  will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   数据展示块 (极简数字)
   -------------------------------------------------------------------------- */
.stats-box {
  text-align: center;
  padding: var(--space-8) 0;
}

.stats-number {
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: var(--space-2);
  letter-spacing: -1px;
}

.stats-label {
  color: var(--text-sub);
  font-size: var(--text-base);
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   页脚 (极简白灰版)
   -------------------------------------------------------------------------- */
.footer {
  background-color: var(--bg-sub);
  color: var(--text-sub);
  padding: var(--space-16) 0 var(--space-8);
  border-top: 1px solid var(--border);
}

html.home-page .footer {
  /* scroll-snap-align: start; */
  min-height: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.footer-title {
  color: var(--text-main);
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.footer-links li {
  margin-bottom: var(--space-3);
}

.footer-links a {
  transition: color var(--duration-fast);
  font-size: var(--text-sm);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: var(--space-6);
  text-align: center;
  font-size: var(--text-sm);
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   核心业务页面专有样式 (Services Page)
   -------------------------------------------------------------------------- */
.anchor-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
  margin-top: calc(var(--space-8) * -1);
  position: relative;
  z-index: 20;
}

.anchor-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-2);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.anchor-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.anchor-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-normal);
}

.anchor-card:hover .anchor-icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1);
}

.anchor-card h3 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-main);
}

.service-showcase {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  margin-bottom: var(--space-16);
}

.service-showcase:last-child {
  margin-bottom: 0;
}

.service-showcase.reverse {
  flex-direction: row-reverse;
}

.service-content {
  flex: 1;
}

.service-image {
  flex: 1;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.service-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform var(--duration-slow);
}

.service-showcase:hover .service-image img {
  transform: scale(1.03);
}

.service-badge {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
  letter-spacing: 1px;
}

.service-title {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: var(--space-4);
  letter-spacing: -1px;
}

.service-desc {
  font-size: var(--text-lg);
  color: var(--text-sub);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

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

@media (max-width: 768px) {
  .anchor-nav { grid-template-columns: repeat(2, 1fr); }
  .service-showcase, .service-showcase.reverse {
    flex-direction: column;
    gap: var(--space-8);
  }
  .service-title { font-size: var(--text-3xl); }
}

/* --------------------------------------------------------------------------
   招贤纳士页面专有样式 (Careers Page)
   -------------------------------------------------------------------------- */
.job-filters {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
  justify-content: center;
}

.job-filter-btn {
  padding: 8px 24px;
  border-radius: var(--radius-full);
  background: var(--bg-sub);
  color: var(--text-sub);
  cursor: pointer;
  transition: all var(--duration-fast);
  border: 1px solid transparent;
  font-size: var(--text-base);
  font-weight: 500;
}

.job-filter-btn:hover {
  background: var(--bg-card);
  border-color: var(--border);
  color: var(--text-main);
}

.job-filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.job-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.job-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-normal);
}

.job-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

.job-header {
  padding: var(--space-6) var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: var(--bg-card);
  position: relative;
}

.job-title-group {
  flex: 2;
}

.job-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: var(--space-2);
  transition: color var(--duration-fast);
}

.job-item:hover .job-title {
  color: var(--primary);
}

.job-tags {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}

.job-tag {
  font-size: var(--text-sm);
  color: var(--text-sub);
  background: var(--bg-sub);
  padding: 2px 10px;
  border-radius: 4px;
}

.job-salary {
  flex: 1;
  font-size: var(--text-xl);
  font-weight: 700;
  color: #ff6b6b;
  text-align: center;
}

.job-action {
  flex: 1;
  text-align: right;
}

.job-details {
  padding: 0 var(--space-8) var(--space-8);
  border-top: 1px solid var(--border-light);
  display: none;
  background: var(--bg-sub); /* 详情区使用浅灰色底区隔 */
}

.job-details.open {
  display: block;
  animation: fadeIn var(--duration-normal) var(--ease-default);
}

.job-desc-content {
  margin-top: var(--space-6);
  color: var(--text-sub);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
}

.job-desc-content h4 {
  color: var(--text-main);
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
  margin-top: var(--space-6);
}

.job-desc-content ul {
  list-style: none;
  padding-left: 0;
}

.job-desc-content li {
  position: relative;
  padding-left: 20px;
  margin-bottom: var(--space-2);
}

.job-desc-content li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* 弹窗样式 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity var(--duration-normal);
}

.modal-overlay.show {
  display: flex;
  opacity: 1;
}

.modal-container {
  background: var(--bg-card);
  width: 90%;
  max-width: 600px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(30px);
  transition: transform var(--duration-normal) var(--ease-default);
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--space-8);
}

.modal-overlay.show .modal-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-sub);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-sub);
  transition: all var(--duration-fast);
}

.modal-close:hover {
  background: var(--text-main);
  color: #fff;
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .job-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }
  .job-salary {
    text-align: left;
  }
  .job-action {
    text-align: left;
    width: 100%;
  }
  .job-action .btn {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   联系我们页面专有样式 (Contact Page)
   -------------------------------------------------------------------------- */
.workplace-tabs {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  border-bottom: 1px solid var(--border);
  padding-bottom: var(--space-2);
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
}

.workplace-tabs::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.workplace-tab {
  padding: 8px 16px;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-sub);
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: color var(--duration-fast);
}

.workplace-tab:hover {
  color: var(--text-main);
}

.workplace-tab.active {
  color: var(--primary);
}

.workplace-tab.active::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.workplace-content {
  display: none;
  animation: fadeIn var(--duration-normal) var(--ease-default);
}

.workplace-content.active {
  display: block;
}

/* ==========================================================================
   高级动效与新组件样式
   ========================================================================== */

/* 卡片发光悬浮效果 */
.hover-glow {
  position: relative;
  overflow: hidden;
}
.hover-glow::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  transition: all 0.7s ease;
  z-index: 1;
  pointer-events: none;
}
.hover-glow:hover::before {
  left: 150%;
}

/* 数据处理流程 */
.process-container {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: var(--space-12);
}
.process-container::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.process-step {
  position: relative;
  z-index: 1;
  width: 18%;
  text-align: center;
}
.step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-4);
  background: var(--bg-main);
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 24px;
  font-weight: bold;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease-default);
}
.process-step:hover .step-icon {
  transform: scale(1.15) translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 15px 30px rgba(0, 102, 204, 0.2);
  background: var(--primary);
  color: white;
}
.step-title {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--text-main);
}
.step-desc {
  font-size: var(--text-sm);
  color: var(--text-sub);
  line-height: var(--leading-relaxed);
}

/* 客户评价卡片 */
.testimonial-card {
  background: var(--bg-main);
  padding: var(--card-padding);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial-card::after {
  content: '"';
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 80px;
  color: var(--border-light);
  font-family: serif;
  line-height: 1;
}
.client-info {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-6);
}
.client-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-sub);
  object-fit: cover;
}

/* 无缝滚动技术栈 */
.marquee-wrapper {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  padding: var(--space-8) 0;
  background: var(--bg-main);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.marquee-wrapper::before, .marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0; width: 15%; height: 100%;
  z-index: 2;
}
.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-main) 0%, transparent 100%);
}
.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-main) 0%, transparent 100%);
}
.marquee-content {
  display: inline-block;
  animation: marquee 30s linear infinite;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 30px;
  margin: 0 15px;
  border-radius: 40px;
  background: var(--bg-sub);
  color: var(--text-sub);
  font-size: var(--text-lg);
  font-weight: 600;
  transition: all 0.3s;
}
.marquee-item:hover {
  background: var(--primary-light);
  color: var(--primary);
  transform: scale(1.05);
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* CTA 引导区块 */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  text-align: center;
  padding: 100px 0;
  border-radius: var(--radius-lg);
  margin: var(--space-12) 5%;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  animation: rotateBg 20s linear infinite;
}
@keyframes rotateBg {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.cta-content {
  position: relative;
  z-index: 1;
}
.cta-title {
  font-size: var(--text-4xl);
  font-weight: 800;
  margin-bottom: var(--space-4);
  color: white;
}
.cta-desc {
  font-size: var(--text-xl);
  opacity: 0.9;
  margin-bottom: var(--space-8);
}

/* 浮动动效 */
.floating {
  animation: floating 6s ease-in-out infinite;
}
@keyframes floating {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* 响应式调整新组件 */
@media (max-width: 768px) {
  .process-container {
    flex-direction: column;
    gap: var(--space-4);
  }
  .process-container::before { display: none; }
  .process-step { 
    width: 100%; 
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 4px var(--space-4);
    text-align: left;
    background: var(--bg-card);
    padding: var(--space-4);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
  }
  .step-icon {
    grid-row: span 2;
    margin: 0;
    width: 60px;
    height: 60px;
    font-size: 20px;
  }
  .step-title {
    margin-bottom: 0;
    align-self: end;
  }
  .step-desc {
    align-self: start;
  }
  .process-step:hover .step-icon {
    transform: scale(1.05); /* 取消上浮，只保留轻微放大 */
  }
  .cta-section { margin: var(--space-6) 0; border-radius: 0; padding: 60px 20px; }
  .cta-title { font-size: var(--text-2xl); }
  
  .stats-number {
    font-size: var(--text-4xl); /* 移动端调小字体避免溢出 */
  }
  .stats-box {
    padding: var(--space-4) 10px; /* 增加左右内边距防止贴边 */
  }
}
