.about-page {
  direction: rtl;
  color: #f3f4f6;
  padding: 40px 0 80px;
}

.about-hero__container,
.about-team {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.about-hero {
  padding: 24px 0 60px;
}

.about-hero__container {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 36px;
  align-items: center;
  min-height: 520px;
  padding: 28px;
  border-radius: 28px;
  /* background: rgba(255, 255, 255, 0.03); */
  background-color: transparent;
  /* border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25); */
}

.about-hero__content {
  text-align: right;
}

.about-hero__badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.2);
  font-size: 13px;
  margin-bottom: 16px;
}

.about-hero__title {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1.25;
  font-weight: 800;
  background: linear-gradient(90deg, #f59e0b, #ec4899);
  /* -webkit-background-clip: text; */
  background: linear-gradient(90deg, #f59e0b, #ec4899);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;

  -webkit-text-fill-color: transparent;

  margin-bottom: 23px;
}

.about-hero__text {
  margin: 0 0 16px;
  color: #cbd5e1;
  line-height: 2;
  font-size: 15px;
  margin-bottom: 20px;
}

.about-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 14px;
  margin-top: 24px;
  align-items: stretch;
}

.about-stat {
  min-width: 0;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
}

.about-stat__num {
  display: block;
  margin: 0;
  color: #f59e0b;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
}

.about-stat__label {
  display: block;
  margin: 0;
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.4;
}

.about-hero__image-wrap {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-hero__image-glow {
  position: absolute;
  inset: 50px;
  background: radial-gradient(circle, #fd790e51, transparent 80%);
  filter: blur(100px);
  z-index: 0;
}

.about-hero__image {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  height: 90%;
  object-fit: contain;
  border-radius: 24px;
}

.about-team {
  padding-top: 24px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 28px;
  justify-items: center;
}

.about-section-head {
  width: 100%;
  max-width: 760px;
  text-align: center;
  display: grid;
  place-items: center;
  gap: 10px;
  margin: 0;
}

.about-section-title {
  margin: 0;
  font-size: clamp(1.6rem, 2vw, 2.4rem);
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.3;
}

.about-section-subtitle {
  margin: 0;
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.9;
}

.about-team__grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 20px;
  justify-items: center;
  align-items: stretch;
}

.team-card {
  width: 100%;
  max-width: 320px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 1;
  transform: translateY(0);
}

.team-card.is-animated {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.25);
}

.team-card__image-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.08), transparent);
  margin-bottom: 16px;
}

.team-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__name {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: #f8fafc;
}

.team-card__role {
  margin: 0 0 16px;
  color: #f59e0b;
  font-size: 14px;
}

.team-card__socials {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.team-card__socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* background: rgba(255, 255, 255, 0.06); */
  /* border: 1px solid rgba(255, 255, 255, 0.08); */
  transition: 0.2s ease;
}
#Telegram {
  width: 40px;
  height: auto;
}
#Github {
  width: 51px;
  height: auto;
}
.team-card__socials a:hover {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.25);
}

.team-card__socials img {
  width: 38px;
  height: 38px;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 992px) {
  .about-hero__container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-hero__content {
    text-align: center;
  }

  .about-hero__image-wrap {
    min-height: 320px;
  }

  .about-team__grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width: 640px) {
  .about-hero__container {
    padding: 18px;
    border-radius: 22px;
  }

  .about-hero__stats {
    grid-template-columns: 1fr;
  }

  .about-team__grid {
    grid-template-columns: 1fr;
  }
}
