/* ManageEngine overview — hero + four solution sections */

.apit-me-page {
  margin: 0;
  background: #ffffff;
  color: #0b1b2b;
}

/* —— Hero: left-aligned copy, shorter height —— */
.apit-me-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 58vh;
  font-family: "General Sans", sans-serif;
  color: #ffffff;
  background: #071422;
  text-align: left;
  padding:
    calc(var(--apit-announce-h, 40px) + var(--apit-header-h, 80px) + 2rem)
    4.5vw 2.75rem;
}

.apit-me-hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.apit-me-hero-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-width: 177.78vh;
  min-height: 100%;
  transform: translate(-50%, -50%);
  border: 0;
}

.apit-me-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(5, 16, 30, 0.68) 0%,
      rgba(5, 16, 30, 0.38) 46%,
      rgba(5, 16, 30, 0.14) 100%
    ),
    linear-gradient(
      180deg,
      rgba(5, 16, 30, 0.28) 0%,
      transparent 50%,
      rgba(5, 16, 30, 0.4) 100%
    );
}

.apit-me-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  margin: 0;
  display: block;
}

.apit-me-hero-copy {
  max-width: 40rem;
  min-width: 0;
  display: block;
  text-align: left;
}

.apit-me-kicker {
  margin: 0;
  font-family: Mulish, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b8ecff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
  animation: apit-me-rise 0.7s ease both;
}

.apit-me-hero-title {
  margin: 0.55rem 0 0;
  max-width: none;
  font-size: clamp(1.75rem, 2.85vw, 2.75rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.035em;
  text-align: left;
  background: linear-gradient(100deg, #ffffff 0%, #9ae4ff 38%, #0088cc 72%, #ffffff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 18px rgba(0, 0, 0, 0.45));
  animation:
    apit-me-rise 0.9s 0.12s ease both,
    apit-me-shine 7s 1s ease-in-out infinite;
}

.apit-me-hero-body {
  margin: 0.95rem 0 0;
  max-width: 34rem;
  font-size: clamp(0.95rem, 1.05vw, 1.02rem);
  line-height: 1.65;
  color: #ffffff;
  text-align: left;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
  animation: apit-me-rise 0.95s 0.28s ease both;
}

.apit-me-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.75rem;
  margin-top: 1.35rem;
  animation: apit-me-rise 1s 0.4s ease both;
}

.apit-me-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem;
  border-radius: 0.85rem;
  font-family: Mulish, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.apit-me-hero-btn--primary {
  background: #0088cc;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 136, 204, 0.35);
}

.apit-me-hero-btn--primary:hover {
  background: #0077b3;
  transform: translateY(-2px);
}

.apit-me-hero-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.apit-me-hero-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

@keyframes apit-me-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes apit-me-shine {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@media (max-width: 760px) {
  .apit-me-hero {
    min-height: 52vh;
    align-items: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  .apit-me-hero-video {
    display: none;
  }

  .apit-me-kicker,
  .apit-me-hero-title,
  .apit-me-hero-body,
  .apit-me-hero-actions {
    animation: none;
  }

  .apit-me-hero-title {
    background-position: 30% 50%;
  }
}

/* —— Solution sections —— */
.apit-me-sol {
  position: relative;
  overflow: hidden;
  padding: 5rem 4.5vw 5.25rem;
  font-family: "General Sans", sans-serif;
  color: #0b1b2b;
}

.apit-me-sol--a {
  background:
    radial-gradient(ellipse 48% 55% at 100% 0%, rgba(0, 136, 204, 0.08), transparent 58%),
    linear-gradient(180deg, #ffffff 0%, #f5faff 100%);
}

.apit-me-sol--b {
  background:
    radial-gradient(ellipse 42% 50% at 0% 100%, rgba(14, 165, 233, 0.07), transparent 55%),
    linear-gradient(180deg, #f7fbfe 0%, #ffffff 100%);
}

.apit-me-sol--c {
  background:
    radial-gradient(ellipse 46% 52% at 100% 100%, rgba(0, 136, 204, 0.07), transparent 58%),
    linear-gradient(180deg, #ffffff 0%, #f3f9fd 100%);
}

.apit-me-sol--d {
  background:
    radial-gradient(ellipse 40% 48% at 0% 0%, rgba(0, 136, 204, 0.08), transparent 55%),
    linear-gradient(180deg, #f5faff 0%, #ffffff 100%);
}

.apit-me-sol-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(1.75rem, 3.5vw, 3.75rem);
  max-width: 1180px;
  margin: 0 auto;
}

.apit-me-sol--reverse .apit-me-sol-inner {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.apit-me-sol--reverse .apit-me-sol-media {
  order: 2;
}

.apit-me-sol--reverse .apit-me-sol-copy {
  order: 1;
}

.apit-me-sol-media {
  position: relative;
  margin: 0;
  border-radius: 1.35rem;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  min-height: 18rem;
  background: #e8f4fb;
  border: 1px solid rgba(10, 61, 122, 0.08);
  box-shadow: 0 22px 48px rgba(10, 61, 122, 0.1);
}

.apit-me-sol-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.apit-me-sol:hover .apit-me-sol-media img {
  transform: scale(1.03);
}

.apit-me-sol-eyebrow {
  margin: 0 0 0.75rem;
  font-family: Mulish, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0088cc;
}

.apit-me-sol-title {
  margin: 0;
  font-size: clamp(1.75rem, 2.8vw, 2.55rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: #0b1b2b;
}

.apit-me-sol-copy > p {
  margin: 1rem 0 0;
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(11, 27, 43, 0.78);
}

.apit-me-sol-icons {
  list-style: none;
  margin: 1.55rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.apit-me-sol-icons li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.4rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 136, 204, 0.14);
  box-shadow: 0 8px 22px rgba(10, 61, 122, 0.05);
}

.apit-me-sol-icon {
  flex: 0 0 2.35rem;
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border-radius: 0.7rem;
  background: linear-gradient(145deg, rgba(0, 136, 204, 0.12), rgba(0, 136, 204, 0.04));
  overflow: hidden;
}

.apit-me-sol-icon img {
  width: 1.45rem;
  height: 1.45rem;
  object-fit: contain;
}

.apit-me-sol-icons span {
  font-family: Mulish, sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.3;
  color: #0b1b2b;
}

.apit-me-sol-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.6rem;
  min-height: 2.75rem;
  padding: 0.65rem 1.25rem;
  border-radius: 0.85rem;
  background: #0088cc;
  color: #ffffff;
  font-family: Mulish, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 136, 204, 0.28);
  transition: transform 0.2s ease, background 0.2s ease;
}

.apit-me-sol-btn:hover {
  background: #0077b3;
  transform: translateY(-2px);
}

.apit-me-sol-btn span[aria-hidden="true"] {
  transition: transform 0.2s ease;
}

.apit-me-sol-btn:hover span[aria-hidden="true"] {
  transform: translateX(3px);
}

@media (max-width: 900px) {
  .apit-me-sol-inner,
  .apit-me-sol--reverse .apit-me-sol-inner {
    grid-template-columns: 1fr;
  }

  .apit-me-sol--reverse .apit-me-sol-media,
  .apit-me-sol--reverse .apit-me-sol-copy {
    order: initial;
  }

  .apit-me-sol-media {
    min-height: 14rem;
  }
}

@media (max-width: 560px) {
  .apit-me-sol {
    padding: 3.5rem 5vw 3.75rem;
  }

  .apit-me-sol-icons {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .apit-me-sol-media img,
  .apit-me-sol-btn,
  .apit-me-hero-btn {
    transition: none;
  }

  .apit-me-sol:hover .apit-me-sol-media img {
    transform: none;
  }
}
