:root {
  --primary-pink: #ff6b9d;
  --primary-blue: #6ecbf5;
  --text-dark: #333;
  --text-light: #fff;
  --bg-light: #f9f9f9;
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", "Segoe UI", sans-serif;
}

body {
  color: var(--text-dark);
  background: var(--bg-light);
  overflow-x: hidden;
}

/* 新布局样式 */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 不对称网格布局 */
.asymmetric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 60px 0;
}

@media (max-width: 968px) {
  .asymmetric-grid {
    grid-template-columns: 1fr;
  }
}

/* 导航栏 */
header {
  background: linear-gradient(
    135deg,
    var(--primary-pink) 0%,
    var(--primary-blue) 100%
  );
  color: var(--text-light);
  padding: 1.2rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  font-size: 2.2rem;
  animation: rotate 15s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.logo h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.logo span {
  font-size: 1rem;
  opacity: 0.9;
  font-weight: 300;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary-purple);
}

.cta-button {
  padding: 10px 20px;
  border-radius: 50px;
  background: linear-gradient(to right bottom, #ff6b9d, #6ecbf5);
  color: #f9f9f9;
  border: none;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.cta-button:hover {
  background: linear-gradient(to right bottom, #ff6b9d, #6ecbf5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

/* 主视觉区域 */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(
    135deg,
    rgba(255, 107, 157, 0.05) 0%,
    rgba(110, 203, 245, 0.05) 100%
  );
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 600px;
  padding: 40px;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  background: linear-gradient(
    135deg,
    var(--primary-pink) 0%,
    var(--primary-blue) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  color: #555;
}

.hero-image {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.floating-screenshots {
  position: relative;
  width: 100%;
  height: 100%;
}

.screenshot {
  position: absolute;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.5s ease;
}
.screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screenshot:nth-child(1) {
  width: 250px;
  height: 500px;
  top: 50px;
  left: 0;
  transform: rotate(-5deg);
  z-index: 3;
}

.screenshot:nth-child(2) {
  width: 250px;
  height: 500px;
  top: 30px;
  right: 50px;
  transform: rotate(3deg);
  z-index: 2;
}

.screenshot:nth-child(3) {
  width: 270px;
  height: 480px;
  bottom: 20px;
  left: 100px;
  transform: rotate(-2deg);
  z-index: 4;
}

.screenshot:nth-child(4) {
  width: 260px;
  height: 490px;
  bottom: 50px;
  right: 0;
  transform: rotate(4deg);
  z-index: 1;
}

.screenshot:hover {
  transform: rotate(0) scale(1.05);
  z-index: 10;
}

/* 功能卡片 */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 80px 0;
}

.feature-card {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(
    135deg,
    var(--primary-pink) 0%,
    var(--primary-blue) 100%
  );
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(
    135deg,
    var(--primary-pink) 0%,
    var(--primary-blue) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  color: #444;
}

.feature-card p {
  line-height: 1.7;
  color: #666;
}

/* 描述区域 */
.description-section {
  padding: 80px 0;
  background: linear-gradient(
    135deg,
    rgba(255, 107, 157, 0.05) 0%,
    rgba(110, 203, 245, 0.05) 100%
  );
}

.description-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px;
  background: white;
  border-radius: 20px;
  box-shadow: var(--card-shadow);
}

.description-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  text-align: center;
  color: #555;
}

/* 下载区域 */
.download-section {
  padding: 80px 0;
  text-align: center;
}

.download-title {
  font-size: 2.8rem;
  margin-bottom: 2rem;
  background: linear-gradient(
    135deg,
    var(--primary-pink) 0%,
    var(--primary-blue) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.download-btn {
  background: linear-gradient(
    135deg,
    var(--primary-pink) 0%,
    var(--primary-blue) 100%
  );
  color: white;
  padding: 18px 35px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.download-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

/* 页脚 */
footer {
  background: #2c2c2c;
  color: var(--text-light);
  padding: 40px 0;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact {
  text-align: left;
}

.contact a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact a:hover {
  color: var(--primary-pink);
}

.copyright {
  text-align: right;
  color: #aaa;
}

/* 响应式设计 */
@media (max-width: 968px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .floating-screenshots {
    height: 400px;
  }

  .screenshot {
    width: 180px !important;
    height: 360px !important;
  }

  .screenshot:nth-child(1) {
    top: 20px;
    left: 10px;
  }

  .screenshot:nth-child(2) {
    top: 10px;
    right: 20px;
  }

  .screenshot:nth-child(3) {
    bottom: 10px;
    left: 70px;
  }

  .screenshot:nth-child(4) {
    bottom: 20px;
    right: 10px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    padding: 40px 0;
  }

  .hero-content {
    text-align: center;
    padding: 20px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .floating-screenshots {
    height: 300px;
    margin-top: 40px;
  }

  .screenshot {
    width: 140px !important;
    height: 280px !important;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .contact,
  .copyright {
    text-align: center;
  }
}
