#pricing {
  padding: 80px 0;
  text-align: center;
  background-color: #ffffff;
}

#pricing h2 {
  font-family: "Manrope", sans-serif;
  font-size: 36px;
  margin-bottom: 50px;
}

.pricing-toggle {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

.toggle-container {
  position: relative;
  display: inline-flex;
  background-color: #f1f1f1;
  border-radius: 30px;
  padding: 5px;
  width: 200px;
}

.toggle-btn {
  position: relative;
  flex: 1;
  z-index: 1;
  padding: 10px 20px;
  border: none;
  background: none;
  cursor: pointer;
  font-weight: 600;
  transition: color 0.3s ease;
}

.toggle-btn.active {
  color: #fff;
}

.toggle-slider {
  position: absolute;
  top: 5px;
  left: 5px;
  height: calc(100% - 10px);
  width: calc(50% - 5px);
  background-color: var(--main-color);
  border-radius: 25px;
  transition: transform 0.3s ease;
}

.toggle-container.active-lifetime .toggle-slider {
  transform: translateX(100%);
}

.toggle-container.active-lifetime .toggle-btn[data-period="lifetime"] {
  color: #fff;
}

.pricing-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.price-card {
  flex: 1;
  min-width: 0;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  animation: fadeInUp 0.6s ease forwards;
}

.price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(255, 136, 0, 0.3);
}

.price-card h3 {
  font-family: "Manrope", sans-serif;
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--main-color);
}

.price-card .price {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #1f2937;
}

.price-card ul {
  list-style: none;
  margin-bottom: 30px;
  text-align: left;
  flex-grow: 1;
}

.price-card ul li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  color: #1f2937;
}

.price-card ul li:before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #ff8800;
  position: absolute;
  left: 0;
}

.price-card .btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--main-color);
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: auto;
}

.price-card .btn.animated {
  animation: oeaHoverPulse 2s infinite;
}

.price-card .btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 136, 0, 0.5);
}

.price-card.highlight.pulse {
  animation: oeaHoverPulse 2s infinite !important;
}
.pricing-navigation {
  display: none !important;
}

@media (max-width: 768px) {
  .pricing-navigation {
    display: flex !important;
  }

  #pricing .container {
    padding: 0;
  }

  .pricing-grid {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    padding: 1rem;
    justify-items: center;
  }

  .price-card {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    left: 100%;
    width: 100%;
    height: 100%;
    transition: all 0.5s ease-in-out;
    transform: translateX(50px);
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    background: #fff;
  }

  .price-card h3 {
    margin-bottom: 1rem;
  }

  .price-card .price {
    margin-bottom: 1.5rem;
  }

  .price-card ul {
    flex: 1;
    margin: 0 0 1.5rem 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .price-card .btn {
    margin-top: auto;
  }

  .price-card.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    left: 0;
    transform: translateX(0);
    z-index: 1;
  }

  .price-card.prev {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    left: -100%;
    transform: translateX(-50px);
  }

  .price-card.next {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    left: 100%;
    transform: translateX(50px);
  }

  .pricing-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 10px;
  }

  .pricing-dots {
    display: flex;
    gap: 8px;
    margin: 0 15px;
  }

  .pricing-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .pricing-dot.active {
    background: #ff8800;
  }

  .pricing-prev,
  .pricing-next {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .pricing-prev:hover,
  .pricing-next:hover {
    color: #ff8800;
  }

  .pricing-prev.disabled,
  .pricing-next.disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
}
