/* ==================================================
   ABOUT
================================================== */

/* ==================================================
   ABOUT SECTION
================================================== */

.about {
  padding-block: 5rem;
}

/* ==================================================
   ABOUT LAYOUT
================================================== */

.about__layout {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 4rem;

  align-items: center;
}

/* ==================================================
   ABOUT CONTENT
================================================== */

.about__eyebrow {
  display: inline-block;

  margin-bottom: 1.5rem;
  padding: 0.25rem 0.7rem;

  background: rgba(30, 41, 59, 0.55);

  border-radius: 4px;

  color: #526ff5;

  font-size: 0.75rem;
  font-weight: 500;

  letter-spacing: 2px;
  text-transform: uppercase;
}

.about__title {
  margin-bottom: 1.25rem;

  color: #f1f5f9;

  font-size: 2.4rem;
  font-weight: 700;

  line-height: 1.25;
}

.about__description {
  max-width: 500px;

  margin-bottom: 1.75rem;

  color: #94a3b8;

  font-size: 0.95rem;

  line-height: 1.7;
}

/* ==================================================
   ABOUT BUTTON
================================================== */

.about__button {
  display: inline-flex;

  align-items: center;

  gap: 0.75rem;

  padding: 0.7rem 1.25rem;

  border: 1px solid rgba(226, 232, 240, 0.7);

  border-radius: 0.4rem;

  color: #e6e7e8;

  font-size: 0.85rem;

  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.about__button:hover {
  background: rgba(82, 111, 245, 0.1);

  border-color: #526ff5;

  transform: translateY(-2px);
}

.about__button i {
  font-size: 0.8rem;
}

/* ==================================================
   ABOUT STATS
================================================== */

.about__stats {
  display: grid;

  grid-template-columns: repeat(2, 1fr);
}

/* ==================================================
   STAT
================================================== */

.stat {
  display: flex;

  align-items: center;

  gap: 1rem;

  min-height: 95px;

  padding: 1rem 1.5rem;
}

.stat:first-child {
  border-right: 1px solid rgba(148, 163, 184, 0.15);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.stat:nth-child(2) {
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.stat:nth-child(3) {
  border-right: 1px solid rgba(148, 163, 184, 0.15);
}

/* ==================================================
   STAT ICON
================================================== */

.stat__icon {
  display: flex;

  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  width: 3.25rem;
  height: 3.25rem;

  border: 1px solid rgba(82, 111, 245, 0.35);

  border-radius: 0.5rem;

  background: linear-gradient(135deg, #526ff5, #7b4deb);

  color: #ffffff;

  font-size: 1.25rem;

  box-shadow: 0 8px 20px rgba(82, 111, 245, 0.12);
}

/* ==================================================
   STAT CONTENT
================================================== */

.stat__content {
  display: flex;

  flex-direction: column;

  gap: 0.15rem;
}

.stat__number {
  color: #f1f5f9;

  font-size: 1.8rem;
  font-weight: 700;

  line-height: 1.1;
}

.stat__label {
  color: #94a3b8;

  font-size: 0.8rem;

  line-height: 1.4;
}

/* ==================================================
   STAT HOVER
================================================== */

.stat__icon {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.stat:hover .stat__icon {
  transform: translateY(-2px);

  box-shadow: 0 10px 25px rgba(82, 111, 245, 0.2);
}

/* ==================================================
   TABLET
   1024px
================================================== */

@media (max-width: 1024px) {
  .about {
    padding-block: 4.5rem;
  }

  .about__layout {
    gap: 3rem;
  }

  /* Content */

  .about__content {
    max-width: 480px;
  }

  .about__title {
    font-size: 2.1rem;
  }

  .about__description {
    font-size: 0.9rem;
  }

  /* Stats */

  .stat {
    gap: 0.75rem;

    min-height: 90px;

    padding: 1rem;
  }

  .stat__icon {
    width: 3rem;
    height: 3rem;

    font-size: 1.1rem;
  }

  .stat__number {
    font-size: 1.5rem;
  }

  .stat__label {
    font-size: 0.75rem;
  }
}

/* ==================================================
   MOBILE
   768px
================================================== */

@media (max-width: 768px) {
  .about {
    padding-block: 4rem;
  }

  /* Layout */

  .about__layout {
    grid-template-columns: 1fr;

    gap: 3rem;
  }

  /* Content */

  .about__content {
    max-width: 600px;

    margin-inline: auto;

    text-align: center;
  }

  .about__eyebrow {
    margin-bottom: 1rem;
  }

  .about__title {
    margin-bottom: 1rem;

    font-size: 2rem;
  }

  .about__description {
    max-width: 600px;

    margin-inline: auto;

    margin-bottom: 1.5rem;

    font-size: 0.9rem;

    line-height: 1.65;
  }

  .about__button {
    justify-content: center;
  }

  /* Stats */

  .about__stats {
    width: 100%;
  }

  .stat {
    min-height: 90px;

    padding: 1rem 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.15);
  }
}

/* ==================================================
   SMALL MOBILE
   480px
================================================== */

@media (max-width: 480px) {
  .about {
    padding-block: 3.5rem;
  }

  /* Layout */

  .about__layout {
    gap: 2.5rem;
  }

  /* Content */

  .about__eyebrow {
    margin-bottom: 1rem;

    padding: 0.2rem 0.6rem;

    font-size: 0.65rem;

    letter-spacing: 1.5px;
  }

  .about__title {
    margin-bottom: 1rem;

    font-size: 1.75rem;

    line-height: 1.25;
  }

  .about__description {
    font-size: 0.85rem;

    line-height: 1.6;
  }

  /* Button */

  .about__button {
    padding: 0.65rem 1rem;

    font-size: 0.8rem;
  }

  /* Stats */

  .about__stats {
    grid-template-columns: 1fr;
  }

  .stat {
    min-height: 80px;

    padding: 0.9rem 1rem;
  }

  .stat__icon {
    width: 2.75rem;
    height: 2.75rem;

    font-size: 1rem;
  }

  .stat__number {
    font-size: 1.35rem;
  }

  .stat__label {
    font-size: 0.72rem;
  }
}
