﻿.blob {
  position: absolute;
  z-index: 1;
}
.blob:nth-child(2) {
  width: 250px;
  aspect-ratio: 1;
  left: 33%;
  top: -200px;
  background-image: radial-gradient(
    circle,
    rgba(204, 51, 51, 0.5) 0%,
    transparent 70%
  );
}
.blob:nth-child(3) {
  width: 400px;
  aspect-ratio: 1;
  left: -300px;
  top: 15%;
  background-image: radial-gradient(
    circle,
    rgba(204, 51, 51, 0.5) 0%,
    transparent 70%
  );
}
.blob:nth-child(4) {
  width: 600px;
  aspect-ratio: 1;
  left: -400px;
  top: 40%;
  background-image: radial-gradient(
    circle,
    rgba(204, 102, 51, 0.2) 0%,
    transparent 70%
  );
}
.blob:nth-child(5) {
  width: 600px;
  aspect-ratio: 1;
  left: calc(100% - 200px);
  top: 60%;
  background-image: radial-gradient(
    circle,
    rgba(204, 102, 51, 0.2) 0%,
    transparent 70%
  );
}
.blob:nth-child(5) {
  width: 400px;
  aspect-ratio: 1;
  left: -300px;
  top: 80%;
  background-image: radial-gradient(
    circle,
    rgba(204, 77, 51, 0.2) 0%,
    transparent 70%
  );
}
.hero {
  display: flex;
  margin-top: 50px;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
.hero__image {
  flex: 1 1 0;
  background-image: radial-gradient(
    circle,
    rgba(223, 96, 42, 0.5) 0%,
    transparent 50%
  );
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  min-width: 300px;
}
.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__content {
  flex: 1 1 0;
  max-width: 500px;
  min-width: 350px;
}
.hero__title {
  margin-top: 40px;
}
.hero__title span {
  color: #df602a;
}
.hero__description {
  color: #9999a7;
  line-height: 1.5;
  margin-top: 24px;
}
.hero__button {
  margin-top: 30px;
  display: inline-flex;
}
.stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  text-align: center;
  margin-top: 60px;
  flex-wrap: wrap;
}
.stats__count {
  font-size: 36px;
  font-weight: 600;
}
.stats__count::after {
  content: "+";
}
.stats__title {
  color: #9999a7;
  margin-top: 12px;
}
.features {
  display: flex;
  margin-top: 60px;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
@media screen and (max-width: 900px) {
  .features {
    flex-direction: column;
    justify-content: center;
    gap: 20px;
  }
}
.features__image {
  flex: 1 1 0;
  display: grid;
  place-items: center;
  background-image: radial-gradient(
    circle,
    rgba(213, 45, 45, 0.3) 0%,
    transparent 50%
  );
  background-repeat: no-repeat;
  background-position: center;
}
.features__list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex: 1 1 0;
}
.feature {
  display: flex;
  align-items: center;
  justify-content: start;
  border: 1px solid #51515a;
  padding: 16px;
  gap: 12px;
  border-radius: 8px;
  flex-wrap: wrap;
}
.feature__icon {
  color: #df602a;
  font-size: 42px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 16px;
}
.feature__content {
  flex-grow: 1;
  flex-basis: 0;
  min-width: 240px;
}
.feature__title {
  font-size: 24px;
  font-weight: 600;
}
.feature__description {
  color: #9999a7;
  margin-top: 12px;
  line-height: 1.5;
}
.comments {
  margin-top: 60px;
}
.comments__list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
  max-width: 100%;
  align-items: start;
}
.comment {
  flex: 1 1 0;
  border: 1px solid #51515a;
  padding: 15px;
  border-radius: 10px;
  min-width: 300px;
}
.comment__title {
  font-size: 24px;
  font-weight: 600;
}
.comment__body {
  color: #9999a7;
  margin-top: 12px;
  line-height: 1.5;
}
.comment__author {
  margin-bottom: 12px;
  color: #9999a7;
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  gap: 8px;
}
.comment__avatar {
  width: 32px;
  aspect-ratio: 1;
  background-color: #51515a;
  border-radius: 100px;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
}
.comment__link {
  display: inline-block;
  margin-top: 12px;
  color: #df602a;
  font-size: 14px;
  font-weight: 500;
}
.comment__link::after {
  content: "\f061";
  font-family: "Font Awesome 6 Pro";
  margin-top: 4px;
  translate: 5px;
  display: inline-block;
  transition: all 0.2s ease-in-out;
}
.comment__link:hover::after {
  translate: 10px;
}
.plans {
  margin-top: 60px;
}
.plans__list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}
.plan {
  border: 1px solid #51515a;
  padding: 15px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.plan__button {
  margin-top: 12px;
}
.plan__name {
  font-size: 28px;
  font-weight: 600;
}
.plan__price {
  color: #df602a;
  font-size: 24px;
  font-weight: 700;
  margin-top: 4px;
}
.plan__price::after {
  content: " ₽/м";
}
.plan table {
  margin-top: 20px;
  color: #9999a7;
}
.plan table td {
  padding: 4px;
}
.plan table td:nth-child(2) {
  padding-right: 60px;
}
.plan table td:nth-child(3) {
  color: #fff;
  font-weight: 500;
}
.plan table :where(tr:nth-child(1), tr:nth-child(2)) td:nth-child(3)::after {
  content: " ГБ";
}
.plan table tr:nth-child(3) td:nth-child(3)::after {
  content: "%";
}
/* Код для ленты "Популярно" */
.ribbon {
  position: relative;
  overflow: hidden;
  width: 240px; /* Можно настроить ширину по потребности */
  height: 25px; /* Можно настроить высоту по потребности */
  text-align: center;
  font-size: 12px;
  line-height: 25px; /* Должно соответствовать высоте, чтобы текст был по центру */
  color: white;
  font-weight: bold;
  background-color: #DF602A;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  position: absolute;
  top: 20px; /* Можно настроить положение по потребности */
  right: -90px; /* Можно настроить положение по потребности */
}

/* Дополнительные стили, если нужно спрятать часть ленты за пределами блока */
.plan {
  position: relative; /* Объявляем элемент относительно позиционированным для того, чтобы .ribbon размещался относительно него */
  overflow: hidden; /* Убирает видимость всего, что выходит за границы блока */
}