/* Original Cat-ch Me If You Can component styles by Hannah Goodridge, adapted for WEB iDEA. */
/* CodePen CSS pane */
.demo {
  padding: 2rem;
  width: min(100%, 380px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.get-started-cat {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 340 / 150;
  height: auto;
  color: #D9DDE2;
  text-decoration: none;
  border-radius: 1rem;
  outline: none;
  cursor: pointer;
  overflow: hidden;
  --flap: 0;
  --btn-h: 29.33%;
  --btn-h-full: 29.33%;
  --btn-inset-x: 20.59%;
}

.get-started-cat__scene {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
}

.get-started-cat:focus-visible {
  box-shadow: 0 0 0 3px var(--color-highlight);
}

.get-started-cat__scene--front {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.get-started-cat__btn-back {
  position: absolute;
  left: var(--btn-inset-x);
  right: var(--btn-inset-x);
  top: 8%;
  height: var(--btn-h-full);
  border-radius: 22px;
  background: rgb(0 0 0 / 0.22);
  pointer-events: none;
  z-index: 0;
}

.get-started-cat__button {
  transition: transform 0.1s ease-in-out;
}

.get-started-cat__label {
  position: absolute;
  left: 0;
  right: 0;
  top: 8%;
  height: var(--btn-h, 29.33%);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--color-primary);
  pointer-events: none;
  overflow: hidden;
  transform-origin: center top;
  transition: transform 0.1s ease-in-out;
}

.get-started-cat[data-zone="bottom"] .get-started-cat__label {
  transform: perspective(900px) rotateX(calc(var(--flap) * -10deg));
  transition: none;
}

.get-started-cat__button-face,
.get-started-cat__button-shadow {
  transition: opacity 0.1s ease-in-out;
}

.get-started-cat:active:not([data-zone="bottom"]) .get-started-cat__button {
  transform: translateY(5px);
}

.get-started-cat:active:not([data-zone="bottom"]) .get-started-cat__label {
  transform: translateY(5px);
}

.get-started-cat:active:not([data-zone="bottom"]) .get-started-cat__button-shadow {
  opacity: 0;
}

.get-started-cat__reach {
  opacity: 0;
  visibility: hidden;
}

.get-started-cat[data-reduced-motion="true"] .get-started-cat__reach,
.get-started-cat[data-reduced-motion="true"] .get-started-cat__paw-front {
  display: none;
}

.get-started-cat[data-reduced-motion="true"] .get-started-cat__button,
.get-started-cat[data-reduced-motion="true"] .get-started-cat__label {
  transform: none !important;
  --flap: 0 !important;
  --btn-h: 29.33% !important;
}

.get-started-cat__when-bottom {
  display: none;
}

.get-started-cat[data-zone="bottom"] .get-started-cat__when-side {
  display: none;
}

.get-started-cat[data-zone="bottom"] .get-started-cat__when-bottom {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .get-started-cat__reach,
  .get-started-cat__button,
  .get-started-cat__label {
    transition: none;
  }
}



/* WEB iDEA integration layer — v4 */
.geo-cat-cta-host {
  position: fixed !important;
  z-index: 1205 !important;
  top: max(6px, env(safe-area-inset-top));
  left: 50%;
  width: 260px;
  height: 150px;
  margin: 0 !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -125%);
  transition: opacity .24s ease, transform .28s cubic-bezier(.2,.8,.2,1), visibility .24s;
  isolation: isolate;
}
.geo-cat-cta-host.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  transform: translate(-50%, 0);
}
.geo-cat-cta-host .get-started-cat {
  position: relative;
  display: block;
  width: 260px;
  max-width: none;
  height: 150px;
  aspect-ratio: auto;
  overflow: hidden;
  color: #171717;
  text-decoration: none;
  border-radius: 0;
  outline: none;
  cursor: pointer;
  pointer-events: auto;
  --color-primary: #171717;
  --btn-inset-x: 11.54%;
  --btn-h: 29.33%;
  --btn-h-full: 29.33%;
}
.geo-cat-cta-host .get-started-cat__scene {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
}
.geo-cat-cta-host .get-started-cat__scene--front {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.geo-cat-cta-host .get-started-cat__btn-back {
  position: absolute;
  left: 11.54%;
  right: 11.54%;
  top: 8%;
  width: auto;
  height: 29.33%;
  border-radius: 22px;
  background: rgb(0 0 0 / .22);
  pointer-events: none;
  z-index: 0;
}
.geo-cat-cta-host .get-started-cat__label {
  position: absolute;
  left: 0;
  right: 0;
  top: 8%;
  height: var(--btn-h, 29.33%);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  box-sizing: border-box;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1;
  color: #171717;
  pointer-events: none;
  overflow: hidden;
  white-space: nowrap;
}
.geo-cat-cta-host .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.geo-cat-cta-host .get-started-cat__reach {
  opacity: 0;
  visibility: hidden;
}
.geo-cat-cta-host .get-started-cat__when-bottom { display: none; }
.geo-cat-cta-host .get-started-cat[data-zone="bottom"] .get-started-cat__when-side { display: none; }
.geo-cat-cta-host .get-started-cat[data-zone="bottom"] .get-started-cat__when-bottom { display: block; }
.geo-cat-cta-host .get-started-cat:focus-visible {
  box-shadow: 0 0 0 3px #8b5cf6;
}
@media (max-width: 600px) {
  .geo-cat-cta-host {
    top: max(4px, env(safe-area-inset-top));
    transform: translate(-50%, -125%) scale(.88);
    transform-origin: top center;
  }
  .geo-cat-cta-host.is-visible {
    transform: translate(-50%, 0) scale(.88);
  }
}
@media (prefers-reduced-motion: reduce) {
  .geo-cat-cta-host,
  .geo-cat-cta-host.is-visible { transition: none !important; }
  .geo-cat-cta-host .get-started-cat__reach,
  .geo-cat-cta-host .get-started-cat__button,
  .geo-cat-cta-host .get-started-cat__label { transition: none !important; }
}
