/* 基础样式 */
@media (min-width: 769px) {
	.consult-iphone,.header-iphone,.index-iphone{
		display: none;
	}
}
@media (max-width: 768px) {
  .consult-web,.header-web,.index-web,.footer-web{
		display: none;
	}
}
/* ===== 深度重置 ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  height: 100%;
  scroll-behavior: smooth;
}
*{
  letter-spacing: 1px;
    font-family: PingFangSC-Regular;
}
body {
  /* font-family: 'PingFangSC, PingFang SC'; */
  /* font-family: 'pingfangSC-Medium'; */
  
  

  line-height: 1.5;
  color: var(--text-primary);
  background-color: #fff;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ===== PC级排版系统 ===== */
h1 {
  font-size: 3rem;
  line-height: 1.1;
}

h2 {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
  max-width: 65ch;
  /* 最佳阅读宽度 */
}

a {
  /* color: var(--primary-color); */
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  /* color: var(--primary-hover); */
  text-decoration: none;
}


@font-face {
  /* 给自定义字体取个名字，后面可以用这个名字引用字体 */
  /* font-family: 'PingFangSC, PingFang SC';  */
  /* 字体文件的路径，这里假设字体文件在当前目录下 */
  src: url('./pinfang.ttf');
  /* 可选的字体样式，如 normal 或 italic */
  font-style: normal;
  /* 可选的字体粗细，如 normal 或 bold */
  font-weight: normal;
}

/* flex布局 */
.fl-g{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.fl-r {
  display: flex;
  flex-direction: row;
}

.fl-c {
  display: flex;
  flex-direction: column;
}

/* 居左 */
.f-start {
  justify-content: flex-start;
  align-items: center;
}

/* 居左 */
.f-start-end {
  justify-content: flex-start;
  align-items: flex-end;
}

/* 居右 */
.f-end {
  justify-content: flex-end;
  align-items: center;
}

/* 居中 */
.f-center {
  justify-content: center;
  align-items: center;
}

/* 两边布局 */
.f-space-between {
  justify-content: space-between;
  /**align-items: center;**/
}

.f-space-around {
  justify-content: space-around;
  align-items: center;
}

.f-w100 {
  flex-shrink: 1;
  width: 100%;
  overflow: hidden;
}

.flex-1 {
  flex: 1;
}

/* ===== PC专用布局容器 ===== */
/* .container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-wide {
  max-width: 1440px;
} */

/* ===== 专业级导航栏 ===== */
/* .navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.nav-links {
  display: flex;
  gap: 2rem;
} */

/* ===== 桌面级按钮 ===== */
/* .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border-color: var(--border-color);
  background: white;
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
} */

/* ===== 专业表单控件 ===== */
/* .form-control {
  margin-bottom: 1.5rem;
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: all 0.2s;
}

.form-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  outline: none;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-primary);
} */

/* ===== 卡片式UI ===== */
/* .card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.card-body {
  padding: 1.5rem;
} */

/* ===== 栅格系统 ===== */
/* .grid {
  display: grid;
  gap: 1.5rem;
}

.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
} */

/* ===== 工具类 ===== */
/* .text-center { text-align: center; }
.text-muted { color: var(--text-secondary); }

.p-4 { padding: 1.5rem; }
.py-6 { padding-top: 2rem; padding-bottom: 2rem; }

.mt-8 { margin-top: 2rem; }
.mb-8 { margin-bottom: 2rem; }

.hover\:scale-105:hover {
  transform: scale(1.05);
} */

/* ===== 悬停动画 ===== */
/* .hover-effect {
  transition: transform 0.2s, box-shadow 0.2s;
}

.hover-effect:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -5px rgba(0,0,0,0.1);
} */

/* ===== 页脚样式 ===== */
/* .footer {
  background-color: var(--bg-light);
  padding: 3rem 0;
  margin-top: 4rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
} */