/* ===============================
   ai2a.com 全站统一主题样式
   基于首页风格，覆盖所有页面
   =============================== */

/* === 基础 === */
body {
  margin: 0; padding: 0;
  background: #f5f7fa;
  font-family: "Microsoft YaHei", -apple-system, sans-serif;
  color: #333;
}
.wrap { max-width: 1200px; margin: 0 auto; padding: 20px 24px; box-sizing: border-box; }

/* === 区块标题 === */
.sec-title {
  font-size: 1.4rem; font-weight: 700; color: #333;
  margin: 0 0 16px 0; padding-bottom: 8px;
  border-bottom: 3px solid #1569FF;
}

/* === 布局 === */
.flex { display: flex; gap: 20px; flex-wrap: wrap; align-items: stretch; }
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hr { margin: 36px 0; border: none; border-top: 2px dashed #d0d5dd; }

/* === 卡片组件 === */
.img-box {
  border: none; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: #e8f0fe; overflow: hidden;
}
.txt-box {
  border: none; border-radius: 10px; padding: 16px;
  display: flex; align-items: center; justify-content: center;
  background: #eafaf1;
}

.foot {
  background-image: linear-gradient(#a9d41d, #35b950);
  border-radius: 10px; padding: 28px 24px;
  color: #333; font-size: 13px; margin-top: 36px;
}
.foot a { color: #666; text-decoration: none; font-size: 12px; }
.foot .links { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.foot .links a {
  display: inline-block; background: rgba(255,255,255,0.5);
  padding: 4px 12px; border-radius: 4px; font-size: 12px;
  color: #444; text-decoration: none;
}
.foot .links a:hover { background: rgba(255,255,255,0.8); }

/* === 内容区域（PHP页面共用） === */
.submenu-module { display: none; }
.infos { text-indent: 2em; }

/* === 全屏背景块（推广/支付/兑换/消息共用） === */
.bgbox {
  background: url(/images/mobile/bgimg.png) no-repeat;
  background-size: 100% 100%;
}
.box1 { width: 100%; text-align: center; font-size: 2rem; color: #fff; line-height: 3rem; }
.box2 { width: 100%; text-align: center; font-size: 4rem; color: gold; line-height: 5.5rem; }
.box3 {
  width: 85%; height: 3rem; text-align: center; font-size: 2rem;
  line-height: 3rem; border-top: 1px solid #eee; border-bottom: 1px solid #eee;
  color: #fff; margin: 0 auto;
}
.box4 { width: 85%; height: 6rem; margin: 0 auto; }
.youshi { float: left; color: #fff; font-size: 1.5rem; margin-top: 0.5rem; width: 20%; text-align: center; }
.youshi span { color: gold; font-weight: 900; }

/* === 表单（推广/支付/兑换/消息共用） === */
.theform { width: 100%; }
.ftitle { text-align: center; width: 100%; height: 4rem; line-height: 4rem; font-weight: 900; font-size: 2rem; }
#xqform { width: 100%; }
#xqform label { width: 100%; font-weight: 700; font-size: 1.5rem; color: #333; display: block; margin-top: 0.5rem; }
#callname, #phone, #need {
  border: 2px solid #eee; border-radius: 1rem; width: 100%; display: block;
  height: 3rem; margin-top: 0.5rem; padding-left: 1rem;
}
#ok {
  width: 95%; height: 3rem; line-height: 3rem; font-size: 1.3rem; text-align: center;
  color: #fff; background: #0d4ed0; border-radius: 3rem; margin: 1rem auto 0;
}

/* === 响应式 === */
@media (max-width: 768px) {
  .g3, .g4 { grid-template-columns: 1fr; }
  .flex { flex-direction: column; }
}

/* === 导航链接（axe-core 修复：PHP页导航默认蓝色对比度不足） === */
.nav a { color: rgba(255,255,255,0.9); text-decoration: none; }
.nav a:hover { color: #fff; text-decoration: underline; }
.nav a.act { color: #fff; }
