/* ==================== stats.css ==================== */

.stats{
    padding:50px 0;
    background:#fff;
    position:relative;
    z-index:1;
  }
  .stats-inner{
    display:grid;
    grid-template-columns:1fr 1.4fr;
    /* gap:80px; */
    gap: 64px;
    align-items:center;
  }
  
     /* ===== 左侧数据 ===== */
     .stats-list{
      display: flex;
      flex-direction: column; /* 星星在上，卡片在下 */
      gap: 62px;
    }
    .stats-stars{
      display: flex;
      width: 100%;             /* 新增：占满整行宽度 */
      justify-content: center; /* 居中 */
      gap: 12px;
      color: var(--secend-color); 
      margin-bottom: 4px;
    }
    
    /* 三个指标横排 */
    .stats-cards-row{
      display: flex;
      gap: 15px;
      justify-content: space-between;
    }
    .stat-card{
      flex: 1; /* 平均分配宽度 */
      background: #FDF7EF; /* 浅米色背景，同截图 */
      border-radius: 12px;
      padding: 20px 4px;
      text-align: center;
      box-shadow: 0 4px 10px rgba(0,0,0,.03);
      transition: transform .3s ease;
    }
    
    .stat-card-num{
      font-size: 1.6rem; /* 数字大小 */
      font-weight: 800;
      color: var(--secend-color); /* 橙色数字 */
      line-height: 1.2;
      margin-bottom: 6px;
      letter-spacing: -.5px;
    }
    .stat-card-label{
      font-size: .85rem;
      font-weight: 600;
      color: var(--text);
      line-height: 1.3;
    }
  
  
  /* 右侧视频 */
  .stats-video{
    position:relative;
    width:100%;
    aspect-ratio:16 / 9;
    border-radius:12px;
    overflow:hidden;
    background:#000;
    box-shadow:0 30px 70px rgba(0,0,0,.18);
  }
  .stats-video-el{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
  }
  .stats-video-play{
    position:absolute;
    left:50%;top:50%;
    transform:translate(-50%,-50%);
    width:88px;height:88px;
    border-radius:50%;
    border:none;
    background:rgba(255,255,255,.22);
    backdrop-filter:blur(6px);
    -webkit-backdrop-filter:blur(6px);
    color:#fff;
    display:grid;place-items:center;
    cursor:pointer;
    box-shadow:0 12px 34px rgba(0,0,0,.35);
    transition:background .3s ease, transform .3s ease, opacity .3s ease;
  }
  .stats-video-play::after{
    content:"";
    position:absolute;
    inset:-14px;
    border-radius:50%;
    border:2px solid rgba(255,255,255,.45);
    animation:statsPulse 2s ease-out infinite;
  }
  @keyframes statsPulse{
    0%  { transform:scale(1);    opacity:.75; }
    100%{ transform:scale(1.35); opacity:0;   }
  }
  .stats-video-play:hover{
    background:var(--accent);
    color:var(--primary-dark);
    transform:translate(-50%,-50%) scale(1.08);
  }
  .stats-video.playing .stats-video-play{
    opacity:0;
    pointer-events:none;
  }
  
  @media (max-width:900px){
    .stats{ padding:80px 0; }
    .stats-inner{
      grid-template-columns:1fr;
      gap:48px;
    }
    .stats-list{
      flex-direction:row;
      justify-content:space-around;
      gap:20px;
    }
    .stats-num{ font-size:2.4rem; }
    .stats-num span{ font-size:1.2rem; }
    .stats-label{ font-size:.85rem; }
    .stats-video-play{ width:64px; height:64px; }
    .stats-video-play svg{ width:24px; height:24px; }
  }
  @media (max-width:520px){
    .stats-list{
      flex-direction:column;
      gap:32px;
    }
    .stats-num{ font-size:2.2rem; }
  }