/* 公共样式 */
:root {
  /* 主色调 - 科技蓝，调整为较为明亮但不失稳重的蓝色 */
  --primary-color: #0066CC;
  --primary-light: rgba(0, 102, 204, 0.1);
  --primary-dark: #004C99;
  
  /* 强调色 - 调整为较为活力的蓝色 */
  --accent-color: #00CC99;
  --accent-light: rgba(0, 204, 153, 0.1);
  
  /* 渐变色 */
  --gradient-primary: linear-gradient(135deg, #2b6cb0, #4299e1);
  --gradient-dark: linear-gradient(45deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9));
  
  /* 文字颜色调整为更柔和的色调 */
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-light: #ffffff;
  
  /* 背景色调整 */
  --bg-primary: #ffffff;
  --bg-secondary: #f7fafc;  /* 更明亮的背景 */
  --bg-dark: #1a1a1a;
  --bg-gradient: linear-gradient(145deg, #ffffff 0%, #f8f9ff 100%);
  
  /* 阴影 */
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 15px 40px rgba(0, 102, 204, 0.2);
  
  /* 动画时间 */
  --transition-fast: 0.3s;
  --transition-normal: 0.4s;
  --transition-slow: 0.5s;
  
  /* 圆角 */
  --radius-sm: 8px;
  --radius-md: 15px;
  --radius-lg: 30px;

  /* 字体家族 */
  --font-family-base: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-family-heading: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-family-code: 'Courier New', monospace;
  
  /* 字号定义 - 移动端优化 */
  --font-size-base: clamp(14px, 3.5vw, 15px);
  --font-size-small: clamp(12px, 3vw, 13px);
  --font-size-large: clamp(16px, 4vw, 17px);
  --font-size-xl: clamp(18px, 4.5vw, 19px);
  --font-size-xxl: clamp(20px, 5vw, 22px);
  --font-size-title: clamp(24px, 6vw, 26px);
  --font-size-subtitle: clamp(18px, 4.5vw, 20px);
  --font-size-nav: clamp(14px, 3.5vw, 15px);
  --font-size-text: clamp(14px, 3.5vw, 15px);
  
  /* 字重定义 */
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 600;
  --font-weight-black: 700;
}

/* 全局响应式基础设置 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

/* 移动端优化的基础样式 */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  color: var(--text-primary);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5; /* 设置页面主背景色为浅灰色 */
  letter-spacing: 0.01em; /* 增加字母间距，提升可读性 */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h2, .h2 {
  font-size: calc(var(--font-size-title) * 0.875); /* 28px */
  font-weight: var(--font-weight-bold);
  line-height: 1.3;
}

h3, .h3 {
  font-size: calc(var(--font-size-title) * 0.75); /* 24px */
  font-weight: var(--font-weight-bold);
  line-height: 1.3;
}

/* 正文字体 */
p, .text {
  font-size: var(--font-size-text);
  line-height: 1.6;
}

/* 小号文本 */
.text-small {
  font-size: calc(var(--font-size-text) * 0.875); /* 12px */
}

/* 页面标题 */
.page-title {
  font-size: var(--font-size-title);
  font-weight: var(--font-weight-bold);
}

/* 区块标题 */
.section-header {
  text-align: center;
  padding: 1.5rem 0 1rem; /* 适当增加内边距 */
  background-color: transparent; /* 背景设为透明，与section背景融合 */
  margin-bottom: 0.5rem; /* 添加一点底部外边距 */
  position: relative;
  border: none; /* 确保没有边框 */
  box-shadow: none; /* 移除阴影 */
  transition: none; /* 移除过渡效果 */
}

.section-title {
  font-size: 2rem; /* 调整为更大的字体大小 */
  font-weight: 600; /* 加粗 */
  color: #333333; /* 深灰色，接近黑色 */
  margin-bottom: 0.5rem;
  letter-spacing: normal; /* 正常字间距 */
  position: relative;
  display: inline-block;
  font-family: "SimHei", "黑体", "Microsoft YaHei", "PingFang SC", sans-serif; /* 使用黑体作为首选字体 */
}

/* 支持中英文并列标题 */
.section-title .en {
  font-family: 'Arial', 'Helvetica', sans-serif; /* 使用无衬线英文字体 */
  font-weight: 500; /* 中等粗细 */
  margin-left: 0.75rem; /* 增加与中文标题的间距 */
  color: #666666; /* 灰色，比中文标题浅一些 */
  font-size: 1.5rem; /* 比中文标题小一些 */
  letter-spacing: 0.5px; /* 适当的字母间距 */
}

/* 移除原有的下划线或装饰 */
.section-title::after {
  display: none;
}

.section-subtitle {
    font-size: 1.125rem; /* 18px，稍微增大字号 */
    color: #4A5568; /* 更深的灰色，提高对比度 */
    max-width: 800px;
    margin: 0.75rem auto 0;
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: 0.3px; /* 适当增加字间距 */
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    text-align: center;
    opacity: 0.95; /* 稍微提高不透明度 */
}

/* 响应式调整 */
@media (max-width: 768px) {
    .section-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        padding: 0 1rem;
        margin: 0.5rem auto 0;
    }
}

/* 增加动画效果 */
.section-subtitle {
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 0.95;
        transform: translateY(0);
    }
}

// ... existing code ...

/* 响应式调整 */
@media (max-width: 768px) {
  .section-header {
    padding: 0.8rem 0 0.4rem; /* 进一步减少上下内边距 */
    background-color: transparent; /* 背景设为透明 */
    box-shadow: none; /* 移除阴影 */
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .section-subtitle {
    font-size: 0.875rem;
  }
}

/* 卡片标题 */
.card-title {
  font-size: calc(var(--font-size-title) * 0.625); /* 20px */
  font-weight: var(--font-weight-medium);
}

/* 页面通用样式 */
.page-header {
  height: 200px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  margin-top: 80px;
  background: #fff;
}

.header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.header-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-bg .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
  z-index: 2;
}

.header-content {
  position: relative;
  z-index: 3;
  color: #fff;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

@keyframes shine {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

/* 响应式调整 */
@media (max-width: 768px) {
  .section-header {
    padding: 2rem 0 1.5rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .section-subtitle {
    font-size: 0.875rem;
  }
}

/* 底部版权区域 */
.copyright {
  background: #383838;
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

/* 按钮文本 */
.btn {
  font-size: var(--font-size-text);
  font-weight: var(--font-weight-medium);
}

.copyright::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(0, 102, 204, 0.5),
    transparent
  );
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.copy-left {
  flex: 0 0 300px;
  color: #fff;
  padding: 0 1rem;
}

.copy-left .logo {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #fff;
  display: block;
  transition: all 0.3s ease;
}

.copy-left .logo:hover {
  color: #4a90e2;
  transform: translateY(-2px);
}

.copy-left p {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.copy-left i {
  margin-right: 0.75rem;
  color: #4a90e2;
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.copy-mid {
  flex: 1;
  display: flex;
  justify-content: space-around;
  padding: 0 2rem;
}

.copy-mid ul {
  display: flex;
  gap: 3rem;
}

.copy-mid li {
  min-width: 140px;
}

.copy-mid h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.copy-mid h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: #4a90e2;
}

.copy-mid a {
  color: #999;
  font-size: 0.95rem;
  display: block;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.copy-mid a:hover {
  color: #4a90e2;
  transform: translateX(5px);
}

.copy-right {
  flex: 0 0 300px;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
}

.copy-right p {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  text-align: center;
}

.copy-right img {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.copy-right img:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.copy {
  background: linear-gradient(to right, #2c2c2c, #000000, #2c2c2c);
  color: #999;
  padding: 1rem 0;
  text-align: center;
  font-size: 0.9rem;
}

.copy p {
  margin: 0;
  display: inline-block;
}

/* 响应式调整 */
@media (max-width: 1024px) {
  .row {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  
  .copy-left, .copy-right {
    flex: 0 0 100%;
    text-align: center;
  }
  
  .copy-mid {
    flex: 0 0 100%;
    padding: 1rem 0;
  }
  
  .copy-mid ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .copyright {
    padding: 2rem 0;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .copy-mid ul {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  
  .copy-mid li {
    min-width: auto;
    text-align: center;
  }
  
  .copy-mid h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .copy-right {
    justify-content: center;
    gap: 2rem;
  }
  
  .copy {
    padding: 0.75rem 0;
  }
}

/* 通用卡片样式 */
.card {
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(43, 108, 176, 0.05);
  transition: all 0.3s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
  border: 1px solid rgba(43, 108, 176, 0.1);
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  font-family: var(--font-family-base);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(43, 108, 176, 0.1);
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover::after {
  opacity: 1;
}

.card p {
  font-size: var(--font-size-text);
}

/* 通用按钮样式 */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: var(--radius-sm);
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-weight: 500;
}

.btn:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(49, 130, 206, 0.2);
}

/* 通用section样式 */
.section-header {
  width: 100%;
  text-align: center;
  background-color: transparent; /* 背景设为透明，与section背景融合 */
  padding: 1rem 0 0.5rem; /* 减少上下内边距 */
  margin: 0; /* 移除外边距 */
  position: relative;
  overflow: hidden;
  font-family: var(--font-family-base);
  border: none; /* 确保没有边框 */
  box-shadow: none; /* 移除阴影 */
}

.section-header::before {
  display: none; /* 移除动画效果 */
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.section-subtitle {
  font-size: var(--font-size-text);
  color: #666;
  max-width: 800px;
  margin: 0 auto;
}

/* 内容容器 */
.section .container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* 调整网格布局间距 */
.grid {
  gap: 1.5rem;
  padding: 1rem;
}

.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.parallax-content {
    position: relative;
    z-index: 2;
    transform: translateZ(0);
}

/* 粒子容器样式 */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
    background-color: transparent;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 0;  /* 增加上下间距 */
    text-align: left;  /* 文字左对齐 */
    margin-left: 10%;  /* 左侧留白 */
}

.hero-title {
    font-size: 48px;  /* 更大的标题字号 */
    font-weight: 700;  /* 加粗 */
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 18px;  /* 副标题字号 */
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.hero-btn {
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.hero-btn.secondary {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-content {
        padding: 80px 20px;
        margin-left: 5%;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }
}

/* 设置section元素背景色 */
section {
  padding: 2rem 0; /* 适当增加内边距 */
  background-color: #ffffff; /* 默认背景为白色 */
  border: none; /* 确保没有边框 */
  margin: 0; /* 确保没有外边距 */
  position: relative;
  transition: background-color 0.3s ease; /* 添加背景色过渡效果 */
}

section:nth-child(even) {
  background-color: #f8f9fb; /* 更柔和的浅灰色，不那么生硬 */
}

/* 添加section之间的过渡效果 */
section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.02), transparent);
  opacity: 0.5;
}

section:first-child::before {
  display: none; /* 第一个section不需要顶部过渡 */
}

/* 移除之前添加的装饰点，改用更专业的分隔线 */
.section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(0, 102, 204, 0.08),
        rgba(0, 102, 204, 0.15),
        rgba(0, 102, 204, 0.08),
        transparent
    );
}

/* 调整内容容器的内边距 */
.container {
    padding: 0 1rem;
}

/* 调整卡片网格的间距 */
.grid-container,
.scenarios-container,
.capabilities-grid,
.solutions-grid,
.products-grid {
    display: grid;
    gap: 1.5rem;
    margin: 0 auto;
    padding: 0;
}

/* 调整卡片内部的内边距和外边距 */
.card,
.scenario-card,
.capability-card,
.solution-card,
.product-card {
    background: #fff;
    border-radius: 4px;
    padding: 1.5rem;
    margin-bottom: 0;  /* 移除底部间距，使用grid gap控制间距 */
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

/* 调整文字间距 */
p {
    margin-bottom: 0.8rem;
}

h2 {
    margin-bottom: 0.8rem;
}

/* 特别调整 AI 工具箱页面 */
.ai-header {
    height: 200px;  /* 原来是 280px */
}

.ai-scenarios {
    padding: 2rem 0;  /* 原来是 4rem */
}

/* 调整合作伙伴区域 */
.partners-section {
    padding: 2rem 0;  /* 原来是 4rem */
}

/* 调整解决方案区域 */
.solutions-section {
    padding: 2rem 0;
}

/* 调整产品展示区域 */
.products-section {
    padding: 2rem 0;
}

/* 调整团队介绍区域 */
.team-section {
    padding: 2rem 0;
}

/* 添加动态效果 */
@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.2); }
}

/* 添加悬浮动画 */
.section:hover::before {
    animation: none;
    transform: translateX(-50%) scale(1.2);
    opacity: 1;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .section {
        padding: 2rem 0;
    }
    
    .section-header {
        margin-bottom: 0; /* 移除底部外边距 */
    }
    
    .container {
        padding: 0 1rem;
    }

    .grid-container,
    .scenarios-container,
    .capabilities-grid,
    .solutions-grid,
    .products-grid {
        gap: 1rem;
    }
}

/* 导航栏样式优化 */
.navbar {
    height: 80px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* 更柔和的阴影 */
    position: fixed; /* 确保导航栏固定在顶部 */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    transform: translateY(0); /* 初始位置 */
}

/* 导航栏滚动效果 */
.navbar.scrolled {
    height: 70px; /* 滚动时稍微减小高度 */
    background: rgba(255, 255, 255, 0.98); /* 增加不透明度 */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* 增强阴影 */
}

/* 当向下滚动时隐藏导航栏的样式将由JS动态添加 */
.navbar.hide {
    transform: translateY(-100%);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo样式优化 */
.logo {
    height: 100%;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.logo img {
    height: 50px; /* 调整logo大小 */
    transition: all 0.3s ease;
}

.navbar.scrolled .logo img {
    height: 45px; /* 滚动时减小logo大小 */
}

/* 导航链接容器样式 */
.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* 改为靠右对齐 */
    height: 100%;
    transition: all 0.3s ease;
}

/* 导航链接统一样式 */
.nav-links a {
    font-family: 'Arial', 'Microsoft YaHei', sans-serif; /* 添加中文字体 */
    font-size: 16px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    padding: 0 20px; /* 增加内边距 */
    margin: 0 1px; /* 减小外边距 */
    transition: all 0.3s ease;
    height: 80px;
    line-height: 80px;
    display: inline-block;
    position: relative;
    letter-spacing: 0.5px;
}

.navbar.scrolled .nav-links a {
    height: 70px; /* 滚动时调整高度 */
    line-height: 70px;
}

/* 导航链接悬停效果 */
.nav-links a:hover {
    color: #0066CC;
}

/* 激活状态的导航链接 */
.nav-links a.active {
    color: #0066CC;
    font-weight: 600;
}

/* 添加底部指示器 */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: #0066CC;
    transition: width 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.nav-links a:hover::after {
    width: 40%; /* 悬停时显示较短的指示器 */
    opacity: 0.7;
}

.nav-links a.active::after {
    width: 70%; /* 激活状态显示较长的指示器 */
    opacity: 1;
}

/* 下拉菜单样式 */
.dropdown {
    position: relative;
    height: 80px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.navbar.scrolled .dropdown {
    height: 70px; /* 滚动时调整高度 */
}

.dropdown > a {
    font-family: 'Arial', 'Microsoft YaHei', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    padding: 0 20px;
    margin: 0 1px;
    height: 80px;
    line-height: 80px;
    display: inline-block;
    position: relative;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.navbar.scrolled .dropdown > a {
    height: 70px;
    line-height: 70px;
}

/* 下拉菜单指示器 */
.dropdown > a::after {
    content: '\f107'; /* FontAwesome下箭头图标 */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.8em;
    margin-left: 6px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.dropdown:hover > a::after {
    transform: rotate(180deg); /* 悬停时旋转箭头 */
}

/* 下拉菜单内容 */
.dropdown-content {
    position: absolute;
    top: 80px;
    left: 0;
    background: white;
    min-width: 200px; /* 增加宽度 */
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border-radius: 0 0 6px 6px; /* 增加圆角 */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border-top: 3px solid #0066CC; /* 添加顶部边框 */
}

.navbar.scrolled .dropdown-content {
    top: 70px;
}

/* 下拉菜单项 */
.dropdown-content a {
    font-size: 14px;
    font-weight: 400;
    color: #555; /* 稍微深一点的颜色 */
    padding: 12px 20px;
    display: block;
    line-height: 1.5;
    height: auto;
    text-align: left;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: all 0.2s ease;
}

/* 下拉菜单项悬停效果 */
.dropdown-content a:hover {
    color: #0066CC;
    background-color: #f5f8ff; /* 更柔和的背景色 */
    padding-left: 25px; /* 悬停时增加左内边距 */
}

/* 下拉菜单项最后一个元素 */
.dropdown-content a:last-child {
    border-bottom: none;
    border-radius: 0 0 6px 6px;
}

/* 显示下拉菜单 */
.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 菜单切换按钮样式 */
.menu-toggle {
    display: none; /* 默认隐藏 */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s ease;
    z-index: 1001;
}

.menu-toggle i {
    font-size: 24px;
    color: #333;
    transition: all 0.3s ease;
}

.menu-toggle:hover i {
    color: #0066CC;
}

/* 响应式导航栏样式 */
@media (max-width: 1024px) {
    .nav-links a,
    .dropdown > a {
        padding: 0 15px;
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 60px;
    }
    
    .navbar.scrolled {
        height: 60px;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .logo img {
        height: 40px;
    }
    
    .navbar.scrolled .logo img {
        height: 40px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: auto;
        max-height: 80vh; /* 限制最大高度 */
        overflow-y: auto; /* 添加滚动条 */
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links a,
    .dropdown > a {
        width: 100%;
        height: auto;
        line-height: normal;
        padding: 15px 20px;
        margin: 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .navbar.scrolled .nav-links a,
    .navbar.scrolled .dropdown > a {
        height: auto;
        line-height: normal;
    }
    
    .nav-links a::after,
    .nav-links a:hover::after,
    .nav-links a.active::after {
        display: none;
    }
    
    .dropdown {
        width: 100%;
        height: auto;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .navbar.scrolled .dropdown {
        height: auto;
    }
    
    .dropdown > a::after {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .dropdown:hover > a::after {
        transform: translateY(-50%) rotate(0deg);
    }
    
    .dropdown.active > a::after {
        transform: translateY(-50%) rotate(180deg);
    }
    
    .dropdown-content {
        position: static;
        width: 100%;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background: #f8f9fa;
        border-top: none;
        border-radius: 0;
    }
    
    .dropdown-content a {
        padding-left: 30px;
    }
    
    .dropdown-content a:hover {
        padding-left: 35px;
    }
    
    .dropdown.active .dropdown-content {
        display: block;
    }
}

/* 5. 修改卡片样式 */
.card {
  font-family: var(--font-family-base);
}

.card-title {
  font-size: calc(var(--font-size-title) * 0.5); /* 16px */
  font-weight: var(--font-weight-medium);
}

.card p {
  font-size: var(--font-size-text);
}

/* 6. 按钮样式统一 */
.btn,
.learn-more {
  font-family: var(--font-family-base);
  font-size: var(--font-size-text);
  font-weight: var(--font-weight-medium);
}

/* 7. 列表样式统一 */
ul, ol {
  font-size: var(--font-size-text);
  line-height: 1.6;
}

/* 8. 表单元素样式统一 */
input,
select,
textarea {
  font-family: var(--font-family-base);
  font-size: var(--font-size-text);
}

/* 9. 语言切换器样式 */
.language-switcher select {
  font-family: var(--font-family-base);
  font-size: var(--font-size-text);
  font-weight: var(--font-weight-normal);
}

/* 11. 添加字体平滑效果 */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 12. 添加文字选中效果 */
::selection {
  background: rgba(43, 108, 176, 0.1);
  color: var(--primary-color);
}

/* 移除多余的文字阴影效果 */
h1, h2, h3, h4, h5, h6,
.section-title,
.card-title,
.nav-links a,
.btn {
  text-shadow: none;
}

/* Banner动画效果 */
@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.slide-in-left {
    animation: slideInLeft 1s ease-out forwards;
}

.slide-in-right {
    animation: slideInRight 1s ease-out forwards;
}

/* 移除初始透明度设置，让动画控制可见性 */
#home h1,
#home p,
#home .flex {
    opacity: 1 !important;
}

/* 滚动动画效果 */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 确保动画元素初始状态不可见 */
.animate-on-scroll {
    visibility: hidden;
}

.animate-on-scroll.is-visible {
    visibility: visible;
}

/* 导航链接统一样式 */
.nav-links a {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    padding: 15px 20px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #0066CC;
}

.nav-links a.active {
    color: #0066CC;
    font-weight: 600;
}

.dropdown > a {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    padding: 15px 20px;
}

.dropdown-content a {
    font-size: 14px;
    font-weight: 400;
    color: #666;
    padding: 10px 15px;
}

.dropdown-content a:hover {
    color: #0066CC;
    background-color: #f8f9fa;
}

/* 响应式导航栏样式 */
@media (max-width: 1024px) {
    .nav-links a,
    .dropdown > a {
        padding: 0 12px;
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 60px;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .logo img {
        height: 50px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: auto;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 0;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links a,
    .dropdown > a {
        width: 100%;
        height: auto;
        line-height: normal;
        padding: 15px 20px;
        margin: 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .nav-links a::after,
    .nav-links a:hover::after,
    .nav-links a.active::after {
        display: none;
    }
    
    .dropdown {
        width: 100%;
        height: auto;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .dropdown-content {
        position: static;
        width: 100%;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background: #f8f9fa;
    }
    
    .dropdown.active .dropdown-content {
        display: block;
    }
    
    .dropdown > a::after {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }
}

/* 菜单切换按钮样式 */
.menu-toggle {
    display: none; /* 默认隐藏 */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s ease;
    z-index: 1001;
}

.menu-toggle i {
    font-size: 24px;
    color: #333;
    transition: all 0.3s ease;
}

.menu-toggle:hover i {
    color: #0066CC;
}

/* 响应式容器 */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 0.75rem;
  }
}

/* 响应式图片 */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 响应式表格 */
table {
  width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
  display: block;
}

@media (max-width: 768px) {
  table {
    font-size: var(--font-size-small);
  }
}

/* 响应式网格系统 */
.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  padding: 1rem;
}

@media (max-width: 768px) {
  .grid {
    gap: 1rem;
    padding: 0.75rem;
  }
}