/* 全局样式设置 */
:root {
  /* 主色调 - 蓝绿色调 */
  --primary-color-1: #00B4A0;
  --primary-color-2: #007A87;
  
  /* 辅助色 */
  --secondary-color-1: #2C3E50;
  --secondary-color-2: #34495E;
  
  /* 强调色 */
  --accent-color-1: #00D4AA;
  --accent-color-2: #27AE60;
  
  /* 文字颜色 */
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-light: #999999;
  
  /* 背景色 */
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  
  /* 边框 */
  --border-color: #e0e0e0;
  
  /* 阴影 */
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --box-shadow-hover: 0 6px 16px rgba(0, 0, 0, 0.12);
  
  /* 圆角 */
  --border-radius: 8px;
  
  /* 字体 */
  --font-family: 'Source Sans Pro', '思源黑体', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0px;
}

.text-center {
  text-align: center;
}

/* 头部样式 */
.site-header {
  background-color: var(--bg-white);
  box-shadow: var(--box-shadow);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

.logo h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color-2);
}

.main-navigation ul {
  display: flex;
  list-style: none;
}

.main-navigation li {
  margin-left: 30px;
}

.main-navigation a {
  text-decoration: none;
  color: var(--secondary-color-1);
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 0;
}

.main-navigation a:hover {
  color: var(--primary-color-1);
}

.main-navigation a.active {
  color: var(--primary-color-1);
}

.main-navigation a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color-1);
  border-radius: 2px;
}

/* Banner区域样式 */
.hero-banner {
  background: linear-gradient(135deg, var(--primary-color-1), var(--primary-color-2));
  // 将padding从160px 0 100px调整为约20%的减少
  padding: 128px 0 80px;
  margin-top: 70px;
  position: relative;
  overflow: hidden;
}

.banner-container {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: 100%;
  padding: 0 20px;
}

.banner-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  position: absolute;
  top: 0;
  left: 0;
}

.banner-content {
  text-align: center;
  color: var(--bg-white);
  position: relative;
  z-index: 1;
}

.banner-content h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
}

.banner-content p {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--accent-color-1);
  color: var(--bg-white);
}

.btn-primary:hover {
  background-color: var(--bg-white);
  color: var(--primary-color-1);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-hover);
}

.btn-secondary {
  background-color: transparent;
  color: var(--bg-white);
  border-color: var(--bg-white);
}

.btn-secondary:hover {
  background-color: var(--bg-white);
  color: var(--primary-color-2);
  transform: translateY(-3px);
}

/* 主要内容区域 */
.main-content {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 60px;
  color: var(--secondary-color-1);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--primary-color-1);
  border-radius: 2px;
}

/* 解决方案区域 */
.solutions-section {
  background-color: var(--bg-light);
  padding: 80px 0;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.solution-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
}

.card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary-color-1), var(--accent-color-1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  font-size: 36px;
}

.solution-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--secondary-color-1);
}

.solution-card h3 a {
  color: inherit;
  text-decoration: none;
}

.solution-card h3 a:hover {
  color: var(--primary-color-1);
}

.solution-card p {
  color: var(--text-secondary);
  font-size: 16px;
}

/* 新闻列表样式 */
.news-item {
  display: flex;
  text-align: left;
}

.news-date {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color-1), var(--primary-color-2));
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  margin-right: 20px;
}

.news-date .day {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.news-date .month {
  font-size: 14px;
  line-height: 1;
  margin-top: 4px;
}

.news-date .year {
  font-size: 12px;
  line-height: 1;
  margin-top: 2px;
}

.news-content {
  flex: 1;
}

.news-content h3 {
  text-align: left;
  margin-bottom: 10px;
}

.news-meta {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 15px;
}

.news-content .btn-outline {
  margin-top: 15px;
}

/* 分页样式 */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  gap: 10px;
}

.page-btn {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: var(--border-radius);
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 600;
  transition: all 0.3s ease;
}

.page-btn:hover,
.page-btn.active {
  background-color: var(--primary-color-1);
  color: var(--bg-white);
}

/* 关于我们区域 */
.about-section {
  padding: 80px 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--secondary-color-1);
}

.about-text p {
  margin-bottom: 20px;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.8;
}

.btn-outline {
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid var(--primary-color-1);
  color: var(--primary-color-1);
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: var(--primary-color-1);
  color: var(--bg-white);
}

.about-image {
  text-align: center;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

/* 科技研发区域 */
.tech-section {
  background-color: var(--bg-light);
  padding: 80px 0;
}

.tech-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.tech-item {
  background-color: var(--bg-white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
}

.tech-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.tech-item h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--secondary-color-1);
}

.tech-item h3 a {
  color: inherit;
  text-decoration: none;
}

.tech-item h3 a:hover {
  color: var(--primary-color-1);
}

.tech-item p {
  color: var(--text-secondary);
  font-size: 16px;
}

/* 表单样式 */
.contact-form {
  display: grid;
  gap: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--secondary-color-1);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: var(--font-family);
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color-1);
  box-shadow: 0 0 0 3px rgba(0, 180, 160, 0.1);
}

/* 页脚样式 */
.site-footer {
  background-color: var(--secondary-color-1);
  color: var(--bg-white);
  padding: 60px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-info h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.footer-info p {
  color: #ddd;
  line-height: 1.8;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.link-column h4 {
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.link-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color-1);
}

.link-column ul {
  list-style: none;
}

.link-column li {
  margin-bottom: 10px;
}

.link-column a {
  color: #ddd;
  text-decoration: none;
  transition: all 0.3s ease;
}

.link-column a:hover {
  color: var(--accent-color-1);
  padding-left: 5px;
}

.copyright {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .banner-content h2 {
    font-size: 36px;
  }
  
  .banner-content p {
    font-size: 18px;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
  
  .banner-container {
    max-width: 960px;
  }
  
  .hero-banner {
    // 在中等屏幕上也相应减少高度
    padding: 115px 0 70px;
  }
  
  .news-item {
    flex-direction: column;
    text-align: center;
  }
  
  .news-date {
    margin-right: 0;
    margin-bottom: 20px;
  }
  
  .news-content h3 {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
  }
  
  .main-navigation ul {
    margin-top: 15px;
  }
  
  .main-navigation li {
    margin: 0 10px;
  }
  
  .hero-banner {
    // 在小屏幕上进一步调整高度
    padding: 100px 0 60px;
  }
  
  .banner-content h2 {
    font-size: 28px;
  }
  
  .banner-content p {
    font-size: 16px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .solutions-grid,
  .tech-content {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  .banner-container {
    max-width: 720px;
  }
  
  .pagination {
    flex-wrap: wrap;
  }
  
  .page-btn {
    margin-bottom: 10px;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 15px;
  }
  
  .logo h1 {
    font-size: 20px;
  }
  
  .main-navigation li {
    margin: 0 5px;
  }
  
  .main-navigation a {
    font-size: 14px;
  }
  
  .about-image img {
    max-width: 100%;
  }
  
  .banner-container {
    max-width: 540px;
  }
  
  .hero-banner {
    // 在移动设备上进一步优化高度
    padding: 90px 0 50px;
  }
}