/* Pricing Page Styles */

.pricing-hero {
  text-align: center;
  padding: 3rem 0;
}

.pricing-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pricing-hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.pricing-plans {
  padding: 2rem 0 4rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.pricing-card.popular {
  border: 2px solid var(--primary-color);
  transform: scale(1.03);
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-5px);
}

.popular-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--primary-color);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
}

.pricing-header {
  padding: 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.pricing-header h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.pricing-price {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
}

.period {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.pricing-features {
  padding: 2rem;
  flex-grow: 1;
}

.pricing-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.pricing-features li:last-child {
  margin-bottom: 0;
}

.pricing-features i {
  margin-right: 0.8rem;
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.pricing-features .fa-check {
  color: var(--success-color);
}

.pricing-features .fa-times {
  color: var(--danger-color);
}

.pricing-features li.disabled {
  color: var(--text-muted);
}

.pricing-cta {
  padding: 2rem;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100%;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
}

.current-plan {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 2px solid var(--border-color);
  border-radius: 6px;
  width: 100%;
}

/* FAQ Section */
.pricing-faq {
  padding: 4rem 0;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-faq h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.faq-item {
  background-color: var(--card-bg);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: var(--primary-color);
}

.faq-item p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 4rem 2rem;
  border-radius: 12px;
  margin: 2rem 0 4rem;
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2rem;
  color: white;
  margin-bottom: 1rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  width: auto;
}

.cta-buttons .btn-outline {
  background-color: transparent;
  color: white;
  border-color: white;
}

.cta-buttons .btn-outline:hover {
  background-color: white;
  color: var(--primary-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .pricing-card.popular {
    transform: scale(1);
  }

  .pricing-card.popular:hover {
    transform: translateY(-5px);
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}
