/* =========================================================
   ai-applications.css — AI Enablement Applications
   Same overall layout as the 5G Core page (hero → intro →
   challenge → solution → why → architecture → key capabilities
   → CTA). Reuses .container, .eyebrow, .btn, and .sp-hero.
   ========================================================= */

/* Breadcrumb flush under the sticky header */
.sp-breadcrumb { top: 0; }

/* Hero overlay — navy left-to-right gradient over the night skyline */
.ai-hero .sp-hero__overlay {
  background: linear-gradient(90deg, rgba(24, 2, 73, 0.92) 5%, rgba(24, 2, 73, 0) 99%);
}

/* Lift the hero copy slightly above center (the overlapping intro card
   makes the visible hero shorter, so center reads as too low) */
.ai-hero .sp-hero__copy {
  margin-top: -56px;
}

/* Allow the hero title to flow wider so "Outcomes" pulls up beside "Real-World" */
.ai-hero .sp-hero__title { font-size: 44px; max-width: 760px; }

/* Cyan eyebrow (on dark backgrounds) */
.eyebrow--cyan { color: #39cdd8; }

/* Shared "The result" note */
.result-note {
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.result-note__label {
  margin: 0;
  font-weight: 600;
  text-transform: uppercase;
  color: #2b3990;
  font-size: 16px;
}
.result-note__text {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
  color: #000;
}
/* .challenge__copy p (color:#000) would otherwise override the label color */
.challenge__copy .result-note__label { color: #2b3990; }

/* -----------------------------------------------------
   SECTION: Intro band (overlaps up into the hero)
   ----------------------------------------------------- */
.core-intro {
  position: relative;
  z-index: 3;
  margin-top: -80px;
  padding: 0 0 40px;
}
.core-intro .container {
  display: flex;
  justify-content: center;
}
.core-intro__text {
  background: #ebf0f4;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 40px;
  margin: 0;
  max-width: 1240px;
  text-align: center;
  font-size: 20px;
  line-height: 1.6;
  color: #000;
}

/* -----------------------------------------------------
   SECTION: The Challenge (with bullet list)
   ----------------------------------------------------- */
.challenge {
  background: #fff;
  padding: 61px 0 80px;
}
.challenge__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  margin-bottom: 50px;
}
.challenge__title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  color: #000;
  margin: 0;
}
.challenge__grid {
  display: grid;
  grid-template-columns: minmax(0, 605px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.challenge__copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.challenge__copy p {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
  color: #000;
}
.challenge-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.challenge-bullets li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.4;
  color: #000;
}
.challenge-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1c62cb;
}
.challenge__copy .result-note { margin-top: 4px; }
.challenge--ai .challenge__media {
  height: 567px;
  border-radius: 8px;
  overflow: hidden;
}
.challenge__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* -----------------------------------------------------
   SECTION: The Solution (dark left + center image + text right)
   ----------------------------------------------------- */
.ai-solution {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 866px;
  background: #f2f5f9;
  isolation: isolate;
  /* Pad by the outer gutter so content aligns to the 1440px grid while the
     section background stays full-bleed. */
  padding-left: max(0px, calc((100vw - 1440px) / 2));
  padding-right: max(0px, calc((100vw - 1440px) / 2));
}
.ai-solution__left {
  position: relative;
  flex: 0 0 560px;
  display: flex;
  align-items: flex-start;
}
.ai-solution__bg {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: auto;
  /* Bleed the photo to the viewport's left edge; max-width:none defeats the
     global img max-width:100% so the explicit width applies. */
  width: calc(100% + max(0px, (100vw - 1440px) / 2));
  max-width: none;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.ai-solution__left::after {
  content: "";
  position: absolute;
  inset: 0;
  left: min(0px, calc((1440px - 100vw) / 2));
  background: rgba(24, 0, 86, 0.45);
  z-index: -1;
}
.ai-solution__left-inner {
  padding: 100px var(--container-pad);
  max-width: 460px;
}
.ai-solution__title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.3;
  color: #fff;
  margin: 16px 0 0;
}
.ai-solution__media {
  position: absolute;
  left: calc(416px + max(0px, (100vw - 1440px) / 2));
  top: 37px;
  width: 291px;
  height: 790px;
  max-height: calc(100% - 74px);
  border-radius: 8px;
  overflow: hidden;
  z-index: 2;
}
.ai-solution__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ai-solution__right {
  flex: 1 1 0;
  min-width: 0;
  background: #f2f5f9;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  padding: 100px var(--container-pad) 100px 172px;
}
.ai-solution__right > p {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
  color: #000;
}

/* Solution callout boxes */
.callout {
  padding: 12px;
  border-top: 3px solid;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.callout--yellow { background: #faf7e3; border-top-color: #e5c300; }
.callout--green { background: #f2fae7; border-top-color: #91d24e; }
.callout > p {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
  color: #000;
}
.callout ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.callout ul li {
  position: relative;
  padding-left: 16px;
  font-size: 16px;
  line-height: 1.4;
  color: #000;
}
.callout ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.callout--yellow ul li::before { background: #e5c300; }
.callout--green ul li::before { background: #91d24e; }

/* -----------------------------------------------------
   SECTION: Why HyperBlox (Three Reasons)
   ----------------------------------------------------- */
.reasons {
  background: #fff;
  padding: 100px 0;
}
.reasons__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  margin-bottom: 40px;
}
.reasons__title {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: #000;
  margin: 0;
}
.reasons__title strong { font-weight: 600; }
.reason-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.reason-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 14px 41.25px rgba(0, 0, 0, 0.05);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.reason-card__icon { width: 40px; height: 40px; display: block; }
.reason-card__icon img { width: 40px; height: 40px; display: block; }
.reason-card__title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  color: #181819;
  margin: 0;
}
.reason-card__body {
  font-size: 18px;
  line-height: 1.4;
  color: #181819;
  margin: 0;
}
.reasons__cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* -----------------------------------------------------
   SECTION: Architecture (6-card grid)
   ----------------------------------------------------- */
.ai-arch {
  background: #eff2f7;
  padding: 60px 0 80px;
}
.ai-arch__head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}
.ai-arch__headline {
  display: grid;
  grid-template-columns: minmax(0, 598px) minmax(0, 1fr);
  gap: 39px;
  align-items: start;
}
.ai-arch__title {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: #000;
  margin: 0;
}
.ai-arch__intro {
  font-size: 18px;
  line-height: 1.4;
  color: #000;
  margin: 0;
}
/* Dark navy panel holding the 6 cards (Figma gradient #0C1C7C → #081352) */
.ai-arch__grid {
  list-style: none;
  margin: 0;
  padding: 50px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #0c1c7c 0%, #081352 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ai-arch-card {
  background: linear-gradient(90deg, #0738a7 0%, rgba(7, 44, 129, 0) 50%, #0738a7 100%);
  border-radius: 7px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ai-arch-card__icon { width: 40px; height: 40px; display: block; }
.ai-arch-card__icon img { width: 40px; height: 40px; display: block; }
.ai-arch-card__title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
  color: #39cdd8;
  margin: 0;
}
.ai-arch-card__body {
  font-size: 16px;
  line-height: 1.4;
  color: #fff;
  margin: 0;
}

/* -----------------------------------------------------
   SECTION: Key Capabilities (dark left + light grid right)
   ----------------------------------------------------- */
.outcomes {
  display: flex;
  align-items: stretch;
  min-height: 720px;
  background: #eff2f7;
  /* Pad by the outer gutter so content aligns to the 1440px grid while the
     section background stays full-bleed. */
  padding-left: max(0px, calc((100vw - 1440px) / 2));
  padding-right: max(0px, calc((100vw - 1440px) / 2));
}
.outcomes__left {
  position: relative;
  flex: 0 0 497px;
  display: flex;
  align-items: flex-start;
  isolation: isolate;
}
.outcomes__bg {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: auto;
  width: calc(100% + max(0px, (100vw - 1440px) / 2));
  max-width: none;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.outcomes__left::after {
  content: "";
  position: absolute;
  inset: 0;
  left: min(0px, calc((1440px - 100vw) / 2));
  background: linear-gradient(180deg, #14004e 9%, rgba(20, 0, 78, 0.3) 100%);
  z-index: -1;
}
.outcomes__left-inner {
  padding: 100px var(--container-pad);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.outcomes__title {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: #fff;
  margin: 0;
  max-width: 367px;
}
.outcomes__right {
  flex: 1 1 0;
  min-width: 0;
  padding: 100px var(--container-pad) 100px 24px;
  display: flex;
  align-items: center;
}
.outcome-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 25px;
}
.outcome-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.outcome-item__icon { width: 40px; height: 40px; display: block; }
.outcome-item__icon img { width: 40px; height: 40px; display: block; }
.outcome-item__title {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  color: #000;
  margin: 0 0 8px;
  display: flex;
  align-items: flex-start;
}
.outcome-item__body {
  font-size: 17px;
  line-height: 1.4;
  color: #000;
  margin: 0;
}

/* -----------------------------------------------------
   SECTION: CTA banner (rounded panel, blurred bg)
   ----------------------------------------------------- */
.final-cta {
  background: #fff;
  padding: 72px 0;
}
.final-cta__panel {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}
.final-cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: blur(7px);
  transform: scale(1.08);
}
.final-cta__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 30%, rgba(0, 0, 0, 0.1) 95%);
  z-index: -1;
}
.final-cta__inner {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 60px 24px;
  color: #fff;
}
.final-cta__title {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.2;
  color: #fff;
  margin: 0;
}
.final-cta__copy {
  font-size: 18px;
  line-height: 1.4;
  color: #fff;
  margin: 0;
}
.final-cta__actions { margin-top: 4px; }

/* -----------------------------------------------------
   Responsive
   ----------------------------------------------------- */
@media (max-width: 1040px) {
  /* Hero is short on mobile — drop the overlap so the intro card sits
     below the hero instead of covering its CTA button. */
  .core-intro { margin-top: 0; }

  .challenge__grid,
  .ai-arch__headline {
    grid-template-columns: 1fr;
  }
  .reason-cards,
  .ai-arch__grid { grid-template-columns: 1fr; }
  .ai-solution { flex-direction: column; }
  .ai-solution__left { flex-basis: auto; }
  .ai-solution__left-inner { max-width: none; }
  .ai-solution__media { display: none; }
  .ai-solution__right { padding-left: var(--container-pad); }
  .outcomes { flex-direction: column; }
  .outcomes__left { flex-basis: auto; }
  .outcomes__right { padding-left: var(--container-pad); }
  .outcome-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .challenge__title,
  .reasons__title,
  .ai-arch__title,
  .ai-solution__title,
  .outcomes__title { font-size: 30px; }
  .final-cta__title { font-size: 30px; }
}

/* Mobile: left-align the tag (eyebrow) + section heading. */
@media (max-width: 600px) {
  .challenge__head, .reasons__head { align-items: flex-start; text-align: left; }
}
