@font-face {
  font-family: 'SourceHanSansCN-Medium';
  src: url('fonts/MyCustomFont.eot');
  src: url('../fonts/SourceHanSansCN-Medium.eot?#iefix') format('embedded-opentype'), url('../fonts/SourceHanSansCN-Medium.woff2') format('woff2'), url('../fonts/SourceHanSansCN-Medium.woff') format('woff'), url('../fonts/SourceHanSansCN-Medium.ttf') format('truetype'), /* url('../fonts/SourceHanSansCN-Medium.eot') format('embedded-opentype'), */ url('../fonts/SourceHanSansCN-Medium.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* ===== 基础样式重置 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-size: 14px;
  /* 基准16px */
  line-height: 1.6;
  /* 行高1.6倍 */
  font-family: 'SourceHanSansCN-Medium';
}
/* ===== 文字层级规范 ===== */
h1,
.h1 {
  font-size: 2.5rem;
  /* 40px */
  line-height: 1.2;
  margin-bottom: 1.5rem;
  font-weight: 600;
}
h2,
.h2 {
  font-size: 2rem;
  /* 32px */
  line-height: 1.3;
  margin-bottom: 1.25rem;
  font-weight: 500;
}
h3,
.h3 {
  font-size: 1.75rem;
  /* 28px */
  margin-bottom: 1rem;
}
p {
  margin-bottom: 1rem;
  line-height: 1.6;
}
.small-text {
  font-size: 0.875rem;
  /* 14px */
}
/* ===== 通用间距系统 ===== */
.container {
  width: 100%;
  max-width: 1200px;
  /* 内容最大宽度 */
  min-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  /* 左右留白 */
}
.section-padding {
  padding: 4rem 0;
  /* 区块上下间距 */
}
.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mb-4 {
  margin-bottom: 2rem;
}
.p-1 {
  padding: 0.5rem;
}
.p-2 {
  padding: 1rem;
}
.p-3 {
  padding: 1.5rem;
}
/* ===== 交互元素样式 ===== */
a {
  text-decoration: none;
  transition: color 0.3s ease;
}
.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  color: white;
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}
/* ===== 装饰性元素 ===== */
.divider {
  height: 1px;
  margin: 2rem 0;
}
.shadow-box {
  background: white;
  border-radius: 2px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
}
.clearfix:after {
  display: block;
  height: 0;
  visibility: hidden;
  clear: both;
}
.scroll-disabled {
  overflow: hidden;
}
