
/* ex-03 */

.pricing-container {
  height: 100vh;
  max-width: 950px;
  margin: 36px auto;
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
}

.pricing-card {
  height: 500px;
  background-color: #f7f7f7;
  border-radius: 10px;
  box-shadow: 0 0 10px #00000020;
  padding: 24px;
  width: 350px;
  transition: all 0.3s ease-in-out;
}
.pricing-card:nth-child(2) {
  border-radius: 12px;
  border: 3px solid #69cc80;
  background-color: #fff;
}

.pricing-card:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.plan-name {
  font-size: 2.4rem;
  line-height: 2.4rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.pricing-card:nth-child(2) .plan-name {
  display: inline-block;
  vertical-align: middle;
}

.badge-save {
  margin-left: 8px;
  font-size: 1.2rem;
  line-height: 1.2rem;
  border-radius: 10px;
  background-color: #ccc;
  padding: 4px 8px;
  display: inline-block;
  color: #3c7048;
  background-color: #d8e6d3;
}

.plan-desc {
  font-size: 1.4rem;
  line-height: 1.4rem;
  margin-bottom: 24px;
}

.price-box {
  font-size: 2.8rem;
  line-height: 2.8rem;
  font-weight: bold;
  margin-bottom: 6px;
}
.price-box .original-price {
  font-size: 2rem;
  line-height: 2rem;
  font-weight: normal;
  color: #666;
  text-decoration: line-through;
  margin-left: 12px;
}

.price-box::before {
  content: "$";
  font-size: 1.6rem;
  line-height: 1.6rem;
  margin-right: 2px;
}

.billing-text {
  font-size: 1.2rem;
  line-height: 1.2rem;
  color: #666;
  margin-bottom: 20px;
}

.btn-action {
  width: 100%;
  padding: 12px 6px;
  font-size: 1.4rem;
  line-height: 1.4rem;
  font-weight: bold;
  margin-bottom: 12px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  background-color: #4c9c62;
  color: #d5f6e2;
}

.btn-action:hover {
  background-color: #3c7d4b;
}

.btn-action:active {
  background-color: #2a5233;
}

.pricing-card:first-child .btn-action {
  background-color: #eee;
  color: #333;
}

.features-list {
  font-size: 1.4rem;
  line-height: 1.4rem;
}

.features-list li {
  margin-bottom: 8px;
}

.features-list li::before {
  content: "✓";
  color: green;
  margin-right: 8px;
}
