/* Transparent glass-style statistics cards */
.hero-stat-card{
  position:relative;
  overflow:hidden;
  background:rgba(255,255,255,.12) !important;
  border:1px solid rgba(255,255,255,.26) !important;
  box-shadow:0 10px 28px rgba(0,0,0,.16) !important;
  backdrop-filter:blur(10px) saturate(125%) !important;
  -webkit-backdrop-filter:blur(10px) saturate(125%) !important;
  transition:
    transform .32s ease,
    background .32s ease,
    border-color .32s ease,
    box-shadow .32s ease !important;
  animation:heroStatFadeUp .7s ease both;
}

/* Staggered entrance */
.hero-stat-card:nth-child(1){animation-delay:.08s}
.hero-stat-card:nth-child(2){animation-delay:.16s}
.hero-stat-card:nth-child(3){animation-delay:.24s}
.hero-stat-card:nth-child(4){animation-delay:.32s}
.hero-stat-card:nth-child(5){animation-delay:.40s}
.hero-stat-card:nth-child(6){animation-delay:.48s}

/* Subtle moving highlight */
.hero-stat-card::before{
  content:"";
  position:absolute;
  top:-30%;
  left:-80%;
  width:55%;
  height:160%;
  transform:rotate(18deg);
  background:linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.18),
    transparent
  );
  animation:heroStatShine 6s ease-in-out infinite;
  pointer-events:none;
}

/* Orange accent glow */
.hero-stat-card::after{
  content:"";
  position:absolute;
  left:18%;
  right:18%;
  bottom:0;
  height:2px;
  background:linear-gradient(
    90deg,
    transparent,
    rgba(229,138,0,.95),
    transparent
  );
  opacity:.9;
}

.hero-stat-card strong{
  position:relative;
  z-index:2;
  color:#fff !important;
  text-shadow:0 2px 8px rgba(0,0,0,.25);
}

.hero-stat-card span{
  position:relative;
  z-index:2;
  color:rgba(255,255,255,.88) !important;
  text-shadow:0 1px 4px rgba(0,0,0,.18);
}

/* Hover interaction */
@media (hover:hover) and (pointer:fine){
  .hero-stat-card:hover{
    transform:translateY(-6px) scale(1.02);
    background:rgba(255,255,255,.20) !important;
    border-color:rgba(229,138,0,.75) !important;
    box-shadow:0 16px 36px rgba(0,0,0,.22) !important;
  }
}

@keyframes heroStatFadeUp{
  from{
    opacity:0;
    transform:translateY(18px) scale(.97);
  }
  to{
    opacity:1;
    transform:translateY(0) scale(1);
  }
}

@keyframes heroStatShine{
  0%,72%{left:-80%}
  100%{left:135%}
}

/* Gentle floating effect for the whole stats group */
.hero-stats-overlay{
  animation:heroStatsFloat 5.5s ease-in-out infinite;
}

@keyframes heroStatsFloat{
  0%,100%{transform:translateY(-50%)}
  50%{transform:translateY(calc(-50% - 4px))}
}

@media(max-width:1050px){
  .hero-stats-overlay{
    animation:heroStatsFloatTablet 5.5s ease-in-out infinite;
  }

  @keyframes heroStatsFloatTablet{
    0%,100%{transform:translateX(-50%) translateY(0)}
    50%{transform:translateX(-50%) translateY(-3px)}
  }
}

@media(prefers-reduced-motion:reduce){
  .hero-stat-card,
  .hero-stat-card::before,
  .hero-stats-overlay{
    animation:none !important;
    transition:none !important;
  }
}
