* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", system-ui, sans-serif;
}

body {
  background-color: #0a0a0f;
  color: #f0f0f0;
  line-height: 1.6;
  overflow-x: hidden;
}

/* 背景与蒙层 */
.background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

.background-image {
  width: 100%;
  height: 100%;
  background-image: url("./660-1920x1080.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.7);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(40, 0, 60, 0.85) 0%,
    rgba(80, 0, 40, 0.85) 100%
  );
  z-index: -1;
}

/* 导航栏 */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(20, 0, 30, 0.85);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(150, 0, 200, 0.3);
}

.logo {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(90deg, #9d4edd, #ff006e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
  letter-spacing: 1px;
}

.logo span {
  color: #c77dff;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  color: #e0aaff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

.nav-links a:hover {
  color: #ff4da6;
  background-color: rgba(255, 77, 166, 0.1);
  transform: translateY(-2px);
}

/* 主要内容 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 80px;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #9d4edd, #ff006e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}

.hero-tagline {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #c77dff;
  font-weight: 300;
  letter-spacing: 1px;
}

.hero-description {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: #e0aaff;
  font-weight: 300;
  line-height: 1.8;
}

/* 内容部分 */
.section {
  padding: 6rem 0;
  border-bottom: 1px solid rgba(150, 0, 200, 0.2);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  color: #ff4da6;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #9d4edd, #ff006e);
  border-radius: 3px;
}

/* 功能描述区域 */
.features-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
}

.feature-item {
  flex: 1;
  min-width: 300px;
  padding: 2.5rem;
  background-color: rgba(30, 0, 50, 0.5);
  border-radius: 16px;
  border-left: 4px solid #ff4da6;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-10px);
  border-left-color: #9d4edd;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #c77dff;
}

.feature-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #ff4da6;
}

.feature-description {
  font-size: 1.1rem;
  color: #e0aaff;
  line-height: 1.7;
}

/* 应用截图区域 */
.screenshots-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 3rem;
}

.screenshot {
  width: 220px;
  height: 495px; /* 4:9宽高比 */
  background: linear-gradient(
    135deg,
    rgba(157, 78, 221, 0.2),
    rgba(255, 0, 110, 0.2)
  );
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.screenshot:hover {
  transform: translateY(-10px);
}

.screenshot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 70%
  );
  animation: shimmer 3s infinite linear;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.screenshot:nth-child(2) {
  margin-top: 2rem;
}

.screenshot:nth-child(3) {
  margin-top: 4rem;
}

/* 社区部分 */
.community-section {
  text-align: center;
}

.community-description {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: #e0aaff;
  line-height: 1.8;
}

.community-highlight {
  font-size: 1.8rem;
  color: #ff4da6;
  margin-top: 3rem;
  font-style: italic;
}

/* 页脚 */
footer {
  padding: 3rem 5%;
  background-color: rgba(10, 0, 20, 0.9);
  text-align: center;
  border-top: 1px solid rgba(150, 0, 200, 0.3);
}

.contact-email {
  font-size: 1.5rem;
  color: #c77dff;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.contact-email a {
  color: #ff4da6;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-email a:hover {
  color: #9d4edd;
  text-decoration: underline;
}

.copyright {
  font-size: 1rem;
  color: #9d4edd;
  opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .navbar {
    flex-direction: column;
    padding: 1rem 5%;
  }

  .nav-links {
    margin-top: 1rem;
    gap: 1.5rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-tagline {
    font-size: 1.5rem;
  }

  .hero-description {
    font-size: 1.1rem;
  }

  .section {
    padding: 4rem 0;
  }
}

@media (max-width: 768px) {
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-tagline {
    font-size: 1.3rem;
  }

  .screenshot {
    width: 180px;
    height: 405px;
  }

  .feature-item {
    min-width: 100%;
  }
}

/* 滚动效果 */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 装饰元素 */
.floating-element {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(157, 78, 221, 0.1) 0%,
    rgba(157, 78, 221, 0) 70%
  );
  z-index: -1;
}

.element-1 {
  top: 10%;
  left: 5%;
}

.element-2 {
  bottom: 10%;
  right: 5%;
  background: radial-gradient(
    circle,
    rgba(255, 0, 110, 0.1) 0%,
    rgba(255, 0, 110, 0) 70%
  );
}
