/* Styles for the pricing page */
body {
  background-color: #f8f9fa;
}

.pricing-header {
  text-align: center;
  padding: 4rem 0 2rem;
}

.pricing-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.pricing-header p {
  font-size: 1.1rem;
  color: #6c757d;
}

.pricing-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 0 4rem;
  flex-wrap: wrap;
  align-items: center;
}

.plan {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 2rem;
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.plan:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.plan.recommended {
  border-color: #007bff;
  border-width: 2px;
  position: relative;
  transform: scale(1.05);
}

.plan.recommended::before {
  content: "Most Popular";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #007bff;
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: bold;
}

.plan-name {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.plan-price {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.plan-price span {
  font-size: 1rem;
  font-weight: normal;
  color: #6c757d;
}

.plan-description {
  color: #6c757d;
  margin-bottom: 1.5rem;
  min-height: 40px;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  text-align: left;
  flex-grow: 1;
}

.plan-features li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.plan-features li::before {
  content: "✔";
  color: #28a745;
  position: absolute;
  left: 0;
}

.btn-upgrade {
  display: block;
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-radius: 5px;
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
}

.plan-regular .btn-upgrade {
  background-color: #007bff;
}

.plan-regular .btn-upgrade:hover {
  background-color: #0056b3;
}

.plan-high-achiever .btn-upgrade {
  background-color: #343a40;
}

.plan-high-achiever .btn-upgrade:hover {
  background-color: #23272b;
}

.plan-freemium .btn-upgrade {
  background-color: #e9ecef;
  color: #495057;
  cursor: default;
}
