
/* ===============================
   Toggle Mensuel / Annuel
================================ */
/* Toggle */
.pricing-toggle {
  display: inline-flex;
  border-radius: 30px;
  background: #e5e7eb;
  overflow: hidden;
  margin-bottom: 30px;
}

.pricing-toggle a.billing-toggle {
  display: inline-block;
  padding: 10px 25px;
  margin: 0;
  background: #e5e7eb;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pricing-toggle a.billing-toggle.active {
  background: #3EAAFD;
  color: #fff;
}

/* Grille */
.plans {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.plan {
  flex: 1 1 300px;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 10px;
  background: #fff;
}

.plan.most-popular {
  border: 2px solid #007bff;
}
/* ===============================
   Grille des plans
================================ */
.features-annual,
.features-monthly{
  display: none;
}
.plan{
  display: none
}
.plans {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Chaque carte */
.plan {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 25px 20px;
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

/* Titres et crédits */
.plan-name .fa-seedling,
.plan .fa-seedling {
  color: #22c55e;
}
.plan-name .fa-gem,
.plan .fa-gem {
  color: #2563eb;
}
.plan-name .fa-infinity,
.plan .fa-infinity {
  color: #ef4444;
}

.plan h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.plan .credits {
  font-weight: 500;
  margin-bottom: 10px;
  color: #555;
}

.plan .price {
  font-size: 1.6rem;
  margin-bottom: 15px;
  font-weight: 600;
  color: #242424;
}

/* Features */
.plan h3{
  font-size: 1.75rem;
}
.plan .features {
  text-align: left;
  width: 100%;
  font-size: 1rem;
  color: #4D4D4D;
}

.plan .features strong {
  display: block;
  margin-top: 10px;
  margin-bottom: 5px;
  font-size: 1rem;
  color: #242424;
}

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

.plan .features ul li {
  margin-bottom: 5px;
}

/* Most Popular Highlight */
.plan.most-popular {
  border: 2px solid #ff9800;
  position: relative;
}

.plan.most-popular::before {
  content: "⭐ Most Popular";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff9800;
  color: #fff;
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
}

/* ===============================
   Note sous la grille
================================ */
.note {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
  color: #555;
}

/* ===============================
   Responsive
================================ */
@media screen and (max-width: 1024px) {
  .plans {
    justify-content: space-around;
  }
}

@media screen and (max-width: 768px) {
  .plans {
    flex-direction: column;
    align-items: center;
  }

  .plan {
    width: 90%;
    max-width: 350px;
    margin-bottom: 20px;
  }
}
