/* =========================================================
   ntn.css — Non-Terrestrial Networks (NTN Core)
   A mix of the 5G Core + AI Enablement layouts, plus a
   tabbed USE CASES section. Reuses .container, .eyebrow,
   .btn, and the .sp-hero pattern.
   ========================================================= */

.sp-breadcrumb { top: 0; }

.ntn-hero .sp-hero__overlay {
  background: linear-gradient(90deg, rgba(21, 0, 77, 0.92) 12%, rgba(22, 1, 78, 0) 99%);
}
.ntn-hero .sp-hero__copy { margin-top: -40px; }

.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--light { border-top-color: rgba(0, 0, 0, 0.15); }
.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; }

/* Buttons */
.btn--ghost-dark {
  border: 1px solid #303d48;
  color: #303d48;
  background: transparent;
}
.btn--ghost-dark:hover { background: #303d48; color: #fff; }

/* Intro band (overlaps up into hero) */
.core-intro {
  position: relative;
  z-index: 3;
  margin-top: -80px;
  padding: 0 0 80px;
}
.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;
}

/* -----------------------------------------------------
   Split section (dark left + center image + text right)
   Used by The Opportunity
   ----------------------------------------------------- */
.split {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 640px;
  background: #eff2f7;
  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));
}
.split__left {
  position: relative;
  flex: 0 0 627px;
  display: flex;
  align-items: flex-start;
}
.split__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;
}
.split__left::after {
  content: "";
  position: absolute;
  inset: 0;
  left: min(0px, calc((1440px - 100vw) / 2));
  background: rgba(24, 0, 86, 0.45);
  z-index: -1;
}
.split__left-inner {
  padding: 100px var(--container-pad);
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 540px;
}
.split__title {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.25;
  color: #fff;
  margin: 0;
}
.split__media {
  position: absolute;
  left: calc(466px + max(0px, (100vw - 1440px) / 2));
  top: 37px;
  width: 304px;
  height: 564px;
  max-height: calc(100% - 74px);
  border-radius: 8px;
  overflow: hidden;
  z-index: 2;
}
.split__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split__right {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  padding: 100px var(--container-pad) 100px 186px;
}
.split__right p { margin: 0; font-size: 18px; line-height: 1.4; color: #000; }

/* -----------------------------------------------------
   The Challenge (head + grid with title+desc items)
   ----------------------------------------------------- */
.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: 400; line-height: 1.2; color: #000; margin: 0; }
.challenge__title strong { font-weight: 600; }
.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-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 24px; }
.challenge-items h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; color: #000; line-height: 1.3; }
.challenge-items p { margin: 0; font-size: 16px; line-height: 1.4; color: #50505e; }
.challenge__copy .result-note { margin-top: 4px; }
.challenge--ntn .challenge__media { height: 673px; border-radius: 8px; overflow: hidden; }
.challenge__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* -----------------------------------------------------
   The HyperBlox Solution (dark left w/ highlights + text right)
   ----------------------------------------------------- */
.ntn-solution {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 720px;
  background: #eff2f7;
  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));
}
.ntn-solution__left {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
}
.ntn-solution__bg {
  position: absolute; top: 0; bottom: 0; right: 0; left: auto; height: 100%;
  width: calc(100% + max(0px, (100vw - 1440px) / 2)); max-width: none;
  object-fit: cover; z-index: -2;
}
.ntn-solution__left::after {
  content: ""; position: absolute; inset: 0;
  left: min(0px, calc((1440px - 100vw) / 2));
  background: linear-gradient(120deg, rgba(7, 5, 40, 0.92) 20%, rgba(7, 5, 40, 0.7) 100%);
  z-index: -1;
}
.ntn-solution__left-inner {
  padding: 80px 72px 80px var(--container-pad);
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.ntn-solution__title { font-size: 40px; font-weight: 400; line-height: 1.2; color: #fff; margin: 0; }
.ntn-solution__title strong { font-weight: 600; }
.ntn-solution__highlights { margin-top: 4px; }
.ntn-solution__highlights-label {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
}
/* Highlights are translucent pills with a green check icon — two columns,
   paired in order, each pill sized to its single-line text. */
.ntn-highlights {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: start;
  gap: 14px;
}
.ntn-highlights li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  padding: 8px 13px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: #ecf5ff;
}
.ntn-highlights li::before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  background: no-repeat center/contain url("../img/ntn/icons/check.svg");
}
.ntn-solution__right {
  flex: 1 1 0;
  min-width: 0;
  background: #eff2f7;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: 96px var(--container-pad);
}
.ntn-solution__right > p { margin: 0; font-size: 18px; line-height: 1.4; color: #000; }

/* -----------------------------------------------------
   Where HyperBlox fits (head + paras + 5 cards)
   ----------------------------------------------------- */
.fits { background: #fff; padding: 100px 0; }
.fits__head {
  display: flex; flex-direction: column; align-items: center;
  gap: 20px; text-align: center; margin-bottom: 24px;
}
.fits__title { font-size: 40px; font-weight: 400; line-height: 1.2; color: #000; margin: 0; }
.fits__title strong { font-weight: 600; }
.fits__paras {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px;
  margin-bottom: 40px;
}
.fits__paras p { margin: 0; font-size: 18px; line-height: 1.4; color: #000; }
.fits__cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.fits-card {
  border: 1px solid #c7ced7;
  border-radius: 8px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fits-card__icon {
  display: inline-flex;
}
.fits-card__icon img { width: 14px; height: 14px; display: block; }
.fits-card p { margin: 0; font-size: 16px; line-height: 1.4; color: #000; }

/* -----------------------------------------------------
   Why HyperBlox (3 cards + buttons)
   ----------------------------------------------------- */
.reasons { background: #f6f6f6; 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; }
.reasons__cta--two { gap: 24px; flex-wrap: wrap; }

/* -----------------------------------------------------
   USE CASES (tabbed)
   ----------------------------------------------------- */
.use-cases { background: #fff; padding: 73px 0 90px; }
.use-cases__head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.use-cases__title { font-size: 40px; font-weight: 400; line-height: 1.2; color: #000; margin: 0; }
.use-cases__title strong { font-weight: 600; }
.use-cases__lede { font-size: 18px; line-height: 1.4; color: #50505e; margin: 0; max-width: 1151px; }

.uc-tabs { display: grid; grid-template-columns: minmax(0, 609px) minmax(0, 603px); gap: 28px; align-items: start; }
.uc-tabs__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.uc-tab {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(0, 0, 0, 0.17);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  line-height: 1.4;
  color: #000;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, font-weight 160ms ease;
}
.uc-tab:hover { border-color: #39cdd8; }
.uc-tab[aria-selected="true"] {
  background: #39cdd8;
  border-color: #39cdd8;
  color: #000;
  font-weight: 600;
  padding: 10px 24px;
}
.uc-tabs__panel {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 7.3px rgba(0, 0, 0, 0.08);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.uc-tabs__media { height: 286px; border-radius: 8px; overflow: hidden; }
.uc-tabs__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.uc-tabs__detail { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.uc-box { border-radius: 4px; border-top: 1px solid; padding: 10px 12px; display: flex; flex-direction: column; gap: 10px; }
.uc-box--app { background: #faf7e3; border-top-color: #beac36; }
.uc-box--comm { background: rgba(146, 211, 53, 0.12); border-top-color: #91d24e; }
.uc-box__label {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.68px;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.47);
}
.uc-box__text { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.3; color: #000; }

/* -----------------------------------------------------
   Added Differentiation (dark band + numbered cards)
   ----------------------------------------------------- */
.diff {
  position: relative; isolation: isolate; overflow: hidden;
  background: #fff; padding: 95px 0 80px;
}
.diff__bg { position: absolute; top: 0; left: 0; right: 0; width: 100%; height: 582px; object-fit: cover; z-index: -2; }
.diff::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 582px; background: rgba(24, 0, 86, 0.4); z-index: -1; }
.diff__head { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
.diff__headline { display: grid; grid-template-columns: minmax(0, 555px) minmax(0, 1fr); gap: 32px; align-items: start; }
.diff__title { font-size: 40px; font-weight: 400; line-height: 1.2; color: #fff; margin: 0; }
.diff__intro { font-size: 18px; line-height: 1.4; color: #fff; margin: 0; }
.diff-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: stretch; }
.diff-card { background: #fff; box-shadow: 0 3px 5px rgba(0, 0, 0, 0.07); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.diff-card__num { font-size: 20px; font-weight: 600; color: #2b3990; }
.diff-card__title { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.3; color: #000; min-height: 78px; }
.diff-card__body { margin: 0; font-size: 16px; line-height: 1.4; color: #000; }

/* -----------------------------------------------------
   Outcomes (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; height: 100%;
  width: calc(100% + max(0px, (100vw - 1440px) / 2)); max-width: none;
  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; }

/* -----------------------------------------------------
   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: 860px; 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: 1080px) {
  .challenge__grid, .diff__headline, .fits__paras { grid-template-columns: 1fr; }
  .reason-cards, .diff-cards { grid-template-columns: 1fr 1fr; }
  .fits__cards { grid-template-columns: repeat(2, 1fr); }
  .ntn-highlights { display: flex; flex-wrap: wrap; gap: 8px; }
  /* On mobile the hero is short, so the -80px overlap would cover the hero's
     CTA button. Drop the overlap and sit the intro card below the hero. */
  .core-intro { margin-top: 0; }
  .uc-tabs { grid-template-columns: 1fr; }
  .split, .ntn-solution, .outcomes { flex-direction: column; }
  .split__left, .ntn-solution__left, .outcomes__left { flex-basis: auto; }
  .split__media { display: none; }
  .split__right, .ntn-solution__right, .outcomes__right { padding-left: var(--container-pad); }
  .ntn-solution__left-inner, .split__left-inner { max-width: none; }
  .outcome-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .reason-cards, .diff-cards, .fits__cards { grid-template-columns: 1fr; }
  .uc-tabs__detail { grid-template-columns: 1fr; }
  .challenge__title, .fits__title, .reasons__title, .use-cases__title,
  .diff__title, .outcomes__title, .ntn-solution__title { font-size: 30px; }
  .split__title, .final-cta__title { font-size: 30px; }
}

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