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

body {
  font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
  line-height: 1.6;
  color: #333;
}

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

header {
  background: linear-gradient(135deg, #8b1a2b 0%, #c72c41 100%);
  color: white;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: bold;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #f1c40f;
}

.hero {
  background: linear-gradient(rgba(139, 26, 43, 0.85), rgba(199, 44, 65, 0.85)), url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 800px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(135deg, #c72c41 0%, #8b1a2b 100%);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}

.btn:hover {
  background: linear-gradient(135deg, #d63031 0%, #a11a2e 100%);
}

.services, .features, .about-content, .contact-content {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #8b1a2b;
}

.section-title p {
  color: #7f8c8d;
}

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

.service-card, .feature-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover, .feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.service-card i, .feature-card i {
  font-size: 40px;
  color: #c72c41;
  margin-bottom: 15px;
}

.service-card h3, .feature-card h3 {
  margin-bottom: 15px;
  color: #8b1a2b;
}

.service-card p, .feature-card p {
  color: #7f8c8d;
}

.clients {
  background: #f8f9fa;
  padding: 40px 0;
}

.clients h3 {
  text-align: center;
  margin-bottom: 30px;
  color: #7f8c8d;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  align-items: center;
}

.clients-grid div {
  background: white;
  padding: 20px;
  text-align: center;
  border-radius: 5px;
  color: #95a5a6;
  font-weight: bold;
}

footer {
  background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
  color: white;
  padding: 50px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-section h4 {
  margin-bottom: 20px;
  color: #c72c41;
}

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

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

.footer-section a {
  color: #bdc3c7;
  text-decoration: none;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #34495e;
  padding-top: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.icp-info {
  font-size: 14px;
  color: #7f8c8d;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #c72c41;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 10px;
  width: 20px;
  height: 20px;
  background: #c72c41;
  border-radius: 50%;
  transform: translateX(-50%);
}

.timeline-content {
  width: 45%;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: calc(55% + 10px);
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: calc(55% + 10px);
}

.timeline-date {
  color: #c72c41;
  font-weight: bold;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #8b1a2b;
    padding: 20px;
    display: none;
  }
  
  .nav-links li {
    margin: 10px 0;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item::before {
    left: 20px;
  }
  
  .timeline-content {
    width: calc(100% - 40px);
    margin-left: 40px !important;
    margin-right: 0 !important;
  }
  
  .footer-bottom {
    flex-direction: column;
  }
}