/*******************************************************
  1) NAMESPACE & BASIC SETUP
*******************************************************/

#fundz-unified-module .fundz-button-row {
  margin-top: 16px !important;
  text-align: center !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 12px !important;
}

/* On mobile, stack more tightly */
@media (max-width: 768px) {
  #fundz-unified-module .fundz-button-row {
    margin-top: 8px !important;
    flex-direction: column !important;
    gap: 8px !important;
  }
}

/* Shared button base */
#fundz-unified-module .fundz-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 18px 30px !important;
  margin: 0 !important;
  border-radius: 45px !important;
  font-size: 14px !important;
  font-weight: bold !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  color: #ffffff !important;
  border: none !important;
  text-decoration: none !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease-in-out !important;
  line-height: 1 !important;
}

/* Primary red CTA */
#fundz-unified-module .fundz-button-primary {
  background-color: #e31f3d !important;
}

#fundz-unified-module .fundz-button-primary:hover {
  background-color: #c51b33 !important;
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(197, 27, 51, 0.4);
}

/* ROI button CTA (teal) */
#fundz-unified-module .fundz-button-roi {
  background-color: #4c8a9e !important;
  gap: 8px !important;
}

#fundz-unified-module .fundz-button-roi:hover {
  background-color: #3a6d7b !important;
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

#fundz-unified-module .fundz-button-roi svg {
  stroke: #ffffff;
  width: 16px !important;
  height: 16px !important;
  display: inline-block !important;
  vertical-align: baseline !important;
  margin-top: 1px !important; /* gently nudge down */
}

#fundz-unified-module {
  width: 100% !important;
  background: linear-gradient(135deg, #fafafa, #f5ebe4);!important; /* White background */
  padding-top: 48px !important;
  padding-bottom: 48px !important;
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}

#fundz-unified-module * {
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
  color: inherit !important;
  text-decoration: none !important;
  line-height: 1.4 !important;
}

/*******************************************************
  2) GRID CONTAINER
     - Right column is slightly bigger for the video
*******************************************************/
#fundz-unified-module .fundz-container {
  width: 90% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: 0.45fr 0.55fr !important; 
  gap: 2rem !important;
  align-items: center !important;
}

/* On smaller screens, stack columns into 1 column */
@media (max-width: 768px) {
  #fundz-unified-module .fundz-container {
    grid-template-columns: 1fr !important;
    align-items: start !important;
  }
}

/*******************************************************
  3) HEADING & SUBHEADING
*******************************************************/
#fundz-unified-module .fundz-text-section {
  text-align: center !important;
}

#fundz-unified-module .fundz-hero-heading {
  font-size: 46px !important;
  font-weight: bold !important;
  letter-spacing: -0.1px !important;
  line-height: 1.17 !important;
  color: #271f2e !important;
  margin-bottom: 20px !important;
}

@media (max-width: 768px) {
  #fundz-unified-module .fundz-hero-heading {
    font-size: 40px !important; /* Slightly smaller for tablets */
    line-height: 1.2 !important;
  }
}

@media (max-width: 480px) {
  #fundz-unified-module .fundz-hero-heading {
    font-size: 32px !important; /* Smaller for mobile */
    line-height: 1.25 !important;
  }
}

#fundz-unified-module .fundz-hero-subheading {
  font-size: 16px !important;
  font-weight: 600 !important;
  font-style: italic !important;
  line-height: 1.5 !important;
  color: #333 !important;
  max-width: 560px !important;
  margin: 0 auto 30px auto !important;
}

/*******************************************************
  4) DARK BADGE CONTAINER (NO TEXT)
*******************************************************/
#fundz-unified-module .fundz-badge-container {
  background-color: #271f2e !important;
  padding: 20px !important;
  border-radius: 16px !important;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1) !important;
  text-align: center !important;
  margin: 0 auto 30px auto !important; 
  display: inline-block !important; 
}

#fundz-unified-module .fundz-badge {
  max-width: 140px !important;
  height: auto !important;
  cursor: pointer !important;
  border: 2px solid #F3EDE4 !important;
  border-radius: 8px !important;
}



/*******************************************************
  5) CTA BUTTON
     - Single "GET STARTED" button
     - Move it higher on mobile
*******************************************************/
#fundz-unified-module .fundz-button-row {
  margin-top: 16px !important; 
  text-align: center !important;
}

/* Move the button higher on mobile only */
@media (max-width: 768px) {
  #fundz-unified-module .fundz-button-row {
    margin-top: 0 !important; /* or negative top margin if you want it even higher */
  }
}

#fundz-unified-module .fundz-button {
  display: inline-block !important;
  padding: 24px 32px !important; 
  margin: 0 10px 10px 0 !important;
  border-radius: 24px !important;
  box-shadow: 0 4px 10px 0 rgba(0,0,0,0.1) !important;
  font-size: 16px !important; 
  font-weight: bold !important;
  letter-spacing: 1px !important;
  text-align: center !important;
  color: #ffffff !important;
  border: none !important;
  transition: all 0.3s ease-in-out !important;
}

#fundz-unified-module .fundz-button-primary {
  background-color: #e31f3d !important; /* Fundz primary red */
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-size: 14px !important; /* Match nav button if needed */
  font-weight: bold !important;
  letter-spacing: 1.2px !important; 
  text-transform: uppercase !important; 
  border-radius: 45px !important; 
}

/* Shared button styling */
#fundz-unified-module .fundz-button {
  display: inline-block !important;
  padding: 18px 30px !important;
  margin: 0 10px 10px 0 !important;
  border-radius: 45px !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
  font-size: 14px !important;
  font-weight: bold !important;
  letter-spacing: 1.2px !important;
  text-align: center !important;
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  text-transform: uppercase !important;
  border: none !important;
  text-decoration: none !important;
  transition: all 0.3s ease-in-out !important;
  color: #ffffff !important;
}

/* Primary red */
#fundz-unified-module .fundz-button-primary {
  background-color: #e31f3d !important;
}

#fundz-unified-module .fundz-button-primary:hover {
  background-color: #c51b33 !important;
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(197, 27, 51, 0.4);
}

/* ROI button - blue-green */
#fundz-unified-module .fundz-button-roi {
  background-color: #4c8a9e !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

#fundz-unified-module .fundz-button-roi:hover {
  background-color: #3a6d7b !important;
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

#fundz-unified-module .fundz-button-roi svg {
  stroke: #ffffff;
}

/*******************************************************
  6) VIDEO SECTION
     - Hide on mobile only
*******************************************************/
#fundz-unified-module .fundz-video-container {
  margin-top: 16px !important;
  margin-bottom: 12px !important;
  display: block !important;
  background-color: #f5f5f5 !important;
  border: 2px solid #271f2e !important;
  border-radius: 1rem !important;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1),
              0 0.375rem 0.75rem rgba(134, 159, 255, 0.6) !important;
  padding: 1.5rem !important;
  max-width: 100% !important; 
  position: relative !important;
  overflow: hidden !important;
  z-index: 1 !important;
}

/* Hide the video container on mobile */
@media (max-width: 768px) {
  #fundz-unified-module .fundz-video-container {
    display: none !important;
  }
}

#fundz-unified-module .fundz-video-container video {
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
  border-radius: 0.75rem !important;
}

/*******************************************************
  7) PULSING PLAY BUTTON
*******************************************************/
#fundz-unified-module .fundz-play-button {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 5rem !important;
  height: 5rem !important;
  background-color: #e31e3d !important;
  border-radius: 50% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  cursor: pointer !important;

  z-index: 10 !important;
  transition: 0.3s !important;
}

#fundz-unified-module .fundz-play-button:hover {
  transform: translate(-50%, -50%) scale(1.1) !important;
}

#fundz-unified-module .fundz-play-icon {
  width: 0 !important;
  height: 0 !important;
  border-left: 25px solid #ffffff !important;
  border-top: 15px solid transparent !important;
  border-bottom: 15px solid transparent !important;
}

#fundz-unified-module .fundz-play-button.hidden {
  opacity: 0 !important;
  pointer-events: none !important;
}

#fundz-unified-module .fundz-play-button::before {
    content: "" !important;
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    box-shadow: none !important; /* Remove blur */
    animation: none !important; /* Remove pulse */
    z-index: -1 !important;
}

@keyframes fundz-pulse {
  0% {
    box-shadow: 0 0 20px 8px rgba(255, 80, 80, 0.6);
  }
  50% {
    box-shadow: 0 0 30px 12px rgba(255, 80, 80, 0.3);
  }
  100% {
    box-shadow: 0 0 20px 8px rgba(255, 80, 80, 0.6);
  }
}

/* Responsive scaling for the play button */
@media (max-width: 1280px) {
  #fundz-unified-module .fundz-play-button {
    width: 4rem !important;
    height: 4rem !important;
  }
  #fundz-unified-module .fundz-play-icon {
    border-left: 20px solid #ffffff !important;
    border-top: 12px solid transparent !important;
    border-bottom: 12px solid transparent !important;
  }
}

@media (max-width: 1024px) {
  #fundz-unified-module .fundz-play-button {
    width: 3.5rem !important;
    height: 3.5rem !important;
  }
}

@media (max-width: 768px) {
  #fundz-unified-module .fundz-play-button {
    width: 3rem !important;
    height: 3rem !important;
  }
  #fundz-unified-module .fundz-play-icon {
    border-left: 15px solid #ffffff !important;
    border-top: 10px solid transparent !important;
    border-bottom: 10px solid transparent !important;
  }
}

@media (max-width: 480px) {
  #fundz-unified-module .fundz-play-button {
    width: 2.5rem !important;
    height: 2.5rem !important;
  }
  #fundz-unified-module .fundz-play-icon {
    border-left: 12px solid #ffffff !important;
    border-top: 8px solid transparent !important;
    border-bottom: 8px solid transparent !important;
  }
}

/* ✨ Fade-in Up Animation for Strategic Text */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 1.2s ease-out forwards !important;
}

/* ✨ Rotate + Pulse Sparkle Animation for ✨ */
@keyframes sparkleRotatePulse {
  0% {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
  50% {
    opacity: 0.6;
    transform: rotate(180deg) scale(1.3);
  }
  100% {
    opacity: 1;
    transform: rotate(360deg) scale(1);
  }
}

.sparkle {
  display: inline-block;
  animation: sparkleRotatePulse 4s ease-in-out infinite;
  transform-origin: center;
}
