/* ========== 首页 index.css ========== */
/* 覆盖首页 13 个区块的专属样式；公共组件样式见 common.css */

/* ---------- 通用：卡片字体 ---------- */
/* 全站统一默认字体：首选微软雅黑，不强制固定（卡片继承 html/body 基础字体） */

/* ---------- 通用：区块标题（S2/S4/S7/S9/S11 共用） ---------- */
.section-title {
  position: relative;
  text-align: center;
  padding: 40px 0 20px ;
}
/* 山竹装饰：5 处标题共用同一资源，淡色置于标题背后 */
.section-title .deco {
  position: absolute;
  left: 50%;
  top: 30px;
  transform: translate(-50%, -20%);
  width: 248px;
  height: 145px;
  z-index: 0;
  
  pointer-events: none;
}
.section-title h2,
.section-title .section-desc {
  position: relative;
  z-index: 1;
}
/* 首页大标题：43px Heavy / 行高 200%（设计稿 4.2） */
.section-title h2 {
  font-size: 43px;
  font-weight: 800;
  line-height: 200%;

}
  .color1{

       background:linear-gradient(180.71deg,#03115d 4.14%,#142689 90.2%),#000000;
 -webkit-background-clip:text;
 -webkit-text-fill-color:transparent;
 background-clip:text;

   

    
  }
  .color2{
 
 background:linear-gradient(90deg,#3f5dd9 0%,#9c4dbd 60.92%,#ff4eda 100%),#000000;
 -webkit-background-clip:text;
 -webkit-text-fill-color:transparent;
 background-clip:text;
  }
.section-title .section-desc {
  font-size: 16px;
  line-height: 180%;
  color: var(--text-main);
  margin-top: 24px;
}

/* ---------- S1 Hero 首屏 ---------- */
.hero {
  position: relative;
  padding: 190px 0 30px;
  overflow: hidden;
}
/* Hero 区宽 1322，设计稿 x=56 偏左；max-width 保证 1280 不破版 */
.hero-inner {
  width: 960px;
  max-width: calc(100% - 56px);
  margin:0 auto;
  position: relative;
  min-height: 500px;
}
.hero-left {
  width: 620px;
  position: relative;
  z-index: 2;
  padding-top: 40px;
}
/* 品牌图形 + 副标题图形竖排 */
.hero-mark-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
/* h1 包裹图片，隐藏文本节点间隙 */
.hero-title {
  font-size: 0;
  line-height: 0;
}
.hero-mark {
  width: 398px;
  height: 162px;
}
.hero-subtitle {
  width: 285px;
  height: 73px;
  margin-top: 16px;
  margin-left: 60px;
}
.hero-copy {
  font-size: 18px;          /* 设计稿 fs=18 */
  line-height: 130%;
  color: var(--text-main);
  margin-top: 18px;
  margin-left: 60px;
}
/* 数据统计：4 列，大数字 24px Bold + 后缀/说明 12px #666（设计稿 4.2） */
.hero-stats {
  display: flex;
  gap: 56px;
  margin-top: 38px;
}
.stat dt {
  font-size: 24px;
  font-weight: 700;
  line-height: 130%;
 
}
.stat dt b{
   font-size: 14px;
  color: var(--text-sub);
}

.stat dd {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 150%;
  margin-top: 4px;
}
.stat dd b {
  font-size: 12px;
  font-weight: 700;
}
/* 二维码下载卡：外框 + 二维码叠加 + 提示 */
.hero-download {
  position: absolute;
  width: 200px;
  margin-top: 46px;
  top: 40px;
  left: 110px;
}
.qr-card {
  width: 200px;
  height: 235px;
}
.qr-code {
  position: absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 129px;
  height: 130px;
}
.qr-tip {
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: var(--text-sub);
  margin-top: 10px;
  position: absolute;
  left: 0;
  top:160px;
}
/* 右侧手机大图：绝对定位 */
.hero-right {
  position: absolute;
  right: 0;
  top: 0;
  width: 483px;
  height: 386px;
  z-index: 1;
}
.hero-phone {
  width: 483px;
  height: auto;
}
.hero-avatar {
  position: absolute;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .16);
}
.av-1 { left: -46px; top: 30px; }
.av-2 { right: -36px; top: 150px; }
.av-3 { left: 24px; bottom: -20px; }

/* ---------- Hero 入场动画（配合 common.js） ---------- */
/* 基础隐藏态仅在启用 JS（html.js）时生效：无 JS 时 .hero-enter 元素正常显示，首屏不空白 */
html.js .hero-enter {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s ease, transform .9s ease;
}
/* 与 .hero-enter 同特异性（均含 html.js），靠后声明覆盖，保证动画结束后元素可见 */
html.js .hero-enter-show {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- S3 功能卡片 ×4 ---------- */
.features {
  padding: 20px 0;
}
/* 功能区描述（设计稿 S2 标题下方文案）：16px / 行高 200% / #301D48，居中 */
.feature-desc {
  width: 800px;
  margin: 0 auto 34px;
  text-align: center;
  font-size: 16px;
  line-height: 200%;
  color: var(--text-main);
}
.feature-grid {
  width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 229.9px);
  gap: 26.8px;
}
.feature-card {
  text-align: center;
}
/* CSS 手机模型：圆角矩形 + 顶部刘海条 + 内屏占位，底 #F3EEEB */
.feature-phone {
  width: 230px;
  height: 385px;
  background: white;
  border-radius: 38.26px;
  position: relative;
  padding: 2px ;
  border: 4px solid #f7ceff;
}

/* 功能效果演示屏：mp4 循环演示视频（230×385），铺满屏幕圆角裁剪 */
.feature-screen {
  width: 100%;
  height: 100%;
  border-radius: 26px;
  object-fit: cover;
  display: block;
  background: #f3eeeb; /* 视频加载完成前显示内屏底色，避免黑屏 */
}
.feature-card h3 {
  font-size: 16.6px;        /* 设计稿 fs=16.6 */
  font-weight: 700;
  margin-top: 18px;
}
.feature-card p {
  font-size: 12px;        /* 设计稿 fs=10.8 */
  line-height: 160%;
  color: #301d48;
  margin-top: 14px;
  text-align: left;
}

/* ---------- S5 卖点卡 ×3 ---------- */
.selling {
  padding: 30px 0 60px;
}
.selling-grid {
  width: 1170px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
/* 渐变底 #E3DCF8→#F8F0FD→#FECDE2，圆角 39 */
.selling-card {

  background:linear-gradient(137.78deg,#fee4fc 19.39%,#f8f0fd 52.8%,#fecde2 82%),linear-gradient(125.78deg,#e3dcf8 19.65%,#f8f0fd 54.42%,#fecde2 84.8%);
  border-radius: 39px;
  padding: 34px 40px 30px;
}
/* 图标与标题同一行：图标在左、标题在右，垂直居中对齐 */
.selling-icon {
  display: inline-block;
  vertical-align: middle;
  margin-right: 12px;
  width: 36px;
  height: auto;
}
.selling-title {
  display: inline-block;
  vertical-align: middle;
  font-size: 18px;           /* 设计稿 fs=18 */
  font-weight: 700;
  color: var(--text-main);
}
.selling-card p {
  font-size: 14px;           /* 设计稿 fs=13 */
  line-height: 160%;
  color: #5A4468;
  margin-top: 12px;
}
/* 高亮词 */
.highlight {
  color: #E900B8;
  font-weight: 700;
}

/* ---------- S6 相关搜索条 ---------- */
.related-search {
  width: 817px;
  height: 44px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  background: rgba(42, 109, 255, 0.03);
  border-radius: 29px;
  padding: 0 30px;
  overflow: hidden;
}
.related-search p {
  font-size: 14px;           /* 设计稿 fs=14，整段同色同重 */
  color: var(--text-main);
  white-space: nowrap;
}

/* ---------- S8 场景卡 ×4 ---------- */
.scenes {
  padding: 30px 0 60px;
}
.scene-grid {
  width: 1178px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 281.5px);
  gap: 17px;
}
.scene-card {
  width: 281.5px;
  text-align: center;
}
.scene-card img {
  width: 281.5px;
  height: 276px;
  border-radius: 16px;
}
.scene-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 18px;
}
.scene-card p {
  font-size: 13px;
  line-height: 170%;
  color: var(--text-sub);
  margin-top: 10px;
  text-align: left;
}

/* ---------- S10 评价卡 2×2 ---------- */
.reviews {
  padding: 20px 0 ;
}
.review-grid {
  width: 942px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 461px);
  gap: 20px;
}
.review-card {
  position: relative;
  width: 461px;
  height: 141px;
  background: #FFFFFF;
  border-radius: 15px;
  box-shadow: 0 8px 28px rgba(255, 160, 160, .18);
  padding: 20px 26px 18px;
}
/* 装饰引号（不强制固定字体，继承全局默认的微软雅黑；颜色 rgba(255,78,218,0.53)） */
.quote {
  position: absolute;
  font-size: 40px;
  line-height: 1;
  color: rgba(255, 78, 218, 0.53);
  user-select: none;
}
.q-top { top: 4px; left: 14px; }
.q-bottom { top: 34px; right: 14px; }
.review-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.review-body > p {
  font-size: 14px;           /* 设计稿 fs=14 */
  line-height: 160%;
  color: var(--text-main);
}
/* 评价卡底部一行：头像+署名 居左，五星 居右（设计稿同水平线） */
.review-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}
.stars {
  display: flex;
  gap: 3px;
}
.star {
  width: 21px;
  height: 21px;
}
.review-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;           /* 设计稿 fs=14 */
  color: var(--text-sub);
}
.review-avatar {
  width: 39px;
  height: 39px;
  border-radius: 50%;
}

/* ---------- S12 资讯 + FAQ 双列表卡 ---------- */
.dual {
  padding: 20px 0 80px;
}
.dual-list {
  width: 962px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 472px);
  gap: 18px;
}
.list-card {
  width: 472px;
  background: #FFFFFF;
  border-radius: 11px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .06);
  padding: 26px 28px 14px;
}
.list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid #F0E6EE;
}
.list-head h3 {
  font-size: 16px;           /* 设计稿 fs=16 */
  font-weight: 700;
  color: black;
}
.more {
  font-size: 13px;
  color: var(--text-main);
}
.news-list li,
.faq-list li {
  padding: 14px 0;
  border-bottom: 1px solid #F5EEF3;
}
.news-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.news-list a,
.faq-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 14px;           /* 设计稿 fs=14 */
  color: #424242;
  overflow: hidden;
  white-space: nowrap;
}
.news-list .dot {
  width: 6px;
  height: 6px;
  background: var(--text-main);
  border-radius: 50%;
  flex: none;
}
.news-list time {
  font-size: 12px;
  color: #999;
  flex: none;
}
.faq-list li {
  display: flex;
  align-items: center;
}
.faq-list .dot {
  width: 6px;
  height: 6px;
  background: var(--text-main);
  border-radius: 50%;
  flex: none;
}

/* ---------- 卡片 hover 提升（设计稿交互增强） ---------- */
.feature-card,
.selling-card,
.scene-card,
.review-card,
.list-card {
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature-card:hover,
.selling-card:hover,
.scene-card:hover,
.review-card:hover,
.list-card:hover {
  transform: translateY(-4px);
}
.selling-card:hover,
.review-card:hover,
.list-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, .10);
}

/* ---------- Hero 二维码悬浮显示（配合 common.js initHeroQr） ---------- */
/* 默认隐藏：声明置于文件末尾（比 .hero-enter-show 更靠后，同特异性时优先），
   仅在鼠标经过副标题按钮或悬停二维码时通过 .qr-show 显示 */
html.js .hero-download {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
html.js .hero-download.qr-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
