* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

:root {
  --primary-color: rgba(123, 44, 191, 0.55); /* 紫色半透明 */
  --secondary-color: rgba(200, 162, 255, 0.7);
  --text-color: #f5f5f7;
  --dark-bg: rgba(15, 15, 25, 0.85);
  --section-spacing: 80px;
}

body {
  background: linear-gradient(
      135deg,
      var(--primary-color),
      var(--secondary-color)
    ),
    url("./661-1920x1080.jpg")
      no-repeat center center fixed;
  background-size: cover;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* 深色半透明蒙层 */
.overlay {
  background-color: rgba(0, 0, 0, 0.5);
  min-height: 100vh;
  width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 页头样式 */
header {
  padding: 25px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(10, 10, 20, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(to right, #b76cfd, #e2b0ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
}

.logo span {
  color: #e2b0ff;
}

nav ul {
  display: flex;
  list-style: none;
}

nav li {
  margin-left: 30px;
}

nav a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

nav a:hover {
  color: #d0a8ff;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #b76cfd, #e2b0ff);
  transition: width 0.3s;
}

nav a:hover::after {
  width: 100%;
}

/* 主要内容区 */
.hero {
  padding: 100px 0;
  text-align: center;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  background: linear-gradient(to right, #c17bff, #f0d5ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}

.hero .tagline {
  font-size: 1.8rem;
  margin-bottom: 40px;
  color: #e2d4ff;
}

.content-section {
  padding: var(--section-spacing) 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 50px;
  text-align: center;
  color: #e2b0ff;
}

.content-row {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}

.content-row.reverse {
  flex-direction: row-reverse;
}

.text-content {
  flex: 1;
  padding: 0 40px;
}

.text-content h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #d0a8ff;
}

.text-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 15px;
}

.image-placeholder {
  flex: 1;
  height: 550px;
  background: linear-gradient(
    145deg,
    rgba(123, 44, 191, 0.3),
    rgba(200, 162, 255, 0.2)
  );
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.screenshot {
  width: 100%;
  height: 100%;
  max-width: 250px;
  max-height: 562px; /* 4:9比例，宽高比为4:9，250 * 9/4 = 562.5 */
  background: rgba(20, 10, 40, 0.7);
  border-radius: 15px;
  display: flex;
  object-fit: cover;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #b76cfd;
  font-size: 1.5rem;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(183, 108, 253, 0.3);
}

.screenshot::before {
  content: "Jingle App";
  position: absolute;
  top: 20px;
  font-size: 1.2rem;
  color: #e2b0ff;
}

.screenshot-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.screenshot-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #b76cfd;
}

.screenshot-feature {
  text-align: center;
  font-size: 1rem;
  color: #d0a8ff;
  margin-top: 10px;
}

/* 页脚样式 */
footer {
  background-color: rgba(5, 5, 15, 0.95);
  padding: 50px 0 30px;
  margin-top: 50px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-info {
  margin-bottom: 30px;
  text-align: center;
}

.contact-email {
  font-size: 1.3rem;
  color: #d0a8ff;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-email:hover {
  color: #f0d5ff;
  text-decoration: underline;
}

.copyright {
  font-size: 1rem;
  color: #aaa;
  text-align: center;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 3rem;
  }

  .content-row,
  .content-row.reverse {
    flex-direction: column;
  }

  .text-content {
    padding: 0;
    margin-bottom: 40px;
  }

  .image-placeholder {
    width: 100%;
    max-width: 400px;
    height: 400px;
  }

  .screenshot {
    max-width: 200px;
    max-height: 450px;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
  }

  .logo {
    margin-bottom: 20px;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  nav li {
    margin: 0 15px 10px;
  }

  .hero {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero .tagline {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero .tagline {
    font-size: 1.2rem;
  }

  .text-content h3 {
    font-size: 1.5rem;
  }

  .text-content p {
    font-size: 1.1rem;
  }

  .image-placeholder {
    height: 350px;
  }
}
