/* Membership / checkout pages — page-specific additions, not part of the
   legacy template (no pricing page existed in the original Winku theme).
   Reuses the site's brand blue (#088dcd, from css/color.css) and font
   stack ("Roboto", "Segoe Ui", from css/style.css) so it reads as part of
   Pueblo Connect rather than a bolted-on checkout widget. */

.membership-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 20px 80px;
  font-family: "Roboto", "Segoe Ui", sans-serif;
}

.membership-header {
  text-align: center;
  margin-bottom: 40px;
}

.membership-header h1 {
  font-size: 32px;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}

.membership-header p {
  color: #666;
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .plan-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
}

.plan-card {
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 10px;
  padding: 30px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(8, 141, 205, 0.12);
}

.plan-card.featured {
  border: 2px solid #088dcd;
  position: relative;
}

.plan-card.featured::before {
  content: "Most Popular";
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: #088dcd;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.4px;
}

.plan-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #222;
  margin: 6px 0 4px;
}

.plan-card .plan-price {
  font-size: 34px;
  font-weight: 700;
  color: #088dcd;
  margin: 10px 0 2px;
}

.plan-card .plan-price span {
  font-size: 14px;
  font-weight: 400;
  color: #888;
}

.plan-card .plan-tagline {
  color: #777;
  font-size: 14px;
  margin-bottom: 18px;
  min-height: 36px;
}

.plan-card ul {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  text-align: left;
  flex-grow: 1;
}

.plan-card ul li {
  padding: 7px 0;
  font-size: 14px;
  color: #444;
  border-bottom: 1px solid #f2f2f2;
}

.plan-card ul li:last-child {
  border-bottom: none;
}

.plan-card ul li::before {
  content: "✓";
  color: #088dcd;
  font-weight: 700;
  margin-right: 8px;
}

.plan-card .current-plan-badge {
  display: inline-block;
  background: #e8f7ee;
  color: #1a9c53;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.plan-card .plan-subscribe-btn {
  display: block;
  width: 100%;
  padding: 13px 0;
  background: #088dcd;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.plan-card .plan-subscribe-btn:hover:not(:disabled) {
  background: #0677ad;
}

.plan-card .plan-subscribe-btn:disabled {
  opacity: 0.7;
  cursor: default;
}

.plan-sdk-env-note {
  text-align: center;
  margin-top: 28px;
  font-size: 13px;
  color: #999;
}

.plan-sdk-env-note.error {
  color: #cc3333;
  font-weight: 600;
}

/* Success / cancel / error result screens */
.checkout-result {
  max-width: 560px;
  margin: 70px auto;
  padding: 40px 32px;
  text-align: center;
  border-radius: 10px;
  border: 1px solid #e7e7e7;
  font-family: "Roboto", "Segoe Ui", sans-serif;
}

.checkout-result .result-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 30px;
  color: #fff;
}

.checkout-result.success .result-icon {
  background: #1a9c53;
}

.checkout-result.cancel .result-icon {
  background: #999;
}

.checkout-result.error .result-icon {
  background: #cc3333;
}

.checkout-result h1 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #222;
}

.checkout-result p {
  color: #666;
  margin-bottom: 24px;
}

.checkout-result a.mtr-btn {
  display: inline-block;
  text-decoration: none;
}
