/* =========================================================
   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(6, 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;
}

.homeExampleVisual img {
  width: 100%;
  height: 100%;
  min-height: 178px;
  display: block;
  object-fit: cover;
}



.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 {
  width: 100%;
  min-height: 42px;
  margin-top: 13px;
  padding: 10px 18px;
  box-sizing: border-box;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid #69aef5;
  border-radius: 6px;
  background: transparent;
  color: #ffffff;

  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;

  transition:
    transform 0.15s ease,
    background-color 0.15s ease;
}

.homeExampleLink:hover {
  transform: translateY(-1px);
  background: rgba(105, 174, 245, 0.1);
}


/* -------------------------
   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);
  }
}

/* =========================================================
   LANDSCAPE PHONE HOMEPAGE
========================================================= */

@media
  (max-width: 900px) and
  (orientation: landscape) and
  (hover: none) and
  (pointer: coarse) {

  #rightPanel.homepageRight {
    width: 50% !important;
    min-width: 0 !important;
    flex: 0 0 50% !important;
    padding: 22px 20px 30px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    justify-content: flex-start !important;
  }

  #rightPanel.homepageRight #rightPanelContent,
  .homeHero {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .homeExampleCard {
    width: 100% !important;
    min-width: 0 !important;
    grid-template-columns: 1fr !important;
  }

  .homeExampleVisual,
  .homeExampleVisual img {
    min-height: 170px !important;
  }

  .homeExampleContent {
    min-width: 0 !important;
    padding: 18px 20px !important;
  }

  .homeWorkflow {
    width: 100% !important;
    min-width: 0 !important;
    grid-template-columns: 1fr !important;
  }

  .homeWorkflowStep {
    min-width: 0 !important;
    grid-template-columns: 40px minmax(0, 1fr) !important;
    padding: 16px !important;
  }

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

  .homeWorkflowText {
    overflow-wrap: break-word !important;
  }
}

@media (min-width: 901px) {
  #rightPanel.homepageRight {
    justify-content: flex-start !important;
  }
}