:root {
  --primary-gradient: linear-gradient(135deg, #ff6b9d, #c779d0, #8a6bff);
  --primary-light: #ffeff5;
  --text-dark: #333;
  --text-light: #fff;
  --gray-bg: #f8f9fa;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --border-radius: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: var(--spacing-sm);
  font-size: 1.1rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary-gradient);
  color: var(--text-light);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: var(--shadow);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

section {
  padding: var(--spacing-lg) 0;
}

/* 导航栏 */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: var(--spacing-md);
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #c779d0;
}

/* 英雄区域 */
.hero {
  padding-top: 120px;
  background: var(--primary-light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-gradient);
  opacity: 0.05;
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--spacing-sm);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-md);
  color: #666;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

.app-screenshot {
  max-width: 300px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin: 0 auto;
  display: block;
}

/* 特性区域 */
.features {
  background: var(--gray-bg);
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-title h2 {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.feature-card {
  background: white;
  padding: var(--spacing-md);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-sm);
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
}

/* 应用截图展示 */
.screenshots {
  text-align: center;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.screenshot-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
  background: var(--primary-light);
  height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.screenshot-item:hover {
  transform: scale(1.05);
}

.screenshot-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ff6b9d;
  font-size: 1.2rem;
  font-weight: 600;
}

.screenshot-placeholder i {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* 下载区域 */
.download {
  background: var(--primary-gradient);
  color: var(--text-light);
  text-align: center;
}

.download h2 {
  color: var(--text-light);
}

.download-btns {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.download-btn {
  background: white;
  color: #8a6bff;
  padding: 15px 30px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s;
}

.download-btn:hover {
  transform: translateY(-5px);
}

/* 页脚 */
footer {
  background: #333;
  color: var(--text-light);
  padding: var(--spacing-lg) 0 var(--spacing-sm);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.footer-section h3 {
  margin-bottom: var(--spacing-sm);
  color: white;
}

.footer-section a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: white;
}

.copyright {
  text-align: center;
  padding-top: var(--spacing-sm);
  border-top: 1px solid #444;
  font-size: 0.9rem;
  color: #aaa;
}

/* 响应式设计 */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .nav-links {
    display: none;
  }

  .hero-btns,
  .download-btns {
    flex-direction: column;
    align-items: center;
  }

  .btn,
  .download-btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
    justify-content: center;
  }

  .screenshot-item {
    height: 400px;
  }
}
