/* ==========================================
   ALTAMIQ HERO SECTION
========================================== */

.altamiq-hero {
  width: 100%;
  overflow: hidden;
  background: #F7F6F2;
  color: #334155;
  font-family: "IBM Plex Sans", sans-serif;
}

.altamiq-hero,
.altamiq-hero * {
  box-sizing: border-box;
}

.altamiq-hero__container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

/* ==========================================
   INTRO
========================================== */

.altamiq-hero__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
}

.altamiq-hero__copy {
  min-width: 0;
}

.altamiq-hero__title {
  margin: 0;
  color: #0F172A;
  font-size: 60px;
  font-weight: 600;
  line-height: 105%;
  letter-spacing: -1.6px;
}

.altamiq-hero__title > span {
  display: block;
}

.altamiq-hero__title-muted {
  color: #5B6474;
}

.altamiq-hero__description {
  max-width: 640px;
  margin-top: 20px;
  color: #334155;
  font-size: 20px;
  font-weight: 400;
  line-height: 155%;
}

.altamiq-hero__description p {
  margin: 0;
}

/* ==========================================
   CTA BUTTONS
========================================== */

.altamiq-hero__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.altamiq-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 120%;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.altamiq-hero__button--primary {
  border-color: #0F172A;
  background: #0F172A;
  color: #FFFFFF !important;
}

.altamiq-hero__button--primary:hover {
  transform: translateY(-1px);
  background: #202B40;
  color: #FFFFFF;
}

.altamiq-hero__button--secondary {
  border-color: #0F172A24;
  background: #FFFFFF;
  color: #101729 !important;
}

.altamiq-hero__button--secondary:hover {
  transform: translateY(-1px);
  border-color: #0F172A60;
  color: #101729;
}

.altamiq-hero__button:focus-visible {
  outline: 3px solid rgb(245 227 9 / 60%);
  outline-offset: 3px;
}

/* ==========================================
   VISUAL SECTION
========================================== */

.altamiq-hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 915px;
  margin: 32px auto 0;
}
.altamiq-hero__portals {
    position: relative;
    width: 100%;
    max-width: 400px
}
.altamiq-hero__dashboard {
  position: relative;
  max-width: 472px;
  margin-left: auto;
}

.altamiq-hero__eyebrow {
  display: block;
  color: #0F172A;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 9.14px;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: 8%;
}

/* ==========================================
   CUSTOM PORTAL CARDS
========================================== */

.altamiq-hero__portal-stage {
  position: relative;
  min-height: 450px;
  margin-top: 12px;
}

.altamiq-portal-card {
  position: absolute;
  width: 100%;
  max-width: 190px;
  margin: 0;
  overflow: hidden;
  border: 0.76px solid #0F172A1A
  border-radius: 9.14px;
  background: #FFFFFF;
  box-shadow: 0px 10.67px 22.86px -4.57px #0F172A24;

}

.altamiq-portal-card__browser {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  padding: 6.1px 9.14px;
  background: #F3F2EE;
}

.altamiq-portal-card__browser > span {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: #FF5F57;
}

.altamiq-portal-card__browser > span:nth-child(2) {
  background: #FEBC2E;
}

.altamiq-portal-card__browser > span:nth-child(3) {
  background: #28C840;
}

.altamiq-portal-card__browser small {
  overflow: hidden;
  margin-left: 4px;
  color: #5B6474;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 7.62px;
  font-weight: 500;
  line-height: 120%;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.altamiq-portal-card__body {
  padding: 10.67px;
}

.altamiq-portal-card__body strong {
  display: block;
  margin-bottom: 10px;
  color: #0F172A;
  font-size: 9.91px;
  line-height: 120%;
  font-weight: 600;
}

.altamiq-portal-card__field {
  height: 13.71px;
  margin-top: 5px;
  border: 0.76px solid #0F172A14;
  border-radius: 3.81px;
  background: #F1F5F9;
}

.altamiq-portal-card__badge {
  display: inline-block;
  margin-top: 10px;
  padding: 3.05px 6.1px;
  border-radius: 50px;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 6.86px;
  line-height: 120%;
  font-weight: 500;
  letter-spacing: 4%;
}

.altamiq-portal-card__badge--gold {
  background: #ECFDF3;
  color: #067647;
}

.altamiq-portal-card__badge--expiring {
  background: #FEF3F2;
  color: #B42318;
}

/* CARD POSITIONS */

.altamiq-portal-card--1 {
  top: 38.1px;
  left: -4.41px;
  z-index: 2;
  transform: rotate(6deg);
}

.altamiq-portal-card--2 {
  top: 12.73px;
  left: 129.54px;
  z-index: 3;
  transform: rotate(-4deg);
}

.altamiq-portal-card--3 {
  top: 150.13px;
  left: 30.48px;
  z-index: 4;
  transform: rotate(-3deg);
}

.altamiq-portal-card--4 {
  top: 135.64px;
  left: 165.23px;
  z-index: 5;
  transform: rotate(5deg);
}

.altamiq-portal-card--5 {
  top: 274.32px;
  left: -6.02px;
  z-index: 3;
  transform: rotate(3deg);
}

.altamiq-portal-card--6 {
  top: 239.33px;
  left: 160.02px;
  z-index: 4;
  transform: rotate(-6deg);
}

.altamiq-portal-card--7 {
  top: 358.14px;
  left: 72.18px;
  z-index: 5;
  transform: rotate(2deg);
}

/* MORE PORTALS */

.altamiq-hero__more {
    position: absolute;
    left: 251.46px;
    bottom: 50px;
    z-index: 8;
    padding: 6px 10px;
    border-radius: 30px;
    background: #0F172A;
    color: #FFFFFF;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 9.14px;
    line-height: 120%;
    white-space: nowrap;
    box-shadow: 0px 7.62px 18.29px -3.05px #0F172A40;
}

/* ==========================================
   CENTER ARROW + TEXT
========================================== */

.altamiq-hero__connector {
    position: absolute;
    top: 180px;
    left: 358.14px;
    z-index: 10;
    width: 70px;
    pointer-events: none;
}

.altamiq-hero__connector span {
  display: block;
  margin-bottom: 15px;
  color: #5B6474;
   font-family: "IBM Plex Sans", sans-serif;
  font-size: 9.14px;
  font-weight: 500;
  line-height: 105%;
  letter-spacing: 4%;
  text-align: left;
}

.altamiq-hero__connector svg {
  display: block;
  height: 35px;
  margin-left: auto;
}

/* MOBILE SYSTEM LABEL */

.altamiq-hero__system-label {
  display: none;
  position: relative;
  z-index: 8;
  margin-top: 0;
  color: #536075;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 10px;
  letter-spacing: 0.5px;
}

/* ==========================================
   DASHBOARD
========================================== */

.altamiq-hero__dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.altamiq-hero__expiry {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
  padding: 3.81px 7.62px;
  border: 0.76px solid #B5470859
  border-radius: 50px;
  background: #FFF4E5;
  color: #B54708;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 8.38px;
  line-height: 120%;
  letter-spacing: 4%;
}

.altamiq-hero__dashboard-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  border: 1px solid #E6E7E8;
  border-radius: 13px;
  background: #FFFFFF;
  box-shadow: 0 16px 36px #10172912;
}

.altamiq-hero__dashboard-frame picture {
  display: block;
  width: 100%;
}

.altamiq-hero__dashboard-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.altamiq-hero__dashboard-placeholder {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: #536075;
  text-align: center;
}

.altamiq-hero__dashboard-placeholder strong {
  color: #101729;
  font-size: 24px;
}

.altamiq-hero__dashboard-placeholder p {
  font-size: 14px;
}
.altamiq-hero__alert {
  position: relative;
  z-index: 11;
  width: 100%;
  max-width: 260px;
  margin-top: -42px;
  padding: 10.67px 13.72px;
  margin-left: -9%;
  border: 0.76px solid #0F172A14;
  border-radius: 9.14px;
  background: #FFFFFF;
  box-shadow: 0 12px 28px #10172916;
}

.altamiq-hero__alert_box {
    border-left: 3px solid #E4572E;
    border-radius: 1.52px;
    padding-left: 10px;
}

.altamiq-hero__alert-label {
  display: block;
  margin-bottom: 5px;
  color: #B42318;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 8.38px;
  line-height: 120%;
  font-weight: 500;
}

.altamiq-hero__alert strong {
  display: block;
  color: #0F172A;
  font-size: 10.67px;
  font-weight: 500;
  line-height: 135%;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 1050px) and (min-width: 768px) {
  .altamiq-hero__container {
    padding-top: 36px;
  }

  .altamiq-hero__intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .altamiq-hero__title {
    font-size: 46px;
    letter-spacing: -1px;
  }

  .altamiq-hero__description {
    font-size: 17px;
  }

  .altamiq-hero__actions {
    justify-content: flex-start;
  }

  .altamiq-hero__visual {
    gap: 24px;
  }

  .altamiq-hero__portal-stage {
    min-height: 350px;
  }

  .altamiq-portal-card {
    width: 72%;
  }

  .altamiq-hero__connector {
    left: 34%;
    transform: scale(0.85);
  }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 767px) {
  .altamiq-hero__container {
    padding: 25px 20px 52px;
  }

  .altamiq-hero__intro {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .altamiq-hero__title {
    font-size: clamp(34px, 8.7vw, 40px);
    line-height: 105%;
    letter-spacing: -1.2px;
  }

  .altamiq-hero__description {
    margin-top: 20px;
    font-size: 15.5px;
    line-height: 170%;
  }

  .altamiq-hero__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }

  .altamiq-hero__button {
    width: 100%;
    min-height: 46px;
    padding: 14px 16px;
    font-size: 15px;
  }

  /* STACK VISUALS */

  .altamiq-hero__visual {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    margin-top: 34px;
  }

  .altamiq-hero__portals {
    width: 100%;
  }

  /* TWO OVERLAPPING CARDS */

  .altamiq-hero__portal-stage {
    min-height: 145px;
    margin-top: 10px;
  }

  .altamiq-portal-card {
    width: 59%;
    max-width: 240px;
  }

  .altamiq-portal-card--1 {
    top: 22px;
    left: -2%;
    z-index: 2;
    transform: rotate(5deg);
  }

  .altamiq-portal-card--2 {
    top: 0;
    left: 35%;
    z-index: 3;
    transform: rotate(-5deg);
  }

  .altamiq-portal-card--3,
  .altamiq-portal-card--4,
  .altamiq-portal-card--5,
  .altamiq-portal-card--6,
  .altamiq-portal-card--7 {
    display: none;
  }

  .altamiq-portal-card__browser {
    padding: 7px 8px;
  }

  .altamiq-portal-card__body {
    padding: 9px;
  }

  .altamiq-portal-card__body strong {
    font-size: 9px;
  }

  .altamiq-portal-card__field {
    height: 13px;
  }

  .altamiq-portal-card__badge {
    font-size: 6px;
  }

  .altamiq-hero__more {
    right: 0;
    bottom: 0;
    padding: 7px 11px;
    font-size: 9px;
  }

  /* MOBILE LABEL INSTEAD OF ARROW */

  .altamiq-hero__connector {
    display: none;
  }

  .altamiq-hero__system-label {
    display: block;
    margin-top: 0;
  }

  /* MOBILE DASHBOARD */

  .altamiq-hero__dashboard {
    width: 100%;
    margin-top: 0;
  }

  .altamiq-hero__dashboard-top {
    display: none;
  }

  .altamiq-hero__dashboard-frame {
    width: 100%;
    height: 125px;
    min-height: 125px;
    overflow: hidden;
    border-radius: 14px;
  }

  .altamiq-hero__dashboard-frame img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: cover;
    object-position: left top;
  }

  /* MOBILE EXPIRY ALERT */

  .altamiq-hero__alert {
    width: max-content;
    max-width: 100%;
    margin: 16px 0 0;
    padding: 7px 10px;
    border: 1px solid #FFBA91;
    border-radius: 30px;
    background: #FFF5ED;
    box-shadow: none;
  }

  .altamiq-hero__alert-label {
    display: none;
  }

  .altamiq-hero__alert strong {
    color: #C94713;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 9px;
    font-weight: 500;
    line-height: 1.4;
  }
}

/* SMALL MOBILE */

@media (max-width: 380px) {
  .altamiq-hero__title {
    font-size: 34px;
  }

  .altamiq-hero__description {
    font-size: 15px;
  }

  .altamiq-hero__portal-stage {
    min-height: 145px;
  }

  .altamiq-portal-card {
    width: 62%;
  }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  .altamiq-hero__button {
    transition: none;
  }
}