/* ====== 全局基础样式 ====== */
/* 优化加载动画，防止空白闪烁 */
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
}

body {
  font-family: "Noto Sans SC", sans-serif;
  color: #333;
  background-color: #121a29;
  /* 与加载动画背景色一致 */
  transition: background-color 1s ease;
  overflow-x: hidden;
}

body.loaded {
  background-color: #f8f9fa;
}

/* 加载动画 - 科技风格 */
.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #121a29;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader {
  position: relative;
  width: 200px;
  height: 200px;
}

/* 高科技风格加载动画 */
.loader-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(0, 198, 255, 0.1);
  border-top: 2px solid #00c6ff;
  border-left: 2px solid transparent;
  border-right: 2px solid transparent;
  animation: spin 2s linear infinite;
  box-shadow: 0 0 20px rgba(0, 198, 255, 0.5);
}

.loader-circle:nth-child(2) {
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  border-top: 2px solid #0066ff;
  border-right: 2px solid #0066ff;
  border-left: 2px solid transparent;
  border-bottom: 2px solid transparent;
  animation-duration: 1.5s;
  animation-direction: reverse;
}

.loader-circle:nth-child(3) {
  width: 60%;
  height: 60%;
  top: 20%;
  left: 20%;
  border-bottom: 2px solid #7000ff;
  border-left: 2px solid #7000ff;
  border-top: 2px solid transparent;
  border-right: 2px solid transparent;
  animation-duration: 1s;
}

/* 数字化效果的加载文字 */
.loader-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(0, 198, 255, 0.8);
  animation: glitch 2s infinite;
}

@keyframes glitch {
  0% {
    text-shadow: 0 0 10px rgba(0, 198, 255, 0.8);
    transform: translate(-50%, -50%) scale(1);
  }

  5% {
    text-shadow: 3px 0 10px rgba(0, 102, 255, 0.8),
      -3px 0 10px rgba(112, 0, 255, 0.8);
    transform: translate(-50%, -50%) scale(1.01);
  }

  10% {
    text-shadow: 0 0 10px rgba(0, 198, 255, 0.8);
    transform: translate(-50%, -50%) scale(1);
  }

  15% {
    text-shadow: 0 3px 10px rgba(0, 102, 255, 0.8),
      0 -3px 10px rgba(112, 0, 255, 0.8);
    transform: translate(-50%, -50%) scale(0.99);
  }

  20%,
  100% {
    text-shadow: 0 0 10px rgba(0, 198, 255, 0.8);
    transform: translate(-50%, -50%) scale(1);
  }
}

/* 科技风格进度条 */
.progress {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 198, 255, 0.3);
}

.progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #0066ff, #00c6ff, #7000ff);
  background-size: 200% 100%;
  animation: gradientMove 2s linear infinite;
  transition: width 0.3s ease;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* 隐藏内容直到加载完成 */
.content-container {
  opacity: 0;
  transition: opacity 1s ease;
}

body.loaded .content-container {
  opacity: 1;
}

:root {
  --primary-color: #0066ff;
  --secondary-color: #00c2ff;
  --accent-color: #7000ff;
  --dark-color: #121a29;
  --light-color: #f8f9fa;
  --gradient-primary: linear-gradient(135deg,
      var(--primary-color),
      var(--secondary-color));
  --gradient-accent: linear-gradient(135deg,
      var(--accent-color),
      var(--primary-color));
  --gradient-dark: linear-gradient(135deg, var(--dark-color), #2a3a5a);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ====== 导航栏 ====== */
/* 导航栏 */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 20px 0;
  background-color: transparent;
}

header.scrolled {
  background-color: rgba(18, 26, 41, 0.95);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  background: url("../images/logo.jpg") no-repeat center center/cover;
  height: 40px;
  width: 40px;
  margin-right: 10px;
  border-radius: 8px;
  padding: 5px;
}

.logo-text {
  color: white;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 5px 0;
}

.nav-links a:hover {
  color: var(--secondary-color);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

/* ====== 首页 Hero ====== */
/* 英雄区 - 增强科技感 */
.hero {
  height: 100vh;
  background: var(--gradient-dark);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: url("./images/banner.jpg")
    no-repeat center center/cover; */
  opacity: 1;
}

/* 科技网格背景 */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(0, 102, 255, 0.1) 1px,
      transparent 1px),
    linear-gradient(90deg, rgba(0, 102, 255, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  animation: fadeInUp 1s ease 0.5s forwards;
  opacity: 0;
  transform: translateY(30px);
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(0, 102, 255, 0.5);
}

.hero-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--gradient-primary);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 500;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
  position: relative;
  overflow: hidden;
}

/* 按钮科技感效果 */
.btn::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(45deg);
  transition: transform 0.6s ease;
  z-index: -1;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 102, 255, 0.4);
}

.btn:hover::before {
  transform: rotate(45deg) translateX(50%);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  margin-left: 15px;
}

.btn-outline:hover {
  background: var(--gradient-primary);
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

/* 科技感粒子 */
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 10px rgba(0, 198, 255, 0.5);
  animation: float 15s infinite linear;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }

  100% {
    transform: translateY(-1000px) rotate(720deg);
    opacity: 0;
  }
}

.hero-qrcode {
  position: absolute;
  display: flex;
  align-items: center;
  flex-direction: column;
  bottom: 160px;
  right: 160px;
  width: 140px;
  height: 140px;
  background: rgba(0, 0, 0, 0.65);
}

.hero-qrcode img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-qrcode .hero-qrcode-text {
  width: 160px;
  margin-top: 10px;
  text-align: center;
  font-size: 16px;
  color: #fff;
}


/* ====== 企业介绍 ====== */
/* 关于我们 */
.section {
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 18px;
  color: #666;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.about {
  background-color: white;
}

.about-content {
  margin-top: 36px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.about-image {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.about-img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.about-image:hover .about-img {
  transform: scale(1.03);
}

.about-text {
  margin-left: 30px;
  flex: 1;
  min-width: 750px;
}

.about-text h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.about-text p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #555;
}

.about-stats {
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
}

.stat-item {
  flex: 1;
  min-width: 120px;
  text-align: center;
  margin: 10px;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.stat-text {
  font-size: 14px;
  color: #666;
}

/* ====== 服务介绍 ====== */
/* 服务 */
.services {
  background: var(--light-color);
  position: relative;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.services-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}

.service-card {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  position: relative;
  top: 0;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}



.service-img {
  flex: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-img {
  transform: scale(1.1);
}

.service-content {
  padding: 25px;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  color: white;
  font-size: 24px;
  box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
}

.service-title {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.service-description {
  font-size: 15px;
  line-height: 1.7;
  color: #666;
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.service-link i {
  margin-left: 5px;
  transition: var(--transition);
}

.service-link:hover {
  color: var(--secondary-color);
}

.service-link:hover i {
  transform: translateX(5px);
}

/* ====== 服务优势 ====== */
/* 产品展示 */
.products {
  background: white;
}

.product-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 20px;
  margin: 0 10px 10px;
  background: transparent;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 5px 15px rgba(0, 102, 255, 0.2);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.product-img-container {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-img {
  transform: scale(1.1);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-btn {
  background: white;
  color: var(--dark-color);
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition);
  transition-delay: 0.1s;
}

.product-card:hover .product-btn {
  transform: translateY(0);
  opacity: 1;
}

.product-content {
  padding: 20px;
  background: white;
}

.product-title {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.product-category {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.product-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
}

/* ====== 好评板块 ====== */
/* 团队 */
.team {
  background: var(--light-color);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.team-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.team-img-container {
  height: 250px;
  overflow: hidden;
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.team-card:hover .team-img {
  transform: scale(1.1);
}

.team-content {
  padding: 20px;
  text-align: center;
}

.team-name {
  font-size: 20px;
  margin-bottom: 5px;
  color: var(--dark-color);
}

.team-position {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.team-social {
  display: flex;
  justify-content: center;
}

.social-link {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--light-color);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 5px;
  color: var(--dark-color);
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--gradient-primary);
  color: white;
  transform: translateY(-3px);
}

/* ====== 常见问题 ====== */
/* 联系我们 */
.contact {
  background: white;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-form {
  flex: 1;
  min-width: 300px;
}

.info-item {
  display: flex;
  margin-bottom: 30px;
}

.info-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 20px;
  margin-right: 20px;
  flex-shrink: 0;
}

.info-content h4 {
  font-size: 18px;
  margin-bottom: 5px;
  color: var(--dark-color);
}

.info-content p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

.map-container {
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 30px;
}

.map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 15px;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
  outline: none;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* ====== 页脚 ====== */
/* 页脚 */
footer {
  background: var(--dark-color);
  color: white;
  padding: 60px 0 0;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo-img {
  flex-shrink: 0;
  height: 60px;
  width: 60px;
  margin-right: 10px;
  border-radius: 8px;
  background-image: url(../images/logo.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.footer-logo-text {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer-about p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
}

.footer-social-link {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 10px;
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.footer-social-link:hover {
  background: var(--gradient-primary);
  transform: translateY(-3px);
}

.footer-title {
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 1.5px;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 16px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li img {
  width: 16px;
  height: 16px;
  margin-right: 2px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.footer-links a i {
  margin-right: 10px;
  font-size: 12px;
}

.footer-links a:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

.footer-newsletter p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
}

.newsletter-input {
  flex: 1;
  padding: 10px 15px;
  border: none;
  border-radius: 5px 0 0 5px;
  font-size: 14px;
}

.newsletter-btn {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 0 15px;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-btn:hover {
  background: var(--gradient-accent);
}

.copyright {
  text-align: center;
  padding: 20px 0;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* ====== 返回顶部按钮 ====== */
/* 返回顶部按钮 - 科技风格 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 99;
  overflow: hidden;
}

.back-to-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg,
      rgba(0, 198, 255, 0.5),
      rgba(112, 0, 255, 0.5));
  opacity: 0;
  transition: var(--transition);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 102, 255, 0.4);
}

.back-to-top:hover::before {
  opacity: 1;
}

.back-to-top img {
  width: 24px;
  height: 24px;
  transform: rotate(-90deg);
}

/* ====== 动画与特效 ====== */
/* 科技风格动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
}

.fade-in-up.appear {
  animation: fadeInUp 1s forwards;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
}

.fade-in-left.appear {
  animation: fadeInLeft 1s forwards;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
}

.fade-in-right.appear {
  animation: fadeInRight 1s forwards;
}

/* 粒子效果 */
.particle {
  position: absolute;
  background: linear-gradient(135deg,
      rgba(0, 102, 255, 0.5),
      rgba(0, 198, 255, 0.5));
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.3;
  animation: float 15s linear infinite;
}

@keyframes float {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0.3;
  }

  25% {
    opacity: 0.6;
  }

  50% {
    transform: translateY(-100px) translateX(100px) rotate(180deg);
    opacity: 0.3;
  }

  75% {
    opacity: 0.6;
  }

  100% {
    transform: translateY(0) translateX(0) rotate(360deg);
    opacity: 0.3;
  }
}



/* 联系区域动态背景 */
.contact-bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.contact-bg-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient-primary);
  opacity: 0.3;
  animation: contactDotPulse 4s infinite ease-in-out;
}

.contact-bg-dot:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.contact-bg-dot:nth-child(2) {
  top: 70%;
  left: 20%;
  animation-delay: 1s;
}

.contact-bg-dot:nth-child(3) {
  top: 40%;
  right: 10%;
  animation-delay: 2s;
}

.contact-bg-dot:nth-child(4) {
  bottom: 20%;
  right: 20%;
  animation-delay: 3s;
}

@keyframes contactDotPulse {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }

  50% {
    transform: scale(15);
    opacity: 0.1;
  }

  100% {
    transform: scale(1);
    opacity: 0.3;
  }
}

/* 产品选项卡样式 */
.product-card {
  display: block;
  transition: all 0.5s ease;
}

.product-card.hidden {
  display: none;
}

/* 表单样式增强 */
.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23555' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* 增强按钮悬停效果 */
.btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 102, 255, 0.5);
}

/* 增强卡片悬停效果 */
.service-card:hover,
.product-card:hover,
.team-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* 增强图片悬停效果 */
.service-card:hover .service-img,
.product-card:hover .product-img,
.team-card:hover .team-img {
  transform: scale(1.15);
}

/* 增强社交链接悬停效果 */
.social-link:hover,
.footer-social-link:hover {
  transform: translateY(-5px) rotate(360deg);
  transition: transform 0.5s ease;
}

/* 增强表单提交按钮 */
form .btn {
  width: 100%;
  margin-top: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* 增强地图容器 */
.map-container {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.map-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.map-container:hover .map-img {
  transform: scale(1.05);
}

.map-img {
  transition: var(--transition);
}


/* 轮播图宽600px，高300px */
.about-swiper {
  width: 100%;
  height: 300px;
  margin: 0 auto;
}

.about-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
}

.about-swiper .about-img {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  object-fit: cover;
  border-radius: 10px;
}

.about-swiper .swiper-caption {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 6px 18px;
  border-radius: 16px;
  font-size: 16px;
  text-align: center;
  z-index: 10;
  pointer-events: none;
}

.about-swiper .swiper-slide {
  position: relative;
}


.testimonials-swiper {}

.top-cards-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

.top-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin-bottom: 16px;
}

.top-card-img-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  background: #f5f7fa;
}

.top-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.top-card-title {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
  color: #222;
  letter-spacing: 1px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  padding: 12px;
  border-radius: 0 0 12px 12px;
}

.top-card:hover .top-card-title {
  opacity: 0;
}

.top-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  padding: 18px;
  text-align: center;
  font-size: 16px;
}

.top-card-img-wrap:hover .top-card-overlay,
.top-card-img-wrap:focus .top-card-overlay {
  opacity: 1;
}

.top-card-img-wrap:hover .top-card-img,
.top-card-img-wrap:focus .top-card-img {
  transform: scale(1.05);
}

.top-card-desc {
  line-height: 1.6;
}

.testimonials-swiper .service-card {
  margin-top: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  height: 240px;
}

.testimonials-swiper .service-icon {
  margin-bottom: 12px;
}

.testimonials-swiper .service-title {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 600;
}

.testimonials-swiper .service-description {
  font-size: 15px;
  color: #555;
  text-align: center;
}

.testimonials-swiper .swiper-pagination {
  margin-top: 24px;
  margin-bottom: 10px;
  text-align: center;
  position: relative;
  bottom: -10px;
}



.faq-list {
  background: #fafcff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  padding: 18px 24px 8px 24px;
  margin: 0 auto 40px auto;
  margin-top: 36px;

}

.faq-item {
  border-bottom: 1px solid #eee;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-size: 17px;
  font-weight: 600;
  padding: 18px 0 12px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  font-size: 15px;
  color: #666;
  padding: 0 0 16px 0;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-toggle {
  font-size: 22px;
  font-weight: 700;
  margin-left: 12px;
  user-select: none;
}

.services-container {
  margin-top: 36px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 24px;
}

.top-cards-section {
  width: 360px;
  flex-shrink: 0;
}

