body {
  margin: 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background-color: #f9f9f9;
  color: #333;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* 占满屏幕宽度 */
  z-index: 1000;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.header-container {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  padding: 0 14px;
  box-sizing: border-box;
}

/* logo */
.header-container .logo img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  margin-right: 10px;
}

header .logo {
  display: flex;
  align-items: center;
}

main {
  max-width: 1024px;
  margin: 0 auto;
  margin-top: 80px;
  text-align: center;
}


/* 新增 Logo 样式 */
.download-logo {
  text-align: center;
  /* Logo 居中 */
}

.download-logo img {
  width: 80px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.download-section {
  max-width: 1024px;
  margin: 0 auto;
  margin-top: 60px;
  text-align: center;
}


.download-buttons {
  display: flex;
  gap: 20px;
  /* flex-wrap: wrap;
  justify-content: center; */
  flex-direction: column;
  align-items: center;
}

.download-buttons a {
  display: inline-block;
  background-color: #ED002F;
  color: #fff;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  min-width: 260px;
}

.download-buttons a:hover {
  background-color: #b80024;
}

/* 按钮内容垂直居中 */
.btn-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

/* Logo 和文字垂直居中，文字里加版本号 */
.btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.btn-text span {
  font-size: 16px;
  line-height: 1;
  margin-bottom: 2px;
  color: #fff;
}

.btn-text small {
  font-size: 12px;
  line-height: 1;
  opacity: 0.8;
  color: #fff;
}

.download-description {
  margin: 10px 0 20px 0;
  font-size: 14px;
  color: #555;
  line-height: 2;
   white-space: pre-wrap;
}

footer {
  text-align: center;
  padding: 20px;
  color: #888;
  font-size: 14px;
}


/* ===== 语言选择 ===== */
.lang-switcher {
  display: inline-block;
  position: relative;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
}

.lang-switcher select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  -webkit-text-fill-color: #333;
  -webkit-tap-highlight-color: transparent;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 25px;
  padding: 8px 40px 8px 15px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
}

.lang-switcher::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%23333' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* ===== 响应式 ===== */
@media (max-width: 700px) {
  .lang-switcher select {
    font-size: 16px;
    padding: 6px 24px 6px 12px;
  }

  main h1 {
    font-size: 26px;
  }

  main p {
    font-size: 16px;
  }
}

/* 屏幕大于800px时，download-section 两列显示 */
@media (min-width: 700px) {
  main {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    align-items: flex-start;
  }
  .download-section {
    flex: 1 1 320px;
    max-width: 400px;
    margin-top: 60px;
    box-sizing: border-box;
  }
}