/* ========== Reset & Base ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
  background-color: #f8f8f8;
}

html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

/* 页面在 >=700px 居中，不改变原布局逻辑 */
@media screen and (min-width: 700px) {
  html {
    display: flex;
    justify-content: center;
  }
}

/* 统一正文字体栈（保留你原有顺序与字体） */
body {
  width: 100%;
  height: 100vh;
  max-width: 750px;
  margin: 0 auto;
  background-color: #f8f8f8;
  font-family: PingFangSC-Regular, Roboto, "Helvetica Neue", Helvetica, Tahoma, Arial, "PingFang SC-Light", "Microsoft YaHei";
}

/* 链接默认白色（与原效果一致）；footer 内另有覆盖，不冲突 */
a {
  color: #fff;
  text-decoration: none;
}

button {
  margin: 0;
  padding: 0;
  border: 1px solid transparent;
  outline: 0;
  background-color: transparent;
}
button:active { opacity: .6; }

/* 图片规则保留：多数组件依赖 height:100% 搭配容器高度与 object-fit */
img {
  width: 100%;
  height: 100%;
}

/* ========== 工具类 ========== */
.flex-col { display: flex; flex-direction: column; }
.flex-row { display: flex; flex-direction: row; }

.justify-start   { display: flex; justify-content: flex-start; }
.justify-center  { display: flex; justify-content: center; }
.justify-end     { display: flex; justify-content: flex-end; }
.justify-evenly  { display: flex; justify-content: space-evenly; }
.justify-around  { display: flex; justify-content: space-around; }
.justify-between { display: flex; justify-content: space-between; }

.align-start  { display: flex; align-items: flex-start; }
.align-center { display: flex; align-items: center; }
.align-end    { display: flex; align-items: flex-end; }

/* ========== 布局与组件 ========== */
.box {
  width: 100%;
  height: 100vh;
  position: relative;
}

/* 输入（类名沿用：inpur） */
.inpur {
  width: 100%;
  height: 8%;
  border-radius: 2rem;
  border: 2px solid rgba(78, 147, 234, 1);
  margin-top: 1rem;
  padding: 1rem 2rem;
  text-align: center;
  font-size: 14px;
}

.btu {
  margin-top: 20px;
  width: 100%;
  height: 40px;
  line-height: 40px;
  display: block;
  background-color: #1a6bff;
  border-radius: 2rem;
  text-align: center;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 8px #0000001a;
}

/* 逐步容器（保留定位与层级） */
.step-container {
  position: absolute;
  top: 38%;
  left: 9%;
  z-index: 10;
  width: 81%;
  height: auto;
}

.visible { display: block; }
.hidden  { display: none; }

/* 隐藏的头/脚占位（保留语义但不显示） */
.mainheader,
.footerMain {
  position: absolute;
  top: -99999px;
  color: transparent;
}

/* 页脚链接色与字号 */
.footerContainer a {
  color: #636161;
  font-size: 12px;
}
.footerContainer {
  width: 100%;
  text-align: center;
  position: absolute;
  bottom: 30px;
}

/* 错误遮罩 */
.error {
  position: fixed;
  inset: 0;
  display: flex;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  background: #000000b3;
}
.error-content {
  padding: 30px;
  line-height: 1.5;
  word-break: break-all;
  overflow: auto;
  font-size: 18px;
  color: #fff;
  background: #000c;
  border-radius: 10px;
  box-shadow: 0 4px 8px #00000080;
  max-width: 80%;
  width: 100%;
  box-sizing: border-box;
}

/* 呼吸动效按钮（保留动效） */
.sha {
  display: block;
  background-color: #1a6bff;
  border-radius: 2rem;
  text-align: center;
  color: #fff;
  cursor: pointer;
  animation-name: moveButton;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
  box-shadow: 0 4px 8px #0000001a;
}

/* 动画关键帧 */
@keyframes moveButton {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* 低动效模式：尊重系统“减少动态效果”的偏好（外观不变，只是停动画） */
@media (prefers-reduced-motion: reduce) {
  .sha { animation: none !important; }
}

/* 内容主块 */
.con-box {
  position: relative;
  background-image: url(../image/con_bg-2-OzR4fD5x.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.con-box .img-box { width: 100%; }
.con-box .img-box img {
  width: 100%;
  object-fit: cover;
}
.con-box .word-box {
  padding: 5% 8%;
  position: relative;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
}
.con-box .word-box .title {
  font-size: 30px;
  text-align: center;
  font-weight: 700;
  color: #03267d;
}
.con-box .word-box .con {
  margin-top: 2%;
  font-size: 20px;
  color: #27489d;
}

/* 浮层标题条 */
.p-title {
  font-size: 30px;
  background-image: url(../image/t_bg-C5OLKX61.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 5% 0;
  text-align: center;
  color: #fff;
  position: absolute;
  top: 25%;
  left: 50%;
  z-index: 10;
  width: 81%;
  height: auto;
  transform: translate(-50%);
  font-weight: 700;
}

/* 移动端微调（保持原数值） */
@media all and (max-width: 767px) {
  .p-title {
    font-size: 24px;
    top: 27%;
  }
  .con-box {
    position: relative;
    background-image: url(../image/con_bg-2-OzR4fD5x.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
  }
  .con-box .img-box { width: 100%; }
  .con-box .img-box img {
    width: 100%;
    object-fit: cover;
  }
  .con-box .word-box {
    padding: 8% 6%;
    position: relative;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
  }
  .con-box .word-box .title {
    font-size: 20px;
    text-align: center;
    font-weight: 700;
  }
  .con-box .word-box .con {
    font-size: 14px;
  }
}

/* 固定吸底条（保留样式） */
.footerContainer1 {
  width: 100%;
  background-color: #1a6bff;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  font-size: 10px;
}

/* 隐私/免责声明页面 */
.PrivacyPolicyContainer {
  padding: 30px;
  max-width: 960px;
  margin: 0 auto;
}
.PrivacyPolicyContainer h3 {
  font-weight: 600;
  font-size: 18px;
  padding: 10px 0;
}
.PrivacyPolicyContainer p {
  font-size: 16px;
  line-height: 1.5;
}

.disclaimerTitle {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
  margin: 0;
  padding: 30px 0;
}
.disclaimerContainer {
  background-color: #f6f6f6;
  min-height: 100vh;
}
.disclaimerLevelTitle {
  line-height: 1.4;
  font-size: 16px;
  font-weight: 700;
  color: #333;
  padding: 8px 0;
  margin-top: 10px;
}
.disclaimerModel {
  background: #fff;
  max-width: 960px;
  margin: 0 auto;
  padding: 54px 80px;
  box-sizing: border-box;
  border-radius: 4px;
}
.disclaimerModel p {
  line-height: 1.6;
  font-size: 16px;
  margin-top: 16px;
  font-weight: lighter;
}
.disclaimerLevelTitle2 { margin-top: 60px; }

@media (max-width: 767px) {
  .disclaimerModel {
    padding: 20px 16px;
    margin: 0 10px;
  }
}
