:root {
  --primary-blue: #3498db;
  --primary-teal: #1abc9c;
  --dark-bg: #2c3e50;
  --light-text: #ecf0f1;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  color: var(--light-text);
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  color: #fff;
}

/* 背景和蒙层 */
.background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.background-image {
  background-image: url("./photo-1541961017774-22349e4a1262.avif");
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
  position: absolute;
}

.overlay {
  background: linear-gradient(
    135deg,
    rgba(52, 152, 219, 0.8),
    rgba(26, 188, 156, 0.8)
  );
  width: 100%;
  height: 100%;
  position: absolute;
}

/* 导航栏 */
header {
  background-color: rgba(44, 62, 80, 0.9);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--light-text);
  text-decoration: none;
}

.logo span {
  color: var(--primary-teal);
}

nav ul {
  display: flex;
  list-style: none;
}

nav li {
  margin-left: 2rem;
}

nav a {
  color: var(--light-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--primary-teal);
}

/* 主要内容区域 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

section {
  margin-bottom: 4rem;
  padding: 2rem;
  background-color: rgba(44, 62, 80, 0.7);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

h1,
h2 {
  margin-bottom: 1.5rem;
  color: var(--light-text);
}

h1 {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 2rem;
}

h2 {
  font-size: 2rem;
  border-bottom: 2px solid var(--primary-teal);
  padding-bottom: 0.5rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* 英雄区域 */
.hero {
  text-align: center;
  padding: 5rem 2rem;
  background-color: rgba(44, 62, 80, 0.8);
  border-radius: 10px;
  margin-top: 2rem;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

/* 内容区域布局 */
.content-block {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
}

.content-block.reverse {
  flex-direction: row-reverse;
}

.text-content {
  flex: 1;
  padding: 0 2rem;
}

.image-content {
  flex: 1;
  display: flex;
  justify-content: center;
}

.app-screenshot {
  width: 100%;
  max-width: 300px;
  height: 700px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.2rem;
}

/* 页脚 */
footer {
  background-color: rgba(44, 62, 80, 0.9);
  padding: 2rem 0;
  text-align: center;
  margin-top: 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.contact-info {
  margin-bottom: 1rem;
}

.copyright {
  font-size: 0.9rem;
  color: rgba(236, 240, 241, 0.7);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
  }

  nav ul {
    margin-top: 1rem;
  }

  nav li {
    margin: 0 0.5rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .content-block {
    flex-direction: column;
  }

  .content-block.reverse {
    flex-direction: column;
  }

  .text-content {
    padding: 1rem 0;
  }

  .app-screenshot {
    max-width: 250px;
    height: 583px;
  }
}
