/* =========================================================
   GEOSPATIALREPORTS — HOMEPAGE
   Right-side landing page only
   ========================================================= */

#rightPanel.homepageRight {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px 46px 34px;
  background:
    radial-gradient(
      circle at 75% 10%,
      rgba(35, 108, 170, 0.16),
      transparent 34%
    ),
    linear-gradient(
      135deg,
      #001f2d 0%,
      #001725 55%,
      #00121d 100%
    );
  color: #ffffff;
  font-family: "Inter", sans-serif;
  overflow-y: auto;
}

#rightPanel.homepageRight #rightPanelContent {
  width: 100%;
  color: #ffffff;
}


/* -------------------------
   Main content wrapper
   ------------------------- */

.homeHero {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}


/* -------------------------
   Eyebrow
   ------------------------- */

.homeHeroEyebrow {
  margin: 0 0 14px;
  color: #69aef5;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 1.25px;
  text-transform: uppercase;
}


/* -------------------------
   Headline
   ------------------------- */

.homeHeroTitle {
  margin: 0;
  max-width: 690px;
  color: #ffffff !important;
  font-family: "Inter", sans-serif;
  font-size: clamp(36px, 3.15vw, 55px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -1.7px;
}

.homeHeroTitleAccent {
  color: #69aef5;
}


/* -------------------------
   Intro
   ------------------------- */

.homeHeroLead {
  max-width: 660px;
  margin: 18px 0 0;
  color: #d7e1e8 !important;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.55;
}


/* -------------------------
   CTA buttons
   ------------------------- */

.homeHeroActions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}

.homePrimaryBtn,
.homeSecondaryBtn {
  min-width: 165px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 6px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.homePrimaryBtn {
  border: 1px solid #69aef5;
  background: #69aef5;
  color: #001725;
}

.homeSecondaryBtn {
  border: 1px solid #69aef5;
  background: transparent;
  color: #ffffff;
}

.homePrimaryBtn:hover,
.homeSecondaryBtn:hover {
  transform: translateY(-1px);
}

.homePrimaryBtn:hover {
  background: #82bbf7;
  border-color: #82bbf7;
}

.homeSecondaryBtn:hover {
  background: rgba(105, 174, 245, 0.1);
}


/* -------------------------
   Divider
   ------------------------- */

.homeDivider {
  width: 100%;
  height: 1px;
  margin: 22px 0 18px;
  background: rgba(255, 255, 255, 0.18);
}


/* -------------------------
   "What can you build?"
   ------------------------- */

.homeSectionLabel {
  margin: 0 0 16px;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.homeUseCases {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.homeUseCase {
  min-width: 0;
  text-align: center;
  color: #ffffff;
}

.homeUseCaseIcon {
  width: 34px;
  height: 34px;
  margin: 0 auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #69aef5;
}

.homeUseCaseIcon svg {
  width: 30px;
  height: 30px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.homeUseCaseText {
  color: #e8eef2;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 500;
}


/* -------------------------
   Example project
   ------------------------- */

.homeExampleCard {
  display: grid;
  grid-template-columns: 52% 48%;
  min-height: 178px;
  overflow: hidden;
  border: 1px solid rgba(105, 174, 245, 0.3);
  border-radius: 10px;
  background: rgba(8, 37, 56, 0.68);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
}

.homeExampleVisual {
  position: relative;
  min-height: 178px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 28% 48%,
      rgba(255, 211, 84, 0.92) 0 3%,
      transparent 4%
    ),
    radial-gradient(
      circle at 42% 60%,
      rgba(255, 116, 45, 0.9) 0 4%,
      transparent 5%
    ),
    radial-gradient(
      circle at 57% 41%,
      rgba(75, 183, 123, 0.75) 0 4%,
      transparent 5%
    ),
    linear-gradient(
      145deg,
      #0c405a 0%,
      #1e786d 28%,
      #8c9033 47%,
      #cf6a27 67%,
      #8b2a1f 100%
    );
}

.homeExampleVisual::before,
.homeExampleVisual::after {
  content: "";
  position: absolute;
  inset: -40px;
  pointer-events: none;
}

.homeExampleVisual::before {
  background:
    repeating-radial-gradient(
      ellipse at 42% 55%,
      transparent 0 16px,
      rgba(255, 255, 255, 0.16) 17px 18px,
      transparent 19px 30px
    );
  transform: rotate(-14deg) scale(1.25);
}

.homeExampleVisual::after {
  inset: 0;
  background:
    linear-gradient(
      115deg,
      transparent 0 26%,
      rgba(255, 255, 255, 0.08) 27%,
      transparent 28% 52%,
      rgba(255, 255, 255, 0.07) 53%,
      transparent 54%
    );
}

.homeExamplePopup {
  position: absolute;
  right: 20px;
  top: 26px;
  width: 142px;
  padding: 8px;
  z-index: 3;
  border-radius: 7px;
  background: #ffffff;
  color: #17232b;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.homeExamplePhoto {
  height: 68px;
  margin-bottom: 7px;
  border-radius: 4px;
  background:
    linear-gradient(
      165deg,
      #b8d1dc 0 38%,
      #72865d 39% 53%,
      #493f30 54% 100%
    );
}

.homeExamplePopupTitle {
  color: #17232b;
  font-family: "Inter", sans-serif;
  font-size: 9px;
  line-height: 1.2;
  font-weight: 800;
}

.homeExamplePopupMeta {
  margin-top: 3px;
  color: #59666e;
  font-family: "Inter", sans-serif;
  font-size: 7px;
  line-height: 1.35;
}

.homeExampleContent {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 26px;
}

.homeExampleEyebrow {
  margin-bottom: 10px;
  color: #69aef5;
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.homeExampleTitle {
  margin: 0 0 8px;
  color: #ffffff !important;
  font-family: "Inter", sans-serif;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 750;
}

.homeExampleMeta {
  margin: 0;
  color: #c6d2da !important;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  line-height: 1.5;
}

.homeExampleLink {
  margin-top: 13px;
  color: #69aef5;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 700;
}


/* -------------------------
   Workflow strip
   ------------------------- */

.homeWorkflow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(105, 174, 245, 0.28);
  border-radius: 10px;
  background: rgba(8, 37, 56, 0.7);
}

.homeWorkflowStep {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: start;
  padding: 18px 17px;
}

.homeWorkflowStep + .homeWorkflowStep {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.homeWorkflowIcon {
  width: 40px;
  height: 40px;
  color: #69aef5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.homeWorkflowIcon svg {
  width: 34px;
  height: 34px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.homeWorkflowTitle {
  margin: 0 0 6px;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
}

.homeWorkflowText {
  margin: 0;
  color: #bccad3 !important;
  font-family: "Inter", sans-serif;
  font-size: 10px;
  line-height: 1.45;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1250px) {

  #rightPanel.homepageRight {
    padding: 32px 30px 28px;
  }

  .homeHeroTitle {
    font-size: 38px;
  }

  .homeUseCases {
    gap: 8px;
  }

  .homeUseCaseText {
    font-size: 11px;
  }

  .homeExampleContent {
    padding: 18px 20px;
  }

  .homeWorkflowStep {
    grid-template-columns: 36px 1fr;
    gap: 8px;
    padding: 14px 12px;
  }

  .homeWorkflowIcon {
    width: 32px;
    height: 32px;
  }

  .homeWorkflowIcon svg {
    width: 28px;
    height: 28px;
  }
}


@media (max-width: 980px) {

  #rightPanel.homepageRight {
    width: 100%;
    padding: 36px 32px 42px;
  }

  #rightPanel.homepageRight #rightPanelContent {
    width: 100%;
  }

  .homeHero {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .homeHeroTitle {
    max-width: 620px;
    font-size: 42px;
  }

  .homeHeroLead {
    max-width: 620px;
  }

  .homeUseCases {
    grid-template-columns: repeat(5, 1fr);
  }

  .homeExampleCard {
    grid-template-columns: 52% 48%;
  }

  .homeExampleVisual {
    min-height: 178px;
  }

  .homeWorkflow {
    grid-template-columns: repeat(3, 1fr);
  }

  .homeWorkflowStep + .homeWorkflowStep {
    border-top: none;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
  }
}

@media (max-width: 600px) {

  #rightPanel.homepageRight {
    width: 100%;
    padding: 28px 22px 34px;
  }

  .homeHeroTitle {
    font-size: 36px;
  }

  .homeHeroActions {
    flex-direction: column;
    align-items: stretch;
  }

  .homePrimaryBtn,
  .homeSecondaryBtn {
    width: 100%;
  }

  .homeUseCases {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 12px;
  }

  .homeExampleCard {
    grid-template-columns: 1fr;
  }

  .homeWorkflow {
    grid-template-columns: 1fr;
  }

  .homeWorkflowStep + .homeWorkflowStep {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }
}