@charset "UTF-8";

/* ============================================================
   萌技APP 官网 — 首页
   设计稿：1920 × 3516，内容区 1208px（左右留白 356px）
   适配：最小宽度 1280px，小于 1280px 出现横向滚动条
   变量 / 重置 / 页头 / 页脚见 base.css（需先引）
   ============================================================ */

/* MiSans（小米开源免费商用），已按本站用字裁剪为子集 */
@font-face {
  font-family: "MiSans";
  src: url("../assets/fonts/MiSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "MiSans";
  src: url("../assets/fonts/MiSans-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* 首页是 1920 定宽桌面设计，小于 1280px 出现横向滚动条 */
body { min-width: 1280px; }

.container {
  position: relative;
  width: 1208px;
  margin: 0 auto;
}

/* ------------------------------------------------------------
   顶部导航（高 88px，白色，下投影）
   ------------------------------------------------------------ */
.header {
  position: relative;
  z-index: 10;
  background: #fff;
  box-shadow: 0 12px 16px 0 rgba(216, 222, 241, .16);
}

.header__inner { height: 88px; }

.header__logo {
  position: absolute;
  left: 0;
  top: 16px;
  width: 56px;
  height: 56px;
}

.header__brand {
  position: absolute;
  left: 64px;
  top: 21px;
}

.header__wordmark { display: flex; }

.header__wordmark img { width: 23px; height: 25px; }
.header__wordmark img + img { height: 24px; margin-top: 1px; }

.header__slogan {
  margin-top: 7px;
  font-size: 14px;
  line-height: 14px;
  color: var(--c-text-gray);
  white-space: nowrap;
}

/* ------------------------------------------------------------
   首屏（高 720px，橙色渐变背景 + 曲线）
   ------------------------------------------------------------ */
.hero {
  position: relative;
  height: 720px;
  overflow: hidden;
  background: url("../assets/slices/section_3.png") 100% 100% no-repeat;
  background-size: 100% 100%;
}

.hero__inner { height: 720px; }

.hero__wave {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: url("../assets/slices/mask_1.png") 100% 100% no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}

.hero__text {
  position: absolute;
  left: 0;
  top: 112px;
  width: 680px;
}

.hero__script {
  display: block;
  width: 282px;
  height: 132px;
}

.hero__title {
  margin-top: -60px;
  font-size: 68px;
  line-height: 76px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

.hero__subtitle {
  margin-top: 16px;
  font-size: 32px;
  line-height: 40px;
  color: #fff;
  white-space: nowrap;
}

.hero__desc {
  margin-top: 40px;
  font-size: 16px;
  line-height: 28px;
  color: #fff;
}

/* ------------------------------------------------------------
   按钮
   ------------------------------------------------------------ */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 216px;
  height: 56px;
  border-radius: 120px;
  font-size: 20px;
  line-height: 28px;
  transition: background-color .2s ease;
}

.btn--white {
  margin-top: 48px;
  background: #fff;
  color: var(--c-primary);
}
.btn--white:hover { background: #FFDDD9; }

.btn--gradient {
  margin-top: 80px;
  background: linear-gradient(270deg, var(--c-primary) 0, var(--c-orange) 100%);
  color: #fff;
}
.btn--gradient:hover { background: var(--c-primary); }

/* 手机整机切图（2 倍图，CSS 尺寸取其一半）
   逻辑尺寸：mockup 352x736（含左右侧键）、双机组 512x824 */
.hero__phone,
.serve__phones,
.safeguard__phones {
  position: absolute;
  display: block;
}

/* 首屏手机：顶部 104px 处起，底部超出首屏由 .hero 裁掉（可见到 y=801，其上再被波浪覆盖） */
.hero__phone {
  left: 856px;
  top: 104px;
  width: 352px;
  height: 736px;
}

.serve__phones {
  left: 0;
  top: 160px;
  width: 512px;
  height: 824px;
}

.safeguard__phones {
  left: 696px;
  top: 160px;
  width: 512px;
  height: 824px;
}

/* ------------------------------------------------------------
   服务项目（白底，高 1144px）
   ------------------------------------------------------------ */
.serve {
  position: relative;
  height: 1144px;
  background: #fff;
}

.serve__inner { height: 1144px; }

.serve__text {
  position: absolute;
  left: 672px;
  top: 176px;
  width: 536px;
}

/* 通用：区块标题 / 副标题 / 列表 */
.sec-title {
  font-size: 88px;
  line-height: 96px;
  font-weight: 600;
  color: var(--c-text);
  white-space: nowrap;
}

.sec-sub {
  display: flex;
  align-items: flex-end;
  margin-top: 16px;
}

.sec-sub__mark {
  flex: none;
  width: 16px;
  height: 16px;
  margin-bottom: 8px;
  background: linear-gradient(180deg, var(--c-orange) 0, var(--c-primary) 100%);
}

.sec-sub__text {
  margin-left: 16px;
  font-size: 48px;
  line-height: 56px;
  font-weight: 600;
  color: var(--c-text);
  white-space: nowrap;
}

.sec-list {
  margin-top: 104px;
  width: 536px;
  font-size: 24px;
  line-height: 40px;
}

.sec-list li {
  margin-bottom: 16px;
  text-align: justify;
}
.sec-list li:last-child { margin-bottom: 0; }

.sec-list b { font-weight: 600; color: var(--c-text); }
.sec-list span { color: var(--c-text-gray); }

/* ------------------------------------------------------------
   平台保障（#F5F5F5 底，高 1144px）
   ------------------------------------------------------------ */
.safeguard {
  position: relative;
  height: 1144px;
  background: var(--c-safeguard-bg);
}

.safeguard__inner { height: 1144px; }

.safeguard__text {
  position: absolute;
  left: 0;
  top: 176px;
  width: 536px;
}

/* ------------------------------------------------------------
   页脚（#3E3E3E 底，高 356px）
   ------------------------------------------------------------ */
.footer {
  position: relative;
  height: 356px;
  background: var(--c-footer-bg);
}

.footer__inner { height: 356px; }

.footer__title {
  position: absolute;
  left: 0;
  top: 61px;
  font-size: 48px;
  line-height: 56px;
  font-weight: 600;
  color: #fff;
}

.footer__list {
  position: absolute;
  left: 0;
  top: 167px;
}

.footer__item {
  display: flex;
  align-items: center;
  height: 24px;
}
.footer__item + .footer__item { margin-top: 28px; }

.footer__item img { flex: none; width: 24px; height: 24px; }

.footer__item span {
  margin-left: 8px;
  font-size: 20px;
  line-height: 24px;
  color: #fff;
  white-space: nowrap;
}

/* ------------------------------------------------------------
   版权信息（#303030 底，高 64px）
   ------------------------------------------------------------ */
.copyright {
  height: 64px;
  background: var(--c-copyright-bg);
}

.copyright__inner {
  display: flex;
  align-items: center;
  height: 64px;
}

.copyright__inner p {
  font-size: 14px;
  line-height: 22px;
  color: #fff;
}
.copyright__inner p + p { margin-left: 8px; }

.copyright__inner a { color: #fff; }
.copyright__inner a:hover { text-decoration: underline; }
