/* 正微软件 - 独立样式文件 */
/* 解决服务器样式变小、错乱问题 */

html {
  font-size: 16px !important;
  min-width: 320px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
}

html,body{
  width:100%;
  height:100%;
  overflow-x:hidden
}

:root {
  --main: #165DFF;
  --main-light: #4080FF;
  --dark: #1D2129;
  --gray: #666;
  --light-bg: #f7f9fc;
  --border: #e5e6eb;
}

body {
  background: #fff;
  color: var(--dark);
  line-height: 1.9;
  font-size: 15px !important;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.main-module, .content-box, .btns a, .footer-inner {
  animation: fadeIn 0.8s ease forwards;
}

/* 头部导航 */
.header {
  background: #fff;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 12px 0;
  width:100%;
}

.header-box {
  width: 96%;
  max-width:100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.logo1 {
  height: 44px;
}

.header-nav1 ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.li1 a {
  color: var(--dark);
  padding: 10px 16px;
  font-size: 16px;
  border-radius: 6px;
  transition: all 0.3s;
  white-space: nowrap;
  font-weight: 500;
}

.li1 a:hover {
  background: var(--main);
  color: #fff;
  transform: translateY(-2px);
}

/* 主体 */
.bodyer {
  width: 96%;
  max-width:100%;
  margin: 8px auto;
}

/* 按钮组 */
.btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 8px 0;
}

.btn {
  padding: 11px 20px;
  background: var(--main);
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: 0.3s;
}

.btn:hover {
  background: var(--main-light);
  transform: translateY(-2px);
}

/* 模块 */
.main-ui, .main-utils {
  background: #fff;
  padding: 20px 30px;
  border-radius: 16px;
  margin-bottom: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  width:100%;
  font-size: 15px !important;
}

.title {
  font-size: 30px !important;
  color: var(--dark);
  margin-bottom: 10px;
  text-align: center;
  font-weight: bold;
}

.des {
  font-size: 16px !important;
  color: var(--gray);
  text-align: center;
  margin-bottom: 8px;
  line-height: 1.8;
}

/* 内容区域 */
.content-box {
  width:100%;
  margin: 0 auto;
  padding: 15px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  font-size: 15px !important;
}

.content-box p {
  font-size: 15px !important;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.9;
  text-align: justify;
}

.content-box strong {
  color: var(--main);
  font-weight: bold;
}

.content-box img {
  max-width: 420px;
  margin: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* 下载链接 */
.download-links {
  margin: 15px 0;
  line-height: 2.4;
  text-align: center;
  font-size: 15px !important;
}

.download-links a {
  color: var(--main);
  margin: 0 8px;
  font-weight: 500;
  transition: 0.3s;
}

.download-links a:hover {
  color: var(--main-light);
}

/* 底部标语 */
.main-github {
  background: linear-gradient(135deg, #165DFF, #4080FF);
  color: #fff;
  text-align: center;
  padding: 30px 20px;
  border-radius: 16px;
  margin: 10px 0;
  width:100%;
}

.main-github h1 {
  font-size: 28px !important;
  margin-bottom: 10px;
}

/* 底部 */
.footer {
  background: #1D2129;
  color: #ccc;
  padding: 20px 0 15px;
  width:100%;
}

.footer-inner {
  width: 96%;
  max-width:100%;
  margin: 0 auto;
}

.links h1 {
  font-size: 18px !important;
  margin-bottom: 18px;
  color: #fff;
}

.link-table {
  width: 100%;
  margin-bottom: 25px;
  font-size: 14px !important;
}

.link-table td {
  padding: 6px 0;
}

.link-table a {
  color: #ccc;
  transition: 0.3s;
}

.link-table a:hover {
  color: var(--main-light);
}

.footer-bottom {
  margin-top: 25px;
  color: #999;
  font-size: 14px !important;
  line-height: 1.8;
  text-align: center;
}

.footer-bottom a {
  color: #ccc;
  transition: 0.3s;
}

/* 手机端 */
@media (max-width:768px) {
  .title {
    font-size: 24px !important;
  }
  .content-box {
    padding: 15px;
  }
  .content-box img {
    float: none !important;
    display: block;
    margin: 20px auto;
    max-width: 100%;
  }
  .btns {
    flex-direction: column;
    align-items: center;
  }
  .btn {
    width: 80%;
    text-align: center;
  }
  .main-ui, .main-utils {
    padding: 25px 20px;
  }
}