/* Custom scrollbar for a more modern look */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark-gray);
}

::-webkit-scrollbar-thumb {
  background: var(--purple);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--light-purple);
}

/* Partner logo carousel animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.logo-carousel .logos-slide {
  animation: scroll 30s linear infinite;
}

/* Partners Carousel */
.carousel-container {
  position: relative;
  width: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.carousel-item {
  position: absolute;
  opacity: 0;
  animation: carouselSlide 9s infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-item:nth-child(1) {
  animation-delay: 0s;
}

.carousel-item:nth-child(2) {
  animation-delay: 3s;
}

.carousel-item:nth-child(3) {
  animation-delay: 6s;
}

@keyframes carouselSlide {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  
  3%, 30% {
    opacity: 1;
    transform: translateX(0);
  }
  
  33%, 100% {
    opacity: 0;
    transform: translateX(100px);
  }
}

/* Mobile menu transition */
#mobile-menu {
  transition: transform 0.3s ease-in-out;
}

.gray-background {
  background-color: #1f1f1f;
}

.gradient-background {
  background: linear-gradient(135deg, #1f1f1f, #680e54)
}

.team-member-border {
  border: 4px solid var(--purple);
}

.team-member-name {
  color: var(--purple);
}

.gray-tile {
  background-color: #1f1f1f;
}


/** bg-vid **/

/* Container for the hero section */
.hero-section {
  position: relative;
  height: 100vh;
  /* Adjust as needed, e.g., 80vh */
  width: 100%;
  overflow: hidden;
  /* Ensures the video doesn't go outside its container */
}

/* Styling the video to be a background */
.hero-video {
  position: absolute;
  filter: blur(5px);
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: -1;
  /* Puts the video behind the content */
  object-fit: cover;
  /* Ensures the video covers the entire container without stretching */
}

/* Styling for the content on top of the video */
.hero-content {
  position: relative;
  margin-top: 45vh;
  z-index: 1;
  /* Puts the content in front of the video */
  color: white;
  /* Or a color that contrasts with your video */
  text-align: center;
  /* Add padding, flexbox, etc., to center and style your content */
}

/* Add a semi-transparent overlay */
.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* Adjust color and opacity as needed */
  z-index: 0;
}

.problem-section {
  width: 100%;
  background: linear-gradient(to bottom,
      #111111,
      #680b49);
}

/* --- MailerLite Form Styles --- */
.ml-subscribe-form .ml-block-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 32rem;
  /* 512px */
  margin: auto;
}

@media (min-width: 768px) {
  .ml-subscribe-form .ml-block-form {
    flex-direction: row;
    align-items: center;
  }
}

.ml-subscribe-form .ml-form-formContent {
  flex-grow: 1;
}

.ml-subscribe-form .form-control {
  width: 100%;
  background-color: #374151;
  /* gray-700 */
  color: var(--white);
  border: 1px solid #4b5563;
  /* gray-600 */
  border-radius: 0.5rem;
  /* rounded-lg */
  padding: 0.9rem 1rem;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ml-subscribe-form .form-control::placeholder {
  color: #9ca3af;
  /* gray-400 */
}

.ml-subscribe-form .form-control:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(164, 0, 214, 0.3);
}

.ml-subscribe-form .ml-form-embedSubmit button {
  width: 100%;
}

@media (min-width: 768px) {
  .ml-subscribe-form .ml-form-embedSubmit button {
    width: auto;
    white-space: nowrap;
  }
}

.ml-subscribe-form .ml-form-successBody {
  background-color: #166534;
  /* green-800 */
  color: #dcfce7;
  /* green-100 */
  padding: 1.5rem;
  border-radius: 0.5rem;
  text-align: center;
  max-width: 32rem;
  /* 512px */
  margin: auto;
}

:root {
    --white: #ffffff;
    --dark-gray: #1f1f1f;
    --purple: #8d0e67;
    --light-purple: #a01983;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", sans-serif;
    background-color: var(--dark-gray);
    color: var(--white);
}

.cta-primary {
    background-color: var(--purple);
    transition: background-color 0.3s ease;
}

.cta-primary:hover {
    background-color: var(--light-purple);
}

.cta-secondary {
    border-color: var(--purple);
    color: var(--purple);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-secondary:hover {
    background-color: var(--purple);
    color: var(--white);
}

input#waitlist-input {
    scroll-margin-top: 80px;
}

/* Bar animation */
@keyframes slideIn {
    from {
        width: 0 !important;
        opacity: 0;
    }
    to {
        width: 100% !important;
        opacity: 1;
    }
}

@keyframes slideInMolecule {
    from {
        width: 0 !important;
        opacity: 0;
    }
    to {
        width: 25% !important;
        opacity: 1;
    }
}

.bar-traditional {
    width: 0;
    opacity: 0;
    background: linear-gradient(to right, #4b5563, #6b7280);
    box-shadow: 0 0 20px rgba(107, 114, 128, 0.3);
}

.chart-section.in-view .bar-traditional {
    animation: slideIn 1.2s ease-out forwards 0.3s;
}

.bar-molecule {
    width: 0;
    opacity: 0;
    background: linear-gradient(to right, #680e54, #a91e7f);
    box-shadow: 0 0 30px rgba(169, 30, 127, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.chart-section.in-view .bar-molecule {
    animation: slideInMolecule 1.2s ease-out forwards 0.5s;
}

.bar-traditional {
    background-color: #4b5563; /* Szary - Tailwind gray-600 */
}

.bar-molecule {
    background: linear-gradient(90deg, #a78bfa, #db2777); /* Purple to Pink */
}

/* Opcjonalnie płynność dla etykiety */
.speed-label.show {
    opacity: 1;
    transform: translateX(10px);
}

@keyframes bounce-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.animate-bounce-slow {
    animation: bounce-slow 3s ease-in-out infinite;
}

/* Definicja gradientu w CSS, który wypełni ikonę */
.lucide-gradient {
    stroke: url(#purple-pink-gradient); /* Używa ID zdefiniowanego w SVG poniżej */
}

/* Styl dla ikon, aby gradient działał na obrysie */
.group:hover .lucide {
    transform: translateY(-4px);
    transition: transform 0.3s ease;
}

/* Definiujemy neonowy cień ręcznie */
.hover-shadow-neon:hover {
    box-shadow: 0 0 15px rgba(167, 139, 250, 0.6), 0 0 30px rgba(219, 39, 119, 0.3);
    border-color: rgba(167, 139, 250, 0.5) !important;
}

/* Styl dla ikon, żeby nie były ucinane i miały neonowe tło */
.icon-box-neon {
    background: linear-gradient(135deg, #a78bfa 0%, #db2777 100%);
    box-shadow: 0 4px 12px rgba(219, 39, 119, 0.4);
}

/* Tło sekcji zgodne z Twoim gradientem */
.gradient-background-custom {
    background: linear-gradient(135deg, #1f1f1f, #680e54);
}

.team-img-gradient {
    padding: 3px;
    background: linear-gradient(135deg, #a78bfa 0%, #db2777 100%);
}

.team-card-hover:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-5px);
}

.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pricing-card:hover {
    border-color: rgba(219, 39, 119, 0.4);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -20px rgba(167, 139, 250, 0.3);
}

.check-icon {
    color: #db2777; /* Różowy pink-600 */
    margin-right: 12px;
    font-weight: bold;
}