:root {
  --primary-color: #ffeff6;
  --secondary-color: #f8bbd9;
  --accent-color: #e91e63;
  --text-color: #333;
  --light-text: #666;
  --white: #ffffff;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
}

/* 背景和蒙层 */
.background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background-image: url("https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.85);
  z-index: -1;
}

/* 页面容器 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 页头样式 */
header {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 15px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo i {
  font-size: 2.2rem;
  color: var(--accent-color);
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-color);
}

.logo span {
  color: var(--text-color);
  font-weight: 300;
}

/* 导航菜单 */
nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  font-size: 1.1rem;
  transition: var(--transition);
  padding: 5px 0;
  position: relative;
}

nav a:hover {
  color: var(--accent-color);
}

nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition);
}

nav a:hover::after {
  width: 100%;
}

/* 主内容区 */
.hero {
  padding: 80px 0 40px;
  text-align: center;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--accent-color);
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--light-text);
}

/* 特性部分 */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin: 60px 0;
}

.feature {
  flex: 1 1 300px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon i {
  font-size: 1.8rem;
  color: var(--accent-color);
}

.feature h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--accent-color);
}

/* 应用截图部分 */
.screenshots {
  margin: 80px 0;
}

.screenshots h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: var(--accent-color);
}

.screenshot-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.screenshot-placeholder {
  width: 200px;
  height: 450px;
  background-color: #f5f5f5;
  border-radius: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  border: 10px solid #222;
}

.screenshot-placeholder::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background-color: #222;
  border-radius: 20px 20px 0 0;
}

.screenshot-content {
  position: absolute;
  top: 40px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  background: linear-gradient(to bottom, #ff9ec0, #ffeff6);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.screenshot-content i {
  font-size: 3rem;
  color: var(--accent-color);
  margin-top: 30px;
  margin-bottom: 20px;
}

.screenshot-content h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-color);
  text-align: center;
}

.screenshot-content p {
  text-align: center;
  font-size: 0.9rem;
  color: var(--light-text);
}

/* 详细描述部分 */
.description {
  margin: 80px 0;
}

.description-section {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  gap: 40px;
}

.description-section:nth-child(even) {
  flex-direction: row-reverse;
}

.description-text {
  flex: 1;
}

.description-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--accent-color);
}

.description-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.description-placeholder {
  width: 300px;
  height: 675px;
  background-color: #f5f5f5;
  border-radius: 20px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.desc-img-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ffcdd2, #f8bbd9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.desc-img-content i {
  font-size: 4rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.desc-img-content h4 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 15px;
  color: var(--text-color);
}

/* 页脚 */
footer {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 50px 0 30px;
  margin-top: 60px;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 30px;
}

.footer-logo {
  flex: 1;
  min-width: 250px;
  margin-bottom: 30px;
}

.footer-logo h3 {
  font-size: 1.8rem;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.contact-info {
  flex: 1;
  min-width: 250px;
  margin-bottom: 30px;
}

.contact-info h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--accent-color);
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-color);
  text-decoration: none;
  font-size: 1.1rem;
  transition: var(--transition);
}

.email-link:hover {
  color: var(--accent-color);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #eee;
  color: var(--light-text);
  font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .description-section,
  .description-section:nth-child(even) {
    flex-direction: column;
  }

  .description-image {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 15px;
  }

  nav ul {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .screenshot-placeholder {
    width: 160px;
    height: 360px;
  }

  .description-placeholder {
    width: 240px;
    height: 540px;
  }
}

@media (max-width: 576px) {
  .screenshot-container {
    gap: 15px;
  }

  .screenshot-placeholder {
    width: 140px;
    height: 315px;
  }

  .description-placeholder {
    width: 200px;
    height: 450px;
  }
}
