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

:root {
  --primary-color: #0066ff;
  --primary-dark: #0052cc;
  --secondary-color: #00d4ff;
  --text-dark: #1a1a1a;
  --text-light: #666666;
  --bg-light: #f5f7fa;
  --bg-white: #ffffff;
  --border-color: #e0e0e0;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
    sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========== 导航栏 ========== */
.navbar {
  position: sticky;
  top: 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 700;
  font-size: 18px;
}

.logo-image {
  height: 70px;
  width: auto;
  object-fit: contain;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  padding: 8px 20px;
  border-radius: 8px;
}

.logo-icon {
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 8px;
  color: white;
}

.logo-text {
  color: var(--text-dark);
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
  flex: 1;
  margin-left: 80px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 20px;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

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

.search-box {
  display: flex;
  align-items: center;
  background: var(--bg-light);
  border-radius: 6px;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
}

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  width: 150px;
  font-size: 14px;
  color: var(--text-dark);
}

.search-box input::placeholder {
  color: var(--text-light);
}

.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary-color);
  font-size: 16px;
  transition: color 0.3s ease;
}

.search-btn:hover {
  color: var(--primary-dark);
}

.nav-divider {
  width: 1px;
  height: 20px;
  background: var(--border-color);
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  cursor: pointer;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 18px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.contact-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: rgba(0, 102, 255, 0.05);
}

.language-selector {
  position: relative;
}

.language-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  cursor: pointer;
  color: var(--text-dark);
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.language-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: rgba(0, 102, 255, 0.05);
}

.language-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  list-style: none;
  min-width: 150px;
  margin-top: 8px;
  box-shadow: var(--shadow-lg);
  display: none;
  z-index: 100;
}

.language-selector:hover .language-menu {
  display: block;
}

.language-menu li a {
  display: block;
  padding: 10px 16px;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.3s ease;
}

.language-menu li:first-child a {
  color: var(--primary-color);
  font-weight: 600;
}

.language-menu li a:hover {
  background: var(--bg-light);
  padding-left: 20px;
}

/* ========== Hero Section ========== */
.hero {
  position: relative;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
}

.hero-background {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.animated-bg {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.2), transparent 70%);
  border-radius: 50%;
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.animated-bg::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.15), transparent 70%);
  border-radius: 50%;
  bottom: -200px;
  left: -200px;
  animation: float 10s ease-in-out infinite reverse;
}

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

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  padding: 0 40px;
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-btn {
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 600;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
}

/* ========== 通用Section样式 ========== */
section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-light);
  font-weight: 400;
}

/* ========== 产品中心 ========== */
.products {
  background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.product-card {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-icon {
  width: 100%;
  height: 180px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.product-card p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.product-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.product-link:hover {
  color: var(--primary-dark);
}

/* ========== 服务支持 ========== */
.support {
  background: var(--bg-white);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.support-item {
  background: linear-gradient(
    135deg,
    rgba(0, 102, 255, 0.05),
    rgba(0, 212, 255, 0.05)
  );
  border-radius: 12px;
  padding: 40px;
  border: 1px solid rgba(0, 102, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.support-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.support-number {
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.support-item h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.support-item p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
}

/* ========== 关于我们 ========== */
.about {
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 40px 0;
  padding: 40px;
  background: var(--bg-white);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.stat-label {
  color: var(--text-light);
  font-size: 14px;
  margin-top: 5px;
}

.advantage-list {
  list-style: none;
  margin-top: 20px;
}

.advantage-list li {
  padding: 10px 0;
  color: var(--text-dark);
  font-size: 15px;
  line-height: 1.8;
}

.advantage-list li:before {
  content: "✓ ";
  color: var(--primary-color);
  font-weight: 700;
  margin-right: 8px;
}

.about-image {
  position: relative;
}

.image-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(
    135deg,
    rgba(0, 102, 255, 0.1),
    rgba(0, 212, 255, 0.1)
  );
  border-radius: 12px;
  border: 2px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.image-placeholder:hover {
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.15);
}

.image-placeholder i {
  font-size: 80px;
  color: var(--primary-color);
  margin-bottom: 20px;
  opacity: 0.7;
}

.image-placeholder p {
  color: var(--text-light);
  font-size: 16px;
  font-weight: 500;
}

/* ========== 联系我们 ========== */
.contact {
  background: var(--bg-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.contact-card {
  background: linear-gradient(
    135deg,
    rgba(0, 102, 255, 0.05),
    rgba(0, 212, 255, 0.05)
  );
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.contact-card i {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.contact-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.contact-card p {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 12px;
  font-weight: 500;
}

.contact-time {
  display: block;
  color: #999;
  font-size: 12px;
  margin-top: 8px;
}

/* ========== 页脚 ========== */
.footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 30px 40px;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
  font-size: 12px;
  color: #999;
}

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

.footer-bottom a:hover {
  color: var(--primary-color);
}

/* ========== 浮窗客服 ========== */
.floating-contact {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 15px rgba(0, 102, 255, 0.4);
  transition: all 0.3s ease;
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.5);
}

/* ========== 响应式设计 ========== */
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .support-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 20px;
    height: 60px;
  }

  .nav-menu {
    display: none;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  section {
    padding: 60px 20px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .products-grid,
  .support-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}
