/* Dynamic Floating CTA Bar Styling - UPDATED VERSION */
.floating-cta-bar {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background: rgba(90, 138, 138, 0.95) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 15px 20px !important;
  z-index: 9999 !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1) !important;
  font-family: "Nunito Sans", sans-serif !important;

  /* Start completely hidden */
  transform: translateY(100%) !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Show state */
.floating-cta-bar.show {
  transform: translateY(0) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* CTA Bar Container */
.floating-cta-container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 20px !important;
  position: relative !important;
}

.cta-set {
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 20px !important;
  flex-direction: column !important;
}

.cta-set.active {
  display: flex !important;
}

/* Title goes in first column but is invisible for spacing */
.floating-cta-title {
  color: white !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  margin: 0 !important;
  text-align: center !important;
}

/* CTA Packages Container */
.floating-cta-packages {
  display: flex !important;
  gap: 20px !important;
  flex: 1 !important;
  justify-content: center !important;
  align-items: center !important;
}

/* Individual Package CTA */
.floating-package-cta {
  background: linear-gradient(135deg, #e67e22 0%, #d35400 100%) !important;
  color: white !important;
  padding: 10px 20px !important;
  border-radius: 25px !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  min-width: 200px !important;
  text-align: center !important;
  border: none !important;
  cursor: pointer !important;
}

.floating-package-cta:hover {
  background: linear-gradient(135deg, #d35400 0%, #bf4f05 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(211, 84, 0, 0.3) !important;
  color: white !important;
  text-decoration: none !important;
}

/* Single action CTA button */
.floating-single-cta {
  background: linear-gradient(135deg, #e67e22 0%, #d35400 100%) !important;
  color: white !important;
  padding: 12px 30px !important;
  border-radius: 25px !important;
  text-decoration: none !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  border: none !important;
  cursor: pointer !important;
  text-align: center !important;
}

.floating-single-cta:hover {
  background: linear-gradient(135deg, #d35400 0%, #bf4f05 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(211, 84, 0, 0.3) !important;
  color: white !important;
  text-decoration: none !important;
}

/* NEW: Back button with green gradient */
.floating-back-cta {
  background: linear-gradient(135deg, #27ae60 0%, #229954 100%) !important;
  color: white !important;
  padding: 12px 30px !important;
  border-radius: 25px !important;
  text-decoration: none !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  border: none !important;
  cursor: pointer !important;
  text-align: center !important;
}

.floating-back-cta:hover {
  background: linear-gradient(135deg, #229954 0%, #1e8449 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3) !important;
  color: white !important;
  text-decoration: none !important;
}

/* Package name */
.floating-package-name {
  font-size: 16px !important;
  opacity: 0.9 !important;
  margin: 7px 0 2px 0 !important;
  font-weight: 700 !important;
}

/* Package price */
.floating-package-price {
  font-size: 15px !important;
  font-weight: 700 !important;
  margin: 0 !important;
}

/* Popular badge */
.floating-package-cta.popular {
  position: relative !important;
  background: linear-gradient(135deg, #1e51c8 0%, #1a47b3 100%) !important;
}

/* basic badge */
.floating-package-cta.basic {
  position: relative !important;
  background: linear-gradient(135deg, #e67e22 0%, #d35400 100%) !important;
}
.floating-package-cta.basic::before {
  content: "STARTER" !important;
  position: absolute !important;
  top: -8px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  background: #1e51c8 !important;
  color: white !important;
  padding: 2px 8px !important;
  border-radius: 10px !important;
  font-size: 9px !important;
  font-weight: bold !important;
}

.floating-package-cta.popular::before {
  content: "POPULAR" !important;
  position: absolute !important;
  top: -8px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  background: #27ae60 !important;
  color: white !important;
  padding: 2px 8px !important;
  border-radius: 10px !important;
  font-size: 9px !important;
  font-weight: bold !important;
}

/* Best value badge */
.floating-package-cta.best-value {
  position: relative !important;
  background: linear-gradient(135deg, #27ae60 0%, #229954 100%) !important;
}

.floating-package-cta.best-value::before {
  content: "FULL FEATURED" !important;
  position: absolute !important;
  top: -8px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  background: #8e44ad !important;
  color: white !important;
  padding: 2px 8px !important;
  border-radius: 10px !important;
  font-size: 9px !important;
  font-weight: bold !important;
}

/* Close button - positioned in upper left */
.floating-cta-close {
  background: rgba(255, 255, 255, 0.2) !important;
  color: white !important;
  border: none !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 18px !important;
  line-height: 1 !important;
  transition: all 0.3s ease !important;
  position: absolute !important;
  top: 0px !important;
  left: 20px !important;
  z-index: 10000 !important;
}

.floating-cta-close:hover {
  background: rgba(255, 255, 255, 0.3) !important;
  transform: scale(1.1) !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .floating-cta-container {
    flex-direction: column !important;
    gap: 10px !important;
    text-align: center !important;
  }

  .cta-set {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .floating-cta-title {
    font-size: 14px !important;
  }

  .floating-cta-packages {
    gap: 10px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }

  .floating-package-cta {
    min-width: 100px !important;
    padding: 8px 15px !important;
    flex: 1 !important;
    max-width: 120px !important;
  }

  .floating-single-cta,
  .floating-back-cta {
    padding: 10px 25px !important;
    font-size: 14px !important;
  }

  .floating-package-price {
    font-size: 14px !important;
  }

  .floating-package-name {
    font-size: 11px !important;
  }

  .floating-cta-bar {
    padding: 12px 15px !important;
  }
}

@media (max-width: 480px) {
  .floating-cta-packages {
    flex-direction: column !important;
    gap: 8px !important;
  }

  .floating-package-cta {
    width: 100% !important;
    max-width: 200px !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    padding: 8px 16px !important;
  }
}