@import url("https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap");

/* ============================================================
   Module: Platform Showcase — One Platform. Endless Visibility.
   ============================================================ */

.platform-showcase {
  position: relative;
  z-index: 1;
  background: transparent;
  
  width: 100%;
  height: auto;

  margin: 0;
  padding: 24px 0 40px;
  
  /*transform: translateY(-240px);
  margin-bottom: -240px;
  padding: 40px 0 90px;*/
  font-family: var(--koble-font, 'Hanken Grotesk', Arial, sans-serif);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.platform-showcase::before {
  display:none:
/*content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: -1;*/
}

.platform-showcase__inner {
  max-width: var(--koble-container, 1200px);
  margin: 0 auto;
  padding: 0 40px;
  transform: translateX(clamp(-55px, calc(-19.6vw + 216px), 0px));
}

/* ── Header ── */
.platform-showcase__header {
  margin-bottom: 40px;
}

.platform-showcase__heading {
  font-size: clamp(45px, 5.6vw, 73px);
  font-weight: 800;
  color: var(--koble-ink, #19352B);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
}

.platform-showcase__subhead {
  font-size: 22px;
  color: var(--koble-body-text, #45524A);
  line-height: 1.55;
  max-width: 500px;
  margin: 0;
}

/* ── Icon tabs ── */
.platform-showcase__tabs {
  display: flex;
  gap: 0;
  margin-left: -39px;
  margin-bottom: -30px;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
  z-index: 2;
}

.platform-tab {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  outline: none;
  margin-right: -33px;
  position: relative;
}

.platform-tab__icon {
  display: flex;
  transition: transform 0.2s ease;
}

.platform-tab__icon img {
  width: clamp(180px, calc(-154px + 30.4vw), 265px);
  height: clamp(180px, calc(-154px + 30.4vw), 265px);
  display: block;
  object-fit: contain;
  transition: width 0.2s ease, height 0.2s ease;
}

.platform-tab:hover .platform-tab__icon {
  transform: translateY(-3px);
}

/* Active: larger size, appears on top */
.platform-tab--active {
  margin-top: -7px;
  z-index: 1;
}

.platform-tab--active .platform-tab__icon img {
  width: clamp(255px, calc(-216px + 42.9vw), 375px);
  height: clamp(255px, calc(-216px + 42.9vw), 375px);
}

/* ── Content panel ── */
.platform-showcase__panel {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 56px;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* ── Info: label + bullets ── */
.platform-showcase__info {
  background: #fff;
  border-radius: 18px;
  padding: 32px 40px;
  box-shadow: -4px 4px 24px rgba(20, 40, 30, 0.10);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.platform-showcase__label {
  font-size: 47px;
  font-weight: 800;
  color: var(--koble-ink, #19352B);
  margin: 0 0 20px;
  letter-spacing: -0.01em;
  transition: opacity 0.2s;
}

.platform-showcase__bullets {
  list-style: disc;
  padding-left: 22px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.platform-showcase__bullets li {
  font-size: 26px;
  color: var(--koble-body-text, #45524A);
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}

/* ── Laptop image ── */
.platform-showcase__visual {
  overflow: visible;
}

.platform-showcase__laptop-img {
  display: block;
  width: 191%;
  height: auto;
  margin-left: -103px;
  margin-top: -16px;
}

/* ── Fade animation on switch ── */
.platform-showcase__label.is-switching,
.platform-showcase__bullets.is-switching,
.platform-showcase__laptop-img.is-switching {
  opacity: 0;
  transition: opacity 0.15s ease;
}

/* ── Responsive ── */

/* Laptop stops shrinking at ~1100px — bleeds off the right edge instead */
@media (max-width: 900px) {
  /*.platform-showcase {
    transform: none;
    margin-bottom: 0;
  }*/
}

@media (max-width: 1100px) {
  .platform-showcase__laptop-img {
    min-width: 840px;
  }
}
@media (max-width: 900px) {

  .platform-showcase {
    padding: 64px 0 72px;
  }

  .platform-showcase__inner {
    padding: 0 24px;
    transform: none;
  }

  /* TABS */

  .platform-showcase__tabs {
    width: 100%;

    margin-left: 0;
    margin-bottom: 28px;

    gap: 8px;

    justify-content: space-between;
  }

  .platform-tab {
    flex: 1 1 0;

    min-width: 0;

    margin-right: 0;
  }

  .platform-tab--active {
    margin-top: 0;
  }

  .platform-tab__icon {
    justify-content: center;
  }

  .platform-tab__icon img,
  .platform-tab--active .platform-tab__icon img {
    width: clamp(64px, 14vw, 100px);
    height: clamp(64px, 14vw, 100px);
  }


  /* PANEL */

  .platform-showcase__panel {
    grid-template-columns: 1fr;

    gap: 28px;
  }

  /* Content first is more usable after selecting a tab */

  .platform-showcase__info {
    order: 1;
  }

  .platform-showcase__visual {
    order: 2;

    overflow: hidden;
  }

  .platform-showcase__laptop-img {
    display: block;

    width: 100%;
    min-width: 0;

    margin: 0;

    height: auto;
  }


  /* CTAs */

  .platform-showcase__actions {
    margin-top: 32px;
  }

}

@media (max-width: 600px) {

  .platform-showcase {
    padding: 52px 0 60px;
  }

  .platform-showcase__inner {
    padding: 0 20px;
  }


  /* HEADER */

  .platform-showcase__header {
    margin-bottom: 30px;
  }

  .platform-showcase__heading {
    font-size: clamp(30px, 9vw, 40px);

    line-height: 1.08;
  }

  .platform-showcase__subhead {
    max-width: 100%;

    font-size: 17px;
    line-height: 1.55;
  }


  /* TABS */

  .platform-showcase__tabs {
    gap: 4px;

    margin-bottom: 24px;
  }

  .platform-tab__icon img,
  .platform-tab--active .platform-tab__icon img {
    width: 58px;
    height: 58px;
  }


  /* INFO */

  .platform-showcase__info {
    padding: 24px 22px;

    border-radius: 16px;
  }

  .platform-showcase__label {
    margin-bottom: 18px;

    font-size: 28px;
  }

  .platform-showcase__bullets {
    gap: 9px;
  }

  .platform-showcase__bullets li {
    font-size: 16px;

    white-space: normal;
  }


  /* CTAs */

  .platform-showcase__actions {
    flex-direction: column;

    align-items: stretch;

    width: 100%;

    gap: 10px;

    margin-top: 28px;
  }

  .platform-showcase__cta {
    width: 100%;
  }

}
/* ── CTAs ── */

.platform-showcase__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width:100%;
  margin-top: 48px;
}

.platform-showcase__cta {
  display: inline-block;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 20px;
    color: rgba(255, 255, 255, 1.0);
    background-color: rgba(23, 51, 42, 1.0);
    border: 1px solid #17332A;
    border-radius: 8px;
    padding: 26px 38px;
    margin: 0;
    transition: all 0.3s ease-in-out;
    text-align:center;

}



/* PRIMARY */

.platform-showcase__cta--primary {
  background: #19352B;
  border: 1px solid #19352B;
  color: #fff;
}

.platform-showcase__cta--primary:hover {
  background: #fff!important;
  border-color: #19352B!important;
  color: #19352B!important;
}


/* SECONDARY */

.platform-showcase__cta--secondary {
  background: transparent;
  border: 1px solid #19352B;
  color: #19352B;
}

.platform-showcase__cta--secondary:hover {
    background: #19352B!important;
  border-color: #19352B!important;
  color: #fff!important;
}
@media (max-width: 600px) {

  .platform-showcase__actions {
    flex-direction: column;
    align-items: stretch;

    width: 100%;
  }

  .platform-showcase__cta {
    width: 100%;
  }

}