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

/* 通用布局类 */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 通用间距类 */
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.ml-10 { margin-left: 10px; }
.mr-10 { margin-right: 10px; }

/* 通用文本样式 */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* 通用颜色变量 */
:root {
  --primary-color: #007bff;
  --secondary-color: #6c757d;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #17a2b8;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
}

/* 通用按钮样式 */
.btn {
  display: inline-block;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: white;
}

/* 通用卡片样式 */
.card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 15px;
}

/* 响应式布局工具类 */
@media (max-width: 768px) {
  .hide-mobile {
    display: none;
  }
}

@media (min-width: 769px) {
  .hide-desktop {
    display: none;
  }
}

/* 页面基础布局 */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
}

.page-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

/* 链接样式 */
.link {
  text-decoration: none;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.link:hover {
  text-decoration: underline;
  color: var(--secondary-color);
}

/* 语言切换器 */
.language-switcher {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 100;
}

.lang-btn {
  padding: 8px 16px;
  margin: 0 5px;
  border: 2px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.lang-btn.active {
  background: var(--primary-color);
  color: white;
}

.lang-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

/* 产品展示区域 */
.product-section {
  margin: 20px 0;
}

.product-link {
  display: inline-block;
  text-decoration: none;
  color: var(--primary-color);
  margin-top: 5px;
}

.product-link:hover {
  text-decoration: underline;
}

/* 图片样式 */
.img-responsive {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 标题间距 */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0.5em;
  margin-top: 1em;
}

h1:first-child,
h2:first-child,
h3:first-child {
  margin-top: 0;
}

/* 列表样式 */
.list-unstyled {
  list-style: none;
  padding-left: 0;
}

/* 描述文本 */
.description {
  margin: 1em 0;
  line-height: 1.6;
}

/* 间隔 */
.section {
  margin-bottom: 2em;
}

/* 响应式图片容器 */
.img-container {
  margin: 1em 0;
  text-align: center;
}

/* 应用说明样式 */
.app-features {
  margin: 2em 0;
}

.feature-item {
  margin-bottom: 1em;
}

/* 下载按钮 */
.download-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  margin: 10px 0;
  transition: background-color 0.3s ease;
}

.download-btn:hover {
  background-color: var(--secondary-color);
  text-decoration: none;
}

/* 图片容器样式 */
.image-container {
  margin-top: 1em;
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.image-container img {
  height: 400px;
  width: auto;
  margin-right: 10px;
  flex-shrink: 0;
  border-radius: 2em;
  background-color: var(--light-color);
  border: 2px solid #b0b0b0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 版本信息样式 */
.version-info {
  display: inline-block;
  padding: 15px 25px;
  background-color: var(--light-color);
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  font-size: 14px;
  color: var(--secondary-color);
  line-height: 1.6;
  margin: 20px 0 30px;
}

/* 应用图标样式 */
.app-icon {
  width: 100px;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

/* 下载按钮增强样式 */
.download-button {
  display: inline-block;
  padding: 15px 40px;
  font-size: 18px;
  color: white;
  background-color: var(--primary-color);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  box-shadow: 0 4px 6px rgba(0, 123, 255, 0.2);
}

.download-button:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 123, 255, 0.25);
}

/* Beta 版本区域样式 */
.beta-section {
  margin-top: 15px;
  font-size: 13px;
  color: var(--secondary-color);
}

.beta-section a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.beta-section a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* 返回首页按钮样式 */
.back-home {
  display: inline-block;
  text-decoration: none;
  color: var(--secondary-color);
  margin: 40px 0;
  padding: 10px 20px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: white;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.back-home:hover {
  color: var(--primary-color);
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.back-home::before {
  content: "←";
  margin-right: 8px;
}

/* 微信提示层样式 */
#weixin-tip {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  z-index: 9999;
  text-align: center;
  font-size: 18px;
  padding-top: 50px;
}

#close-btn {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: var(--danger-color);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

/* 响应式调整 */
@media (max-width: 600px) {
  .container {
    padding: 20px 15px;
  }

  .app-icon {
    width: 80px;
  }

  h1 {
    font-size: 28px;
  }

  .download-button {
    padding: 12px 30px;
  }

  .image-container img {
    height: 300px;
  }
}

/* 主容器布局 */
.main-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

/* 标题样式 */
.main-container h1,
.main-container h2,
.main-container h3 {
  /* text-align: center; */
  /* max-width: 600px; */
   margin: 1em auto;
}

/* 描述文本 */
.main-container p {
  /* text-align: center; */
  /* max-width: 600px; */
  margin: 1em auto;
}

/* 版本信息容器 */
.version-info {
  width: fit-content;
  margin: 20px auto;
  padding: 15px 25px;
}

/* 下载区域 */
.download-section {
  margin: 2em auto;
}

/* 图片展示区 */
.image-container,
.image-container2 {
  max-width: 100%;
  margin: 2em auto;
  justify-content: center;
}

/* 联系方式区域 */
.contact-section {
  margin: 2em auto;
}

/* Beta 提示 */
/* .warning {
  max-width: 600px;
  margin: 20px auto;
  text-align: center;
} */

/* 应用图标 */
.app-icon {
  display: block;
  margin: 0 auto 20px;
}

.language-switch {
    margin-top: 30px;
    text-align: center;
    padding: 10px;
    border-top: 1px solid #eee;
}

.language-switch .current {
    color: #666;
    font-weight: bold;
}

.language-switch a {
    color: #007bff;
    text-decoration: none;
}

.language-switch a:hover {
    text-decoration: underline;
} 