* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.top-bar {
  background: linear-gradient(135deg, #0066cc 0%, #0099cc 100%);
  color: white;
  padding: 8px 0;
  font-size: 14px;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

.top-bar a:hover {
  text-decoration: underline;
}

.header {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo img {
  height: 60px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-size: 20px;
  font-weight: bold;
  color: #0066cc;
  display: flex;
  align-items: center;
  gap: 5px;
}

.logo-sub {
  font-size: 14px;
  color: #666;
}

nav {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

nav a:hover,
nav a.active {
  background: #0066cc;
  color: white;
}

.banner {
  position: relative;
  height: 450px;
  overflow: hidden;
}

.banner-slides {
  display: flex;
  width: 300%;
  animation: bannerScroll 15s infinite;
}

.banner-slide {
  width: 100%;
  height: 450px;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes bannerScroll {
  0%,
  28% {
    transform: translateX(0);
  }
  33%,
  61% {
    transform: translateX(-33.33%);
  }
  66%,
  94% {
    transform: translateX(-66.66%);
  }
  100% {
    transform: translateX(0);
  }
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-content {
  text-align: center;
  color: white;
}

.banner-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-content p {
  font-size: 20px;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: #0066cc;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #0055aa;
  transform: translateY(-2px);
}

.section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 32px;
  color: #0066cc;
  margin-bottom: 10px;
}

.section-title p {
  color: #666;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-card .product-info {
  padding: 20px;
}

.product-card h3 {
  color: #0066cc;
  margin-bottom: 10px;
}

.product-card p {
  color: #666;
  font-size: 14px;
}

.about-content {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-content h3 {
  color: #0066cc;
  margin: 20px 0 10px;
}

.about-content p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 15px;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.case-item {
  background: white;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.case-item:hover {
  background: #0066cc;
  color: white;
}

.case-item i {
  font-size: 36px;
  margin-bottom: 15px;
  color: #0066cc;
}

.case-item:hover i {
  color: white;
}

.faq-section {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-item {
  border-bottom: 1px solid #eee;
  padding: 20px 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: bold;
  color: #0066cc;
}

.faq-question:hover {
  color: #0055aa;
}

.faq-question span {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.faq-question.active span {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding-top: 15px;
  color: #666;
}

.faq-answer.active {
  display: block;
}

.contact-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.contact-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-card h3 {
  color: #0066cc;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-card p {
  margin-bottom: 15px;
  color: #555;
}

.contact-card a {
  color: #0066cc;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

.qrcode {
  text-align: center;
}

.qrcode img {
  width: 150px;
  height: 150px;
  margin-bottom: 10px;
}

.douyin-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.douyin-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.douyin-card img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 10px;
}

.footer {
  background: #333;
  color: white;
  padding: 40px 0;
  margin-top: 40px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-left,
.footer-right {
  flex: 1;
  min-width: 250px;
}

.footer-left p {
  margin-bottom: 10px;
  font-size: 14px;
  color: #aaa;
}

.footer-right {
  text-align: right;
}

.footer-right a {
  color: #0099cc;
  text-decoration: none;
}

.footer-right a:hover {
  text-decoration: underline;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  margin-top: 20px;
  font-size: 14px;
  color: #aaa;
}

@media (max-width: 768px) {
  .top-bar .container {
    flex-direction: column;
    text-align: center;
  }

  .header .container {
    flex-direction: column;
    gap: 15px;
  }

  nav {
    justify-content: center;
    gap: 15px;
  }

  .banner {
    height: 300px;
  }

  .banner-slide {
    height: 300px;
  }

  .banner-content h1 {
    font-size: 28px;
  }

  .banner-content p {
    font-size: 16px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-right {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .top-bar-left,
  .top-bar-right {
    flex-direction: column;
    gap: 5px;
  }

  .logo img {
    height: 40px;
  }

  .logo-main {
    font-size: 16px;
  }

  .logo-sub {
    font-size: 12px;
  }

  nav a {
    padding: 5px 10px;
    font-size: 14px;
  }

  .banner-content h1 {
    font-size: 22px;
  }
}
