/*--------------------------------------------------------------
# 中文字体优化样式
--------------------------------------------------------------*/

/* 引入中文字体 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;600;700&display=swap');

/* 中文字体优化 */
body {
  /* 优先使用思源黑体和阿里巴巴普惠体 */
  font-family: "Source Han Sans CN", "Noto Sans SC", "阿里巴巴普惠体", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

/* 标题字体优化 */
h1, h2, h3, h4, h5, h6 {
  font-family: "Source Han Sans CN", "Noto Sans SC", "阿里巴巴普惠体", "Microsoft YaHei", "PingFang SC", "Roboto", sans-serif;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

/* 导航栏字体优化 */
.navbar a {
  font-family: "Source Han Sans CN", "Noto Sans SC", "阿里巴巴普惠体", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-weight: 500;
}

/* 按钮字体优化 */
.btn, button {
  font-family: "Source Han Sans CN", "Noto Sans SC", "阿里巴巴普惠体", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-weight: 500;
}

/* 段落字体优化 */
p, .description, .portfolio-description p {
  line-height: 1.8;
  letter-spacing: 0.01em;
  text-justify: inter-ideograph;
}

/* 中文输入框优化 */
input, textarea {
  font-family: "Source Han Sans CN", "Noto Sans SC", "阿里巴巴普惠体", "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.6;
}

/* 社交媒体图标优化 */
.social-links a {
  transition: all 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-2px);
}

/* 响应式中文字体优化 */
@media (max-width: 768px) {
  body {
    font-size: 14px;
    line-height: 1.6;
  }
  
  h1 {
    font-size: 24px;
    line-height: 1.3;
  }
  
  h2 {
    font-size: 20px;
    line-height: 1.3;
  }
  
  h3 {
    font-size: 18px;
    line-height: 1.3;
  }
}

/* 表单中文化 */
.contact .php-email-form input::placeholder,
.contact .php-email-form textarea::placeholder {
  color: #999;
  font-family: "Source Han Sans CN", "Noto Sans SC", "阿里巴巴普惠体", "Microsoft YaHei", "PingFang SC", sans-serif;
}

/* 价格优化 */
.pricing h4 sup {
  font-family: "Source Han Sans CN", "Noto Sans SC", "阿里巴巴普惠体", "Microsoft YaHei", "PingFang SC", sans-serif;
}

/* 团队成员名字优化 */
.team .member-info h4 {
  font-family: "Source Han Sans CN", "Noto Sans SC", "阿里巴巴普惠体", "Microsoft YaHei", "PingFang SC", sans-serif;
}

/* FAQ优化 */
.faq .faq-list .question {
  font-family: "Source Han Sans CN", "Noto Sans SC", "阿里巴巴普惠体", "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.6;
}

/* 面包屑优化 */
.breadcrumbs ol li {
  font-family: "Source Han Sans CN", "Noto Sans SC", "阿里巴巴普惠体", "Microsoft YaHei", "PingFang SC", sans-serif;
}

/* 地图标记脉冲动画 */
@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
  }
  70% {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 0 0 15px rgba(231, 76, 60, 0);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
  }
}