/* 全局样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 主容器样式 */
body {
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimHei, Arial, Helvetica, sans-serif;
  background-color: #f9f6f0;
  color: #666666;
  line-height: 1.6;
}

/* 头部样式 */
.header {
  max-width: 1920px;
  margin: 0 auto;
  padding: 20px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.download-button {
  display: flex;
  align-items: center;
}

.download-link {
  display: inline-block;
  background-color: #9e7742;
  color: #ffffff;
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimHei, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 24px;
  padding: 9px 24px 8px;
  border-radius: 9999px;
  box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.1), 0px 4px 6px -1px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  transition: all 0.3s ease;
}

.download-link:hover {
  background-color: #8a6635;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.download-link:active {
  transform: translateY(0);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 40px;
  height: 40px;
}

.logo-text {
  font-family: "Noto Serif SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimHei, Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #9e7742;
}

/* 英雄区域样式 */
.hero {
  max-width: 1920px;
  margin: 0 auto;
  padding: 64px 50px 0;
  text-align: center;
}

.hero-title {
  font-family: "Noto Serif SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimHei, Arial, Helvetica, sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #9e7742;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
  line-height: 1.3;
}

.hero-subtitle {
  font-size: 20px;
  color: #666666;
  margin-bottom: 100px;
}

/* 应用展示区域 */
.app-showcase {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 50px 100px;
  display: flex;
  justify-content: center;
  gap: 113px;
  flex-wrap: wrap;
}

.app-screenshot {
  border: 1px solid #9e7742;
  border-radius: 10px;
  width: 200px;
  height: 435px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.screenshot-1 {
  background-image: url('../../static/image/page1.png');
}

.screenshot-2 {
  background-image: url('../../static/image/page2.png');
}

.screenshot-3 {
  background-image: url('../../static/image/page3.png');
}

.screenshot-4 {
  background-image: url('../../static/image/page4.png');
}

/* 功能特点区域 */
.features {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 50px 100px;
  display: flex;
  justify-content: center;
  gap: 149px;
  flex-wrap: wrap;
}

.feature-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 56px 35px;
  text-align: center;
  max-width: 320px;
  backdrop-filter: blur(2px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.feature-title {
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimHei, Arial, Helvetica, sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #9e7742;
  margin-bottom: 24px;
  line-height: 1.2;
}

.feature-description {
  font-size: 20px;
  color: #666666;
  line-height: 1.4;
}

/* 页脚样式 */
.footer {
  max-width: 1920px;
  margin: 0 auto;
  padding: 40px 50px 36px;
  border-top: 1px solid rgba(249, 246, 240, 0.8);
  text-align: center;
}

.qr-code-section {
  margin-bottom: 40px;
}

.qr-code-container {
  display: inline-block;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 8px;
  margin-bottom: 8px;
}

.qr-code {
  width: 112px;
  height: 112px;
  border-radius: 8px;
}

.qr-code-text {
  font-size: 14px;
  color: #666666;
  margin-top: 8px;
}

.footer-disclaimer {
  font-size: 14px;
  color: #666666;
  margin-bottom: 28px;
  line-height: 1.4;
}

.footer-copyright {
  font-size: 12px;
  color: #666666;
}

.a {
  color: #666666;
  text-decoration: none;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .app-showcase {
    gap: 60px;
  }
  
  .features {
    gap: 80px;
  }
  
  .hero-title {
    font-size: 40px;
  }
  
  .feature-title {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 20px 20px;
  }
  
  .hero {
    padding: 40px 20px 0;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .hero-subtitle {
    font-size: 18px;
    margin-bottom: 60px;
  }
  
  .app-showcase {
    padding: 0 20px 60px;
    gap: 40px;
  }
  
  .app-screenshot {
    width: 160px;
    height: 348px;
  }
  
  .features {
    padding: 0 20px 60px;
    gap: 40px;
  }
  
  .feature-card {
    padding: 40px 25px;
    max-width: 240px;
  }
  
  .feature-title {
    font-size: 28px;
  }
  
  .feature-description {
    font-size: 18px;
  }
  
  .footer {
    padding: 30px 20px 26px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .app-showcase {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  
  .app-screenshot {
    width: 140px;
    height: 305px;
  }
  
  .features {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  
  .feature-card {
    max-width: 280px;
  }
  
  .feature-title {
    font-size: 24px;
  }
  
  .feature-description {
    font-size: 16px;
  }
}
