/* Hide rolling gallery under hero */
[data-framer-name="Reel"] {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Give Hero Inner clean positioning for the right-side multi-device showcase */
[data-framer-name="Hero"] {
  overflow: hidden !important;
}

[data-framer-name="Hero Inner"] {
  position: relative !important;
}

@media (min-width: 1100px) {
  [data-framer-name="Hero"] {
    padding-bottom: 160px !important;
  }

  /* Move the 2 pill buttons (Actions) directly under the hero title & subtext on the left */
  [data-framer-name="Lead Row"] {
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 24px !important;
    max-width: 460px !important;
    width: 100% !important;
    position: relative !important;
    z-index: 6 !important;
  }

  [data-framer-name="Lead Row"] > * {
    width: 100% !important;
    max-width: 460px !important;
    flex: none !important;
  }

  [data-framer-name="Actions"] {
    justify-content: flex-start !important;
    width: auto !important;
  }
}

/* Multi-device showcase container */
#hallo-hero-showcase {
  position: relative;
  width: 100%;
  margin-top: 32px;
  z-index: 4;
  font-family: "General Sans", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  user-select: none;
}

@media (min-width: 1100px) {
  #hallo-hero-showcase {
    position: absolute;
    right: -76px;
    top: 442px;
    width: 700px;
    height: 410px;
    margin-top: 0;
    transform: scale(1.3);
    transform-origin: top right;
    pointer-events: auto;
  }
}

.hs-stage {
  position: relative;
  width: 100%;
  height: 410px;
}

/* Editorial callout note + curved arrow (like reference) */
.hs-note {
  position: absolute;
  top: -28px;
  left: 44px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  pointer-events: none;
}

.hs-note-text {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: 20px;
  line-height: 1.08;
  color: #1A1A1A;
  letter-spacing: -0.01em;
}

.hs-note-arrow {
  width: 46px;
  height: 36px;
  margin-left: 34px;
  margin-top: 2px;
}

/* Large Screen / Tablet-Desktop Mockup */
.hs-tablet {
  position: absolute;
  top: 24px;
  left: 52px;
  width: 520px;
  height: 320px;
  background: #141414;
  border-radius: 22px;
  padding: 10px;
  box-shadow:
    0 30px 70px -15px rgba(17, 17, 17, 0.24),
    0 12px 28px -8px rgba(17, 17, 17, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  transform: rotate(-1.8deg);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
  z-index: 5;
}

.hs-tablet:hover {
  transform: rotate(-0.8deg) translateY(-4px);
  box-shadow:
    0 38px 80px -15px rgba(17, 17, 17, 0.28),
    0 16px 32px -8px rgba(17, 17, 17, 0.16);
}

.hs-tablet-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #F4EFE6;
}

.hs-tablet-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 22%;
}

.hs-tablet-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(246, 243, 236, 0.92) 0%,
    rgba(246, 243, 236, 0.72) 38%,
    rgba(246, 243, 236, 0.08) 66%,
    rgba(246, 243, 236, 0) 100%
  );
}

.hs-tablet-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px 0;
}

.hs-tablet-brand {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hs-mini-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #DDF65E;
  border: 1px solid #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: #111;
}

.hs-tablet-brand img {
  height: 11px;
  width: auto;
  display: block;
}

.hs-tablet-links {
  display: flex;
  gap: 12px;
  font-size: 9px;
  font-weight: 500;
  color: #2B2B2B;
  opacity: 0.78;
}

.hs-tablet-cta-mini {
  background: #111;
  color: #fff;
  font-size: 8.5px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 999px;
}

.hs-tablet-copy {
  position: relative;
  z-index: 2;
  padding: 36px 20px 18px 86px;
  max-width: 280px;
}

.hs-tablet-kicker {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4A4A45;
  margin-bottom: 8px;
}

.hs-tablet-kicker i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #22C55E;
  display: inline-block;
}

.hs-tablet-title {
  font-size: 27px;
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #111111;
  margin: 0 0 10px;
}

.hs-tablet-title em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 30px;
}

.hs-tablet-desc {
  font-size: 9.5px;
  line-height: 1.45;
  color: #4A4A45;
  margin: 0 0 14px;
}

.hs-tablet-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #111111;
  color: #FFFFFF;
  font-size: 9.5px;
  font-weight: 600;
  padding: 6px 8px 6px 12px;
  border-radius: 999px;
}

.hs-tablet-btn span {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #DDF65E;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
}

/* Floating Phone #1 (front-left) */
.hs-phone-left {
  position: absolute;
  left: -26px;
  bottom: -14px;
  width: 156px;
  height: 288px;
  background: #141414;
  border-radius: 28px;
  padding: 7px;
  box-shadow:
    0 24px 54px -10px rgba(17, 17, 17, 0.30),
    0 8px 20px -6px rgba(17, 17, 17, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  transform: rotate(-6deg);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 12;
}

.hs-phone-left:hover {
  transform: rotate(-3.5deg) translateY(-6px);
}

.hs-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  border-radius: 22px;
  overflow: hidden;
  padding: 27px 11px 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.hs-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 11px;
  background: #111;
  border-radius: 999px;
  z-index: 4;
}

.hs-p1-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.hs-p1-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #111;
}

.hs-p1-badge {
  background: #DDF65E;
  color: #111;
  font-size: 7.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 999px;
}

.hs-p1-stat {
  background: #F6F5F0;
  border: 1px solid #EAE8E0;
  border-radius: 10px;
  padding: 7px 9px;
  margin-bottom: 9px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.hs-p1-stat strong {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  letter-spacing: -0.03em;
}

.hs-p1-stat span {
  font-size: 8px;
  color: #15803D;
  font-weight: 600;
}

.hs-p1-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-bottom: 9px;
}

.hs-p1-card {
  background: #FAFAF8;
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid #EFECE4;
}

.hs-p1-card img {
  width: 100%;
  height: 62px;
  object-fit: cover;
  display: block;
}

.hs-p1-card-meta {
  padding: 5px 6px;
}

.hs-p1-card-meta b {
  display: block;
  font-size: 8px;
  color: #111;
  line-height: 1.2;
}

.hs-p1-card-meta span {
  font-size: 7px;
  color: #6B6B66;
}

.hs-p1-cta {
  margin-top: auto;
  background: #111;
  color: #fff;
  text-align: center;
  font-size: 8.5px;
  font-weight: 600;
  padding: 7px 0;
  border-radius: 999px;
}

/* Floating Phone #2 (right overlap) */
.hs-phone-right {
  position: absolute;
  right: 8px;
  top: 28px;
  width: 168px;
  height: 312px;
  background: #141414;
  border-radius: 28px;
  padding: 7px;
  box-shadow:
    0 26px 60px -12px rgba(17, 17, 17, 0.30),
    0 10px 24px -6px rgba(17, 17, 17, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  transform: rotate(6.5deg);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 14;
}

.hs-phone-right:hover {
  transform: rotate(4deg) translateY(-6px);
}

.hs-p2-hero {
  position: relative;
  width: 100%;
  height: 175px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 9px;
}

.hs-p2-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 18%;
  display: block;
}

.hs-p2-tag {
  position: absolute;
  bottom: 7px;
  left: 7px;
  background: rgba(17, 17, 17, 0.78);
  backdrop-filter: blur(6px);
  color: #DDF65E;
  font-size: 7.5px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 999px;
}

.hs-p2-brand {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111;
  margin-bottom: 2px;
}

.hs-p2-sub {
  font-size: 8px;
  color: #6B6B66;
  margin-bottom: 10px;
}

.hs-p2-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid #EFECE4;
}

.hs-p2-score {
  font-size: 12px;
  font-weight: 700;
  color: #111;
}

.hs-p2-score small {
  font-size: 7.5px;
  font-weight: 500;
  color: #6B6B66;
  margin-left: 2px;
}

.hs-p2-pill {
  background: #111;
  color: #DDF65E;
  font-size: 8px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
}

/* Floating Micro Ticket / Metric Card (like the tilted coffee coupon in reference) */
.hs-float-ticket {
  position: absolute;
  top: -22px;
  left: 245px;
  width: 122px;
  background: #FBF9F2;
  border: 1px solid #E5E1D4;
  border-radius: 12px;
  padding: 8px 10px;
  box-shadow: 0 16px 34px -8px rgba(17, 17, 17, 0.18);
  transform: rotate(10deg);
  z-index: 16;
  transition: transform 0.4s ease;
}

.hs-float-ticket:hover {
  transform: rotate(6deg) translateY(-4px);
}

.hs-ticket-top {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 8px;
  font-weight: 700;
  color: #111;
  margin-bottom: 4px;
}

.hs-ticket-top span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #DDF65E;
  border: 1px solid #111;
}

.hs-ticket-val {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #111;
  line-height: 1.05;
}

.hs-ticket-sub {
  font-size: 8px;
  color: #666660;
  margin-top: 2px;
}

/* Floating Bottom Pill Badge (like "X NO PHYSICAL CARDS" in reference) */
.hs-float-pill {
  position: absolute;
  bottom: -18px;
  left: 175px;
  background: rgba(251, 249, 242, 0.94);
  border: 1.5px solid #111111;
  color: #111111;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 10px 24px -8px rgba(17, 17, 17, 0.16);
  z-index: 18;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hs-float-pill i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #DDF65E;
  border: 1px solid #111;
  display: inline-block;
}

/* Responsive scaling for smaller screens */
@media (max-width: 1099px) {
  #hallo-hero-showcase {
    max-width: 660px;
    margin: 28px auto 0;
  }
  .hs-note, .hs-float-pill {
    display: none;
  }
}

@media (max-width: 680px) {
  .hs-stage {
    transform: scale(0.56);
    transform-origin: top left;
    height: 240px;
  }
}

/* Full-width black marquee strip directly under the Hero showcase (inspired by shining-stage) */
#hallo-black-strip {
  position: relative;
  width: 100%;
  background: #141311;
  color: #FFFFFF;
  overflow: hidden;
  padding: 16px 0;
  z-index: 15;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  user-select: none;
}

.hbs-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: hbs-scroll 28s linear infinite;
}

#hallo-black-strip:hover .hbs-track {
  animation-play-state: paused;
}

.hbs-group {
  display: flex;
  align-items: center;
  gap: 54px;
  padding-right: 54px;
}

.hbs-item {
  display: inline-flex;
  align-items: baseline;
  gap: 11px;
  white-space: nowrap;
}

.hbs-label {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7D7B75;
}

.hbs-value {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  font-variant-numeric: tabular-nums;
}

.hbs-value em {
  font-style: normal;
  color: #DDF65E;
}

@keyframes hbs-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
