.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.plan-card {
  background: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: 12px;
  padding: 20px;
  position: relative;
}
.plan-card.featured {
  border-color: #09090b;
  box-shadow: 0 0 0 1px #09090b;
}

.plan-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #09090b;
  color: #fff;
  border-radius: 9999px;
  padding: 2px 8px;
}

.plan-name {
  font-size: 15px;
  font-weight: 700;
  color: #09090b;
  margin-bottom: 4px;
}

.plan-price {
  font-size: 26px;
  font-weight: 800;
  color: #09090b;
  line-height: 1;
  margin-bottom: 2px;
}
.plan-price span {
  font-size: 13px;
  font-weight: 400;
  color: #71717a;
}

.plan-desc {
  font-size: 12px;
  color: #71717a;
  margin: 10px 0 14px;
  line-height: 1.5;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: 12px;
  color: #3f3f46;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.plan-features li::before {
  content: "✓ ";
  color: #09090b;
  font-weight: 700;
}
.plan-features li.dim::before { color: #d4d4d8; }
.plan-features li.dim { color: #a1a1aa; }

.plan-btn {
  width: 100%;
  padding: 9px 0;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.15s;
}
.plan-btn-primary {
  background: #09090b;
  color: #fff;
}
.plan-btn-primary:hover { background: #27272a; }
.plan-btn-secondary {
  background: #f4f4f5;
  color: #71717a;
}

.upgrade-note {
  font-size: 12px;
  color: #a1a1aa;
  text-align: center;
}

/* ── Modal ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 100;
  align-items: center;
  justify-content: center;
}
.modal-overlay.open { display: flex; }

.modal {
  background: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: 14px;
  padding: 28px 28px 24px;
  max-width: 340px;
  width: calc(100% - 32px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.modal-title {
  font-size: 15px;
  font-weight: 700;
  color: #09090b;
  margin-bottom: 8px;
}

.modal-body {
  font-size: 13px;
  color: #71717a;
  line-height: 1.6;
  margin-bottom: 20px;
}

.modal-close {
  width: 100%;
  padding: 9px 0;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid #e4e4e7;
  background: #ffffff;
  color: #09090b;
  transition: background 0.15s;
}
.modal-close:hover { background: #f4f4f5; }
