.service-page .hero {
  min-height: 100vh;
  padding-top: 7.5rem;
  align-items: start;
}

.service-page .three-stage {
  transition: opacity 220ms ease;
}

.service-page .service-hero .hero-content {
  max-width: 640px;
}

.hero-content p {
  color: var(--muted);
}

.service-products {
  position: relative;
  padding-top: 4.5rem;
}

.product-stack {
  margin-top: 2.2rem;
  display: grid;
  gap: 5rem;
}

.service-product {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1rem;
}

.service-product--enhanceagi {
  grid-template-columns: 2fr 1fr;
}

.service-product__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  border-radius: 20px;
  background:
    radial-gradient(circle at 82% 9%, rgba(34, 222, 235, 0.4), transparent 70%),
    radial-gradient(circle at 82% 9%, rgba(184, 10, 242, 0.55), transparent 35%),
    radial-gradient(circle at 18% 68%, rgba(166, 27, 201, 0.5), transparent 45%),
    radial-gradient(circle at 70% 58%, rgba(201, 27, 27, 0.17), transparent 75%),
    linear-gradient(180deg, #f8fbff 0%, #f0f7ff 46%, #f8fcff 100%);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 10px 5px rgba(255, 255, 255, 0.5);
}

.service-product__icon img {
  width: 100%;
}

.service-product__head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.85rem;
}

.service-product__index {
  margin: 0;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #1ab8df, #12ba8b);
}

.service-product__logo {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.service-product__lead {
  margin: 0 0 1.5rem;
  color: #1f4a6d;
  font-weight: 600;
}

.service-product__points {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  display: grid;
  gap: 1rem;
}

.service-product__points li span {
  font-weight: 600;
}

.service-product__button {
  margin-top: 1rem;
  display: flex;
  justify-content: end;
}

.service-product__button div {
  padding: 0.5rem 1rem;
  border-color: #bbbbbb;
}

.service-product__open .service-page .contact {
  padding-top: 5.25rem;
}

.service-products-flow-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.glass-card {
  padding: 1.15rem;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 10px 5px rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.8),
      transparent);
}

.glass-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.8),
      transparent,
      rgba(255, 255, 255, 0.3));
}

@media (max-width: 900px) {
  .service-page .service-hero {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-top: 25rem;
  }

  .service-hero__intro h1 {
    max-width: none;
  }

  .service-product {
    grid-template-columns: 1fr;
  }

  .service-product__icon {
    padding: 3rem;
  }

  .service-product__icon img {
    width: 60%;
  }

  .service-product--enhanceagi .service-product__icon {
    order: 1;
  }

  .service-product--enhanceagi .glass-card {
    order: 2;
  }

  .service-product__button {
    justify-content: center;
  }
}