.home-agent {
  position: relative;
  overflow: hidden;
  padding: 112px 24px;
  background:
    radial-gradient(circle at 8% 12%, rgba(86, 58, 255, 0.12), transparent 34%),
    radial-gradient(circle at 92% 88%, rgba(0, 111, 255, 0.1), transparent 30%),
    #f7f8ff;
}

.home-agent__shell {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.home-agent__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(460px, 1.14fr);
  gap: 72px;
  align-items: center;
}

.home-agent__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: #5145e5;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-agent__eyebrow img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.home-agent__title {
  max-width: 650px;
  margin: 0 0 22px;
  color: #171a3d;
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.home-agent__description {
  max-width: 620px;
  margin: 0;
  color: #626783;
  font-size: 18px;
  line-height: 1.75;
}

.home-agent__availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 9px 13px;
  border: 1px solid rgba(81, 69, 229, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #4f5472;
  font-size: 13px;
  font-weight: 700;
}

.home-agent__availability::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #20b26b;
  box-shadow: 0 0 0 4px rgba(32, 178, 107, 0.12);
  content: "";
}

.home-agent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.home-agent__button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(81, 69, 229, 0.22);
  border-radius: 11px;
  color: #5145e5;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.home-agent__button:hover {
  border-color: #5145e5;
  transform: translateY(-2px);
}

.home-agent__button--primary {
  border-color: #563aff;
  background: #563aff;
  color: #fff;
  box-shadow: 0 14px 30px rgba(86, 58, 255, 0.22);
}

.home-agent__button--primary:hover,
.home-agent__button--primary:focus-visible {
  border-color: #4830e6;
  background: #4830e6;
  color: #fff;
}

.home-agent__visual {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(81, 69, 229, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 28px 70px rgba(39, 39, 91, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.home-agent__visual::before {
  position: absolute;
  inset: -18px -18px auto auto;
  width: 92px;
  height: 92px;
  border-radius: 28px;
  background: linear-gradient(135deg, #563aff, #3791ff);
  opacity: 0.2;
  content: "";
  transform: rotate(12deg);
}

.home-agent__visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  border-radius: 18px;
}

.home-agent__features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 56px;
}

.home-agent__feature {
  min-height: 210px;
  padding: 28px;
  border: 1px solid rgba(81, 69, 229, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 32px rgba(39, 39, 91, 0.06);
}

.home-agent__feature-number {
  display: inline-flex;
  width: 36px;
  height: 36px;
  margin-bottom: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #eeecff;
  color: #5145e5;
  font-size: 13px;
  font-weight: 900;
}

.home-agent__feature h3 {
  margin: 0 0 12px;
  color: #20234a;
  font-size: 21px;
  line-height: 1.3;
}

.home-agent__feature p {
  margin: 0;
  color: #686d88;
  font-size: 15px;
  line-height: 1.7;
}

@media screen and (max-width: 991px) {
  .home-agent {
    padding: 88px 24px;
  }

  .home-agent__intro {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .home-agent__visual {
    width: min(720px, 100%);
    margin: 0 auto;
  }
}

@media screen and (max-width: 767px) {
  .home-agent {
    padding: 72px 20px;
  }

  .home-agent__title {
    font-size: 40px;
  }

  .home-agent__description {
    font-size: 16px;
  }

  .home-agent__features {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }
}

@media screen and (max-width: 479px) {
  .home-agent__title {
    font-size: 34px;
  }

  .home-agent__actions,
  .home-agent__button {
    width: 100%;
  }

  .home-agent__visual {
    padding: 10px;
    border-radius: 20px;
  }

  .home-agent__feature {
    min-height: 0;
  }
}
