:root {
  --very-dark-blue: hsl(233, 47%, 7%);
  --dark-desaturated-blue: hsl(244, 38%, 16%);
  --soft-violet: hsl(277, 64%, 61%);
  --white: #ffffff;
}

body {
  background-color: var(--very-dark-blue);
  font-family: 'Inter', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
}

.stats-card {
  background-color: var(--dark-desaturated-blue);
  display: flex;
  flex-direction: row; /* Text Left, Image Right */
  max-width: 1110px;
  border-radius: 8px;
  overflow: hidden;
}

.stats-card-content {
  flex: 1;
  padding: 72px;
}

.title {
  color: var(--white);
  font-size: 2.25rem;
  margin-bottom: 25px;
}

.accent {
  color: var(--soft-violet);
}

.description {
  color: hsla(0, 0%, 100%, 0.75);
  line-height: 1.6;
  margin-bottom: 70px;
}

/* Stats Row Styling */
.stats-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stats-row {
  display: flex;
  justify-content: space-between;
  width: 90%;
}

.numbers {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
}

.labels {
  color: hsla(0, 0%, 100%, 0.6);
  font-family: 'Lexend Deca', sans-serif;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
}

/* RIGHT SIDE IMAGE FIX */
.stats-card-image-container {
  flex: 1;
  background-color: var(--soft-violet);
  position: relative;
}

.main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  mix-blend-mode: multiply; /* Tinted purple but clear */
  opacity: 0.8;
}

/* Mobile responsive */
@media (max-width: 800px) {
  .stats-card {
    flex-direction: column-reverse; /* Image on top for mobile */
    max-width: 327px;
    text-align: center;
  }
}