* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", system-ui, sans-serif;
}

body {
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* 背景设置 */
.background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background-image: url("./photo-1511379938547-c1f69419868d.avif");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 10, 0, 0.726);
  z-index: -1;
}

/* 容器样式 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 页头样式 */
header {
  padding: 20px 0;
  position: sticky;
  top: 0;
  background-color: rgba(0, 30, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 2px solid #1db954;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  color: #1db954;
  font-size: 28px;
}

.logo-text {
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(to right, #1db954, #1ed760);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
  transition: color 0.3s;
  padding: 8px 12px;
  border-radius: 4px;
}

.nav-links a:hover {
  color: #1db954;
  background-color: rgba(29, 185, 84, 0.1);
}

/* 主要内容区 */
main {
  padding: 60px 0 100px;
}

.hero-section {
  text-align: center;
  margin-bottom: 80px;
  padding-top: 40px;
}

.hero-title {
  font-size: 48px;
  margin-bottom: 20px;
  background: linear-gradient(to right, #1db954, #1ed760);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 24px;
  color: #ddd;
  margin-bottom: 30px;
}

/* 内容区块 */
.content-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
  align-items: center;
}

.content-section:nth-child(even) .text-content {
  order: 2;
}

.content-section:nth-child(even) .image-content {
  order: 1;
}

.text-content h2 {
  font-size: 32px;
  margin-bottom: 25px;
  color: #1db954;
}

.text-content p {
  font-size: 18px;
  margin-bottom: 20px;
  color: #eee;
}

.highlight {
  color: #1db954;
  font-weight: 600;
}

/* 图片占位区 */
.image-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-screenshot {
  width: 100%;
  max-width: 300px;
  height: 675px; /* 4:9 比例，300 * 9/4 = 675 */
  background: linear-gradient(
    145deg,
    rgba(29, 185, 84, 0.2),
    rgba(0, 0, 0, 0.7)
  );
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(29, 185, 84, 0.3);
  position: relative;
  overflow: hidden;
}

.app-screenshot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: rgba(29, 185, 84, 0.1);
  border-radius: 20px 20px 0 0;
}

.screenshot-placeholder {
  width: 100%;
  height: 70%;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #1db954;
  font-size: 14px;
  text-align: center;
  padding: 20px;
  border: 1px dashed rgba(29, 185, 84, 0.5);
}

.screenshot-placeholder i {
  font-size: 48px;
  margin-bottom: 15px;
}

.app-screenshot .status-bar {
  width: 100%;
  height: 25px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 5px;
  margin-bottom: 20px;
}

.app-screenshot .home-indicator {
  width: 40%;
  height: 5px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 3px;
  margin-top: 20px;
}

/* 页脚样式 */
footer {
  background-color: rgba(0, 20, 0, 0.95);
  padding: 40px 0 30px;
  border-top: 2px solid #1db954;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-info {
  margin-bottom: 25px;
}

.contact-info h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #1db954;
}

.contact-email {
  color: #1db954;
  font-weight: 500;
  font-size: 18px;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-email:hover {
  color: #1ed760;
  text-decoration: underline;
}

.copyright {
  color: #aaa;
  font-size: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  width: 100%;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .content-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .content-section:nth-child(even) .text-content,
  .content-section:nth-child(even) .image-content {
    order: initial;
  }

  .hero-title {
    font-size: 40px;
  }

  .nav-links {
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 15px;
  }

  .nav-links {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .text-content h2 {
    font-size: 28px;
  }
}
