.plans {
  padding: 36px 6vw;
  background:#fff;
}

.plans h2 {
  margin: 0 0 6px;
  font-size: clamp(1.6rem, 3.2vw, 2rem);
  font-weight: 900;
  color:#222;
  text-align:center;
}
.plans .subtitle {
  text-align:center; color:#666; margin-bottom: 20px;
}

.plan-flex {
  display:flex;
  flex-wrap:wrap;       /* allows collapse on smaller screens */
  gap: 16px;
  justify-content:center;
}

.plan-card {
  flex: 1 1 300px;          /* minimum 300px, grow if room */
  max-width: 340px;
  background: #fff;
  border: 1px solid #e5e7eb; /* light gray border for the card outline */
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06); /* soft shadow */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
/* Highlight for Top Seller */
.plan-card.popular {
  border: 2px solid #00a6ff;
  box-shadow: 0 12px 28px rgba(0, 166, 255, 0.25);
  transform: scale(1.03);   /* make it slightly bigger */
  z-index: 2;               /* make sure it sits above others */
}

.plan-card.popular .plan-title {
  color: #00a6ff;
}

.plan-card.popular .plan-price {
  font-size: 1.4rem;
  color: #0088cc;
}

.plan-card.popular .badge {
  background: #ffb100;  /* orange-yellow badge for contrast */
  color: #111;
}

.badge {
  position:absolute; top:12px; right:12px;
  background:#00a6ff; color:#fff; font-weight:800;
  padding:6px 10px; border-radius:999px; font-size:.8rem;
}

.plan-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: #b11717;
}

.plan-price {
  font-size: 1.4rem;
  font-weight: 900;
  color: #00a6ff;
  margin-bottom: 12px;
}

.plan-features {
  margin: 12px 0 16px;
  padding-left: 20px;
  color: #444;
  list-style: disc;
}
.plan-features li { margin:6px 0; }

.plan-cta .btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 0.95rem;
  border-radius: 6px;
  background: #00a6ff;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
  width: auto;        /* no more full width */
  text-align: center;
}

.plan-cta .btn:hover {
  background: #0088cc;
}
.plan-cta {
  text-align: center;   /* centers the button inside */
  margin-top: auto;     /* pushes CTA to the bottom nicely if card grows */
}

.plan-cta .btn {
  display: inline-block;
  width: auto;          /* no stretching */
}


.note { color:#6b7280; font-size:.9rem; margin-top: 8px; }
