.hero {
  position: relative;

  padding: 96px 0;

  overflow: hidden;

  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fafcff 48%,
      #f5f8fc 100%
    );
}

.hero::before {
  content: "";

  position: absolute;
  z-index: 0;
  top: 20px;
  right: -180px;

  width: 560px;
  height: 560px;

  background:
    radial-gradient(
      rgba(14, 141, 219, 0.1),
      transparent 70%
    );

  border-radius: 50%;
}

.hero::after {
  content: "";

  position: absolute;
  z-index: 0;
  bottom: -240px;
  left: -180px;

  width: 440px;
  height: 440px;

  background:
    radial-gradient(
      rgba(14, 141, 219, 0.07),
      transparent 70%
    );

  border-radius: 50%;
}

.hero__container {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(380px, 480px);
  align-items: center;
  gap: 64px;
}

.hero__content {
  min-width: 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;

  margin-bottom: 20px;
  padding: 8px 14px;

  color: var(--color-primary);

  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 999px;

  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.hero__title {
  margin: 0 0 24px;

  color: var(--color-text);

  font-size: clamp(48px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.hero__title span {
  color: var(--color-primary);
}

.hero__description {
  max-width: 600px;
  margin: 0 0 30px;

  color: var(--color-text-light);

  font-size: 17px;
  line-height: 1.7;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;

  margin-bottom: 30px;
}

.hero__buttons .button {
  min-height: 46px;
}

.hero__features {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 22px;

  margin: 0;
  padding: 0;

  color: var(--color-text-light);

  list-style: none;

  font-size: 13px;
  font-weight: 500;
}

.hero__features li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero__features img {
  flex: 0 0 auto;

  width: 15px;
  height: 15px;

  object-fit: contain;
}

.hero__preview {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  min-width: 0;
  padding: 42px 30px;
}

.hero__card {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 420px;
  padding: 30px;

  background: var(--color-surface);
  border: 1px solid #e5e7eb;
  border-radius: 22px;

  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.hero__company {
  display: block;

  margin-bottom: 12px;

  color: var(--color-text-light);

  font-size: 13px;
  font-weight: 600;
}

.hero__position {
  margin: 0 0 12px;

  color: var(--color-text);

  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
}

.hero__salary {
  margin: 0 0 22px;

  color: var(--color-primary);

  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.hero__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;

  margin: 0;
}

.hero__skills span {
  display: inline-flex;
  align-items: center;

  min-height: 32px;
  padding: 0 12px;

  color: #475569;

  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: 999px;

  font-size: 12px;
  font-weight: 600;
}

.hero__floating {
  position: absolute;
  z-index: 2;

  min-width: 120px;
  padding: 14px 18px;

  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 16px;

  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.hero__floating strong {
  display: block;

  margin-bottom: 2px;

  color: var(--color-primary);

  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}

.hero__floating span {
  color: var(--color-text-light);

  font-size: 12px;
  line-height: 1.4;
}

.hero__floating--top {
  top: -10px;
  left: -18px;
}

.hero__floating--bottom {
  right: -16px;
  bottom: 10px;
}

@media (max-width: 1100px) {
  .hero {
    padding: 80px 0;
  }

  .hero__container {
    grid-template-columns: 1fr;
    gap: 50px;

    text-align: center;
  }

  .hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero__description {
    max-width: 650px;
  }

  .hero__buttons {
    justify-content: center;
  }

  .hero__features {
    justify-content: center;
  }

  .hero__preview {
    width: min(100%, 580px);
    margin-inline: auto;
  }

  .hero__card {
    max-width: 460px;
  }

  .hero__floating--top {
    left: 0;
  }

  .hero__floating--bottom {
    right: 0;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 64px 0;
  }

  .hero__container {
    gap: 40px;
  }

  .hero__title {
    font-size: 44px;
  }

  .hero__description {
    font-size: 15px;
  }

  .hero__preview {
    padding: 34px 24px;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 52px 0;
  }

  .hero::before {
    right: -260px;

    width: 460px;
    height: 460px;
  }

  .hero::after {
    display: none;
  }

  .hero__container {
    gap: 32px;
  }

  .hero__badge {
    margin-bottom: 16px;
    padding: 7px 12px;

    font-size: 12px;
  }

  .hero__title {
    margin-bottom: 18px;

    font-size: 36px;
    line-height: 1.1;
  }

  .hero__description {
    margin-bottom: 24px;

    font-size: 14px;
    line-height: 1.65;
  }

  .hero__buttons {
    flex-direction: column;
    gap: 10px;

    width: 100%;
    margin-bottom: 24px;
  }

  .hero__buttons .button {
    justify-content: center;

    width: 100%;
  }

  .hero__features {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;

    width: 100%;
  }

  .hero__preview {
    padding: 20px 0;
  }

  .hero__card {
    max-width: none;
    padding: 22px;

    border-radius: 18px;
  }

  .hero__position {
    font-size: 21px;
  }

  .hero__salary {
    margin-bottom: 18px;

    font-size: 18px;
  }

  .hero__floating {
    display: none;
  }
}
