@charset "utf-8";

body {
  background-color: #fff;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

header {
  display: flex;
  justify-content: space-between; /* 左右对齐 */
  align-items: center; /* 垂直居中 */
  max-width: 1280px; /* 限制最大宽度 */
  width: 100%; /* 使宽度适应容器 */
  margin: 0 auto; /* 水平居中 */
  color: rgb(0, 0, 0); /* 字体颜色 */
}
header .logo {
  font-size: 1.5rem;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
}

header .logo img {
  max-height: 40px;
}

header nav ul {
  padding: 0;
  margin: 0;
  display: flex;
  display: inline-flex;
  align-items: center;
  gap: 40px;
}

header nav ul li a {
  color: rgb(0, 0, 0);
  text-decoration: none;
  font-size: 0.8rem;
}

header .download-btn {
  background-color: #ff4062;
  color: rgb(0, 0, 0);
  border: none;
  border-radius: 25px;
  padding: 8px 20px;
  cursor: pointer;
  font-size: 0.8rem;
  width: 116px;
  height: 40px;
  display: inline-flex; /* 使用 inline-flex 布局 */
  align-items: center; /* 垂直居中内容 */
  gap: 0px; /* 设置文字和图标之间的间距 */
}

header .download-btn:hover {
  background-color: #db2c52;
}

main {
  width: 100%; 
  padding-top: 8rem;
}

.banner {
  width: 1280px; /* 限制最大宽度 */
  margin: 0 auto; /* 水平居中 */
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.left-side {
  flex: 1;
}

.banner .left-side h1 {
  font-size: 3.8rem;
  margin: 0;
  color: rgb(15, 23, 42, 1);
}

.banner .left-side h2 {
  font-size: 1.2rem;
  font-weight: 500;
  margin: 20px 0 20px 0;
  color: rgb(75, 85, 105, 1);
}
.banner .left-side p {
  font-size: 1rem;
  font-weight: 500;
  margin: 20px 0 20px 0;
  color: rgb(75, 85, 105, 1);
}
.banner .left-side ul {
  margin: 30px 0 40px 0;
  width: 100%;
  display: flex;       /* 使用 Flexbox 布局 */
  justify-content: flex-start; /* 子元素从左到右排列 */
  align-items: center; /* 垂直居中对齐 */
  gap: 40px;           /* 设置每个 li 之间的间距 */
}
.banner .left-side ul li {
  font-size: 1.2rem;
  color: #000;
  display: flex;       /* 使用 Flexbox */
  align-items: center;
  white-space: nowrap;
}

.banner .left-side ul li svg{
    max-width: 20px;
    max-height: 20px;
    margin-right: 10px;
    flex-shrink: 0;
    color: #700627;
  }

.banner .left-side button {
  width: 154px;
  height: 56px;
  margin-right: 40px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1rem;
}

.banner .left-side .bannerdwonload-btn{
    background-color: #ff4062;
    border: none;
    color: #fff;
    font-weight: bold;
}

.banner .left-side .bannerdwonload-btn:hover{
    background-color: #db2c52;
}

.banner .left-side .bannerbuy-btn{
    background-color: #fff;
    border: 1px solid #700627;
    color: #000;
    font-weight: bold;
}

.banner .left-side .bannerbuy-btn:hover{
    background-color: #700627;
    color: #fff;
    font-weight: bold;
}

.banner .right-side {
  flex: 1;
  padding: 10px;; 
}

.banner .right-side video{
  width: 100%;
  height: 100%;
}

.features{
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
    margin-top: 10rem;
}

.features h3{
    font-size: 1rem;
    color: #ff4062;
    margin: 0;
}

.features h2{
    font-size: 2.2rem;
    margin-top: 0px;
}

.features p{
    font-size: 1.2rem;
    color: rgb(75, 85, 105, 1);
    margin-top: 0px;
    margin-bottom: 60px;
}

.features .product-preview{
    max-width: 1220px;
    margin: 0 auto;
    height: 650px; /* 固定高度 */
    border-top-left-radius: 20px; /* 左上圆角 */
    border-top-right-radius: 20px; /* 右上圆角 */
    overflow: hidden; /* 确保圆角有效且图片不溢出 */
    position: relative; /* 让伪元素相对于容器定位 */
}

.features .product-preview::after{
    content: ''; /* 创建一个伪元素 */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), 94%, rgb(255, 255, 255) 100%); /* 从上到下的透明度渐变 */
    pointer-events: none; /* 避免伪元素影响点击事件 */
    border-top-left-radius: 20px; /* 与容器保持一致的圆角 */
    border-top-right-radius: 20px;
}

.features .product-preview img{
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保持图片比例填充容器 */
    object-position: top left;
}

.features .functions{
    width: 1220px; /* 容器的宽度 */
    margin: 0 auto; /* 居中显示 */
    display: grid; /* 使用Grid布局 */
    grid-template-columns: repeat(3, 1fr); /* 每行3个小块 */
    grid-gap: 20px; /* 小块之间的间距 */
    margin-top: 60px;
}

.features .functions .item {
    display: flex;
    flex-direction: column; /* 小块内的内容垂直排列 */
    justify-content: space-between; /* 上下内容分布均匀 */
    text-align: left;
}

.features .functions .item .name{
    display: flex;
    align-items: center; /* 垂直居中 */
    gap: 10px; /* svg和h4之间的间距 */
}

.features .functions .item .name svg{
    width: 20px;
    height: 20px;
    color: #ff4062;
}

.features .functions .item .name h4{
    margin: 0;
    font-size: 1rem;
}

.features .functions .item .introduction p{
    margin: 0;
    font-size: 1rem;
    padding-left: 30px;
}

/* 评论板块 */

.comments{
    max-width: 1220px;
    margin: 0 auto;
    text-align: center;
    margin-top: 8rem;
}

.comments h3{
    font-size: 1rem;
    color: #ff4062;
    margin: 0;
}

.comments h2{
    font-size: 2.2rem;
    margin-top: 0px;
}


.comments-container {
    display: grid; /* 使用grid布局 */
    grid-template-columns: repeat(2, 1fr); /* 每行两个区块 */
    grid-gap: 80px; /* 每个区块之间的间距 */
    margin-top: 60px;
}

.comment-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-bottom: 1px solid rgb(124,137,149,0.2);;
    
}

.comment-item:nth-child(5),
.comment-item:nth-child(6) {
    border-bottom: none;
}


.comment-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-header img {
    border-radius: 50%; /* 头像圆形 */
}

.comment-header svg {
    width: 110px;
    height: 20px;
    color:#ff4062;
}

.comment-item p{
    text-align: left;
}


.comment-content {
    font-size: 1rem;
    line-height: 1.5;
    margin: 10px 0 0 54px;
    color: #000;
}

.comment-name {
    font-size: 0.8rem;
    font-weight: bold;
    margin: 18px 0 0 54px;
    color: rgb(124,137,149);
}

.comment-date {
    font-size: 0.8rem;
    margin: 6px 0 30px 54px;
    color: rgb(124,137,149);
}

/* 通栏区块 */

.stats{
    width: 100%; /* 让 section 占据整个页面宽度 */
    margin: 0; /* 清除默认的外边距 */
    padding: 80px 0; /* 设置上下内边距 */
    background-color: #FFE8E8; /* 设置背景色，可根据需要调整 */
    box-sizing: border-box; /* 确保内边距包含在宽度内 */
    margin-top: 60px;
}

.stats-container{
  width: 1220px;
  margin: 0 auto;
  text-align: center;
}

.stats-container h2{
  font-size: 3rem;
  color: rgb(15,23,42);
  margin: 0;
}

.stats .stats-container ul{
  width: 420px; /* 固定宽度 */
  padding: 60px 0; /* 上下内边距 */
  margin: 0 auto; /* 居中对齐 */
  list-style: none; /* 去掉默认的列表样式 */
  border-bottom: 1px solid #ddd; /* 底部边框线 */
  display: flex; /* 使用 Flexbox 布局 */
  justify-content: space-between; /* 左中右分布 */
}

.stats .stats-container ul li{
  width: 30%; /* 每个 li 占 30% 的宽度 */
  text-align: center; /* 内容居中对齐 */
}

.stats .stats-container ul li .score{
  font-size: 3rem;
  font-weight: bold;
  margin: 0;
  color: #ff4062;
}

.stats .stats-container ul li .item{
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 0;
  color: rgb(15,23,42);
}

.stats .stats-container ul li .praise{
  font-size: 0.8rem;
  margin-top: 10px;
  margin-bottom: 0;
  color: rgb(71,85,105)
}

.stats .stats-container .statsdwonload-btn{
  width: 120px;
  height: 52px;
  background-color: #ff4062;
  border: none;
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 40px;
}

.stats .stats-container .statsdwonload-btn:hover{
  background-color: #db2c52;
}


footer{
  max-width: 1280px; 
  width: 100%; 
  margin: 0 auto; 
  margin-top: 60px;
  text-align: center;
  font-size: 1rem;
  color: rgb(75, 85, 105, 1);
}
/* 移动端媒体查询 */
@media screen and (max-width: 768px) {
  main{
    padding-top: 2rem;
  }
  .banner{
    width: 100%;
    display: block;
  }
  .banner .left-side{
    width: 100%;
  }
  .banner .left-side h1{
    font-size: 2.5rem;
    font-weight: bold;
  }
  .banner .left-side ul{
    width: 98%;
  }
  
  .banner .left-side ul li{
    white-space: normal;
  }

  .banner .left-side ul li svg{
    width: 20px;
    height: 20px;
  }

  .banner .left-side button{
    margin: 0 0 20px 20px;
    
  }

  .comments-container{
    width: 90%;
    grid-gap: 30px
  }

  .features{
    margin-top: 5rem;
  }

  .features .functions{
    width: 90%;
  }
  .features .product-preview{
    height: 100%;
  }
  .comments{
    margin-top: 5rem;
  }
  .stats-container{
    width: 100%;
  }

  .stats .stats-container ul{
    width: 90%;
  }
  
}