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

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

.header {
  background: linear-gradient(to right, #ffffff, #f8f9fa);
  padding: 1.5rem 8%;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
}

.header:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.logo {
  height: 30px;
  width: auto;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.header-text {
  font-size: 1.4rem;
  font-weight: 600;
  color: #2c3e50;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.header-text:hover {
  color: #1a73e8;
}

.hero {
  padding-top: 80px;
  text-align: center;
  background: #f8f9fa;
}

.hero img {
  max-width: 80%;
  height: auto;
  margin: 2rem 0;
}

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

.features {
  background: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-item {
  padding: 1.5rem;
  border-radius: 8px;
  background: #f8f9fa;
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.description {
  background: #f8f9fa;
}

.description p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.app-download {
  text-align: center;
  padding: 4rem 20px;
  background: white;
}

.download-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.carousel {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 4rem auto;
  perspective: 1000px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 600px;
  transform-style: preserve-3d;
}

.carousel-item {
  position: absolute;
  width: 70%;
  height: 100%;
  left: 15%;
  opacity: 0;
  transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out;
  display: block;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.carousel-item.active {
  opacity: 1;
  transform: translateZ(200px);
  z-index: 2;
  border: 2px solid #d0d0d0;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.carousel-item.prev {
  opacity: 0.8;
  transform: translateX(-50%) translateZ(0) rotateY(25deg);
  z-index: 1;
  border: 2px solid #e8e8e8;
}

.carousel-item.next {
  opacity: 0.8;
  transform: translateX(50%) translateZ(0) rotateY(-25deg);
  z-index: 1;
  border: 2px solid #e8e8e8;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.carousel-item.active {
  opacity: 1;
  transform: translateZ(200px);
  z-index: 2;
}

.carousel-item.prev {
  opacity: 0.7;
  transform: translateX(-50%) translateZ(0) rotateY(25deg);
  z-index: 1;
}

.carousel-item.next {
  opacity: 0.7;
  transform: translateX(50%) translateZ(0) rotateY(-25deg);
  z-index: 1;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.carousel-button:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.carousel-button.prev {
  left: 20px;
}

.carousel-button.next {
  right: 20px;
}

.carousel-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: white;
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .carousel-container {
    height: 400px;
  }

  .carousel-item {
    width: 85%;
    left: 7.5%;
  }

  .carousel-item.prev {
    transform: translateX(-30%) translateZ(0) rotateY(15deg);
  }

  .carousel-item.next {
    transform: translateX(30%) translateZ(0) rotateY(-15deg);
  }

  .carousel-button {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .carousel-button.prev {
    left: 10px;
  }

  .carousel-button.next {
    right: 10px;
  }

  .carousel-indicators {
    bottom: 15px;
    gap: 8px;
  }

  .indicator {
    width: 8px;
    height: 8px;
  }
}

.qr-codes {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-bottom: 3rem;
}

.qr-code-item {
  text-align: center;
}

.qr-code {
  width: 160px;
  height: 160px;
  margin-bottom: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.qr-code-item p {
  font-size: 1.1rem;
  color: #666;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.download-button img {
  height: 120px;
  transition: transform 0.3s ease;
  filter: drop-shadow(0, 0, 0, 0.1);
}

.download-button:hover img {
  transform: translateY(-5px);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #2c3e50;
  text-align: center;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .header {
    padding: 1rem 5%;
  }

  .logo {
    height: 32px;
  }

  .header-text {
    font-size: 1.1rem;
  }
}

.header {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-text {
  margin: 0;
}

.company-name {
  margin-left: auto;
}

.footer {
  background-color: #fff;
  padding: 40px 0;
  border-top: 1px solid #eee;
}

.company-info {
  text-align: center;
}

.company-title {
  color: #333;
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

.contact-info {
  color: #666;
  font-size: 1em;
  line-height: 1.8;
}

.contact-info p {
  margin: 8px 0;
}

.contact-info span {
  color: #666;
}

.contact-info a {
  color: #0066cc;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-info a:hover {
  color: #004499;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2px;
}

.footer .company-info {
  text-align: center;
}

.footer h3 {
  color: #333;
  margin-bottom: 20px;
  font-size: 1.2em;
}

.footer p {
  color: #666;
  margin: 8px 0;
  font-size: 1em;
}

.footer a {
  color: #0066cc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #004499;
  text-decoration: underline;
}
