/*
 * AETRIX PROMO
 * Scrolling announcement bar + launch offer popup
 */

/* ── ANNOUNCEMENT BAR ──────────────────────────────────── */
.aetrix-promo-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 36px;
  background: #003949;
  z-index: 200;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.aetrix-promo-bar__scroll {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.aetrix-promo-bar__track {
  display: flex;
  white-space: nowrap;
  will-change: transform;
  animation: aetrix-marquee 32s linear infinite;
}

.aetrix-promo-bar__track:hover {
  animation-play-state: paused;
  cursor: default;
}

.aetrix-promo-bar__item {
  display: inline-flex;
  align-items: center;
  padding: 0 2.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  font-family: 'Manrope', sans-serif;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #84f5e8;
}

.aetrix-promo-bar__sep {
  color: rgba(132, 245, 232, 0.3);
  margin-left: 2rem;
  font-size: 0.5rem;
}

.aetrix-promo-bar__contact {
  flex-shrink: 0;
  padding: 0 1.1rem;
  height: 100%;
  display: flex;
  align-items: center;
  font-family: 'Manrope', sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.10);
  border-left: 1px solid rgba(255, 255, 255, 0.13);
  transition: background 0.2s;
  white-space: nowrap;
}

.aetrix-promo-bar__contact:hover {
  background: rgba(255, 255, 255, 0.18);
}

@keyframes aetrix-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── POPUP OVERLAY ─────────────────────────────────────── */
.aetrix-popup-overlay {
  position: fixed;
  inset: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(25, 28, 30, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.aetrix-popup-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ── POPUP CARD ────────────────────────────────────────── */
.aetrix-popup {
  background: #ffffff;
  border-radius: 1.5rem;
  max-width: 460px;
  width: 100%;
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0, 57, 73, 0.22),
    0 0 0 1px rgba(0, 0, 0, 0.06);
  transform: translateY(22px) scale(0.97);
  transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.aetrix-popup-overlay.is-open .aetrix-popup {
  transform: translateY(0) scale(1);
}

/* ── HEADER ────────────────────────────────────────────── */
.aetrix-popup__header {
  background: linear-gradient(135deg, #003949 0%, #065167 60%, #003b36 100%);
  padding: 2rem 2rem 1.75rem;
  position: relative;
}

.aetrix-popup__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  line-height: 1;
  transition: background 0.2s, color 0.2s;
  font-family: sans-serif;
}

.aetrix-popup__close:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.aetrix-popup__badge {
  display: inline-block;
  background: #84f5e8;
  color: #003949;
  font-family: 'Manrope', sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.aetrix-popup__headline {
  font-family: 'Manrope', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.05;
  color: #ffffff;
  letter-spacing: -0.04em;
  margin: 0 0 0.6rem;
}

.aetrix-popup__headline span {
  color: #84f5e8;
}

.aetrix-popup__sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.55;
  margin: 0;
}

/* ── BODY ──────────────────────────────────────────────── */
.aetrix-popup__body {
  padding: 1.75rem 2rem 2rem;
}

.aetrix-popup__perks {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.aetrix-popup__perks li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: #191c1e;
}

.aetrix-popup__perks li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #003b36;
  border-radius: 50%;
  flex-shrink: 0;
}

.aetrix-popup__input {
  display: block;
  width: 100%;
  padding: 0.72rem 1rem;
  border: 1.5px solid #c2c7d1;
  border-radius: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: #191c1e;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  margin-bottom: 0.6rem;
}

.aetrix-popup__input:focus {
  border-color: #003949;
  box-shadow: 0 0 0 3px rgba(0, 57, 73, 0.08);
  outline: none;
}

.aetrix-popup__input::placeholder {
  color: #9da3ae;
}

.aetrix-popup__btn {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, #003949, #065167);
  color: #ffffff;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  margin-bottom: 1rem;
  box-sizing: border-box;
}

.aetrix-popup__btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.aetrix-popup__btn:active {
  transform: translateY(0);
  opacity: 1;
}

.aetrix-popup__alt {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: #727780;
  text-align: center;
  margin: 0;
}

.aetrix-popup__alt a {
  color: #003949;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── THANK YOU STATE ───────────────────────────────────── */
.aetrix-popup__thanks {
  text-align: center;
  padding: 0.25rem 0;
}

.aetrix-popup__thanks-icon {
  font-size: 2.25rem;
  margin-bottom: 0.65rem;
  display: block;
}

.aetrix-popup__thanks strong {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #003949;
  margin-bottom: 0.5rem;
}

.aetrix-popup__thanks p {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: #42474f;
  line-height: 1.55;
  margin: 0;
}

/* ── NAV LINK HOVER UNDERLINE ──────────────────────────────── */
nav a:not([class*="font-black"]):not([class*="border-b-2"]) {
  position: relative;
}
nav a:not([class*="font-black"]):not([class*="border-b-2"])::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #003949;
  border-radius: 1px;
  transition: width 0.24s cubic-bezier(0.4, 0, 0.2, 1);
}
nav a:not([class*="font-black"]):not([class*="border-b-2"]):hover::after {
  width: 100%;
}
