/* 重置与基础 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f9fafa;
}

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

/* 导航栏 */
.header {
  background: white;
  box-shadow: 0 4px 20px rgba(74, 34, 125, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #4A227D;
  letter-spacing: -0.5px;
}

.nav {
  display: flex;
  gap: 36px;
}

.nav-link {
  text-decoration: none;
  color: #555;
  font-weight: 600;
  transition: color 0.3s, transform 0.2s;
}

.nav-link:hover {
  color: #00E7B3;
  transform: translateY(-2px);
}

.nav-link.active {
  color: #4A227D;
  font-weight: 700;
}

.nav-link .en { display: none; }

/* Hero 区域 */
.hero {
  position: relative;
  padding: 160px 0 110px;
  overflow: hidden;
  color: white;
  text-align: center;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, #4A227D 0%, #6B3CA0 60%, #00E7B3 100%);
  z-index: -1;
  /* 科技网格背景 */
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.15) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: grid-move 15s infinite linear;
}

@keyframes grid-move {
  0% { background-position: 0 0; }
  100% { background-position: 80px 80px; }
}

.hero-content h1 {
  font-size: 3.2rem;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-content h1 span,
.hero-content h1 .en span {
  color: #00E7B3;
  font-weight: 700;
}

.hero-content .en { display: none; }

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 35px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
}

/* 按钮 */
.btn {
  padding: 14px 36px;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.7, 1.2);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: white;
  color: #4A227D;
  box-shadow: 0 6px 20px rgba(0, 231, 179, 0.4);
}

.btn-primary:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 25px rgba(0, 231, 179, 0.6);
}

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

.btn-outline:hover {
  background: #4A227D;
  color: white;
}

/* 核心价值 */
.features {
  padding: 100px 0;
  background: #f5f7ff;
}

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

.feature-card {
  background: white;
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(74, 34, 125, 0.12);
  text-align: center;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid #eee;
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 50px rgba(0, 231, 179, 0.2);
  border-color: #00E7B3;
}

.feature-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 18px;
  transition: transform 0.4s;
}

.feature-card:hover .feature-img {
  transform: scale(1.05);
}

.feature-card h3 {
  color: #4A227D;
  margin-bottom: 14px;
  font-size: 1.4rem;
  font-weight: 600;
}

.feature-card p {
  color: #666;
  font-size: 1.05rem;
}

/* 产品区 */
.section-light {
  padding: 110px 0;
  background: white;
  text-align: center;
}

.section-dark {
  padding: 110px 0;
  background: #4A227D;
  color: white;
}

.section-title {
  font-size: 2.6rem;
  color: #4A227D;
  margin-bottom: 20px;
  font-weight: 700;
}

.section-title.light {
  color: white;
}

.section-subtitle {
  font-size: 1.3rem;
  color: #666;
  margin-bottom: 60px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

/* 产品图文混排 */
.product-flex {
  display: flex;
  gap: 60px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.product-text {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.product-img {
  flex: 1;
  min-width: 300px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 231, 179, 0.2);
}

.product-img img {
  width: 100%;
  height: auto;
  display: block;
}

.product-list {
  list-style: none;
  margin: 25px 0 35px;
  text-align: left;
}

.product-list li {
  padding: 14px 0;
  border-bottom: 1px solid #eee;
  color: #555;
  font-weight: 500;
  position: relative;
  padding-left: 35px;
}

.product-list li::before {
  content: "✓";
  color: #00E7B3;
  font-weight: bold;
  position: absolute;
  left: 12px;
  top: 14px;
  font-size: 1.3em;
}

/* 解决方案 */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 45px;
}

.solution-card {
  background: rgba(255, 255, 255, 0.12);
  padding: 32px;
  border-radius: 18px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.3s;
}

.solution-card:hover {
  transform: translateY(-8px);
}

.solution-card h3 {
  color: #00E7B3;
  margin-bottom: 16px;
  font-size: 1.4rem;
  font-weight: 600;
}

.solution-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
}

/* 关于我们 */
.about-text {
  max-width: 780px;
  margin: 24px auto;
  font-size: 1.15rem;
  color: #555;
  line-height: 1.8;
}

/* 联系我们 */
.contact-section {
  color: rgba(255, 255, 255, 0.95);
  position: relative;
}

.contact-section p {
  margin: 14px 0;
  font-size: 1.15rem;
}

/* 语言切换（页脚） */
.lang-switch-footer {
  margin: 30px 0 10px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.lang-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.3s;
}

.lang-btn:hover {
  transform: scale(1.1);
  background: #00E7B3;
}

.lang-btn:hover i {
  color: white;
}

.lang-btn.active {
  background: #00E7B3;
  color: white;
}

.lang-btn.active i {
  color: white;
}

.flag-icon {
  font-size: 1.4rem;
  color: #4A227D;
}

.copyright {
  margin-top: 30px;
  font-size: 0.95rem;
  opacity: 0.8;
}

/* 响应式 */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.4rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .product-flex {
    flex-direction: column;
  }
  .feature-img {
    height: 180px;
  }
}
