/* 全局样式 */
:root {
  --primary-color: #8A2BE2;  /* 主题紫色 */
  --dark-bg: #0A0A0A;       /* 深黑背景 */
  --text-light: #FFFFFF;    /* 白色文字 */
}

body {
  font-family: 'Helvetica Neue', sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--dark-bg);
  color: var(--text-light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none; /* 去掉下划线 */
  color: inherit; /* 继承父元素的颜色，或者设置为其他你需要的颜色 */
}

a:link,
a:visited,
a:hover,
a:active {
    text-decoration: none; /* 在所有状态下都去掉下划线 */
    color: inherit; /* 或者设置为你需要的颜色 */
}

/* 顶部Logo样式 */
.main-header {
  padding: 2.5rem 5%; /* 增加水平间距 */
  max-width: 1440px;
  display: flex;
  align-items: center;
}

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

.app-name {
  font-size: 1.5rem;
  color: var(--text-light);
  font-weight: bold;
}

/* 主页首屏布局 */
.hero-section {
  flex: 1;
  padding: 2rem;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
}

.text-content {
  flex: 1;
  min-width: 300px;
}

h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.slogan {
  font-size: 1.2rem;
  line-height: 1.6;
  opacity: 0.9;
}

.screenshot-container {
  flex: 1;
  max-width: 600px;
}

.app-screenshot {
  max-height: 700px;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(138,43,226,0.2);
}

/* 下载页样式 */
.download-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.download-buttons {
  display: grid;
  gap: 1.5rem;
  width: 100%;
  max-width: 500px;
}

.btn {
  padding: 1.2rem;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.2s;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
}

.android { background-color: #6B1E9C; }  /* 深紫色 */
.harmony { background-color: #4A148C; }  /* 紫罗兰色 */
.ios1 { background-color: #7C4DFF; }     /* 亮紫色 */
.ios2 { background-color: #8e66fc; }     /* 亮紫色 */

/* 底部信息 */
.main-footer {
  text-align: center;
  padding: 2rem;
  background-color: #111;
  opacity: 0.8;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .hero-content {
    justify-content: space-between; /* 两端对齐 */
    padding: 0 5%;
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .text-content {
    flex-basis: 45%;
    text-align: left; /* 左对齐文字 */
    padding-right: 5%;
  }

  .screenshot-container {
    flex-basis: 50%;
  }

  h1 {
    font-size: 3rem; /* 加大标题 */
    line-height: 1.2;
  }

  .slogan {
    font-size: 1.3rem;
    padding-right: 15%;
  }

  .download-buttons {
    grid-template-columns: 1fr;
  }

  .btn {
      /* width: 100%; */
  }
}