/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  background-color: #fff;
}

.container {
  width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 导航栏 */
.navbar {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

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

.brand-name {
  font-size: 20px;
  font-weight: bold;
  color: #ff4d4f;
}

.navbar-menu {
  display: flex;
  align-items: center;
}

.navbar-item {
  position: relative;
  margin-right: 30px;
}

.nav-link {
  display: block;
  padding: 10px 0;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #ff4d4f;
}

.has-dropdown:hover .dropdown {
  display: block;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  padding: 8px 0;
  z-index: 1001;
}

.dropdown-item {
  display: block;
  padding: 6px 16px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.3s;
}

.dropdown-item:hover {
  background-color: #f5f5f5;
  color: #ff4d4f;
}

.navbar-actions {
  display: flex;
  align-items: center;
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-primary {
  color: #fff;
  background-color: #ff4d4f;
  border-color: #ff4d4f;
}

.btn-primary:hover {
  background-color: #ff7875;
  border-color: #ff7875;
  color: #fff;
}

.btn-outline {
  color: #333;
  background-color: #fff;
  border-color: #d9d9d9;
  margin-right: 10px;
}

.btn-outline:hover {
  color: #ff4d4f;
  border-color: #ff4d4f;
  background-color: #fff;
}

.btn-sm {
  padding: 4px 12px;
  font-size: 12px;
}

/* 横幅区域 */
.hero {
  background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
  padding: 120px 0 80px;
  margin-top: 70px;
  text-align: center;
}

.hero-content h1 {
  font-size: 40px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px;
  color: #666;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* 新闻资讯 */
.news {
  padding: 60px 0;
  background-color: #fff;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.news-item {
  background-color: #f5f5f5;
  border-radius: 8px;
  padding: 20px;
  transition: all 0.3s;
}

.news-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.news-item h3 {
  font-size: 16px;
  font-weight: bold;
  color: #ff4d4f;
  margin-bottom: 10px;
}

.news-item p {
  color: #666;
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 1.5;
}

.news-link {
  color: #ff4d4f;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.news-link:hover {
  text-decoration: underline;
}

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

/* 核心功能 */
.core-features {
  padding: 60px 0;
  background-color: #f5f5f5;
}

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

.feature-item {
  text-align: center;
  padding: 40px 20px;
  background-color: #fff;
  border-radius: 8px;
  transition: all 0.3s;
}

.feature-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.feature-icon {
  margin-bottom: 20px;
}

.feature-item h3 {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.feature-item p {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

/* 通用部分样式 */
.section-title {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin-bottom: 60px;
  padding-top: 80px;
}

/* 产品与服务 */
.products {
  padding: 60px 0;
  background-color: #fff;
}

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

.product-card {
  background-color: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 30px;
  transition: all 0.3s;
}

.product-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.product-card h3 {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
}

.product-card p {
  color: #666;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.5;
}

.product-features {
  list-style: none;
  margin-bottom: 25px;
}

.product-features li {
  color: #666;
  margin-bottom: 8px;
  font-size: 14px;
  padding-left: 20px;
  position: relative;
}

.product-features li:before {
  content: "•";
  color: #ff4d4f;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.product-buttons {
  display: flex;
  gap: 10px;
}

/* 服务支持 */
.services {
  padding: 60px 0;
  background-color: #f5f5f5;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.service-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 30px;
  transition: all 0.3s;
}

.service-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.service-card h3 {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
}

.service-card p {
  color: #666;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.5;
}

.service-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contact-label {
  color: #999;
  font-size: 14px;
}

/* 行业解决方案 */
.solutions {
  padding: 60px 0;
  background-color: #fff;
}

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

.solution-card {
  background-color: #f5f5f5;
  border-radius: 8px;
  padding: 30px;
  transition: all 0.3s;
}

.solution-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.solution-card h3 {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
}

.solution-card p {
  color: #666;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.5;
}

.solution-problems {
  margin-bottom: 25px;
}

.solution-problems p {
  color: #999;
  font-size: 12px;
  margin-bottom: 5px;
}

.solution-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 客户案例 */
.cases {
  padding: 60px 0;
  background-color: #f5f5f5;
}

.cases-slider {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding-bottom: 20px;
}

.case-item {
  flex: 0 0 300px;
  background-color: #fff;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s;
}

.case-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.case-item h3 {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
}

.case-item p {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

/* 公司数据 */
.company-data {
  padding: 60px 0;
  background-color: #ff4d4f;
  color: #fff;
  text-align: center;
}

.company-data .section-title {
  color: #fff;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.data-item h3 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 10px;
}

.data-item p {
  font-size: 16px;
  opacity: 0.9;
}

.honors {
  margin-top: 40px;
}

.honors h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
}

.honors-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.honors-list span {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
}

/* 合作伙伴 */
.partners {
  padding: 60px 0;
  background-color: #fff;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  align-items: center;
}

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

.partner-logo {
  width: 120px;
  height: 40px;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.partner-item:hover .partner-logo {
  opacity: 1;
}

/* 底部导航 */
.footer {
  background-color: #333;
  color: #fff;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.footer-column h4 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #fff;
}

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

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

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #ff4d4f;
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  color: #ccc;
  font-size: 12px;
  margin-bottom: 10px;
}

/* 客服咨询 */
.customer-service {
  position: fixed;
  right: 30px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}

.service-item {
  width: 50px;
  height: 50px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.service-item:hover {
  background-color: #ff4d4f;
  color: #fff;
  transform: translateY(-5px);
}

.service-item svg {
  margin-bottom: 3px;
}

.service-item span {
  font-size: 10px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .container {
    width: 960px;
  }
  
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .data-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .container {
    width: 720px;
  }
  
  .hero-content h1 {
    font-size: 32px;
  }
  
  .hero-content p {
    font-size: 16px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  
  .data-grid {
    grid-template-columns: 1fr;
  }
  
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    width: 540px;
  }
  
  .navbar-menu {
    display: none;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 200px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .container {
    width: 100%;
  }
  
  .hero-content h1 {
    font-size: 24px;
  }
  
  .hero-content p {
    font-size: 14px;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .partners-grid {
    grid-template-columns: 1fr;
  }
}