/* TrackOnn launch announcement on the hero + product dialog */

.trackonn-hero-launch {
  position: absolute;
  left: 0;
  right: 0;
  top: 132px;
  z-index: 30;
  text-align: center;
  pointer-events: none;
  animation: trackonn-drop 0.9s ease-out both;
  display: none !important;
}

.sliderContainer {
  position: relative;
}

.main-banner .bContainer {
  top: 248px !important;
}

.trackonn-flasher {
  position: relative;
  z-index: 31;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 14px 16px;
  border: 2px solid #f0d36a;
  border-radius: 10px;
  background: #111111;
  color: #fff;
  font-family: "Raleway", sans-serif;
  cursor: pointer;
  overflow: visible;
  pointer-events: auto;
  -webkit-appearance: none;
  appearance: none;
  width: auto;
  max-width: calc(100% - 32px);
  box-sizing: border-box;
  animation: trackonn-breathe 1.8s ease-in-out infinite, trackonn-glow 1.4s ease-out infinite;
}

.trackonn-flasher::before {
  content: "";
  position: absolute;
  inset: -10px;
  border: 2px solid rgba(240, 211, 106, 0.85);
  border-radius: 16px;
  pointer-events: none;
  animation: trackonn-ring 1.6s ease-out infinite;
}

.trackonn-flasher:hover,
.trackonn-flasher:focus {
  background: #000;
  color: #fff;
  outline: none;
  border-color: #f0d36a;
}

.trackonn-flasher:focus {
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.4);
}

.trackonn-flasher.is-nudge {
  animation: trackonn-nudge 0.75s ease;
}

.trackonn-flasher-shine {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.trackonn-flasher-shine::after {
  content: "";
  position: absolute;
  top: 0;
  left: -45%;
  width: 28%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  animation: trackonn-shine 2.4s ease-in-out infinite;
}

.trackonn-flasher-badge {
  display: inline-block;
  padding: 8px 11px;
  border-radius: 4px;
  background: #f0d36a;
  color: #111;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  animation: trackonn-flash 0.9s ease-in-out infinite;
}

.trackonn-flasher-title {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  white-space: nowrap;
}

.trackonn-flasher-cta {
  display: inline-block;
  padding: 7px 10px;
  border-radius: 4px;
  background: #fff;
  color: #111;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.trackonn-hint {
  display: block;
  margin: 14px 0 0;
  color: #f0d36a;
  font-family: "Raleway", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  white-space: normal;
  line-height: 1.45;
  max-width: 92%;
  margin-left: auto;
  margin-right: auto;
}

.trackonn-hint.is-visible {
  animation: trackonn-hint-in 0.5s ease forwards, trackonn-hint-bob 1.6s ease-in-out 0.5s infinite;
}

.trackonn-hint.is-visible::after {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  margin: 8px auto 0;
  border-right: 3px solid #f0d36a;
  border-bottom: 3px solid #f0d36a;
  transform: rotate(45deg);
  animation: trackonn-arrow 0.9s ease-in-out infinite;
}

.trackonn-modal {
  text-align: center;
  padding: 24px 12px;
}

.trackonn-modal .modal-dialog {
  display: inline-block;
  text-align: left;
  width: 92%;
  max-width: 640px;
  margin: 36px auto;
}

.trackonn-modal .modal-content {
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #f7f6f2;
}

.trackonn-modal .modal-header {
  position: relative;
  padding: 28px 56px 24px 28px;
  border: 0;
  background: #111;
  color: #fff;
}

.trackonn-modal .modal-title {
  margin: 0;
  font-family: "Raleway", sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
}

.trackonn-modal .modal-kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #c9a227;
  color: #111;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.trackonn-modal .modal-subtitle {
  margin: 10px 0 0;
  max-width: 46em;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
}

.trackonn-modal .close {
  position: absolute;
  top: 16px;
  right: 18px;
  margin: 0;
  opacity: 0.7;
  color: #fff;
  font-size: 28px;
  font-weight: 300;
  text-shadow: none;
}

.trackonn-modal .close:hover {
  opacity: 1;
  color: #fff;
}

.trackonn-modal .modal-body {
  padding: 26px 28px 8px;
}

.trackonn-modal .modal-body p {
  margin: 0 0 18px;
  color: #000;
  font-size: 15px;
  line-height: 1.7;
}

.trackonn-values {
  display: table;
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 10px;
  margin: 0 -10px 10px;
}

.trackonn-value {
  display: table-cell;
  padding: 14px 14px 16px;
  background: #fff;
  border-top: 3px solid #c9a227;
  vertical-align: top;
}

.trackonn-value strong {
  display: block;
  margin-bottom: 6px;
  color: #000;
  font-family: "Raleway", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trackonn-value span {
  display: block;
  color: #000;
  font-size: 13px;
  line-height: 1.5;
}

.trackonn-audience {
  margin: 6px 0 12px !important;
  color: #000 !important;
  font-size: 13px !important;
}

.trackonn-modal .modal-footer {
  padding: 8px 28px 28px;
  border: 0;
  background: transparent;
  text-align: center;
}

.trackonn-cta {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 4px;
  background: #111;
  color: #fff !important;
  font-family: "Raleway", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.trackonn-cta:hover,
.trackonn-cta:focus {
  background: #c9a227;
  color: #111 !important;
  text-decoration: none;
}

.trackonn-site-note {
  display: block;
  margin-top: 8px;
  color: #000;
  font-size: 12px;
}

@keyframes trackonn-drop {
  0% {
    opacity: 0;
    transform: translateY(-28px) scale(0.92);
  }
  60% {
    opacity: 1;
    transform: translateY(8px) scale(1.03);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes trackonn-breathe {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.05);
  }
}

@keyframes trackonn-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(240, 211, 106, 0.75), 0 10px 28px rgba(0, 0, 0, 0.35);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(240, 211, 106, 0), 0 10px 28px rgba(0, 0, 0, 0.35);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(240, 211, 106, 0), 0 10px 28px rgba(0, 0, 0, 0.35);
  }
}

@keyframes trackonn-ring {
  0% {
    transform: scale(0.96);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.12);
    opacity: 0;
  }
}

@keyframes trackonn-arrow {
  0%,
  100% {
    transform: rotate(45deg) translateY(0);
  }
  50% {
    transform: rotate(45deg) translateY(5px);
  }
}

@keyframes trackonn-shine {
  0% {
    left: -45%;
  }
  100% {
    left: 120%;
  }
}

@keyframes trackonn-flash {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

@keyframes trackonn-nudge {
  0%,
  100% {
    transform: translateX(0) rotate(0);
  }
  20% {
    transform: translateX(-8px) rotate(-2deg);
  }
  40% {
    transform: translateX(8px) rotate(2deg);
  }
  60% {
    transform: translateX(-5px) rotate(-1deg);
  }
  80% {
    transform: translateX(5px) rotate(1deg);
  }
}

@keyframes trackonn-hint-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes trackonn-hint-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

@media (max-width: 992px) {
  .trackonn-hero-launch {
    top: 16px;
    padding: 0 12px;
    display: none !important;
  }

  .main-banner .bContainer {
    top: 220px !important;
  }

  .trackonn-flasher {
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: calc(100% - 24px);
    max-width: 340px;
    padding: 12px 14px;
  }

  .trackonn-flasher-title {
    font-size: 16px;
    white-space: normal;
    text-align: center;
  }

  .trackonn-flasher-cta {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  .trackonn-hint {
    font-size: 13px;
    padding: 0 8px;
  }
}

@media (max-width: 767px) {
  .main-banner .bContainer {
    top: 236px !important;
  }

  .trackonn-values,
  .trackonn-value {
    display: block;
    width: 100%;
  }

  .trackonn-values {
    margin: 0 0 12px;
    border-spacing: 0;
  }

  .trackonn-value {
    margin-bottom: 10px;
  }

  .trackonn-modal .modal-dialog {
    margin: 16px auto;
  }

  .trackonn-modal .modal-title {
    font-size: 26px;
  }

  .trackonn-modal .modal-header,
  .trackonn-modal .modal-body,
  .trackonn-modal .modal-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  display: none !important;
  .trackonn-hero-launch,
  .trackonn-flasher,
  .trackonn-flasher::before,
  .trackonn-flasher-shine::after,
  .trackonn-flasher-badge,
  .trackonn-hint,
  .trackonn-hint.is-visible,
  .trackonn-hint.is-visible::after {
    animation: none;
  }

  .trackonn-hint.is-visible {
    opacity: 1;
    transform: none;
  }
}
