* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", system-ui, sans-serif;
}

:root {
  --dark-bg: #0a0a14;
  --primary-dark: #2d1b69;
  --primary-light: #7b3fe4;
  --text-light: #f0f0f5;
  --text-muted: #b0b0c0;
  --accent-color: #9d6dff;
  --section-spacing: 100px;
}

body {
  background-color: var(--dark-bg);
  color: var(--text-light);
  overflow-x: hidden;
  line-height: 1.6;
}

/* 背景与蒙层 */
.background-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.background-image {
  background-image: url("./photo-1550684848-fac1c5b4e853.avif");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  opacity: 0.15;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(45, 27, 105, 0.85) 0%,
    rgba(123, 63, 228, 0.7) 100%
  );
  z-index: -1;
}

/* 导航栏 */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 5%;
  background-color: rgba(10, 10, 20, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(157, 109, 255, 0.2);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(90deg, var(--accent-color), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo i {
  font-size: 28px;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 17px;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 0;
}

.nav-links a:hover {
  color: var(--accent-color);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary-light));
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* 主要内容 */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

section {
  padding: var(--section-spacing) 0;
}

.hero-section {
  padding-top: 180px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-content {
  max-width: 600px;
}

.hero-tagline {
  font-size: 18px;
  color: var(--accent-color);
  margin-bottom: 15px;
  font-weight: 600;
  letter-spacing: 1.5px;
}

.hero-title {
  font-size: 60px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 25px;
  background: linear-gradient(90deg, #d6b3ff, var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 550px;
}

.hero-image {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 35%;
  max-width: 500px;
}

.app-screenshot {
  width: 100%;
  height: 0;
  padding-bottom: 225%; /* 4:9 宽高比 */
  background: linear-gradient(
    145deg,
    rgba(45, 27, 105, 0.7),
    rgba(123, 63, 228, 0.5)
  );
  border-radius: 30px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.app-screenshot::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.05) 50%,
    transparent 70%
  );
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* 特性部分 */
.features-section {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 80px;
}

.feature-row.reverse {
  flex-direction: row-reverse;
}

.feature-content {
  flex: 1;
}

.feature-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 25px;
  background: linear-gradient(90deg, var(--accent-color), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.feature-description {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
}

.feature-image {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.screenshot-container {
  width: 80%;
  position: relative;
}

.screenshot-container:nth-child(2) {
  position: absolute;
  top: 20px;
  right: -30px;
  width: 70%;
  z-index: -1;
  opacity: 0.8;
}

/* 底部 */
footer {
  background-color: rgba(5, 5, 10, 0.9);
  padding: 60px 0 30px;
  margin-top: 80px;
  border-top: 1px solid rgba(157, 109, 255, 0.2);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(90deg, var(--accent-color), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact-info {
  text-align: right;
}

.email {
  font-size: 20px;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.copyright {
  color: var(--text-muted);
  font-size: 15px;
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 50px;
  }

  .hero-image {
    width: 40%;
  }
}

@media (max-width: 992px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
    padding-top: 150px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-image {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 70%;
    margin-top: 60px;
  }

  .feature-row,
  .feature-row.reverse {
    flex-direction: column;
    gap: 50px;
  }

  .screenshot-container:nth-child(2) {
    right: -20px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    gap: 20px;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-description,
  .feature-description {
    font-size: 17px;
  }

  .feature-title {
    font-size: 32px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .contact-info {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .nav-links {
    display: none;
  }

  .hero-title {
    font-size: 36px;
  }

  section {
    padding: 70px 0;
  }
}
