/* 基础样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #2c3e50;
}

.section-header p {
  font-size: 1.2rem;
  color: #7f8c8d;
  max-width: 700px;
  margin: 0 auto;
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background: #3498db;
  color: white;
  border: 2px solid #3498db;
}

.btn-primary:hover {
  background: #2980b9;
  border-color: #2980b9;
}

.btn-secondary {
  background: #2ecc71;
  color: white;
  border: 2px solid #2ecc71;
}

.btn-secondary:hover {
  background: #27ae60;
  border-color: #27ae60;
}

.btn-outline {
  background: transparent;
  color: #3498db;
  border: 2px solid #3498db;
}

.btn-outline:hover {
  background: #3498db;
  color: white;
}

/* 头部导航 */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: 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 img {
  height: 40px;
}

.main-nav {
  display: flex;
}

.main-nav li {
  margin: 0 15px;
}

.main-nav a {
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #3498db;
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.language-selector {
  position: relative;
  margin-left: 15px;
}

.language-selector select {
  padding: 8px 30px 8px 12px; /* 增加右侧内边距，给下拉图标留出更多空间 */
  border-radius: 20px;
  border: 1px solid #ddd;
  font-size: 0.9rem;
  background-color: white;
  cursor: pointer;
  outline: none;
  appearance: none; /* 移除默认下拉样式 */
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* 创建自定义下拉图标 */
.language-selector::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px; /* 距离右边框12px */
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #333;
  pointer-events: none; /* 确保点击事件穿透到select */
}

/* 为选择器增加悬停效果 */
.language-selector select:hover {
  border-color: #3498db;
}

/* 主横幅区域 */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4ecf7 100%);
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-content {
  flex: 1;
  padding-right: 50px;
}

.hero-image {
  flex: 1;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #2c3e50;
}

.hero p {
  font-size: 1.3rem;
  color: #7f8c8d;
  margin-bottom: 40px;
}

.cta-buttons .btn {
  margin-right: 15px;
}

/* 服务特点 */
.features {
  padding: 100px 0;
  background-color: white;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  margin-bottom: 20px;
  font-size: 2.5rem;
  color: #3498db;
}

.feature-card h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
  color: #2c3e50;
}

.feature-card p {
  color: #7f8c8d;
}

/* 价格方案 */
.pricing {
  padding: 100px 0;
  background-color: #f9f9f9;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.pricing-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.pricing-card.featured {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border: 2px solid #3498db;
}

.pricing-card:hover {
  transform: translateY(-10px);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.pricing-header {
  padding: 30px;
  text-align: center;
  background: #f8f9fa;
  border-bottom: 1px solid #eee;
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #2c3e50;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #3498db;
}

.currency {
  font-size: 1.5rem;
  vertical-align: super;
}

.period {
  font-size: 1rem;
  color: #7f8c8d;
  font-weight: normal;
}

.custom-price {
  font-size: 1.5rem;
  color: #3498db;
}

.pricing-features {
  padding: 30px;
}

.pricing-features ul li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  color: #7f8c8d;
}

.pricing-features ul li:last-child {
  border-bottom: none;
}

.pricing-cta {
  padding: 0 30px 30px;
  text-align: center;
}

/* API部分 */
.api {
  padding: 100px 0;
  background-color: white;
}

.api-demo {
  display: flex;
  align-items: center;
  gap: 50px;
}

.code-sample {
  flex: 1;
  background: #2c3e50;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.code-sample pre {
  margin: 0;
  overflow-x: auto;
}

.code-sample code {
  color: #ecf0f1;
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
  line-height: 1.5;
}

.api-content {
  flex: 1;
}

.api-content h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #2c3e50;
}

.api-content p {
  margin-bottom: 20px;
  color: #7f8c8d;
}

.api-features {
  margin-bottom: 30px;
}

.api-features li {
  padding: 8px 0;
  position: relative;
  padding-left: 25px;
  color: #7f8c8d;
}

.api-features li:before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #2ecc71;
  position: absolute;
  left: 0;
}

/* 关于我们 */
.about {
  padding: 100px 0;
  background-color: #f9f9f9;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 20px;
  color: #7f8c8d;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #3498db;
  margin-bottom: 5px;
}

.stat-label {
  color: #7f8c8d;
}

/* 联系我们 */
.contact {
  padding: 100px 0;
  background-color: white;
}

.contact-content {
  display: flex;
  gap: 50px;
}

.contact-form {
  flex: 2;
}

.form-group {
  margin-bottom: 20px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #2c3e50;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #3498db;
  outline: none;
}

.contact-form form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-info {
  flex: 1;
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.info-icon {
  font-size: 1.5rem;
  color: #3498db;
  margin-right: 15px;
  padding-top: 5px;
}

.info-content h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: #2c3e50;
}

.info-content p {
  color: #7f8c8d;
}

/* 页脚 */
footer {
  background-color: #2c3e50;
  color: white;
  padding: 70px 0 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}

.footer-logo {
  flex: 1;
}

.footer-logo img {
  height: 180px;
  margin-bottom: 15px;
}

.footer-logo p {
  color: #bdc3c7;
}

.footer-links {
  flex: 2;
  display: flex;
  justify-content: space-between;
}

.link-group h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: white;
}

.link-group ul li {
  margin-bottom: 10px;
}

.link-group ul li a {
  color: #bdc3c7;
  transition: color 0.3s ease;
}

.link-group ul li a:hover {
  color: #3498db;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a {
  display: inline-block;
  margin-right: 15px;
  color: #bdc3c7;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #3498db;
}

.copyright {
  color: #bdc3c7;
  font-size: 0.9rem;
}
/* 产品介绍样式 */
.product-intro {
  margin-bottom: 40px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.product-intro p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

/* 产品特性样式 */
.product-features {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 修改为3列 */
  gap: 30px;
  margin-top: 40px;
}

/* 调整每个feature-box的尺寸和内容布局 */
.feature-box {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 20px; /* 稍微减小内边距 */
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  height: 100%; /* 确保所有盒子高度一致 */
  display: flex;
  flex-direction: column;
}

.feature-box h3 {
  font-size: 1.2em; /* 稍微减小标题字体大小 */
  margin-bottom: 15px;
  color: #333;
  display: flex;
  align-items: center;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-box h3 i {
  margin-right: 10px;
  color: #4a6cf7;
}

.feature-box ul {
  list-style: none;
  padding-left: 0;
}

.feature-box ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  line-height: 1.5;
}

.feature-box ul li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #4a6cf7;
  font-weight: bold;
}

/* 产品参数样式 */
.product-specs {
  padding: 80px 0;
}

.specs-table {
  max-width: 800px;
  margin: 40px auto 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.specs-row {
  display: flex;
  border-bottom: 1px solid #eee;
}

.specs-row:last-child {
  border-bottom: none;
}

.specs-row:nth-child(odd) {
  background-color: #f8f9fa;
}

.specs-title,
.specs-value {
  padding: 15px 20px;
}

.specs-title {
  width: 40%;
  font-weight: 600;
  border-right: 1px solid #eee;
}

.specs-value {
  width: 60%;
}

/* 应用场景样式 */
.applications {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.application-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.application-card:hover {
  transform: translateY(-5px);
}

.application-icon {
  font-size: 2.5em;
  color: #4a6cf7;
  margin-bottom: 20px;
}

.application-card h3 {
  margin-bottom: 10px;
  font-size: 1.2em;
}

.client-types {
  margin-top: 60px;
  text-align: center;
}

.client-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.client-badge {
  background-color: #4a6cf7;
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 500;
}

.product-versions {
  margin-top: 30px;
  text-align: center;
}

.product-versions h4 {
  font-size: 1.2em;
  margin-bottom: 15px;
  color: #2c3e50;
}

.version-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.version-badge {
  background-color: #3498db;
  color: white;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.95em;
  font-weight: 500;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.version-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

/* Hero 样式 */
.hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
  background-color: #f8f9fa;
}

.geometric-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.2;
}

.shape-1 {
  top: 20%;
  left: 10%;
  width: 100px;
  height: 100px;
  background-color: #4285f4;
  animation: float 6s ease-in-out infinite;
}

.shape-2 {
  top: 60%;
  left: 15%;
  width: 150px;
  height: 150px;
  background-color: #34a853;
  animation: float 8s ease-in-out infinite;
}

.shape-3 {
  top: 30%;
  right: 15%;
  width: 80px;
  height: 80px;
  background-color: #fbbc05;
  animation: float 5s ease-in-out infinite;
}

.shape-4 {
  top: 70%;
  right: 10%;
  width: 120px;
  height: 120px;
  background-color: #ea4335;
  animation: float 7s ease-in-out infinite;
}

.hero .container {
  position: relative;
  z-index: 2;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}
/* 关于我们 */
.company-values {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
}

.value-card {
  flex: 1 0 220px;
  max-width: 280px;
  background: white;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.value-card:hover {
  transform: translateY(-10px);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #0062E6;
}

.value-card h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.about-text-container {
  max-width: 800px;
  margin: 3rem auto;
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 8px;
  border-left: 5px solid #0062E6;
}

.company-timeline {
  margin: 4rem 0;
  position: relative;
}

.company-timeline::before {
  content: '';
  position: absolute;
  width: 4px;
  background-color: #f8f9fa;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  left: 0;
  padding-right: 40px;
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 40px;
}

.timeline-year {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #0062E6;
  color: white;
  text-align: center;
  line-height: 60px;
  font-weight: bold;
  z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-year {
  right: -30px;
}

.timeline-item:nth-child(even) .timeline-year {
  left: -30px;
}

.timeline-content {
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.timeline-content h4 {
  margin-bottom: 0.5rem;
}
/* 响应式设计 */
@media (max-width: 992px) {
  .hero .container,
  .api-demo,
  .about-content,
  .contact-content,
  .footer-content {
    flex-direction: column;
  }

  .hero-content,
  .api-content,
  .about-text,
  .about-image,
  .contact-form,
  .contact-info {
    padding: 0;
    margin-bottom: 50px;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .pricing-card.featured:hover {
    transform: translateY(-10px);
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .link-group {
    width: 50%;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .contact-form form {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .social-links {
    margin-bottom: 20px;
  }
  /* 响应式设计 */
  @media (max-width: 768px) {
    .features-container {
      grid-template-columns: 1fr;
    }

    .specs-table {
      margin: 30px 15px 0;
    }

    .specs-title,
    .specs-value {
      padding: 12px 15px;
    }
    .version-badges {
      flex-direction: column;
      align-items: center;
      gap: 10px;
    }

    .version-badge {
      width: 80%;
    }
    .features-container {
      grid-template-columns: 1fr;
    }

    .specs-table {
      margin: 30px 15px 0;
    }

    .specs-title,
    .specs-value {
      padding: 12px 15px;
    }
    .version-badges {
      flex-direction: column;
      align-items: center;
      gap: 10px;
    }

    .version-badge {
      width: 80%;
    }
  }
}
