/* 统一标题和内容文字样式 */

/* 标题样式 */
h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--near-black);
  margin-bottom: 1rem;
  line-height: 1.2;
}

h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--near-black);
  margin-bottom: 1.5rem;
  line-height: 1.3;
  text-align: center;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--near-black);
  margin-bottom: 1rem;
  line-height: 1.3;
}

h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--near-black);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

h5 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--near-black);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

h6 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

/* 内容文字样式 */
p {
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 400;
  color: var(--dark-gray);
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* 列表样式 */
ul, ol {
  font-family: var(--font-main);
  font-size: 16px;
  color: var(--dark-gray);
  margin-bottom: 1rem;
  line-height: 1.6;
}

ul {
  padding-left: 1.5rem;
}

ol {
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

/* 链接样式 */
a {
  font-family: var(--font-main);
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

/* 引用样式 */
blockquote {
  font-family: var(--font-main);
  font-size: 16px;
  font-style: italic;
  color: var(--medium-gray);
  border-left: 4px solid var(--primary-color);
  padding-left: 1rem;
  margin: 1rem 0;
}

/* Banner标题和内容样式 */
.banner-content h1 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 1rem;
  text-align: center;
}

.banner-content p {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 2rem;
  text-align: center;
}

/* 表单元素样式 */
input, textarea, select, label {
  font-family: var(--font-main);
  font-size: 16px;
  color: var(--dark-gray);
}

/* 按钮文字样式 */
.btn {
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 500;
}

/* 响应式设计 - 大屏幕(992px以上) */
@media (min-width: 993px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  h4 {
    font-size: 1.25rem;
  }
  
  p {
    font-size: 16px;
  }
  
  .banner-content h1 {
    font-size: 3rem;
  }
  
  .banner-content p {
    font-size: 1.2rem;
  }
}

/* 响应式设计 - 中等屏幕(768px-992px) */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.4rem;
  }
  
  h4 {
    font-size: 1.2rem;
  }
  
  p {
    font-size: 15px;
  }
  
  .banner-content h1 {
    font-size: 2.5rem;
  }
  
  .banner-content p {
    font-size: 1.1rem;
  }
}

/* 响应式设计 - 小屏幕(576px-768px) */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  h4 {
    font-size: 1.1rem;
  }
  
  p {
    font-size: 14px;
  }
  
  .banner-content h1 {
    font-size: 2rem;
  }
  
  .banner-content p {
    font-size: 1rem;
  }
}

/* 响应式设计 - 超小屏幕(小于576px) */
@media (max-width: 576px) {
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.4rem;
  }
  
  h3 {
    font-size: 1.2rem;
  }
  
  h4 {
    font-size: 1rem;
  }
  
  p {
    font-size: 13px;
  }
  
  .banner-content h1 {
    font-size: 1.8rem;
  }
  
  .banner-content p {
    font-size: 0.9rem;
  }
}

/* 特殊区域样式覆盖 */
.section-header h2 {
  text-align: left;
  margin-bottom: 0;
}

.section-header h2::after {
  display: none;
}

.accordion-header h3 {
  font-size: 1.2rem;
  margin-bottom: 0;
}

.text-content h4 {
  font-size: 1.3rem;
  color: var(--primary-color);
}

.feature-card h3 {
  text-align: center;
  font-size: 1.4rem;
}

.product-content h3 {
  text-align: center;
  font-size: 1.2rem;
}

/* 确保所有页面标题和内容文字样式统一 */
.business-model-section h2,
.features h2,
.products h2,
.success-cases h2,
.news-section h2,
.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.business-details h3,
.feature-card h3,
.product-card h3,
.case-details h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.business-details p,
.feature-card p,
.product-card p,
.case-details p,
.contact-content p {
  font-size: 16px;
  margin-bottom: 1rem;
  line-height: 1.6;
}