﻿/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   WebGrowPrime â€” Premium Top Announcement Bar
   Glassmorphism sliding offer/info bar
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•0026;

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ Top Bar Container â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.wgp-top-bar {
  /* WebGrowPrime brand colors */
  --wgp-primary-blue: #FF0F5B;
  --wgp-light-blue: #FF2D73;
  --wgp-dark-blue: #1E3A8A;
  --wgp-soft-blue: #EEF5FF;
  --wgp-white: #FFFFFF;

  --tb-height: 26px; /* Reduced height (smaller top bar) */

  --tb-bg: var(--wgp-dark-blue);
  --tb-border: rgba(30, 58, 138, 0.15);
  --tb-text: var(--wgp-white);
  --tb-accent: var(--wgp-primary-blue);
  --tb-glow: rgba(30, 58, 138, 0.12);

  position: relative;
  z-index: 100;
  width: 100%;
  height: var(--tb-height);
  background: var(--tb-bg);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid var(--tb-border);
  box-shadow: 0 1px 0 rgba(30, 58, 138, 0.06) inset, 0 2px 10px var(--wgp-soft-blue);
  overflow: hidden;
  user-select: none;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ Layout â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.wgp-top-bar-inner {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 8px;
  gap: 0;
}

/* â”€â”€ Left static badge â”€â”€ */
.wgp-tb-left {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding-right: 12px;
  position: relative;
  z-index: 2;
}

.wgp-tb-left::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.wgp-tb-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 10px;
  border-radius: 50px;
  background: linear-gradient(135deg, rgba(37, 99, 237, 0.2), rgba(255,45,115, 0.1));
  border: 1px solid rgba(37, 99, 237, 0.25);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--wgp-white);
}

.wgp-tb-badge-icon {
  font-size: 0.8em;
  opacity: 0.9;
}

/* â”€â”€ Sliding Marquee â”€â”€ */
.wgp-tb-marquee {
  flex: 1;
  position: relative;
  overflow: hidden;
  height: 100%;
  --t #fff;
  white-space: nowrap;
  animation: tbBadgePulse 2.5s ease-in-out infinite;
  box-shadow: 0 0 16px rgba(30, 58, 138, 0.08);
}

.wgp-tb-badge-icon {
  font-size: 0.75rem;
  line-height: 1;
  filter: drop-shadow(0 0 3px rgba(255, 15, 91, 0.4));
}

/* â”€â”€ Marquee area â”€â”€ */
.wgp-tb-marquee {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}

.wgp-tb-track {
  display: flex;
  white-space: nowrap;
  will-change: transform;
}

.wgp-tb-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0;
  padding: 0 4px;
}

/* â”€â”€ Individual items â”€â”€ */
.wgp-tb-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 14px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--tb-text);
  white-space: nowrap;
  position: relative;
  transition: color 0.2s ease;
}

.wgp-tb-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 15, 91, 0.35);
}

.wgp-tb-item:last-child::after {
  display: none;
}

.wgp-tb-item:hover {
  color: #fff;
}

.wgp-tb-item-icon {
  font-size: 0.82rem;
  line-height: 1;
  flex-shrink: 0;
}

/* â”€â”€ Offer highlight item â”€â”€ */
.wgp-tb-item.wgp-tb-offer {
  color: #FF0F5B;
  font-weight: 700;
}

.wgp-tb-item.wgp-tb-offer .wgp-tb-item-icon {
  animation: tbOfferPulse 1.5s ease-in-out infinite;
}

/* â”€â”€ Separator dot between items (non-last within group) â”€â”€ */
.wgp-tb-divider {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 15, 91, 0.3);
  font-size: 0.5rem;
  padding: 0 2px;
}

/* â”€â”€ Right static CTA â”€â”€ */
.wgp-tb-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 6px;
  padding-left: 12px;
  position: relative;
  z-index: 2;
}

.wgp-tb-right::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.wgp-tb-phone,
.wgp-tb-wa {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.wgp-tb-phone:hover,
.wgp-tb-wa:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.wgp-tb-wa {
  color: #25D366;
}

.wgp-tb-wa:hover {
  background: rgba(37, 211, 102, 0.1);
  color: #25D366;
}

.wgp-tb-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 14px;
  border-radius: 100px;
  background: linear-gradient(135deg, #FF0F5B, #FF2D73);
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 12px rgba(255, 15, 91, 0.25);
}

.wgp-tb-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255, 15, 91, 0.35);
}

/* â”€â”€ Dismiss button â”€â”€ */
.wgp-tb-dismiss {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-left: 6px;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.65rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.wgp-tb-dismiss:hover {
  background: rgba(255, 15, 91, 0.15);
  color: #FF0F5B;
}

/* â”€â”€ Dismissed state â”€â”€ */
.wgp-top-bar.wgp-tb-hidden {
  display: none;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ KEYFRAMES â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

/* Continuous smooth marquee scroll (lightweight transform) */
@keyframes tbMarqueeScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Premium accent layer on the bar for a SaaS look */
.wgp-top-bar::before{
  content:'';
  position:absolute;
  inset:0;
  background:
    radial-gradient(420px 120px at 10% 50%, rgba(255,15,91,.22), transparent 60%),
    radial-gradient(380px 120px at 90% 50%, rgba(255,45,115,.16), transparent 60%),
    linear-gradient(90deg, rgba(255,15,91,.10), rgba(9,17,51,.0), rgba(255,45,115,.10));
  pointer-events:none;
  opacity: .9;
  z-index: 0;
}

/* Ensure content stays above accent */
.wgp-top-bar > *{ position: relative; z-index: 1; }

/* Stronger soft glow */
.wgp-top-bar{
  box-shadow:
    0 1px 0 rgba(255,15,91,0.06) inset,
    0 4px 30px rgba(9,17,51,0.25),
    0 10px 45px rgba(255,15,91,0.10);
}

/* Premium offer item */
.wgp-tb-item.wgp-tb-offer{
  color: #FF0F5B;
  font-weight: 900;
  text-shadow: 0 0 18px rgba(255,15,91,0.15);
}

.wgp-tb-item.wgp-tb-offer:hover{
  color: #FFFFFF;
}



/* Badge pulse glow */
@keyframes tbBadgePulse {
  0%, 100% {
    box-shadow: 0 0 16px rgba(30, 58, 138, 0.08);
    border-color: rgba(255, 15, 91, 0.25);
  }
  50% {
    box-shadow: 0 0 24px rgba(255, 15, 91, 0.18);
    border-color: rgba(255, 15, 91, 0.4);
  }
}

/* Offer pulse animation (subtle, no jerking) */
@keyframes tbOfferPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 3px rgba(255, 15, 91, 0.28));
  }
  50% {
    transform: scale(1.08);
    filter: drop-shadow(0 0 10px rgba(255, 15, 91, 0.45));
  }
}


/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ RESPONSIVE â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

/* Tablet */
@media (max-width: 1023px) {
  .wgp-top-bar {
    --tb-height: 42px;
  }

  .wgp-tb-phone,
  .wgp-tb-wa {
    display: none;
  }

  .wgp-tb-item {
    font-size: 0.73rem;
    padding: 0 10px;
  }

  .wgp-tb-badge {
    font-size: 0.65rem;
    padding: 2px 10px;
  }

  .wgp-tb-left {
    padding-right: 8px;
  }

  .wgp-tb-right {
    padding-left: 8px;
  }
}

/* Mobile */
@media (max-width: 639px) {
  .wgp-top-bar {
    --tb-height: 38px;
  }

  .wgp-tb-left {
    display: none;
  }

  .wgp-tb-right {
    display: none;
  }

  .wgp-tb-dismiss {
    margin-left: 4px;
    width: 20px;
    height: 20px;
    font-size: 0.6rem;
  }

  .wgp-tb-item {
    font-size: 0.68rem;
    padding: 0 8px;
    gap: 4px;
  }

  .wgp-tb-item-icon {
    font-size: 0.75rem;
  }

  .wgp-tb-track {
    animation-duration: 35s;
  }

  .wgp-top-bar-inner {
    padding: 0 4px;
  }
}

/* Very small screens */
@media (max-width: 374px) {
  .wgp-top-bar {
    --tb-height: 34px;
  }

  .wgp-tb-item {
    font-size: 0.62rem;
    padding: 0 6px;
    gap: 3px;
  }

  .wgp-tb-item-icon {
    font-size: 0.68rem;
  }

  .wgp-tb-track {
    animation-duration: 30s;
  }
}

/* Reduce animation on prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .wgp-tb-track {
    animation: none;
  }

  .wgp-tb-badge {
    animation: none;
  }

  .wgp-tb-item.wgp-tb-offer .wgp-tb-item-icon {
    animation: none;
  }
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ Mobile menu overlap fix â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
/* Hide announcement bar when mobile menu is open â€” prevents z-index overlap */
body.menu-open .wgp-top-bar {
  display: none !important;
}