* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

:root {
  --primary-gradient: linear-gradient(
    135deg,
    #ff7e5f,
    #feb47b,
    #d383c3,
    #a74aa8
  );
  --text-color: #333;
  --light-text: #fff;
  --section-bg: rgba(255, 255, 255, 0.85);
  --card-bg: rgba(255, 255, 255, 0.9);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body {
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* 背景与蒙层 */
.background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: url("./301-1920x1080.jpg")
    center/cover no-repeat;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

/* 导航栏 */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.logo {
  font-size: 28px;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: flex;
  align-items: center;
}

.logo i {
  margin-right: 10px;
  font-size: 30px;
}

nav ul {
  display: flex;
  list-style: none;
}

nav li {
  margin-left: 30px;
}

nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  font-size: 17px;
  transition: color 0.3s;
  position: relative;
  padding: 5px 0;
}

nav a:hover {
  color: #ff7e5f;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary-gradient);
  transition: width 0.3s;
}

nav a:hover::after {
  width: 100%;
}

/* 移动端导航 */
.mobile-menu-btn {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #a74aa8;
}

/* 主内容区 */
main {
  margin-top: 100px;
}

.hero {
  text-align: center;
  padding: 80px 20px 100px;
  color: var(--light-text);
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero .tagline {
  font-size: 24px;
  max-width: 800px;
  margin: 0 auto 40px;
  font-weight: 300;
}

/* 内容区域 */
.content-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

.section-container {
  display: flex;
  align-items: center;
  margin-bottom: 100px;
  flex-wrap: wrap;
}

.text-content {
  flex: 1;
  min-width: 300px;
  padding: 30px;
  background: var(--section-bg);
  border-radius: 20px;
  box-shadow: var(--shadow);
  margin: 15px;
}

.text-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-content p {
  font-size: 18px;
  margin-bottom: 15px;
}

/* App截图占位 */
.screenshots {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 15px;
}

.app-screenshot {
  width: 180px;
  height: 405px; /* 4:9 宽高比 */
  margin: 10px;
  border-radius: 25px;
  background: var(--primary-gradient);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.app-screenshot::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 3px;
}

.app-screenshot::after {
  content: "";
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, #ffccd5, #ffb6c1, #ff8fab);
  opacity: 0.7;
}

.screenshot-1::after {
  background: linear-gradient(to bottom, #ffccd5, #ffb6c1);
}

.screenshot-2::after {
  background: linear-gradient(to bottom, #ffb6c1, #ff8fab);
}

.screenshot-3::after {
  background: linear-gradient(to bottom, #ff8fab, #d383c3);
}

.screenshot-4::after {
  background: linear-gradient(to bottom, #d383c3, #a74aa8);
}

/* 功能亮点 */
.features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 50px;
}

.feature-card {
  width: 250px;
  padding: 30px;
  margin: 15px;
  text-align: center;
  background: var(--card-bg);
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 20px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.feature-card h3 {
  margin-bottom: 15px;
  color: #a74aa8;
}

/* 页脚 */
footer {
  background: rgba(0, 0, 0, 0.8);
  color: var(--light-text);
  padding: 60px 20px 30px;
  text-align: center;
}

.contact-info {
  margin-bottom: 30px;
}

.contact-info a {
  color: #ffb6c1;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s;
}

.contact-info a:hover {
  color: #ff7e5f;
}

.copyright {
  font-size: 16px;
  opacity: 0.8;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  max-width: 600px;
  margin: 0 auto;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 40px;
  }

  .hero .tagline {
    font-size: 22px;
  }

  .section-container {
    flex-direction: column;
  }

  .text-content,
  .screenshots {
    width: 100%;
  }

  .app-screenshot {
    width: 160px;
    height: 360px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 15px 20px;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  nav.active ul {
    display: flex;
  }

  nav li {
    margin: 10px 0;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero .tagline {
    font-size: 20px;
  }

  .text-content h2 {
    font-size: 28px;
  }

  .app-screenshot {
    width: 140px;
    height: 315px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 60px 15px 80px;
  }

  .content-section {
    padding: 60px 15px;
  }

  .app-screenshot {
    width: 120px;
    height: 270px;
  }

  .feature-card {
    width: 100%;
    margin: 10px 0;
  }
}
