body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  background: #0f2027;
  color: #fff;
  position: relative;
  overflow-x: hidden;
}

#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}

/* 导航栏 */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 16px 30px;
  background: rgba(0, 0, 0, 0.6);
  position: fixed;
  width: 100%;
  z-index: 10;
  box-sizing: border-box;
}

.navbar .nav-left {
  display: flex;
  align-items: center;
}
.navbar .nav-left img {
  height: 36px;
  margin-right: 10px;
}
.navbar .nav-left span {
  font-weight: bold;
  font-size: 18px;
}
.navbar .nav-right {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-right: 80px;
}
.navbar .nav-right a {
  color: white;
  margin-left: 16px;
  text-decoration: none;
  font-weight: bold;
  white-space: nowrap;
  font-size: 14px;
}

/* 顶部英雄区 */
.hero {
  padding: 90px 20px 20px;
  text-align: center;
}
.hero h1 {
  font-size: 40px;
  margin-bottom: 12px;
}
.subtitle {
  font-size: 18px;
  color: #ccc;
}
.cta {
  margin-top: 30px;
}

/* 幻灯片容器 */
.carousel {
  width: 100%;
  max-width: 980px;
  margin: 30px auto 0;
  position: relative;
}
.swiper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.swiper-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 内容居中容器 */
.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* 功能介绍区域 */
.features {
  padding: 60px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.feature-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 24px;
  border-radius: 12px;
  width: 280px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
  box-sizing: border-box;
}
.feature-card h3 {
  color: #f1c40f;
}

/* CTA 区域 */
.cta-section {
  text-align: center;
  padding: 60px 0;
  max-width: 1000px;
  margin: 0 auto;
}

/* 页脚 */
footer {
  text-align: center;
  padding: 30px 20px;
  background: #1a252f;
  color: #ccc;
  font-size: 14px;
}

/* 悬浮 TG 按钮 */
#tg-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #0088cc;
  color: white;
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* 按钮样式 */
.btn-primary, .btn-outline {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 30px;
  margin: 0 10px;
  font-weight: bold;
  text-decoration: none;
}
.btn-primary {
  background: #1abc9c;
  color: white;
}
.btn-outline {
  border: 2px solid white;
  color: white;
}

/* 语言切换 */
.language-switch {
  position: absolute;
  top: 20px;
  right: 20px;
}
.language-switch button {
  background: #3498db;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar .nav-right {
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

  .navbar .nav-right a {
    margin: 10px 0;
  }

  .hero h1 {
    font-size: 28px;
  }

  .swiper {
    padding-top: 70%;
  }
}

.nav-right .lang-btn {
  background: #3498db;
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: bold;
  margin-left: 16px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-right .lang-btn {
    margin-left: 0;
    margin-top: 10px;
    width: 100%;
  }
}
