:root {
  --primary-color: #000;
  --secondary-color: #fff;
  --accent-color: #333;
  --text-color: #2c2c2c;
  --light-gray: #f5f5f5;
  --dark-gray: #666;
  --border-radius: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-color);
  background: var(--secondary-color);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* 导航栏 */
.navbar {
  background: var(--secondary-color);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--primary-color);
}
.nav-links {
  display: flex;
  gap: 1rem;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 1rem;
  padding: 6px 8px;
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s;
}
.nav-links a:hover::after {
  width: 100%;
}

/* 主要模块（Hero、关于、功能、下载、页脚） */
.hero, .about, .features, .app-showcase, .download, .modern-footer {
  padding: 6rem 0 3rem;
}
.hero {
  text-align: center;
  background: var(--light-gray);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 250px;
  height: 250px;
  background: url('../img/wap/fengjing1.webp') center/cover no-repeat;
  border-radius: 50%;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}
.hero-content h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}
.subtitle {
  font-size: 1.2rem;
  color: var(--dark-gray);
  margin-bottom: 1rem;
}
.description {
  font-size: 1rem;
  color: var(--dark-gray);
  margin-bottom: 2rem;
}
.app-download {
  display: flex;
  justify-content: center;
  align-items: center;
}
.modern-download-btn {
  background: linear-gradient(135deg, #000, #333);
  color: #fff;
  border: none;
  padding: 14px 50px;
  border-radius: var(--border-radius);
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.modern-download-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #333, #000);
}
.btn-icon {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}
.modern-download-btn:hover .btn-icon {
  transform: translateY(2px);
}

/* 关于部分 */
.about {
  text-align: center;
}

/* 核心功能（取消立即动画效果） */
.features {
  text-align: center;
  /* 缩小上边距，拉近与上方按钮的距离 */
  padding-top: 3rem;
  /* 减小底部边距 */
  padding-bottom: 1rem; 
}
.features h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.feature-item {
  background: var(--secondary-color);
  padding: 1rem;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: var(--transition);
}
.feature-item:hover {
  transform: translateY(-3px);
}
.feature-item span.material-icons {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}
.feature-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}
.feature-item p {
  font-size: 0.95rem;
  color: var(--dark-gray);
}

/* 截图展示 */
.app-showcase {
  /* 减小顶部边距 */
  padding-top: 1rem; 
}
.app-showcase .showcase-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--secondary-color);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin-bottom: 1.5rem;
  padding: 1rem;
  transition: var(--transition);
}
.app-showcase .showcase-item:hover {
  transform: translateY(-2px);
}
.app-showcase .showcase-item.reverse {
  flex-direction: row-reverse;
}
.screenshot-wrapper {
  flex: 0 0 40%;
  max-width: 120px;
  margin: auto;
  border-radius: var(--border-radius);
  overflow: hidden;
}
.screenshot-wrapper img {
  width: 100%;
  display: block;
}
.showcase-content {
  flex: 1;
  padding: 0 0.5rem;
}
.showcase-content h3 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 0.3rem;
}
.showcase-content p {
  font-size: 0.9rem;
  color: var(--dark-gray);
}

/* 下载部分：增加底部边距 */
.download {
  padding-bottom: 4rem;
  text-align: center;
}
.download h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

/* 页脚 */
.modern-footer {
  background: linear-gradient(to right, #f8faff, #f0f5ff);
  text-align: center;
  padding: 2rem 0;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}
.footer-links a {
  font-size: 0.9rem;
  color: #4a90e2;
  text-decoration: none;
  padding: 0.5rem 0.8rem;
  background: rgba(255,255,255,0.6);
  border-radius: 8px;
  transition: var(--transition);
}
.footer-links a:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-1px);
}
.footer-copyright p {
  font-size: 0.85rem;
  color: #7fadeb;
}

/* 返回顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 60px;
  right: 20px;
  background: var(--primary-color);
  color: var(--secondary-color);
  border: none;
  border-radius: 50%;
  padding: 10px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 1000;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  transform: translateY(-2px);
}

/* 淡入动画（Hero、关于、截图、下载、页脚继续使用） */
.animate-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-section.visible {
  opacity: 1;
  transform: none;
}

/* 动画 */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* 移动端调整 */
@media (max-width: 768px) {
  .nav-links { gap: 0.8rem; }
  .hero { padding: 6rem 0 3rem; }
  .hero-content h1 { font-size: 2.2rem; }
  .subtitle { font-size: 1.1rem; }
  .description { font-size: 0.95rem; }
  .modern-download-btn { padding: 12px 40px; font-size: 0.95rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-item { padding: 0.8rem; }
  .app-showcase .showcase-item { flex-direction: column; text-align: center; }
  .screenshot-wrapper { margin-bottom: 0.8rem; }
}
@media (max-width: 480px) {
  .nav-links a { font-size: 0.9rem; }
  .hero-content h1 { font-size: 1.9rem; }
  .subtitle { font-size: 1rem; }
  .description { font-size: 0.9rem; }
  .modern-download-btn { padding: 10px 32px; font-size: 0.9rem; }
  .footer-links a { font-size: 0.8rem; padding: 0.4rem 0.6rem; }
}