/* 基础样式 */
:root {
  --primary-gradient: linear-gradient(135deg, #8b5cf6, #ec4899);
  --text-color: #333;
  --light-text: #fff;
  --section-padding: 80px 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

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: -1;
}

.background-image {
  width: 100%;
  height: 100%;
  background-image: url("./photo-1529626455594-4ff0802cfb7e.avif");
  background-size: cover;
  background-position: center;
  position: relative;
}

.background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 182, 193, 0.6); /* 淡粉色半透明蒙层 */
}

/* 头部导航 */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #8b5cf6;
}

/* 主要内容区域 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 英雄区域 */
.hero {
  padding: 150px 0 100px;
  text-align: center;
  color: var(--light-text);
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* 特色区域 */
.features {
  padding: var(--section-padding);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  margin: 50px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  font-size: 2.5rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.feature {
  display: flex;
  align-items: center;
  margin-bottom: 80px;
}

.feature:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-content {
  flex: 1;
  padding: 0 40px;
}

.feature-title {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #8b5cf6;
}

.feature-text {
  font-size: 1.1rem;
  line-height: 1.7;
}

.feature-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.screenshot {
  width: 200px;
  height: 450px;
  background: var(--primary-gradient);
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

/* 页脚 */
footer {
  background: rgba(0, 0, 0, 0.8);
  color: var(--light-text);
  padding: 50px 0 20px;
  margin-top: 50px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
}

.footer-links a {
  color: var(--light-text);
  text-decoration: none;
  margin-bottom: 10px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.copyright {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .feature {
    flex-direction: column !important;
    margin-bottom: 60px;
  }

  .feature-content {
    padding: 20px 0;
    text-align: center;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    margin-bottom: 20px;
  }
}
