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

body {
  font-family: 'Microsoft YaHei', Arial, sans-serif;
  background: #0a0a0a;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

.matrix-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  z-index: -2;
}

.matrix-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
      radial-gradient(circle at 1px 1px, rgba(0, 255, 255, 0.3) 1px, transparent 0);
  background-size: 50px 50px;
  animation: matrix-move 20s linear infinite;
  z-index: -1;
}

@keyframes matrix-move {
  0% { transform: translateY(0); }
  100% { transform: translateY(50px); }
}

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

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 255, 255, 0.2);
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-brand a {
  font-size: 1.8rem;
  font-weight: bold;
  text-decoration: none;
  background: linear-gradient(45deg, #00ffff, #ff00ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-item {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-item:hover {
  background: rgba(0, 255, 255, 0.1);
  color: #00ffff;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #00ffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 70px;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, #00ffff, #ff00ff, #ffff00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from { text-shadow: 0 0 20px rgba(0, 255, 255, 0.5); }
  to { text-shadow: 0 0 30px rgba(255, 0, 255, 0.8); }
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  color: #cccccc;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(45deg, #00ffff, #ff00ff);
  color: #000000;
  box-shadow: 0 5px 20px rgba(0, 255, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.5);
}

.btn-outline {
  background: transparent;
  color: #00ffff;
  border: 2px solid #00ffff;
}

.btn-outline:hover {
  background: #00ffff;
  color: #000000;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.hero-visual {
  position: relative;
}

.floating-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  transform: perspective(1000px) rotateY(-15deg);
}

.card-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 1rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 255, 255, 0.2);
  animation: float 6s ease-in-out infinite;
}

.card-item:nth-child(2) {
  animation-delay: -2s;
}

.card-item:nth-child(3) {
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.card-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 3rem;
  background: linear-gradient(45deg, #00ffff, #ff00ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.features-section, .services-section, .testimonials-section {
  padding: 5rem 0;
  position: relative;
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
  border-color: rgba(0, 255, 255, 0.5);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #00ffff;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #00ffff;
}

.feature-card p {
  color: #cccccc;
  line-height: 1.8;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  height: 250px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.service-item:hover {
  transform: scale(1.05);
}

.service-image {
  position: relative;
  width: 100%;
  height: 100%;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.8), rgba(255, 0, 255, 0.8));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-item:hover .service-overlay {
  opacity: 1;
}

.service-overlay h3 a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.service-overlay p {
  color: #ffffff;
  font-size: 1rem;
}

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

.testimonial-item {
  display: none;
  text-align: center;
  padding: 2rem;
}

.testimonial-item.active {
  display: block;
}

.testimonial-content {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 3rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 255, 255, 0.2);
}

.testimonial-content p {
  font-size: 1.3rem;
  font-style: italic;
  margin-bottom: 2rem;
  color: #cccccc;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #00ffff;
}

.author-info h4 {
  color: #00ffff;
  margin-bottom: 0.2rem;
}

.author-info span {
  color: #999999;
  font-size: 0.9rem;
}

.cta-section {
  padding: 5rem 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.1));
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #00ffff;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #cccccc;
}

.btn-cta {
  background: linear-gradient(45deg, #ff00ff, #00ffff);
  color: #000000;
  padding: 1.2rem 3rem;
  font-size: 1.2rem;
  border-radius: 35px;
  box-shadow: 0 10px 30px rgba(255, 0, 255, 0.3);
}

.btn-cta:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(255, 0, 255, 0.5);
}

.footer {
  background: rgba(0, 0, 0, 0.8);
  padding: 3rem 0 1rem;
  border-top: 1px solid rgba(0, 255, 255, 0.2);
}

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

.footer-section h3 {
  margin-bottom: 1rem;
  color: #00ffff;
  font-size: 1.3rem;
}

.footer-section p {
  color: #cccccc;
  line-height: 1.8;
  margin-bottom: 1rem;
}

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

.footer-section ul li {
  margin-bottom: 0.8rem;
}

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

.footer-section a:hover {
  color: #00ffff;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  padding: 0.5rem 1rem;
  background: rgba(0, 255, 255, 0.1);
  border-radius: 20px;
  border: 1px solid rgba(0, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: rgba(0, 255, 255, 0.2);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #666666;
}

@media (max-width: 768px) {
  .nav-menu {
      display: none;
  }
  
  .nav-toggle {
      display: flex;
  }
  
  .hero-container {
      grid-template-columns: 1fr;
      text-align: center;
  }
  
  .hero-title {
      font-size: 2.5rem;
  }
  
  .floating-cards {
      grid-template-columns: 1fr;
      transform: none;
  }
  
  .features-grid {
      grid-template-columns: 1fr;
  }
  
  .services-grid {
      grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-buttons {
      justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
      font-size: 2rem;
  }
  
  .section-title {
      font-size: 2rem;
  }
  
  .services-grid {
      grid-template-columns: 1fr;
  }
  
  .btn {
      padding: 0.8rem 2rem;
      font-size: 1rem;
  }
  
  .testimonial-content {
      padding: 2rem;
  }
  
  .testimonial-content p {
      font-size: 1.1rem;
  }
}