* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #1a2b47;
}

.nav {
  background-color: #1a2b47;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: white;
  text-decoration: none;
}

.language-selector select {
  padding: 0.5rem;
  border-radius: 0.3rem;
  background: white;
  border: none;
}

.card {
  background: linear-gradient(135deg, #3a5894, #2d71d5);
  border-radius: 1rem;
  padding: 2rem;
  margin: 2rem;
  color: white;
}

.card h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-list {
  list-style: none;
  margin-top: 1rem;
}

.feature-list li {
  margin: 0.5rem 0;
  font-size: 1.2rem;
}

.main-section {
  background: linear-gradient(135deg, #4169e1, #00ced1);
  min-height: 600px;
  margin: 2rem;
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}

.main-section::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: url("assets/images/projects/earth.svg");
  background-repeat: repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.1;
  pointer-events: none;
}

.content-wrapper {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
}

.left-content {
  flex: 1;
}

.right-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  max-width: 100%;
  height: auto;
  animation: float 6s ease-in-out infinite;
}

.subtitle {
  color: #ffd700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.main-title {
  color: white;
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.features-list {
  list-style: none;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.features-list li {
  margin: 1rem 0;
}

.download-btn {
  display: inline-block;
  transition: transform 0.3s ease;
}

.download-btn:hover {
  transform: scale(1.05);
}

.faq-section {
  margin: 2rem;
  padding: 2rem;
}

.faq-item {
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 1rem 0;
}

.faq-header h3 {
  color: #4caf50;
  margin: 0;
  font-size: 1.2rem;
}

.arrow {
  color: #4caf50;
  transition: transform 0.3s ease;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .arrow {
  transform: rotate(180deg);
}

.faq-item.active .faq-content {
  max-height: 500px;
  padding-bottom: 1rem;
}

.email-section {
  margin: 2rem;
  padding: 2rem;
  text-align: center;
}

.email-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.email-icon {
  width: 40px;
  height: 40px;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

@media (max-width: 1200px) {
  .left-content {
    padding: 0 3rem;
  }
}

@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .right-content {
    order: -1;
  }

  .hero-image {
    max-width: 80%;
  }

  .left-content {
    padding: 0 1rem;
    text-align: center;
  }

  .main-title {
    font-size: 3rem;
  }

  .features-list {
    font-size: 1.2rem;
  }

  .card {
    flex-direction: column !important;
  }
}

@media (min-width: 768px) {
  .card {
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  .card > div:first-child {
    flex: 2;
  }
  .card > div:last-child {
    flex: 1;
  }
}

.email-section {
  display: flex;
  align-items: center;
}

.email-content {
  display: flex;
  align-items: center;
}

.email-icon {
  margin-right: 10px; /* 调整图标和文本之间的间距 */
}

.tracker-features {
  padding: 4rem 2rem;
  text-align: center;
  background: linear-gradient(
    135deg,
    #4169e1,
    #00ced1
  ); /* 更改为和 main-section 一样的渐变色 */
  margin: 2rem;
  border-radius: 1rem;
}

.section-title {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* 添加文字阴影 */
}

.tracker-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.tracker-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 2rem;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.tracker-card:hover {
  transform: translateY(-5px);
}

.tracker-icon {
  width: 80px;
  height: 80px;
  background-size: cover; /* 改为 cover 以确保图片完全填充空间 */
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 1rem; /* 添加底部间距 */
}

.icon-bestseller {
  background-image: url("assets/images/icons/share.svg");
}

.icon-operations {
  background-image: url("assets/images/icons/help.svg");
}

.icon-lagfree {
  background-image: url("assets/images/icons/rocket.svg");
}

.tracker-card h3 {
  font-size: 1.5rem;
  margin: 0;
}

.tracker-card p {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.8;
  margin: 0;
}

@media (max-width: 968px) {
  .tracker-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .tracker-cards {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }
}

.tracker-image {
  max-width: 100%; /* 限制图像宽度为外部容器的宽度 */
  height: auto; /* 保持图像的纵横比 */

  cursor: pointer;
  transition: transform 0.3s ease;
}

.tracker-image.fullscreen {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(2);
    z-index: 1001;
  }

  .overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
  }

  .overlay.active {
    display: block;
  }