/* Consumer App spotlight. Kept separate from the existing Agency theme. */
#mainNav .navbar-nav .nav-item .counterbox-app-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fcd842;
  font-weight: 700;
  white-space: nowrap;
}

#mainNav .counterbox-app-nav img {
  flex: 0 0 28px;
  border-radius: 7px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .25);
}

.counterbox-app-nav span {
  margin-left: 4px;
}

.counterbox-app-hero-link {
  display: table;
  margin: 24px auto 0;
  padding: 8px 0;
  color: #fff;
  font: 600 16px/1.5 Arial, "Microsoft JhengHei", sans-serif;
  border-bottom: 1px solid rgba(255, 255, 255, .45);
}

.counterbox-app-hero-link span {
  display: inline-block;
  margin-left: 12px;
  color: #fcd842;
  transition: transform .2s ease;
}

.counterbox-app-hero-link:hover {
  color: #fcd842;
  text-decoration: none;
}

.counterbox-app-hero-link:hover span {
  transform: translateY(3px);
}

.counterbox-app-spotlight {
  position: relative;
  overflow: hidden;
  padding: 34px 0 26px;
  scroll-margin-top: 76px;
  color: #f5f5f7;
  background: radial-gradient(ellipse at 80% 45%, #292f60 0, #151a37 42%, #0d1020 78%);
  font-family: Arial, "Microsoft JhengHei", sans-serif;
}

.counterbox-app-topline,
.counterbox-app-bottomline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.counterbox-app-topline {
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.counterbox-app-eyebrow {
  color: #fcd842;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
}

.counterbox-app-platforms {
  padding: 7px 13px;
  border: 1px solid rgba(252, 216, 66, .4);
  border-radius: 30px;
  color: #fcd842;
  font-size: 13px;
  line-height: 1.5;
}

.counterbox-app-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 42px 0 46px;
}

.counterbox-app-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.counterbox-app-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 27px;
  font-size: 20px;
  font-weight: 700;
}

.counterbox-app-brand img {
  border-radius: 13px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12);
}

.counterbox-app-brand-caption {
  display: block;
  margin-top: 3px;
  color: #b8bdd3;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .08em;
}

.counterbox-app-spotlight h2 {
  margin: 0 0 24px;
  color: #fff;
  font: 800 clamp(36px, 4.2vw, 56px)/1.3 Arial, "Microsoft JhengHei", sans-serif;
  letter-spacing: -.045em;
}

.counterbox-app-spotlight h2 span {
  color: #fcd842;
}

.counterbox-app-intro {
  margin: 0;
  color: #c9cde0;
  font-size: 18px;
  line-height: 1.85;
}

.counterbox-app-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 25px;
  margin: 25px 0 30px;
  padding: 0;
  list-style: none;
}

.counterbox-app-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

.counterbox-app-features i {
  color: #fcd842;
  font-size: 14px;
}

.counterbox-app-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  min-height: 58px;
  padding: 15px 24px;
  border: 1px solid #fcd842;
  border-radius: 6px;
  color: #111527;
  background: #fcd842;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.counterbox-app-cta span {
  font-size: 25px;
  line-height: 1;
}

.counterbox-app-cta:hover {
  color: #111527;
  background: #ffe675;
  box-shadow: 0 8px 30px rgba(252, 216, 66, .18);
  text-decoration: none;
  transform: translateY(-2px);
}

.counterbox-app-context {
  margin: 18px 0 0;
  color: #b8bdd3;
  font-size: 13px;
  line-height: 1.7;
}

.counterbox-app-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 470px;
  isolation: isolate;
}

.counterbox-app-orbit {
  position: absolute;
  z-index: -1;
  width: 430px;
  height: 430px;
  max-width: 100%;
  border: 1px solid rgba(252, 216, 66, .24);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(255, 255, 255, .025), 0 0 0 68px rgba(255, 255, 255, .02);
}

.counterbox-app-visual-label {
  position: absolute;
  top: 7px;
  right: 0;
  color: #9299bb;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: .16em;
}

.counterbox-app-phone {
  display: block;
  width: 310px;
  max-width: 75%;
  height: auto;
  transform: rotate(7deg);
  filter: drop-shadow(0 24px 28px rgba(0, 0, 0, .5));
  animation: counterbox-app-float 7s ease-in-out infinite;
}

.counterbox-app-floating-note {
  position: absolute;
  bottom: 7px;
  left: -6px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 19px;
  border: 1px solid #505676;
  border-radius: 14px;
  background: #202641;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .3);
  transform: rotate(-4deg);
}

.counterbox-app-note-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  color: #fcd842;
  background: #313750;
  font-size: 22px;
}

.counterbox-app-floating-note strong {
  display: block;
  font-size: 16px;
}

.counterbox-app-floating-note small {
  display: block;
  margin-top: 4px;
  color: #c9cde0;
  font-size: 12px;
}

.counterbox-app-note-check {
  margin-left: 9px;
  color: #fcd842;
  font-size: 22px;
}

.counterbox-app-bottomline {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  color: #b8bdd3;
  font-size: 12px;
  line-height: 1.7;
}

.counterbox-app-bottomline span:last-child {
  font-size: 10px;
  letter-spacing: .14em;
}

.counterbox-app-hero-link:focus-visible,
.counterbox-app-cta:focus-visible,
#mainNav .counterbox-app-nav:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 6px;
}

@keyframes counterbox-app-float {
  0%, 100% { transform: translateY(0) rotate(7deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
}

@media (max-width: 991px) {
  .counterbox-app-layout {
    gap: 16px;
  }

  .counterbox-app-spotlight h2 {
    font-size: 40px;
  }

  .counterbox-app-visual {
    min-height: 420px;
  }

  .counterbox-app-floating-note {
    left: -12px;
    padding: 12px;
  }
}

@media (max-width: 767px) {
  .counterbox-app-spotlight {
    padding: 24px 0;
  }

  .counterbox-app-topline {
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 20px;
  }

  .counterbox-app-eyebrow {
    margin-top: 8px;
    font-size: 10px;
    letter-spacing: .12em;
  }

  .counterbox-app-platforms {
    padding: 6px 10px;
    font-size: 11px;
    white-space: nowrap;
  }

  .counterbox-app-layout {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 30px 0 28px;
  }

  .counterbox-app-brand {
    margin-bottom: 22px;
  }

  .counterbox-app-spotlight h2 {
    font-size: clamp(34px, 8vw, 46px);
  }

  .counterbox-app-intro {
    font-size: 16px;
  }

  .counterbox-app-desktop-break {
    display: none;
  }

  .counterbox-app-features {
    gap: 12px 19px;
    margin: 23px 0 26px;
  }

  .counterbox-app-features li {
    gap: 6px;
    font-size: 14px;
  }

  .counterbox-app-cta {
    width: 100%;
  }

  .counterbox-app-visual {
    min-height: 385px;
    width: min(100%, 410px);
    margin: 0 auto;
  }

  .counterbox-app-phone {
    width: 250px;
  }

  .counterbox-app-orbit {
    width: 310px;
    height: 310px;
  }

  .counterbox-app-floating-note {
    bottom: 0;
    left: 0;
    padding: 13px 15px;
  }

  .counterbox-app-bottomline {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding-top: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .counterbox-app-phone {
    animation: none;
  }

  .counterbox-app-hero-link span,
  .counterbox-app-cta {
    transition: none;
  }
}
