* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Microsoft Yahei", sans-serif;
  color: #333;
  background: #f7f8fa;
  line-height: 1.7;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* 导航 */
.navbar {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 999;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo h1 {
  font-size: 20px;
  color: #165DFF;
}
.logo span {
  font-size: 14px;
  color: #666;
  font-weight: normal;
}
.nav-links {
  display: flex;
  gap: 30px;
}
.nav-links a {
  font-size: 15px;
  color: #333;
  transition: 0.3s;
}
.nav-links a.active,
.nav-links a:hover {
  color: #165DFF;
}
.mobile-menu-btn {
  display: none;
  font-size: 22px;
  cursor: pointer;
}

/*  banner */
.banner {
  background: linear-gradient(90deg, #165DFF, #4080FF);
  color: #fff;
  padding: 100px 0;
  text-align: center;
}
.banner-text h2 {
  font-size: 36px;
  margin-bottom: 10px;
}
.banner-text p {
  font-size: 18px;
  margin-bottom: 24px;
  opacity: 0.95;
}
.banner-btn {
  display: inline-block;
  padding: 12px 30px;
  background: #fff;
  color: #165DFF;
  border-radius: 6px;
  font-weight: bold;
}

/* 首页简介 */
.intro {
  padding: 60px 0;
}
.intro-box {
  display: flex;
  gap: 40px;
  align-items: center;
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.04);
}
.intro-left {
  flex: 1;
}
.intro-left h3 {
  font-size: 24px;
  color: #222;
  margin-bottom: 16px;
}
.intro-left p {
  font-size: 15px;
  color: #555;
  margin-bottom: 12px;
}
.intro-right {
  flex: 1;
}
.intro-right img {
  width: 100%;
  border-radius: 8px;
}

/* 页面通用头部 */
.page-header {
  background: linear-gradient(90deg, #165DFF, #4080FF);
  color: #fff;
  text-align: center;
  padding: 60px 0 40px;
}
.page-header h2 {
  font-size: 30px;
  margin-bottom: 10px;
}
.page-header p {
  font-size: 16px;
  opacity: 0.92;
}

/* 关于我们 */
.about-wrap {
  padding: 60px 0;
}
.about-content {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.04);
}
.about-content h3 {
  font-size: 20px;
  margin: 20px 0 12px;
  color: #222;
}
.about-content p {
  font-size: 15px;
  color: #555;
  margin-bottom: 10px;
}
.about-content ul li {
  font-size: 15px;
  color: #555;
  padding-left: 10px;
  position: relative;
  margin-bottom: 6px;
}
.about-content ul li::before {
  content: "•";
  color: #165DFF;
  position: absolute;
  left: 0;
}

/* 联系我们 */
.contact-wrap {
  padding: 60px 0;
}
.contact-info {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.04);
}
.info-item {
  margin-bottom: 20px;
}
.info-item h4 {
  font-size: 16px;
  color: #165DFF;
  margin-bottom: 6px;
}
.info-item p {
  font-size: 15px;
  color: #333;
}

/* 产品 */
.product-wrap {
  padding: 60px 0;
}
.product-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 10px 22px;
  border: 1px solid #165DFF;
  background: #fff;
  color: #165DFF;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}
.tab-btn.active,
.tab-btn:hover {
  background: #165DFF;
  color: #fff;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 30px;
}
.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0,0,0,0.04);
  transition: 0.3s;
}
.product-card:hover {
  transform: translateY(-4px);
}
.p-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.p-info {
  padding: 20px;
}
.p-info h3 {
  font-size: 17px;
  margin-bottom: 6px;
  color: #222;
}
.p-info p {
  font-size: 13px;
  color: #666;
  margin-bottom: 6px;
}
.p-info span {
  font-size: 12px;
  color: #165DFF;
}

/* 新闻 */
.news-wrap {
  padding: 60px 0;
}
.news-list {
  max-width: 800px;
  margin: 0 auto;
}
.news-item {
  background: #fff;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.news-date {
  min-width: 80px;
  height: 80px;
  background: #165DFF;
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-align: center;
  line-height: 1.4;
}
.news-text h3 {
  font-size: 17px;
  color: #222;
  margin-bottom: 8px;
}
.news-text p {
  font-size: 14px;
  color: #555;
}

/* 案例 */
.case-wrap {
  padding: 60px 0;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 30px;
}
.case-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 260px;
}
.case-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
}
.case-mask {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
  padding: 30px 20px 20px;
  opacity: 0;
  transition: 0.4s;
}
.case-item:hover .case-mask {
  opacity: 1;
}
.case-item:hover img {
  transform: scale(1.08);
}
.case-mask h4 {
  font-size: 16px;
  margin-bottom: 6px;
}
.case-mask p {
  font-size: 13px;
  line-height: 1.6;
}

/* 底部 */
.footer {
  background: #1F2937;
  color: #fff;
  padding: 50px 0 20px;
  margin-top: 50px;
}
.footer-top {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 30px;
  margin-bottom: 30px;
}
.footer-logo h2 {
  font-size: 20px;
  margin-bottom: 6px;
}
.footer-logo p {
  font-size: 13px;
  color: #aaa;
}
.footer-links h4,
.footer-contact h4 {
  font-size: 16px;
  margin-bottom: 14px;
  color: #eee;
}
.footer-links li {
  margin-bottom: 6px;
  font-size: 14px;
  color: #aaa;
}
.footer-contact p {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 6px;
}
.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #888;
}

/* 移动端 */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .nav-links.show {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    gap: 16px;
  }
  .intro-box {
    flex-direction: column;
    padding: 20px;
  }
  .product-grid,
  .case-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }
  .news-item {
    flex-direction: column;
    gap: 10px;
  }
}