:root {
  --primary: #ff66a3;
  --primary-light: #ffb3d9;
  --secondary: #4a90e2;
  --dark: #333333;
  --light: #ffffff;
  --gradient: linear-gradient(135deg, #ffe6f2, #ffffff);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: var(--gradient);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 导航栏样式 */
header {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--dark);
  margin-left: 5px;
}

.logo i {
  margin-right: 8px;
  font-size: 24px;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
  position: relative;
}

nav ul li a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  transition: color 0.3s;
  padding: 5px 0;
}

nav ul li a:hover {
  color: var(--primary);
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s;
}

nav ul li a:hover::after {
  width: 100%;
}

/* 主要内容区域 */
section {
  padding: 100px 0;
}

.hero {
  text-align: center;
  padding-top: 150px;
  padding-bottom: 100px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 20% 50%,
    rgba(255, 182, 193, 0.2) 0%,
    transparent 50%
  );
  z-index: -1;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--primary);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto 30px;
  color: var(--dark);
}

.btn {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  padding: 14px 35px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(255, 102, 163, 0.3);
  position: relative;
  overflow: hidden;
}

.btn:hover {
  background-color: #ff3385;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 102, 163, 0.4);
}

.btn:active {
  transform: translateY(0);
}

/* 内容区块样式 */
.content-section {
  display: flex;
  align-items: center;
  margin-bottom: 100px;
  position: relative;
}

.content-section.reverse {
  flex-direction: row-reverse;
}

.text-content {
  flex: 1;
  padding: 0 40px;
}

.text-content h2 {
  font-size: 2.5rem;
  margin-bottom: 25px;
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.text-content h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--primary-light);
  border-radius: 2px;
}

.text-content p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.8;
}

.image-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.app-screenshot {
  width: 100%;
  max-width: 300px;
  height: 650px;
  object-fit: cover;
  background: linear-gradient(145deg, #f0f0f0, #ffffff);
  border-radius: 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1),
    inset 0 -3px 10px rgba(0, 0, 0, 0.05),
    inset 0 3px 10px rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transform: rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s;
}

.app-screenshot:hover {
  transform: rotateY(0) rotateX(0);
}

.screen-header {
  height: 40px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  position: relative;
}

.screen-header::before,
.screen-header::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 5px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  bottom: 8px;
}

.screen-header::before {
  left: 20px;
}

.screen-header::after {
  right: 20px;
}

.screen-content {
  flex: 1;
  padding: 20px;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #777;
}

.screen-content i {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.screen-content h3 {
  margin-bottom: 15px;
  color: var(--dark);
}

.screen-footer {
  height: 60px;
  background: white;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.nav-icon {
  color: #bbb;
  font-size: 1.2rem;
}

.nav-icon.active {
  color: var(--primary);
}

/* 页脚样式 */
footer {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 50px 0 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.footer-logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
}

.contact-info,
.copyright {
  margin: 10px 0;
}

.contact-info a {
  color: var(--dark);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-info a:hover {
  color: var(--primary);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s;
}

.social-icons a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* 响应式设计 */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .text-content h2 {
    font-size: 2rem;
  }

  .app-screenshot {
    max-width: 250px;
    height: 667px;
  }
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
  }

  nav ul {
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav ul li {
    margin: 0 10px 10px;
  }

  .hero {
    padding-top: 180px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .content-section,
  .content-section.reverse {
    flex-direction: column;
  }

  .text-content {
    padding: 20px 0;
    text-align: center;
  }

  .text-content h2::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .app-screenshot {
    max-width: 220px;
    height: 587px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .social-icons {
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .app-screenshot {
    max-width: 180px;
    height: 480px;
  }
}
