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

/* 关于我们弹窗样式 */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 30px;
  border-radius: 10px;
  width: 80%;
  max-width: 800px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  position: relative;
  animation: modalopen 0.4s;
  max-height: 80vh;
  overflow-y: auto;
}

@keyframes modalopen {
  from {opacity: 0; transform: translateY(-60px);}
  to {opacity: 1; transform: translateY(0);}
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 10px;
}

.close:hover,
.close:focus {
  color: black;
}

.modal-content h2 {
  color: #007bff;
  margin-bottom: 20px;
  font-size: 24px;
}

.modal-content h3 {
  color: #0056b3;
  margin: 20px 0 10px 0;
  font-size: 18px;
}

.modal-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 10px;
}

.modal-content ul {
  margin: 10px 0 10px 20px;
}

.modal-content li {
  margin-bottom: 5px;
}

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

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

/* 头部样式 */
.header {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 999;
}

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

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

.logo h1 {
  color: #007bff;
  font-size: 32px;
  margin-left: 10px;
  font-weight: bold;
  letter-spacing: 1px;
}

.site-logo {
  width: 80px;
  height: 80px;
  margin-right: 15px;
  vertical-align: middle;
}

/* 英雄区域 */
.hero {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  padding: 100px 0;
  text-align: center;
}

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

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* 区域通用样式 */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: #333;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #007bff;
  border-radius: 3px;
}

/* 产品 */
.products {
  background: #f8f9fa;
}

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

.product-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.product-card h3 {
  color: #007bff;
  margin-bottom: 15px;
  font-size: 22px;
}

/* 页脚 */
.footer {
  background: #1a1a1a;
  color: #999;
  padding: 40px 0;
  font-size: 13px;
}

.footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-column {
  flex: 1;
  min-width: 180px;
}

.footer-column h4 {
  font-size: 14px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
}

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

.footer-column li {
  margin-bottom: 8px;
  color: #999;
  white-space: nowrap;
  font-size: 13px;
}

.footer-column a {
  color: #999;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 13px;
}

.footer-column a:hover {
  color: #007bff;
}

.footer-bottom {
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  width: 100%;
}

.footer-links {
  display: flex;
  gap: 15px;
}

.footer-links a {
  color: #999;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #007bff;
}

.footer-credits {
  display: flex;
  gap: 15px;
}

.footer-credits ul {
  list-style: none;
  display: flex;
  gap: 15px;
  margin: 0;
  padding: 0;
}

.footer-credits li {
  margin-bottom: 0;
}

.footer-credits a {
  color: #999;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s;
}

.footer-credits a:hover {
  color: #007bff;
}

.footer-copyright {
  font-size: 13px;
  color: #999;
  margin: 0;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: white;
  font-size: 16px;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #007bff;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .hero h2 {
    font-size: 36px;
  }
  
  .hero p {
    font-size: 18px;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .header .container {
    flex-direction: row;
    gap: 20px;
  }
  
  .logo {
    flex-direction: row;
  }
  
  .footer .container {
    flex-direction: column;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .footer-links,
  .footer-copyright,
  .footer-credits {
    text-align: center;
  }
  
  .footer-credits ul {
    justify-content: center;
  }
}