/**
 * Stat Card Widget - Individual stat card element
 * From: .problem-parallax__stat-row in index.html
 * Prefix: .nw-statc-
 */

.nw-statc-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nw-statc-card:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Icon */
.nw-statc-card__icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nw-statc-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nw-statc-card__icon svg {
  width: 100%;
  height: 100%;
  color: #000000;
}

/* Content */
.nw-statc-card__content {
  flex: 1;
}

/* Number */
.nw-statc-card__number {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 8px;
}

.nw-statc-card__number span {
  color: #B8A5E5;
}

/* Description */
.nw-statc-card__desc {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
}

/* Variations */
.nw-statc-card--vertical {
  flex-direction: column;
  text-align: center;
  align-items: center;
}

.nw-statc-card--vertical .nw-statc-card__icon {
  margin-bottom: 8px;
}

/* Alignment variations */
.nw-statc-card--left {
  text-align: left;
}

.nw-statc-card--center {
  text-align: center;
  align-items: center;
}

.nw-statc-card--center .nw-statc-card__content {
  text-align: center;
}

.nw-statc-card--right {
  text-align: right;
  align-items: flex-end;
}

.nw-statc-card--right .nw-statc-card__content {
  text-align: right;
}

/* Responsive */
@media (max-width: 768px) {
  .nw-statc-card {
    flex-direction: column;
    padding: 24px;
  }
  
  .nw-statc-card__number {
    font-size: 28px;
  }
}
