/* pricing.css */
/* Pricing Hero Section */
.pricing-hero {
  padding: 5rem 0;
  background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
  text-align: center;
}

.pricing-hero .hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.pricing-hero .hero-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.pricing-hero .hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-dark);
  margin-bottom: 2rem;
}

/* Pricing Toggle */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.pricing-toggle span {
  font-weight: 600;
  color: var(--gray-dark);
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--gray-light);
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
}

input:checked + .slider {
  background-color: var(--primary);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* Pricing Tabs */
.pricing-tabs-section {
  padding: 2rem 0;
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-light);
}

.pricing-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tab-button {
  padding: 0.75rem 1.5rem;
  background-color: transparent;
  border: 1px solid var(--gray-light);
  border-radius: 0.375rem;
  font-weight: 600;
  color: var(--gray-dark);
  cursor: pointer;
  transition: all 0.2s;
}

.tab-button.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.tab-button:not(.active):hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Pricing Plans */
.pricing-plans {
  padding: 4rem 0;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.pricing-card {
  position: relative;
  background-color: var(--white);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.pricing-card.featured {
  border: 2px solid var(--primary);
}

.popular-badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--primary);
  color: var(--white);
  padding: 0.25rem 1rem;
  border-bottom-left-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.card-header {
  padding: 2rem;
  border-bottom: 1px solid var(--gray-light);
}

.card-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.card-header p {
  color: var(--gray-dark);
  margin-bottom: 1rem;
}

.price {
  margin-bottom: 1.5rem;
}

.price .amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark);
}

.price .period {
  font-size: 1rem;
  color: var(--gray-dark);
}

.btn-primary, .btn-outline {
  display: inline-block;
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.375rem;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-outline:hover {
  background-color: rgba(79, 70, 229, 0.05);
}

.card-body {
  padding: 2rem;
}

.features {
  list-style: none;
}

.features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.features li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--primary);
  border-radius: 50%;
}

.card-footer {
  padding: 1.5rem 2rem;
  background-color: #F9FAFB;
  border-top: 1px solid var(--gray-light);
}

.card-footer p:first-child {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.card-footer p:last-child {
  font-size: 0.875rem;
  color: var(--gray-dark);
}

/* Hidden state for monthly prices */
.hidden {
  display: none;
}

/* Custom Solutions */
.custom-solutions {
  padding: 4rem 0;
  background-color: #F9FAFB;
  text-align: center;
}

.custom-solutions h2 {
  margin-bottom: 1rem;
}

.custom-solutions p {
  max-width: 700px;
  margin: 0 auto 2rem;
  color: var(--gray-dark);
}

.solution-features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.feature svg {
  flex-shrink: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .pricing-hero .hero-title {
    font-size: 2.5rem;
  }

  .pricing-tabs {
    flex-wrap: wrap;
  }

  .plans-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 480px) {
  .pricing-hero .hero-title {
    font-size: 2rem;
  }

  .pricing-hero .hero-subtitle {
    font-size: 1rem;
  }

  .price .amount {
    font-size: 2rem;
  }
}