.plans {
    max-width: 500px;
    margin: 20px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

.plan {
    border-radius: 16px;
    background-color: #d8f0ff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    color: #000;
    overflow: hidden;
    padding: 10px;
  }
  
  .plan-content {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    height: 180px;
    padding: 16px 0;
    gap: 0;
  }

.plan.basic { background-color: #ffffff; }
.plan.professional { background-color: #d8f0ff; }
.plan.premium { background-color: #e9d6ff; }
  
.plan-features {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding-right: 16px;
  }
  
  .plan-features h3 {
    width: 100%;                   /* ensures it takes full row width */
    text-align: center;            /* ✅ centers the heading only */
    margin: 0 0 10px;
    font-size: 1.2em;
  }
  
  .plan-features ul {
    list-style-type: disc;   /* ✅ enable normal bullets */
    padding-left: 20px;      /* ✅ indent the bullets a bit */
    margin: 0 0 12px 0;
  }
  
  .plan-features ul li {
    font-size: 0.95em;
    margin-bottom: 6px;
  }
  
  .pricing {
    width: 140px;         /* 🔥 force uniform width */
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
  }
  
  .price {
    font-weight: bold;
    font-size: 1em;
    margin-bottom: 12px;
    line-height: 1.4;
  }
  
  .btn {
    display: inline-block;
    padding: 20px 26px;
    background-color: #3d5b99;
    color: white;
    font-weight: bold;
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    margin-bottom: 30px;
  }
  
  h2 {
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }