/*=============================================
=          Home page: About Impetus           =
=============================================*/
.about-home {
  position: relative;
  padding: 104px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 18%, rgba(128, 93, 205, 0.12), transparent 40%),
    radial-gradient(circle at 4% 90%, rgba(128, 93, 205, 0.08), transparent 36%),
    #fff;
}

.about-home__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}

.about-home__tag {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 14px;
  border-radius: 20px;
  background: #eee7ff;
  color: #6340b5;
  font-size: 14px;
  font-weight: 500;
}

.about-home h2 {
  margin: 0 0 18px;
  color: #28233e;
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.01em;
}

.about-home h2 span {
  background: linear-gradient(90deg, #6340b5, #a46ff0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-home__lead {
  margin: 0 0 28px;
  color: #5f5b70;
  font-size: 17px;
  line-height: 1.65;
}

.about-home__pillars {
  display: grid;
  gap: 4px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.about-home__pillars li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #5f5b70;
  font-size: 15px;
  line-height: 1.55;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.about-home__pillars li:hover {
  border-color: #e4dcf7;
  background: #f8f6fd;
  transform: translateX(4px);
}

.about-home__pillars strong {
  display: block;
  margin-bottom: 2px;
  color: #28233e;
  font-size: 17px;
  font-weight: 600;
}

.about-home__pillars a {
  color: #6340b5;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-home__icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #805dcd, #5a33c2);
  color: #fff;
  font-size: 19px;
  box-shadow: 0 8px 18px rgba(99, 64, 181, 0.25);
}

.about-home__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
}

.about-home__btn {
  padding: 13px 28px;
  border-radius: 8px;
  background: #805dcd;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.about-home__btn:hover {
  background: #6340b5;
  color: #fff;
}

.about-home__link {
  color: #6340b5;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}

.about-home__link i {
  margin-left: 6px;
  transition: transform 0.2s ease;
}

.about-home__link:hover {
  color: #805dcd;
}

.about-home__link:hover i {
  transform: translateX(4px);
}

/* Visual */
.about-home__visual {
  position: relative;
  width: min(100%, 460px);
  margin: 0 auto;
  padding: 40px 48px 56px;
}

.about-home__visual::before {
  content: '';
  position: absolute;
  inset: 8px 0 24px 60px;
  border-radius: 40px;
  background: linear-gradient(140deg, #d8cdf0, #805dcd 70%, #5a33c2);
  transform: rotate(6deg);
}

.about-home__frame {
  position: relative;
  overflow: hidden;
  border: 6px solid #fff;
  border-radius: 32px;
  box-shadow: 0 24px 60px rgba(40, 35, 62, 0.22);
}

.about-home__launch {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 368 / 490;
  font-family: 'Geist', sans-serif;
}

.about-home__launch-kicker {
  fill: #cdb8ff;
  font-size: 17px;
  font-weight: 500;
}

.about-home__launch-title {
  fill: #fff;
  font-size: 28px;
  font-weight: 600;
}

.about-home__launch-step text {
  font-size: 12px;
  font-weight: 600;
}

.about-home__launch-small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.about-home__seal {
  position: absolute;
  top: 0;
  right: 0;
  width: 116px;
  height: 116px;
  filter: drop-shadow(0 8px 18px rgba(40, 35, 62, 0.18));
}

.about-home__seal circle {
  fill: #fff;
}

.about-home__seal text {
  fill: #6340b5;
  font-family: 'Geist', sans-serif;
  font-size: 11px;
  font-weight: 600;
  transform-origin: 60px 60px;
  animation: about-spin 18s linear infinite;
}

.about-home__seal-bolt {
  fill: #805dcd;
}

.about-home__chip {
  position: absolute;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  border: 1px solid rgba(228, 220, 247, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: #5f5b70;
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(40, 35, 62, 0.16);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation: about-float 5s ease-in-out infinite;
}

.about-home__chip strong {
  color: #28233e;
  font-size: 18px;
  font-weight: 600;
}

.about-home__chip--duo {
  right: 0;
  bottom: 12px;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 250px;
  padding: 14px 16px;
  animation-delay: -2.5s;
}

.about-home__chip--duo:hover {
  color: #5f5b70;
  border-color: #805dcd;
}

.about-home__duo-tag {
  color: #6340b5;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.about-home__duo-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 22px;
  gap: 10px;
  align-items: center;
}

.about-home__duo-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  background: #eee7ff;
  color: #6340b5;
  font-size: 14px;
}

.about-home__duo-icon--eng {
  background: #dcfce7;
  color: #15803d;
}

.about-home__duo-text {
  color: #28233e;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.3;
}

/* Without animation both steps show as done */
.about-home__duo-status {
  display: grid;
  place-items: center;
}

.about-home__duo-status > * {
  grid-area: 1 / 1;
}

.about-home__duo-dots {
  display: flex;
  gap: 3px;
  opacity: 0;
}

.about-home__duo-dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #805dcd;
  animation: about-dot 0.9s ease-in-out infinite;
}

.about-home__duo-dots i:nth-child(2) {
  animation-delay: 0.15s;
}

.about-home__duo-dots i:nth-child(3) {
  animation-delay: 0.3s;
}

.about-home__duo-done {
  color: #22c55e;
  font-size: 18px;
}

.about-home__duo-status--ai .about-home__duo-dots {
  animation: about-busy-ai 6s linear infinite;
}

.about-home__duo-status--ai .about-home__duo-done {
  animation: about-done-ai 6s linear infinite;
}

.about-home__duo-status--eng .about-home__duo-dots {
  animation: about-busy-eng 6s linear infinite;
}

.about-home__duo-status--eng .about-home__duo-done {
  animation: about-done-eng 6s linear infinite;
}

@keyframes about-dot {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  50% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

@keyframes about-busy-ai {
  0%,
  40% {
    opacity: 1;
  }
  42%,
  100% {
    opacity: 0;
  }
}

@keyframes about-done-ai {
  0%,
  40% {
    opacity: 0;
    transform: scale(0.4);
  }
  44% {
    opacity: 1;
    transform: scale(1.2);
  }
  48%,
  94% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
  }
}

@keyframes about-busy-eng {
  0%,
  40% {
    opacity: 0.25;
  }
  42%,
  76% {
    opacity: 1;
  }
  78%,
  100% {
    opacity: 0;
  }
}

@keyframes about-done-eng {
  0%,
  76% {
    opacity: 0;
    transform: scale(0.4);
  }
  80% {
    opacity: 1;
    transform: scale(1.2);
  }
  84%,
  94% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
  }
}

.about-home a:focus-visible {
  outline: 3px solid #805dcd;
  outline-offset: 3px;
}

@keyframes about-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes about-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 991px) {
  .about-home {
    padding: 72px 0;
  }

  .about-home__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
}

@media (max-width: 575px) {
  .about-home__visual {
    padding: 28px 20px 48px;
  }

  .about-home__visual::before {
    inset: 8px 0 24px 36px;
  }

  .about-home__seal {
    width: 88px;
    height: 88px;
  }

  .about-home__chip {
    padding: 10px 14px;
  }

  .about-home__chip--duo {
    width: 220px;
  }

  .about-home__duo-text {
    font-size: 12.5px;
  }

  .about-home__pillars li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 12px 8px;
  }

  .about-home__icon {
    width: 42px;
    height: 42px;
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-home__seal text,
  .about-home__chip,
  .about-home__duo-dots,
  .about-home__duo-dots i,
  .about-home__duo-done {
    animation: none !important;
  }

  .about-home__pillars li {
    transition: none;
  }

  .about-home__pillars li:hover {
    transform: none;
  }
}
