/* 基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  color: white;
  line-height: 1.6;
  overflow-x: hidden;
}

/* 背景样式 */
.background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("./823-1920x1080.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 128, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.9) 100%
  );
}

/* 导航栏 */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 5%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

nav ul {
  display: flex;
  list-style: none;
}

nav li {
  margin-left: 30px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #4caf50;
}

/* 主要内容区域 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 20px 60px;
}

section {
  margin-bottom: 80px;
  padding: 40px 0;
}

.hero {
  text-align: center;
  padding: 120px 0 80px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  font-size: 1.5rem;
  max-width: 800px;
  margin: 0 auto 40px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #4caf50;
}

/* 内容块样式 */
.content-block {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}

.content-block.reverse {
  flex-direction: row-reverse;
}

.content-text {
  flex: 1;
  padding: 0 40px;
}

.content-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #4caf50;
}

.content-text p {
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.content-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.app-screenshot {
  width: 200px;
  height: 450px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
}

/* 页脚 */
footer {
  background-color: rgba(0, 0, 0, 0.8);
  padding: 40px 20px;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-email {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* 响应式设计 */
@media (max-width: 768px) {
  header {
    padding: 15px 5%;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-end;
  }

  nav li {
    margin: 5px 0;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .content-block {
    flex-direction: column;
  }

  .content-block.reverse {
    flex-direction: column;
  }

  .content-text {
    padding: 20px 0;
  }

  .app-screenshot {
    width: 160px;
    height: 360px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 100px 0 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .app-screenshot {
    width: 120px;
    height: 270px;
  }
}
